X-Git-Url: https://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=android-sdk.spec;fp=android-sdk.spec;h=dd071b90c6eedab204af298031e0248033916ce6;hb=1d43432c91dde4e163004a40cb4b356ee2a91965;hp=8e12047352d48a5252125540cf1e8fa683f7b30b;hpb=5d76763ecdbeb3bf715c10d1ff9460338095afce;p=packages%2Fandroid-sdk.git diff --git a/android-sdk.spec b/android-sdk.spec index 8e12047..dd071b9 100644 --- a/android-sdk.spec +++ b/android-sdk.spec @@ -4,12 +4,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 @@ -33,12 +34,16 @@ rm -rf tools/lib/x86 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 @@ -54,10 +59,13 @@ rm -rf $RPM_BUILD_ROOT %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}