1695b41eeSopenharmony_ciSummary: Ninja is a small build system with a focus on speed. 2695b41eeSopenharmony_ciName: ninja 3695b41eeSopenharmony_ciVersion: %{ver} 4695b41eeSopenharmony_ciRelease: %{rel}%{?dist} 5695b41eeSopenharmony_ciGroup: Development/Tools 6695b41eeSopenharmony_ciLicense: Apache 2.0 7695b41eeSopenharmony_ciURL: https://github.com/ninja-build/ninja 8695b41eeSopenharmony_ciSource0: %{name}-%{version}-%{rel}.tar.gz 9695b41eeSopenharmony_ciBuildRoot: %{_tmppath}/%{name}-%{version}-%{rel} 10695b41eeSopenharmony_ci 11695b41eeSopenharmony_ciBuildRequires: asciidoc 12695b41eeSopenharmony_ci 13695b41eeSopenharmony_ci%description 14695b41eeSopenharmony_ciNinja is yet another build system. It takes as input the interdependencies of files (typically source code and output executables) and 15695b41eeSopenharmony_ciorchestrates building them, quickly. 16695b41eeSopenharmony_ci 17695b41eeSopenharmony_ciNinja 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, 18695b41eeSopenharmony_ciwhich has over 30,000 source files and whose other build systems (including one built from custom non-recursive Makefiles) can take ten 19695b41eeSopenharmony_ciseconds to start building after changing one file. Ninja is under a second. 20695b41eeSopenharmony_ci 21695b41eeSopenharmony_ci%prep 22695b41eeSopenharmony_ci%setup -q -n %{name}-%{version}-%{rel} 23695b41eeSopenharmony_ci 24695b41eeSopenharmony_ci%build 25695b41eeSopenharmony_ciecho Building.. 26695b41eeSopenharmony_ci./configure.py --bootstrap 27695b41eeSopenharmony_ci./ninja manual 28695b41eeSopenharmony_ci 29695b41eeSopenharmony_ci%install 30695b41eeSopenharmony_cimkdir -p %{buildroot}%{_bindir} %{buildroot}%{_docdir} 31695b41eeSopenharmony_cicp -p ninja %{buildroot}%{_bindir}/ 32695b41eeSopenharmony_ci 33695b41eeSopenharmony_ci%files 34695b41eeSopenharmony_ci%defattr(-, root, root) 35695b41eeSopenharmony_ci%doc COPYING README.md doc/manual.html 36695b41eeSopenharmony_ci%{_bindir}/* 37695b41eeSopenharmony_ci 38695b41eeSopenharmony_ci%clean 39695b41eeSopenharmony_cirm -rf %{buildroot} 40695b41eeSopenharmony_ci 41695b41eeSopenharmony_ci#The changelog is built automatically from Git history 42695b41eeSopenharmony_ci%changelog 43