packages: android-sdk/android-sdk.spec - make platforms and temp dir writab...

glen glen at pld-linux.org
Wed Nov 10 23:10:17 CET 2010


Author: glen                         Date: Wed Nov 10 22:10:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- make platforms and temp dir writable for first user, making kickstart easier

---- Files affected:
packages/android-sdk:
   android-sdk.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/android-sdk/android-sdk.spec
diff -u packages/android-sdk/android-sdk.spec:1.1 packages/android-sdk/android-sdk.spec:1.2
--- packages/android-sdk/android-sdk.spec:1.1	Wed Nov 10 22:46:32 2010
+++ packages/android-sdk/android-sdk.spec	Wed Nov 10 23:10:12 2010
@@ -5,12 +5,13 @@
 Summary:	The Android SDK has all you need to create great apps to Android
 Name:		android-sdk
 Version:	r07
-Release:	0.2
+Release:	0.3
 License:	Apache v2.0
 Group:		Development/Languages/Java
 URL:		http://developer.android.com/sdk/
 Source0:	http://dl.google.com/android/%{name}_%{version}-linux_x86.tgz
-# Source0-md5:	-
+# NoSource0-md5:	e10c75da3d1aa147ddd4a5c58bfc3646
+NoSource:	0
 BuildRequires:	jpackage-utils
 BuildRequires:	rpm-javaprov
 BuildRequires:	rpmbuild(macros) >= 1.300
@@ -34,12 +35,16 @@
 rm -rf tools/lib/x86_64
 %endif
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
 
 cp -a add-ons platforms tools $RPM_BUILD_ROOT%{_appdir}
 
+# installer downloads files there
+install -d $RPM_BUILD_ROOT%{_appdir}/temp
+
 ln -s %{_appdir}/tools/adb $RPM_BUILD_ROOT%{_bindir}/adb
 ln -s %{_appdir}/tools/ddms $RPM_BUILD_ROOT%{_bindir}/ddms
 ln -s %{_appdir}/tools/android $RPM_BUILD_ROOT%{_bindir}/android
@@ -55,10 +60,13 @@
 %attr(755,root,root) %{_bindir}/android
 %dir %{_appdir}
 %dir %{_appdir}/add-ons
-%dir %{_appdir}/platforms
 %dir %{_appdir}/tools
 %dir %{_appdir}/tools/lib
 
+# attrs like /tmp so user could add new files there which aren't system pkgs (yet)
+%dir %attr(1777,root,root) %{_appdir}/platforms
+%dir %attr(1777,root,root) %{_appdir}/temp
+
 %{_appdir}/tools/ant
 %{_appdir}/tools/lib/*.jar
 %ifarch %{ix86}
@@ -101,5 +109,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/11/10 22:10:12  glen
+- make platforms and temp dir writable for first user, making kickstart easier
+
 Revision 1.1  2010/11/10 21:46:32  glen
 - new, nothing there yet, however gui starts and adb too
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/android-sdk/android-sdk.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list