forked from pool/ninja
Accepting request 147968 from home:namtrac:bugfix
A build system compared to make OBS-URL: https://build.opensuse.org/request/show/147968 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/ninja?expand=0&rev=1
This commit is contained in:
commit
722e35d16a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ninja-8a4c9e05f7.tar.bz2
Normal file
3
ninja-8a4c9e05f7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:542257c71e6edda5984cc2abf75075c024765f165a06b5f4bd8b0f4d91a3694d
|
||||
size 111624
|
5
ninja.changes
Normal file
5
ninja.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 19:38:44 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- First release
|
||||
|
60
ninja.spec
Normal file
60
ninja.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package ninja
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define _githash 8a4c9e05f7
|
||||
|
||||
Name: ninja
|
||||
Summary: A small build system closest in spirit to Make
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Version: 0.0_20121229
|
||||
Release: 0
|
||||
Url: https://github.com/martine/ninja
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python
|
||||
Source0: ninja-%{_githash}.tar.bz2
|
||||
|
||||
%description
|
||||
Ninja is yet another build system.
|
||||
It takes as input the interdependencies of files (typically source code and output executables)
|
||||
and orchestrates building them, quickly.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
%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