Add rpm packaging for Tizen accepted/tizen_3.0.m2_base accepted/tizen_3.0_base sandbox/leemgs/stat tizen_3.0.m2_base tizen_3.0_base accepted/tizen/3.0.m2/base/20170104.082048 accepted/tizen/3.0/base/20161028.103031 accepted/tizen/base/20161016.035628 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20161013.091521
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 13 Oct 2016 08:15:47 +0000 (17:15 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 13 Oct 2016 08:15:47 +0000 (17:15 +0900)
Change-Id: Icb54fc90df38800f1b03836c5f2beb8701dfc11d

packaging/ninja.manifest [new file with mode: 0644]
packaging/ninja.spec [new file with mode: 0644]

diff --git a/packaging/ninja.manifest b/packaging/ninja.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/ninja.spec b/packaging/ninja.spec
new file mode 100644 (file)
index 0000000..82826ca
--- /dev/null
@@ -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
+