From f36e8c62c29ffc35c4420d6234729d1c07d81e5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 19 May 2009 21:18:17 +0000 Subject: [PATCH] - unfinished Changed files: eclipse-plugin-google.spec -> 1.1 --- eclipse-plugin-google.spec | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 eclipse-plugin-google.spec diff --git a/eclipse-plugin-google.spec b/eclipse-plugin-google.spec new file mode 100644 index 0000000..c21fcd9 --- /dev/null +++ b/eclipse-plugin-google.spec @@ -0,0 +1,48 @@ +%include /usr/lib/rpm/macros.java +Summary: Google Plugin for Eclipse +Name: eclipse-plugin-google +Version: 1.0.1 +Release: 0.2 +License: Apache License, v2.0 +Group: Development/Tools +URL: http://code.google.com/eclipse/ +# http://code.google.com/eclipse/docs/install-from-zip.html +Source0: http://dl.google.com/eclipse/plugin/3.3/zips/gpe-e33-latest.zip +# Source0-md5: 955d207982a0ec954b1c067019c33694 +BuildRequires: rpm-javaprov +Requires: eclipse >= 3.3 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define eclipsedir %{_datadir}/eclipse + +%description +The Google Plugin for Eclipse is the fastest way to start developing +Google Web Toolkit and App Engine applications, allowing you to go +from installing the plugin to deploying an Ajax "Hello World" in a +matter of minutes. Simply install the plugin and get started. If you +don't have the GWT and App Engine SDKs installed, the plugin can take +care of that for you. + +The plugin currently supports Google App Engine and Google Web Toolkit +development. + +%prep +%setup -qc + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins} +cp -a features/* $RPM_BUILD_ROOT%{eclipsedir}/features +cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{eclipsedir}/features/com.google.gdt.eclipse.suite.e33.feature_* +%{eclipsedir}/plugins/com.google.appengine.eclipse.core_*.jar +%{eclipsedir}/plugins/com.google.gdt.eclipse.core_*.jar +%{eclipsedir}/plugins/com.google.gdt.eclipse.suite_*.jar +%{eclipsedir}/plugins/com.google.gwt.eclipse.core_*.jar -- 2.43.0