Permalink
Browse files

bug 676275 r=jhford Update sdk on build slaves to api level 13

  • Loading branch information...
1 parent afddd98 commit 09b888bc729e9ad3697201cb16b3f81d962898bc Mike Taylor committed Aug 4, 2011
Showing with 40 additions and 0 deletions.
  1. +40 −0 android-sdk/centos5-i686/android-sdk12.spec
@@ -0,0 +1,40 @@
+%define debug_package %{nil}
+%define upstream_name android-sdk
+%define upstream_ver r12
+%define install_dir_name %{upstream_name}-%{upstream_ver}
+Name: android-sdk12
+Summary: An interpreted, interactive, object-oriented programming language.
+Version: %{upstream_ver}
+Release: 0moz1
+License: ???
+Group: Java
+# This isn't the original source package but rather a Mozilla built tarball.
+# The original source package comes from Google and has to be un-tar'd and
+# a GUI tool run to then install the proper SDK package
+Source0: %{upstream_name}_%{upstream_ver}-linux_x86-releng.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 %{upstream_name}-linux_x86
+
+%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 09b888b

Please sign in to comment.