1Summary: Ninja is a small build system with a focus on speed. 2Name: ninja 3Version: %{ver} 4Release: %{rel}%{?dist} 5Group: Development/Tools 6License: Apache 2.0 7URL: https://github.com/ninja-build/ninja 8Source0: %{name}-%{version}-%{rel}.tar.gz 9BuildRoot: %{_tmppath}/%{name}-%{version}-%{rel} 10 11BuildRequires: asciidoc 12 13%description 14Ninja is yet another build system. It takes as input the interdependencies of files (typically source code and output executables) and 15orchestrates building them, quickly. 16 17Ninja joins a sea of other build systems. Its distinguishing goal is to be fast. It is born from my work on the Chromium browser project, 18which has over 30,000 source files and whose other build systems (including one built from custom non-recursive Makefiles) can take ten 19seconds to start building after changing one file. Ninja is under a second. 20 21%prep 22%setup -q -n %{name}-%{version}-%{rel} 23 24%build 25echo Building.. 26./configure.py --bootstrap 27./ninja manual 28 29%install 30mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_docdir} 31cp -p ninja %{buildroot}%{_bindir}/ 32 33%files 34%defattr(-, root, root) 35%doc COPYING README.md doc/manual.html 36%{_bindir}/* 37 38%clean 39rm -rf %{buildroot} 40 41#The changelog is built automatically from Git history 42%changelog 43