]>
Commit | Line | Data |
---|---|---|
cbeb0ac4 | 1 | %define _buildid 200609211617 |
1ab99462 JR |
2 | Summary: Graphical Editing Framework |
3 | Name: eclipse-gef | |
4 | Version: 3.2.1 | |
d39ad3ea JR |
5 | Release: 0.2 |
6 | License: EPL v1.0 | |
1ab99462 | 7 | Group: Development/Tools |
cbeb0ac4 | 8 | Source0: http://download.eclipse.org/tools/gef/downloads/drops/R-%{version}-%{_buildid}/GEF-ALL-%{version}.zip |
1ab99462 JR |
9 | # Source0-md5: fcf6ea042c70a8628613924e1e227150 |
10 | #URL: | |
11 | BuildRequires: unzip | |
12 | Requires: eclipse >= 3.2 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
d39ad3ea | 16 | %define _eclipsedir %{_libdir}/eclipse |
1ab99462 JR |
17 | |
18 | %description | |
19 | Graphical Editing Framework. | |
20 | ||
21 | %prep | |
22 | %setup -q -c | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
27 | cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
28 | cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins | |
29 | ||
30 | %clean | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %files | |
34 | %defattr(644,root,root,755) | |
35 | %{_eclipsedir}/features/org.eclipse.gef* | |
36 | %{_eclipsedir}/plugins/org.eclipse.gef* | |
37 | %{_eclipsedir}/plugins/org.eclipse.draw2d* |