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
14 Requires: eclipse >= 3.3
16 # WST Common UI (2.0.2.v200802150100-7C5EH3E9RvTVnirrspVz0bmP7g8d) requires plug-in "org.eclipse.draw2d (3.2.0)", or compatible.
17 # WST Common Core (2.0.2.v200802150100-7C78EKOE_EkMNlO6f7cjpz0) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
18 # Eclipse XML Editors and Tools (2.0.2.v200802150100-7A1ECMCnbcl1bVs9uNm_Zkieb7Qe) requires plug-in "org.eclipse.emf.common (2.2.0)", or compatible.
19 # WST XML Core (2.0.2.v200802150100-787BE_4CYQCD-DaQMIfPd) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
20 # WST Web Services UI (2.0.2.v200802150100-791ECIAufYO9BlarnPCFGewtZiN1) requires plug-in "org.eclipse.emf.common (2.2.0)", or compatible.
21 # WST Web Services Core (2.0.2.v200802150100-7E7KEB2EC3wSU5UghChM0v) requires plug-in "org.eclipse.xsd (2.3.0)", or compatible.
22 # WST Web UI (2.0.2.v200802150100-7A0EAlCiWfJKsCZoChvz0dMYOb) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
23 # WST Web Core (2.0.2.v200802150100-42CN_kE77a8F9XCOEL) requires plug-in "org.eclipse.emf.ecore (2.2.0)", or compatible.
25 # FIXME: we need to investigate the differences between their version and the one in PLD
26 #BuildRequires: wsdl4j
27 BuildRequires: xerces-j2
29 # FIXME: update this to 1.7.2
30 BuildRequires: java-cactus
31 BuildRequires: aspectj
32 # FIXME: do I need to BR/R this?
33 BuildRequires: xml-commons-apis
34 BuildRequires: xml-commons-resolver
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 %define eclipsedir %{_datadir}/eclipse
40 The Eclipse Web Tools Platform (WTP) project extends the Eclipse
41 platform with tools for developing Web and Java EE applications. It
42 includes source and graphical editors for a variety of languages,
43 wizards and built-in applications to simplify development, and tools
44 and APIs to support deploying, running, and testing apps.
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins}
52 cp -a features/* $RPM_BUILD_ROOT%{eclipsedir}/features
53 cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %{eclipsedir}/features/com.google.gdt.eclipse.suite.e33.feature_*
61 %{eclipsedir}/plugins/com.google.appengine.eclipse.core_*.jar
62 %{eclipsedir}/plugins/com.google.gdt.eclipse.core_*.jar
63 %{eclipsedir}/plugins/com.google.gdt.eclipse.suite_*.jar
64 %{eclipsedir}/plugins/com.google.gwt.eclipse.core_*.jar