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