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
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
%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}