Permalink
Browse files

Bug 769099 - deploy new NDK (r8c) for use on production releng system…

…s. r=rail
  • Loading branch information...
1 parent 3d8b4ed commit f7781d7c322cf7bee2486a5ae4e828b2e41c4023 Kartikaya Gupta committed Dec 22, 2012
Showing with 41 additions and 0 deletions.
  1. +41 −0 android-ndk/centos5-i686/android-ndk8.spec
@@ -0,0 +1,41 @@
+%define debug_package %{nil}
+%define upstream_name android-ndk
+%define upstream_ver r8c
+%define install_dir_name %{upstream_name}-%{upstream_ver}
+Name: android-ndk8
+Summary: The Android Native Development Kit, version r8c.
+Version: %{upstream_ver}
+Release: 0moz1
+License: ???
+Group: Java
+# This is the upstream NDK binary distribution tarball. All modifications are
+# performed in this spec file's build section. If extra files need to be
+# included for modifications, they should use Source1: <path> and be copied
+# as needed.
+Source0: http://dl.google.com/android/ndk/%{upstream_name}-%{upstream_ver}-linux-x86.tar.bz2
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+AutoReqProv: no
+
+%define __os_install_post %{nil}
+%define __strip /bin/true
+
+%description
+%{name}
+
+%prep
+%setup -q -n android-ndk-%{upstream_ver}
+
+%build
+chmod -R a+rX *
+
+%install
+rm -fr $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/tools/%{install_dir_name}
+cp -a * $RPM_BUILD_ROOT/tools/%{install_dir_name}
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+/tools/%{install_dir_name}

0 comments on commit f7781d7

Please sign in to comment.