]>
Commit | Line | Data |
---|---|---|
17560baf JR |
1 | %define module emf-sdo |
2 | %define _buildid R200609210005 | |
fd50b68b | 3 | Summary: Eclipse Modeling Framework |
5ecaf87b | 4 | Summary(pl): Eclipse Modeling Framework - szkielet do modelowania w Eclipse |
fd50b68b JR |
5 | Name: eclipse-%{module} |
6 | Version: 2.2.1 | |
d5efb43f JR |
7 | Release: 0.2 |
8 | License: EPL v1.0 | |
fd50b68b | 9 | Group: Development/Tools |
17560baf | 10 | Source0: http://download.eclipse.org/tools/emf/downloads/drops/%{version}/%{_buildid}/%{module}-SDK-%{version}.zip |
fd50b68b JR |
11 | # Source0-md5: 8dcd27a7dca1648c0da0c056c551f472 |
12 | #URL: | |
13 | BuildRequires: unzip | |
14 | Requires: eclipse >= 3.2 | |
fd50b68b JR |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
d5efb43f | 17 | %define _eclipsedir %{_libdir}/eclipse |
fd50b68b JR |
18 | |
19 | %description | |
20 | Eclipse Modeling Framework (EMF). | |
21 | ||
5ecaf87b JB |
22 | %description -l pl |
23 | Eclipse Modeling Framework (EMF) - szkielet do modelowania w Eclipse. | |
24 | ||
fd50b68b JR |
25 | %prep |
26 | %setup -q -c | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
31 | cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
32 | cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %{_eclipsedir}/features/org.eclipse.emf* | |
40 | %{_eclipsedir}/plugins/org.eclipse.emf* |