]>
Commit | Line | Data |
---|---|---|
d668b765 JR |
1 | %define module xsd |
2 | %define _buildid R200609210005 | |
880f9fd8 JR |
3 | Summary: XSD Schema Infoset Model |
4 | Name: eclipse-%{module} | |
5 | Version: 2.2.1 | |
304d50fb JR |
6 | Release: 0.2 |
7 | License: EPL v1.0 | |
880f9fd8 | 8 | Group: Development/Tools |
d668b765 | 9 | Source0: http://download.eclipse.org/tools/emf/downloads/drops/%{version}/%{_buildid}/%{module}-SDK-%{version}.zip |
880f9fd8 JR |
10 | # Source0-md5: 52dc08d87d41e65b7c442bea868ee71c |
11 | #URL: | |
12 | BuildRequires: unzip | |
13 | Requires: eclipse >= 3.2 | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
304d50fb | 17 | %define _eclipsedir %{_libdir}/eclipse |
880f9fd8 JR |
18 | |
19 | %description | |
20 | XSD Schema Infoset Model. | |
21 | ||
22 | %prep | |
23 | %setup -q -c | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
28 | cp -rf eclipse/features/* $RPM_BUILD_ROOT%{_eclipsedir}/features | |
29 | cp -rf eclipse/plugins/* $RPM_BUILD_ROOT%{_eclipsedir}/plugins | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %{_eclipsedir}/features/org.eclipse.xsd* | |
37 | %{_eclipsedir}/plugins/org.eclipse.xsd* | |
741c2567 | 38 | %{_eclipsedir}/plugins/org.eclipse.emf.mapping.xsd* |