diff --git a/README.md b/README.md index 5836aec..24745eb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ninja +Ninja is a small build system with a focus on speed. + diff --git a/ninja.spec b/ninja.spec new file mode 100644 index 0000000..c92c288 --- /dev/null +++ b/ninja.spec @@ -0,0 +1,47 @@ +Name: ninja +Version: 1.4.0 +Release: 1mamba +Summary: A small build system with a focus on speed +Group: Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://martine.github.io/ninja/ +## GITSOURCE https://github.com/martine/ninja.git v1.3.4 +Source: https://github.com/martine/ninja.git/v%{version}/ninja-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: python +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Ninja is a small build system with a focus on speed. + +%prep +%setup -q + +%build +./bootstrap.py + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 ninja %{buildroot}%{_bindir}/ninja + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ninja +%doc COPYING + +%changelog +* Sun Apr 06 2014 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Wed Sep 11 2013 Silvan Calarco 1.3.4-1mamba +- package created by silvan using the webbuild interface