Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 775720 - spec file for android sdk 16 - r=catlee

  • Loading branch information...
commit 641a86c45c370c220c186e5a57f8e8059b7ef813 1 parent 304481e
@ccooper ccooper authored
Showing with 58 additions and 0 deletions.
  1. +58 −0 android-sdk/centos5-i686/android-sdk16.spec
58 android-sdk/centos5-i686/android-sdk16.spec
@@ -0,0 +1,58 @@
+%define debug_package %{nil}
+%define upstream_name android-sdk
+%define upstream_ver r16
+%define install_dir_name %{upstream_name}-%{upstream_ver}
+Name: android-sdk16
+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 platforms:
+# # cltbld@mv-moz2-linux-ix-slave01
+# cd $HOME
+# mv android-sdk-linux android-sdk-linux.${prev_version}
+# wget
+# tar xzvf android-sdk_r16-linux.tgz
+# cd android-sdk-linux
+# tools/android update sdk --no-ui
+# ps auxww | grep adb
+# # Kill the adb server process returned by ps, just in case it
+# # is holding something open.
+# cd ..
+# rm android-sdk_r16-linux.tgz
+# tar czvf android-sdk_r16-linux.tgz android-sdk-linux
+# cp android-sdk_r16-linux.tgz rpmbuild/SOURCES/
+# cd rpmbuild
+# rpmbuild -ba --define "_topdir $PWD" SPECS/android-sdk16.spec
+Source0: %{upstream_name}_%{upstream_ver}-linux.tgz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+AutoReqProv: no
+%define __os_install_post %{nil}
+%define __strip /bin/true
+%setup -q -n %{upstream_name}-linux
+chmod -R a+rX *
+mkdir -p $RPM_BUILD_ROOT/tools/%{install_dir_name}
+cp -a * $RPM_BUILD_ROOT/tools/%{install_dir_name}
+%defattr(-, root, root)
Please sign in to comment.
Something went wrong with that request. Please try again.