2 # - deps: requires plug-in "org.eclipse.wst.sse.core".
3 # - test package, how to (where to?) package web and xml and index.html
4 Summary: ADT Plugin for Eclipse
5 Name: eclipse-plugin-adt
10 Source0: http://dl.google.com/android/ADT-%{version}.zip
11 # Source0-md5: 7deff0c9b25940a74cea7a0815a3bc36
12 URL: http://developer.android.com/sdk/eclipse-adt.html
14 Requires: eclipse >= 3.3
17 Requires: eclipse-plugin-webtools
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define eclipsedir %{_datadir}/eclipse
24 Android Development Tools (ADT) is a plugin for the Eclipse IDE that
25 is designed to give you a powerful, integrated environment in which to
26 build Android applications.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins}
34 cp -a features/* $RPM_BUILD_ROOT%{eclipsedir}/features
35 cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %{eclipsedir}/features/com.android.ide.eclipse.*.jar
43 %{eclipsedir}/plugins/com.android.ide.eclipse.*.jar