|
@@ -1,15 +1,17 @@
|
|
Name: ninja
|
|
Name: ninja
|
|
-Version: 1.7.1
|
|
|
|
|
|
+Version: 1.7.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: A small build system with a focus on speed
|
|
Summary: A small build system with a focus on speed
|
|
Summary(ja): スピードを重視した小さなビルドシステム
|
|
Summary(ja): スピードを重視した小さなビルドシステム
|
|
|
|
+Group: Development/Tools
|
|
License: ASL 2.0
|
|
License: ASL 2.0
|
|
URL: http://martine.github.com/ninja/
|
|
URL: http://martine.github.com/ninja/
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz#/ninja-%{version}.tar.gz
|
|
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz#/ninja-%{version}.tar.gz
|
|
-Source1: ninja.vim
|
|
|
|
|
|
+Source1: macros.ninja
|
|
|
|
+Source2: ninja.vim
|
|
BuildRequires: asciidoc
|
|
BuildRequires: asciidoc
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: gtest-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
@@ -21,6 +23,15 @@ build systems in two major respects: it is designed to have its input files
|
|
generated by a higher-level build system, and it is designed to run builds as
|
|
generated by a higher-level build system, and it is designed to run builds as
|
|
fast as possible.
|
|
fast as possible.
|
|
|
|
|
|
|
|
+%package vim
|
|
|
|
+Summary: macros and syntax files of ninja for vim
|
|
|
|
+Summary(ja): VIM用のninjaマクロ・文法ファイル
|
|
|
|
+Group: Development/Tools
|
|
|
|
+Requires: vim-common
|
|
|
|
+
|
|
|
|
+%description vim
|
|
|
|
+ This package contains macros and syntax files of ninja for vim.
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -qn ninja-%{version}
|
|
%setup -qn ninja-%{version}
|
|
|
|
|
|
@@ -39,9 +50,12 @@ ln -sf ninja %{buildroot}%{_bindir}/ninja-build
|
|
install -pm644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja-bash-completion
|
|
install -pm644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja-bash-completion
|
|
install -pm644 misc/ninja-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ninja-mode.el
|
|
install -pm644 misc/ninja-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ninja-mode.el
|
|
install -pm644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim
|
|
install -pm644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim
|
|
-install -pm644 %{SOURCE1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
|
|
|
|
|
|
+install -pm644 %{SOURCE2} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
|
|
install -pm644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
|
install -pm644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
|
|
|
|
|
|
|
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
|
|
|
+install -pm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.ninja
|
|
|
|
+
|
|
%check
|
|
%check
|
|
# workaround possible too low default limits
|
|
# workaround possible too low default limits
|
|
ulimit -n 4096 && ulimit -u 4096
|
|
ulimit -n 4096 && ulimit -u 4096
|
|
@@ -49,16 +63,26 @@ ulimit -n 4096 && ulimit -u 4096
|
|
|
|
|
|
%files
|
|
%files
|
|
%doc COPYING HACKING.md README doc/manual.html
|
|
%doc COPYING HACKING.md README doc/manual.html
|
|
|
|
+%{_sysconfdir}/rpm/macros.ninja
|
|
%{_bindir}/ninja
|
|
%{_bindir}/ninja
|
|
%{_bindir}/ninja-build
|
|
%{_bindir}/ninja-build
|
|
%{_datadir}/bash-completion/completions/ninja-bash-completion
|
|
%{_datadir}/bash-completion/completions/ninja-bash-completion
|
|
%{_datadir}/emacs/site-lisp/ninja-mode.el
|
|
%{_datadir}/emacs/site-lisp/ninja-mode.el
|
|
-%{_datadir}/vim/vimfiles/syntax/ninja.vim
|
|
|
|
-%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
|
|
|
|
# zsh does not have a -filesystem package
|
|
# zsh does not have a -filesystem package
|
|
%{_datadir}/zsh/
|
|
%{_datadir}/zsh/
|
|
|
|
|
|
|
|
+
|
|
|
|
+%files vim
|
|
|
|
+%{_datadir}/vim/vimfiles/syntax/ninja.vim
|
|
|
|
+%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Sep 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.2-1
|
|
|
|
+- updated to 1.7.2.
|
|
|
|
+- added rpmmacros.
|
|
|
|
+- added a subpackage ninja-vim.
|
|
|
|
+
|
|
* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
|
|
* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
|
|
- updated to 1.7.1.
|
|
- updated to 1.7.1.
|
|
|
|
|