]>
Commit | Line | Data |
---|---|---|
27f9dec2 ER |
1 | # TODO |
2 | # - build noarch | |
396527c3 | 3 | %define module wtp |
27f9dec2 | 4 | %define ver_major 2.0 |
6fbb0b16 AG |
5 | %define ver_minor .2 |
6 | %define buildid 20080223205547 | |
396527c3 | 7 | Summary: Web Tools Platform |
52861f01 | 8 | Summary(pl.UTF-8): Web Tools Platform - platforma narzędzi WWW |
396527c3 | 9 | Name: eclipse-%{module} |
6fbb0b16 AG |
10 | Version: %{ver_major}%{ver_minor} |
11 | Release: 1 | |
675885f0 | 12 | License: EPL v1.0 |
396527c3 | 13 | Group: Development/Tools |
27f9dec2 | 14 | Source0: http://archive.eclipse.org/webtools/downloads/drops/R%{ver_major}/R-%{version}-%{buildid}/%{module}-sdk-R-%{version}-%{buildid}.zip |
6fbb0b16 | 15 | # Source0-md5: c1dfb4c81dab95f3a399a9335b98a263 |
27f9dec2 | 16 | URL: http://www.eclipse.org/webtools/ |
396527c3 JR |
17 | BuildRequires: unzip |
18 | Requires: eclipse >= 3.2 | |
f9d66ddd | 19 | Requires: eclipse-emf-sdo-xsd >= 2.2.1 |
396527c3 JR |
20 | Requires: eclipse-gef >= 3.2.1 |
21 | Requires: eclipse-jem >= 1.2.1 | |
22 | Requires: eclipse-xsd >= 2.2.1 | |
396527c3 JR |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
27f9dec2 | 25 | %define _eclipsedir %{_libdir}/eclipse |
396527c3 JR |
26 | |
27 | %description | |
28 | Web Tools Platform. | |
29 | ||
e6a309c3 JR |
30 | %description -l pl.UTF-8 |
31 | Web Tools Platform - platforma narzędzi WWW. | |
8d3c86cd | 32 | |
396527c3 JR |
33 | %prep |
34 | %setup -q -c | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
39 | cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
40 | cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins | |
41 | ||
6fbb0b16 AG |
42 | # remove files that conflict with eclipse-3.3.1.1 |
43 | rm $RPM_BUILD_ROOT%{_eclipsedir}/plugins/javax.servlet.jsp_2.0.0.v200706191603.jar | |
44 | rm $RPM_BUILD_ROOT%{_eclipsedir}/plugins/javax.servlet_2.4.0.v200706111738.jar | |
45 | rm $RPM_BUILD_ROOT%{_eclipsedir}/plugins/org.apache.commons.el_1.0.0.v200706111724.jar | |
46 | rm $RPM_BUILD_ROOT%{_eclipsedir}/plugins/org.apache.commons.logging_1.0.4.v200706111724.jar | |
47 | ||
396527c3 JR |
48 | %clean |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %{_eclipsedir}/features/* | |
54 | %{_eclipsedir}/plugins/* |