]>
Commit | Line | Data |
---|---|---|
b11f14d4 | 1 | # TODO: |
821271e8 ER |
2 | # - base package sould contain actual jdt, but update clipse.spec first not to |
3 | # bundle itself jdt | |
3052ea76 | 4 | # - build the jar, not use prebuilt |
bee97c00 | 5 | %include /usr/lib/rpm/macros.java |
a9e2e6bf | 6 | Summary: Eclipse Java Development Tools (JDT) libraries |
7 | Summary(pl.UTF-8): Biblioteki Eclipse JDT | |
d28e54f8 | 8 | Name: eclipse-jdt |
07720774 | 9 | Version: 4.4.2 |
8a953bfe | 10 | Release: 1 |
d28e54f8 | 11 | License: EPL v1.0 |
a9e2e6bf | 12 | Group: Libraries/Java |
3052ea76 | 13 | # http://archive.eclipse.org/eclipse/downloads/ |
07720774 ER |
14 | Source0: http://archive.eclipse.org/eclipse/downloads/drops4/R-%{version}-201502041700/org.eclipse.jdt.source-%{version}.zip |
15 | # Source0-md5: f32680fd5130e677366c249811671db9 | |
d28e54f8 | 16 | URL: http://www.eclipse.org/jdt/ |
bee97c00 ER |
17 | BuildRequires: jpackage-utils |
18 | BuildRequires: rpm-javaprov | |
19 | BuildRequires: rpmbuild(macros) >= 1.300 | |
fc2d8776 | 20 | BuildRequires: unzip |
821271e8 | 21 | Requires: java-eclipse-jdt = %{version}-%{release} |
d28e54f8 ER |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
821271e8 ER |
26 | Empty package for upgrades. |
27 | ||
28 | If you are looking for JDT plugin for Eclipse, it is included in main | |
29 | eclipse package. | |
30 | ||
31 | %package -n java-eclipse-jdt | |
32 | Summary: Eclipse Java Development Tools (JDT) libraries | |
33 | Summary(pl.UTF-8): Biblioteki Eclipse JDT | |
34 | Group: Libraries/Java | |
35 | Requires: jpackage-utils | |
36 | ||
37 | %description -n java-eclipse-jdt | |
38 | This package contains library needed to build and run some java | |
39 | applications developed with Eclipse IDE (most notably tomcat). | |
a9e2e6bf | 40 | |
821271e8 ER |
41 | If you are looking for JDT plugin for Eclipse, it is included in main |
42 | eclipse package. | |
d28e54f8 | 43 | |
821271e8 | 44 | %description -n java-eclipse-jdt -l pl.UTF-8 |
a9e2e6bf | 45 | Ten pakiet zawiera bibliotekę potrzebną do zbudowania i uruchomienia |
821271e8 ER |
46 | niektórych aplikacji pewnych aplikacji napisanych w javie przy użyciu |
47 | Eclipse IDE (przykładowo tomcata). | |
a9e2e6bf | 48 | |
821271e8 ER |
49 | Jeżeli szukasz pluginu JDT dla środowiska programistycznego IDE, to |
50 | jest on zawarty w głównym pakiecie eclipse. | |
b07ecca3 | 51 | |
d28e54f8 | 52 | %prep |
821271e8 ER |
53 | %setup -qc |
54 | ||
d28e54f8 ER |
55 | %install |
56 | rm -rf $RPM_BUILD_ROOT | |
8a953bfe | 57 | |
d28e54f8 | 58 | install -d $RPM_BUILD_ROOT%{_javadir} |
821271e8 | 59 | cp -a plugins/org.eclipse.jdt.core_*.jar $RPM_BUILD_ROOT%{_javadir}/org.eclipse.jdt.core-%{version}.jar |
d28e54f8 ER |
60 | ln -s org.eclipse.jdt.core-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/org.eclipse.jdt.core.jar |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
821271e8 ER |
67 | |
68 | %files -n java-eclipse-jdt | |
69 | %defattr(644,root,root,755) | |
d28e54f8 | 70 | %{_javadir}/*.jar |