48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <autodist@mambasoft.it> 1.4.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Sep 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
|
||
|
- package created by silvan using the webbuild interface
|