forked from pool/ninja
- Only depend on python-base to trim down BuildRequires
- Do not build the html manual - Use upstream pristine tarball OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=17
This commit is contained in:
parent
167f2312a4
commit
0a23cfac13
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 10:21:01 UTC 2014 - idonmez@suse.com
|
||||
|
||||
- Only depend on python-base to trim down BuildRequires
|
||||
- Do not build the html manual
|
||||
- Use upstream pristine tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 29 10:25:33 UTC 2014 - idonmez@suse.com
|
||||
|
||||
|
13
ninja.spec
13
ninja.spec
@ -24,12 +24,9 @@ Version: 1.5.1
|
||||
Release: 0
|
||||
Url: https://github.com/martine/ninja
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libxslt-tools
|
||||
BuildRequires: python
|
||||
#Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
||||
Source0: ninja-%{version}.tar.gz
|
||||
BuildRequires: python-base
|
||||
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
||||
|
||||
%description
|
||||
Ninja is yet another build system.
|
||||
@ -41,20 +38,14 @@ and orchestrates building them, quickly.
|
||||
|
||||
%build
|
||||
python ./bootstrap.py
|
||||
./ninja manual
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_docdir}/html
|
||||
|
||||
install -m 0755 ninja %{buildroot}%{_bindir}/ninja
|
||||
install -m 0644 doc/manual.html %{buildroot}%{_docdir}/html/manual.html
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/ninja
|
||||
%dir %{_docdir}/html
|
||||
%doc %{_docdir}/html/*
|
||||
%doc COPYING
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user