]>
Commit | Line | Data |
---|---|---|
b9a30be6 | 1 | # TODO |
b9a30be6 | 2 | # - build noarch |
7b9b251e ER |
3 | |
4 | %define module emf-sdo-xsd | |
5 | %define buildid 200706262000 | |
fd50b68b | 6 | Summary: Eclipse Modeling Framework |
0ccc15c3 | 7 | Summary(pl.UTF-8): Eclipse Modeling Framework - szkielet do modelowania w Eclipse |
fd50b68b | 8 | Name: eclipse-%{module} |
b9a30be6 | 9 | Version: 2.3.0 |
6b53a3f4 | 10 | Release: 1 |
d5efb43f | 11 | License: EPL v1.0 |
fd50b68b | 12 | Group: Development/Tools |
83f7fbf1 JB |
13 | Source0: http://archive.eclipse.org/modeling/emf/emf/downloads/drops/%{version}/R%{buildid}/%{module}-SDK-%{version}.zip |
14 | # Source0-md5: 95c3eed41fa88e18b998cf14d9a2a985 | |
b9a30be6 | 15 | URL: http://www.eclipse.org/emf/ |
fd50b68b JR |
16 | BuildRequires: unzip |
17 | Requires: eclipse >= 3.2 | |
7b9b251e | 18 | Obsoletes: eclipse-emf-sdo |
fd50b68b JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
b9a30be6 | 21 | %define _eclipsedir %{_libdir}/eclipse |
fd50b68b JR |
22 | |
23 | %description | |
24 | Eclipse Modeling Framework (EMF). | |
25 | ||
f6115c78 | 26 | %description -l pl.UTF-8 |
5ecaf87b JB |
27 | Eclipse Modeling Framework (EMF) - szkielet do modelowania w Eclipse. |
28 | ||
fd50b68b JR |
29 | %prep |
30 | %setup -q -c | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
35 | cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
36 | cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %{_eclipsedir}/features/org.eclipse.emf* | |
7b9b251e | 44 | %{_eclipsedir}/features/org.eclipse.xsd* |
fd50b68b | 45 | %{_eclipsedir}/plugins/org.eclipse.emf* |
7b9b251e | 46 | %{_eclipsedir}/plugins/org.eclipse.xsd* |