]>
Commit | Line | Data |
---|---|---|
099eace7 ER |
1 | %include /usr/lib/rpm/macros.java |
2 | Summary: Web Tools Platform (WTP) Project | |
3 | Name: eclipse-plugin-webtools | |
4 | Version: 2.0 | |
5 | Release: 0.2 | |
6 | License: EPL v1.0 | |
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 | |
a5c3f53b | 13 | BuildRequires: unzip |
099eace7 ER |
14 | Requires: eclipse >= 3.3 |
15 | Requires: eclipse-gef | |
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. | |
24 | BuildArch: noarch | |
25 | # FIXME: we need to investigate the differences between their version and the one in PLD | |
26 | #BuildRequires: wsdl4j | |
27 | BuildRequires: xerces-j2 | |
28 | BuildRequires: uddi4j | |
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) | |
36 | ||
37 | %define eclipsedir %{_datadir}/eclipse | |
38 | ||
39 | %description | |
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. | |
45 | ||
46 | %prep | |
47 | %setup -qc | |
48 | ||
49 | %install | |
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 | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
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 |