]> git.pld-linux.org Git - packages/eclipse-jdt.git/blobdiff - eclipse-jdt.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/eclipse-jdt.git] / eclipse-jdt.spec
index 48f6ae82b744c69b4a32d5eed8c4f67679ee80d7..085cee350830ae1b75c953dc7f6309f6387063a0 100644 (file)
@@ -1,30 +1,61 @@
-Summary:       Eclipse Java Development Tools (JDT)
+# TODO:
+# - base package sould contain actual jdt, but update clipse.spec first not to
+#   bundle itself jdt
+# - build the jar, not use prebuilt
+Summary:       Eclipse Java Development Tools (JDT) libraries
+Summary(pl.UTF-8):     Biblioteki Eclipse JDT
 Name:          eclipse-jdt
-Version:       3.1.2
-Release:       0.1
+Version:       4.4.2
+Release:       1
 License:       EPL v1.0
-Group:         Development/Languages/Java
-Source0:       http://archive.eclipse.org/eclipse/downloads/drops/R-%{version}-200601181600/eclipse-JDT-%{version}.zip
-# Source0-md5: 5425b78525b6f0b01416b78cdef4d50e
+Group:         Libraries/Java
+# http://archive.eclipse.org/eclipse/downloads/
+Source0:       http://archive.eclipse.org/eclipse/downloads/drops4/R-%{version}-201502041700/org.eclipse.jdt.source-%{version}.zip
+# Source0-md5: f32680fd5130e677366c249811671db9
 URL:           http://www.eclipse.org/jdt/
+BuildRequires: jpackage-utils
+BuildRequires: rpm-javaprov
+BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: unzip
+Requires:      java-eclipse-jdt = %{version}-%{release}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The JDT project provides the tool plug-ins that implement a Java IDE
-supporting the development of any Java application, including Eclipse
-plug-ins. It adds a Java project nature and Java perspective to the
-Eclipse Workbench as well as a number of views, editors, wizards,
-builders, and code merging and refactoring tools. The JDT project
-allows Eclipse to be a development environment for itself.
+Empty package for upgrades.
+
+If you are looking for JDT plugin for Eclipse, it is included in main
+eclipse package.
+
+%package -n java-eclipse-jdt
+Summary:       Eclipse Java Development Tools (JDT) libraries
+Summary(pl.UTF-8):     Biblioteki Eclipse JDT
+Group:         Libraries/Java
+Requires:      jpackage-utils
+
+%description -n java-eclipse-jdt
+This package contains library needed to build and run some java
+applications developed with Eclipse IDE (most notably tomcat).
+
+If you are looking for JDT plugin for Eclipse, it is included in main
+eclipse package.
+
+%description -n java-eclipse-jdt -l pl.UTF-8
+Ten pakiet zawiera bibliotekę potrzebną do zbudowania i uruchomienia
+niektórych aplikacji pewnych aplikacji napisanych w javie przy użyciu
+Eclipse IDE (przykładowo tomcata).
+
+Jeżeli szukasz pluginu JDT dla środowiska programistycznego IDE, to
+jest on zawarty w głównym pakiecie eclipse.
 
 %prep
-%setup -q -n eclipse
+%setup -qc
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_javadir}
-cp -a plugins/org.eclipse.jdt.core_%{version}.jar $RPM_BUILD_ROOT%{_javadir}/org.eclipse.jdt.core-%{version}.jar
+cp -a plugins/org.eclipse.jdt.core_*.jar $RPM_BUILD_ROOT%{_javadir}/org.eclipse.jdt.core-%{version}.jar
 ln -s org.eclipse.jdt.core-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/org.eclipse.jdt.core.jar
 
 %clean
@@ -32,5 +63,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc epl-v10.html notice.html
+
+%files -n java-eclipse-jdt
+%defattr(644,root,root,755)
 %{_javadir}/*.jar
This page took 0.043817 seconds and 4 git commands to generate.