]> git.pld-linux.org Git - packages/eclipse-subclipse.git/blob - eclipse-subclipse.spec
- BR: unzip
[packages/eclipse-subclipse.git] / eclipse-subclipse.spec
1 # TODO
2 # - build from source (see r1.1 of the spec)
3 Summary:        Subversion Eclipse plugin
4 Name:           eclipse-subclipse
5 Version:        1.4.8
6 Release:        1
7 License:        EPL and CC-BY
8 Group:          Development/Tools
9 URL:            http://subclipse.tigris.org/
10 Source0:        http://subclipse.tigris.org/files/documents/906/45156/site-%{version}.zip
11 # Source0-md5:  b98324f5669956c7e79422de8c2447b8
12 Source10:       %{name}.sh
13 BuildRequires:  unzip
14 Requires:       eclipse >= 3.3.1.1
15 #Requires:      eclipse-svnkit >= 1.2.2
16 #Requires:      subversion-javahl >= 1.5
17 Obsoletes:      eclipse-subclipse-book < 1.4
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         eclipsedir      %{_datadir}/eclipse
22
23 %description
24 Subclipse is an Eclipse plugin that adds Subversion integration to the
25 Eclipse IDE.
26
27 %package graph
28 Summary:        Subversion Revision Graph
29 Group:          Development/Tools
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       eclipse-gef
32
33 %description graph
34 Subversion Revision Graph for Subclipse.
35
36 %prep
37 %setup -qc
38
39 rm -f plugins/org.tigris.subversion.clientadapter.javahl.win32*.jar
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{eclipsedir}/{features,plugins}
44 cp -a features/* $RPM_BUILD_ROOT%{eclipsedir}/features
45 cp -a plugins/* $RPM_BUILD_ROOT%{eclipsedir}/plugins
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %{eclipsedir}/features/org.tigris.subversion.*
53 %{eclipsedir}/plugins/org.tigris.subversion.*
54 # ext deps?
55 %{eclipsedir}/features/com.sun.jna*.jar
56 %{eclipsedir}/features/org.tmatesoft.svnkit*.jar
57 %{eclipsedir}/plugins/com.sun.jna*.jar
58 %{eclipsedir}/plugins/org.tmatesoft.svnkit*.jar
59
60 %if 0
61 %files graph
62 %defattr(644,root,root,755)
63 %{install_loc}/subclipse-graph
64 %endif
This page took 0.063034 seconds and 4 git commands to generate.