forked from pool/ninja
Accepting request 356876 from devel:tools:building
- Update dependencies - Use optflags when building - Make building more verbose OBS-URL: https://build.opensuse.org/request/show/356876 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ninja?expand=0&rev=13
This commit is contained in:
commit
ef010f9b33
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 30 21:39:59 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update dependencies
|
||||||
|
- Use optflags when building
|
||||||
|
- Make building more verbose
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 1 08:04:09 UTC 2015 - foss@grueninger.de
|
Wed Jul 1 08:04:09 UTC 2015 - foss@grueninger.de
|
||||||
|
|
||||||
|
21
ninja.spec
21
ninja.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ninja
|
# spec file for package ninja
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,17 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ninja
|
Name: ninja
|
||||||
|
Version: 1.6.0
|
||||||
|
Release: 0
|
||||||
Summary: A small build system closest in spirit to Make
|
Summary: A small build system closest in spirit to Make
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 1.6.0
|
|
||||||
Release: 0
|
|
||||||
Url: https://github.com/martine/ninja
|
Url: https://github.com/martine/ninja
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: python3-base
|
|
||||||
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
Source0: https://github.com/martine/ninja/archive/v%{version}.tar.gz
|
||||||
Patch1: ninja-disable-maxprocs-test.patch
|
Patch1: ninja-disable-maxprocs-test.patch
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: python3-base
|
||||||
|
BuildRequires: re2c
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ninja is yet another build system.
|
Ninja is yet another build system.
|
||||||
@ -39,12 +40,14 @@ and orchestrates building them, quickly.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python3 ./configure.py --bootstrap
|
export CFLAGS="%{optflags}"
|
||||||
|
export CXXFLAGS="%{optflags}"
|
||||||
|
python3 ./configure.py --bootstrap --verbose
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
|
||||||
install -m 0755 ninja %{buildroot}%{_bindir}/ninja
|
install -D -m 0755 ninja %{buildroot}%{_bindir}/ninja
|
||||||
install -D -m 0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
install -D -m 0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
|
||||||
install -D -m 0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/site/syntax/ninja.vim
|
install -D -m 0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/site/syntax/ninja.vim
|
||||||
install -D -m 0644 misc/bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/ninja
|
install -D -m 0644 misc/bash-completion %{buildroot}%{_sysconfdir}/bash_completion.d/ninja
|
||||||
@ -55,10 +58,10 @@ install -D -m 0644 misc/bash-completion %{buildroot}%{_sysconfdir}/bash_completi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING
|
||||||
%{_bindir}/ninja
|
%{_bindir}/ninja
|
||||||
%{_datadir}/zsh
|
%{_datadir}/zsh
|
||||||
%{_datadir}/vim
|
%{_datadir}/vim
|
||||||
%{_sysconfdir}/bash_completion.d
|
%{_sysconfdir}/bash_completion.d
|
||||||
%doc COPYING
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user