From 06d0f06c1b3cfb4b5d3d902bcfa428eba31847db Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Thu, 13 Oct 2016 17:15:47 +0900 Subject: [PATCH] Add rpm packaging for Tizen Change-Id: Icb54fc90df38800f1b03836c5f2beb8701dfc11d --- packaging/ninja.manifest | 5 +++++ packaging/ninja.spec | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 packaging/ninja.manifest create mode 100644 packaging/ninja.spec diff --git a/packaging/ninja.manifest b/packaging/ninja.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/ninja.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/ninja.spec b/packaging/ninja.spec new file mode 100644 index 0000000..82826ca --- /dev/null +++ b/packaging/ninja.spec @@ -0,0 +1,38 @@ +Name: ninja +Version: 1.7.0 +Release: 0 +License: Apache-2.0 +Summary: Ninja build system +Url: http://martine.github.com/ninja/ +Group: System/Utilities +Source: %{name}.tar.bz2 +Source1001: ninja.manifest + +BuildRequires: python + +%description +Ninja is a small build system with a focus on speed. +http://martine.github.com/ninja/ + +See the manual -- http://martine.github.com/ninja/manual.html or +doc/manual.asciidoc included in the distribution -- for background +and more details. + +%prep +%setup -q +cp %{SOURCE1001} . + + +%build +python ./bootstrap.py + +%install +mkdir -p %{buildroot}%{_bindir} +install -m 0755 ninja %{buildroot}%{_bindir}/ninja + +%files +%manifest %{name}.manifest +%defattr(-,root,root) +%{_bindir}/ninja +%license COPYING + -- 2.7.4