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