]>
Commit | Line | Data |
---|---|---|
099eace7 ER |
1 | %include /usr/lib/rpm/macros.java |
2 | Summary: Web Tools Platform (WTP) Project | |
3 | Name: eclipse-plugin-webtools | |
b012ffb6 | 4 | Version: 2.0.3 |
2348cc31 | 5 | Release: 1 |
099eace7 ER |
6 | License: EPL v1.0 |
7 | Group: Development/Tools | |
8 | URL: http://www.eclipse.org/webtools/ | |
b012ffb6 ER |
9 | Source0: http://archive.eclipse.org/webtools/downloads/drops/R2.0/R-%{version}-20080710044639/wtp-R-%{version}-20080710044639.zip |
10 | # Source0-md5: 50b71ffba34da650dfa259388c043ab3 | |
099eace7 | 11 | BuildRequires: rpm-javaprov |
a5c3f53b | 12 | BuildRequires: unzip |
b012ffb6 | 13 | #Requires: dtp-sdk >= 1.5.2 |
099eace7 | 14 | Requires: eclipse >= 3.3 |
b012ffb6 ER |
15 | Requires: eclipse-gef >= 3.3.2 |
16 | #Requires: emf-sdo-xsd-sdk >= 2.3 | |
17 | #Suggests: eclipse-test-framework >= 3.3 | |
18 | #Suggests: org.eclipse.releng.tools >= 3.3 | |
099eace7 | 19 | BuildArch: noarch |
099eace7 ER |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %define eclipsedir %{_datadir}/eclipse | |
23 | ||
24 | %description | |
25 | The Eclipse Web Tools Platform (WTP) project extends the Eclipse | |
26 | platform with tools for developing Web and Java EE applications. It | |
27 | includes source and graphical editors for a variety of languages, | |
28 | wizards and built-in applications to simplify development, and tools | |
29 | and APIs to support deploying, running, and testing apps. | |
30 | ||
31 | %prep | |
865c29e0 | 32 | %setup -qc |
099eace7 | 33 | |
b012ffb6 ER |
34 | mv eclipse/*.html . |
35 | ||
099eace7 ER |
36 | %install |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins} | |
b012ffb6 | 39 | cp -a eclipse/* $RPM_BUILD_ROOT%{eclipsedir} |
099eace7 ER |
40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
865c29e0 ER |
46 | %{eclipsedir}/features/org.eclipse.jpt.* |
47 | %{eclipsedir}/plugins/org.eclipse.jpt[._]*.jar | |
48 | ||
49 | %{eclipsedir}/features/org.eclipse.jst[._]* | |
50 | %{eclipsedir}/plugins/org.eclipse.jst.* | |
51 | %{eclipsedir}/plugins/org.eclipse.jst_*.jar | |
52 | ||
53 | %{eclipsedir}/features/org.eclipse.wst[._]* | |
54 | ||
55 | %{eclipsedir}/plugins/org.eclipse.wst.* | |
56 | %{eclipsedir}/plugins/org.eclipse.wst_*.jar | |
57 | ||
58 | %{eclipsedir}/plugins/org.eclipse.jem[._]*.jar | |
59 | %{eclipsedir}/plugins/org.uddi4j_*.jar | |
60 | ||
61 | # deps | |
b012ffb6 ER |
62 | %{eclipsedir}/plugins/javax.servlet_*.jar |
63 | %{eclipsedir}/plugins/javax.servlet.jsp_*.jar | |
64 | %{eclipsedir}/plugins/javax.wsdl15_*.jar | |
65 | %{eclipsedir}/plugins/javax.wsdl_*.jar | |
66 | %{eclipsedir}/plugins/javax.xml.rpc_* | |
67 | %{eclipsedir}/plugins/javax.xml.soap_* | |
68 | %{eclipsedir}/plugins/org.apache.axis_* | |
69 | %{eclipsedir}/plugins/org.apache.cactus_* | |
70 | %{eclipsedir}/plugins/org.apache.commons.discovery_* | |
71 | %{eclipsedir}/plugins/org.apache.commons.el_*.jar | |
72 | %{eclipsedir}/plugins/org.apache.commons.logging_*.jar | |
73 | %{eclipsedir}/plugins/org.apache.log4j_*.jar | |
74 | %{eclipsedir}/plugins/org.apache.wsil4j_*.jar | |
75 | %{eclipsedir}/plugins/org.apache.xerces_*.jar | |
76 | %{eclipsedir}/plugins/org.apache.xml.resolver_*.jar |