1 %include /usr/lib/rpm/macros.java
2 Summary: Web Tools Platform (WTP) Project
3 Name: eclipse-plugin-webtools
7 Group: Development/Tools
8 URL: http://www.eclipse.org/webtools/
9 # http://code.google.com/eclipse/docs/install-from-zip.html
10 Source0: http://dl.google.com/eclipse/plugin/3.3/zips/gpe-e33-latest.zip
11 # Source0-md5: 955d207982a0ec954b1c067019c33694
12 BuildRequires: rpm-javaprov
13 Requires: eclipse >= 3.3
15 # WST Common UI (2.0.2.v200802150100-7C5EH3E9RvTVnirrspVz0bmP7g8d) requires plug-in "org.eclipse.draw2d (3.2.0)", or compatible.
16 # WST Common Core (2.0.2.v200802150100-7C78EKOE_EkMNlO6f7cjpz0) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
17 # Eclipse XML Editors and Tools (2.0.2.v200802150100-7A1ECMCnbcl1bVs9uNm_Zkieb7Qe) requires plug-in "org.eclipse.emf.common (2.2.0)", or compatible.
18 # WST XML Core (2.0.2.v200802150100-787BE_4CYQCD-DaQMIfPd) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
19 # WST Web Services UI (2.0.2.v200802150100-791ECIAufYO9BlarnPCFGewtZiN1) requires plug-in "org.eclipse.emf.common (2.2.0)", or compatible.
20 # WST Web Services Core (2.0.2.v200802150100-7E7KEB2EC3wSU5UghChM0v) requires plug-in "org.eclipse.xsd (2.3.0)", or compatible.
21 # WST Web UI (2.0.2.v200802150100-7A0EAlCiWfJKsCZoChvz0dMYOb) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
22 # WST Web Core (2.0.2.v200802150100-42CN_kE77a8F9XCOEL) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
24 # FIXME: we need to investigate the differences between their version and the one in PLD
25 #BuildRequires: wsdl4j
26 BuildRequires: xerces-j2
28 # FIXME: update this to 1.7.2
29 BuildRequires: java-cactus
30 BuildRequires: aspectj
31 # FIXME: do I need to BR/R this?
32 BuildRequires: xml-commons-apis
33 BuildRequires: xml-commons-resolver
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define eclipsedir %{_datadir}/eclipse
39 The Eclipse Web Tools Platform (WTP) project extends the Eclipse
40 platform with tools for developing Web and Java EE applications. It
41 includes source and graphical editors for a variety of languages,
42 wizards and built-in applications to simplify development, and tools
43 and APIs to support deploying, running, and testing apps.
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins}
51 cp -a features/* $RPM_BUILD_ROOT%{eclipsedir}/features
52 cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %{eclipsedir}/features/com.google.gdt.eclipse.suite.e33.feature_*
60 %{eclipsedir}/plugins/com.google.appengine.eclipse.core_*.jar
61 %{eclipsedir}/plugins/com.google.gdt.eclipse.core_*.jar
62 %{eclipsedir}/plugins/com.google.gdt.eclipse.suite_*.jar
63 %{eclipsedir}/plugins/com.google.gwt.eclipse.core_*.jar