]>
Commit | Line | Data |
---|---|---|
8875d078 BZ |
1 | # TODO: |
2 | # - subpackages | |
303d9c50 | 3 | # - pl desc and summary |
8875d078 BZ |
4 | %define eclipse_ver 3.3 |
5 | ||
6 | %define deps_ver 2.0.0 | |
7 | %define deps_rev 20080517 | |
8 | ||
9 | %define ver_major 0.7 | |
10 | %define ver_minor 0 | |
11 | %define rev 20080521 | |
12 | ||
303d9c50 | 13 | Summary: Subversion (SVN) integration for Eclipse |
8875d078 BZ |
14 | Name: eclipse-plugin-subversive |
15 | Version: %{ver_major}.%{ver_minor} | |
16 | Release: 0.%{rev}.1 | |
303d9c50 | 17 | License: EPL v1.0 |
18 | Group: Development/Tools | |
8875d078 BZ |
19 | Source0: http://download.eclipse.org/technology/subversive/%{ver_major}/builds/Subversive-incubation-%{version}.v%{rev}.zip |
20 | # Source0-md5: 1a0cfb22b2f58bccd43c09eecc97f259 | |
21 | Source1: http://www.polarion.org/projects/subversive/download/eclipse/2.0/builds/Subversive-connectors-%{deps_ver}.v%{deps_rev}.zip | |
22 | # Source1-md5: c92e5f71b0ec268b6ada3a2f01ba51cd | |
23 | Source2: http://www.polarion.org/projects/subversive/download/integrations/builds/Subversive-integrations-%{deps_ver}.v%{deps_rev}.zip | |
24 | # Source2-md5: d6e0ce9a06d9f48b00d452820929be95 | |
25 | URL: http://www.eclipse.org/subversive/ | |
26 | BuildRequires: unzip | |
27 | Requires: eclipse >= %{eclipse_ver} | |
28 | Requires: subversion >= 1.1 | |
29 | Requires: subversion < 1.6 | |
303d9c50 | 30 | BuildArch: noarch |
8875d078 BZ |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %define _eclipsedir %{_libdir}/eclipse | |
34 | ||
35 | %description | |
303d9c50 | 36 | The Subversive project aims to provide Subversion (SVN) integration |
37 | for Eclipse. The Subversive plug-in gives you the ability to work with | |
38 | this CVS successor version control system from the Eclipse workbench. | |
39 | You can work with Subversion repositories in almost exactly the same | |
40 | way you can now work with CVS repositories using the CVS plug-in | |
41 | bundled in the standard Eclipse distribution. | |
8875d078 BZ |
42 | |
43 | %prep | |
44 | %setup -q -c -T | |
45 | unzip -qo %{SOURCE0} | |
46 | unzip -qo %{SOURCE1} | |
47 | unzip -qo %{SOURCE2} | |
48 | rm -f {features,plugins}/*.pack.gz | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | install -d $RPM_BUILD_ROOT%{_eclipsedir}/{features,plugins} | |
53 | ||
54 | cp -r {features,plugins} $RPM_BUILD_ROOT%{_eclipsedir} | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %{_eclipsedir}/plugins/*.jar | |
62 | %{_eclipsedir}/features/*.jar |