Bump to ninja 1.10.2 69/248869/2 accepted/tizen_6.5_base accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix sandbox/backup/ninja_1.10.2_20221228 sandbox/dh0128.kwak/ninja-1.10.2_20201203 tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/6.5/base/20211028.055957 accepted/tizen/7.0/base/20221116.025955 accepted/tizen/7.0/base/hotfix/20221116.055404 accepted/tizen/base/20201206.220650 accepted/tizen/base/20221115.103829 submit/tizen_6.5_base/20211028.134301 submit/tizen_base/20201203.043907 tizen_6.5.m2_release tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 3 Dec 2020 03:44:52 +0000 (12:44 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 3 Dec 2020 03:46:56 +0000 (12:46 +0900)
Change-Id: I70280c2a0c6c6ee7687ebfa7c983137ec9e01e5d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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..991cf9b
--- /dev/null
@@ -0,0 +1,39 @@
+Name:           ninja
+Version:        1.10.2
+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
+# Support large file more than 2GB. (e.g., for stat syscall).
+export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
+
+python ./configure.py --bootstrap
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -m 0755 ninja %{buildroot}%{_bindir}/ninja
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{_bindir}/ninja
+