]>
Commit | Line | Data |
---|---|---|
880f9fd8 JR |
1 | %define module xsd |
2 | Summary: XSD Schema Infoset Model | |
3 | Name: eclipse-%{module} | |
4 | Version: 2.2.1 | |
5 | Release: 0.1 | |
6 | License: CPL | |
7 | Group: Development/Tools | |
8 | Source0: http://download.eclipse.org/tools/emf/downloads/drops/%{version}/R200609210005/%{module}-SDK-%{version}.zip | |
9 | # Source0-md5: 52dc08d87d41e65b7c442bea868ee71c | |
10 | #URL: | |
11 | BuildRequires: unzip | |
12 | Requires: eclipse >= 3.2 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _eclipsedir %{_datadir}/eclipse | |
17 | ||
18 | %description | |
19 | XSD Schema Infoset Model. | |
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.xsd* | |
36 | %{_eclipsedir}/plugins/org.eclipse.xsd* | |
741c2567 | 37 | %{_eclipsedir}/plugins/org.eclipse.emf.mapping.xsd* |