eclipse/eclipse.spec

2060 lines
89 KiB
RPMSpec
Raw Normal View History

2007-01-10 18:58:44 +00:00
Epoch: 1
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
2007-01-10 18:58:44 +00:00
%define gcj_support 1
%define tomcatsharedir %{_datadir}/tomcat5
%define tomcatlibdir %{_var}/lib/tomcat5
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%define eclipse_major 3
2006-06-02 21:46:07 +00:00
%define eclipse_minor 2
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%define eclipse_majmin %{eclipse_major}.%{eclipse_minor}
%define eclipse_micro 1
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%define libname libswt3
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
%ifarch %{ix86}
%define eclipse_arch x86
%else
%define eclipse_arch %{_arch}
%endif
2006-08-31 18:26:31 +00:00
Summary: An open, extensible IDE
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}
Release: 30%{?dist}
2007-01-10 18:58:44 +00:00
License: Eclipse Public License
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
Source0: http://download.eclipse.org/eclipse/downloads/drops/R-3.2.1-200609210945/eclipse-sourceBuild-srcIncluded-3.2.1.zip
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Source2: %{name}.desktop
# The icu4j bits will be moved out into their own package for Fedora 7. See:
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199504
Source7: ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.4.5/icu4jsrc_3_4_5.jar
Source11: %{name}-fedora-splash-3.2.1.png
Source16: %{name}-copy-platform.sh
Source17: efj.sh.in
Source18: ecj.sh.in
# This file contains the types of files we'd like to extract from the jars
# when using the FileInitializer
Source19: %{name}-filenamepatterns.txt
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/
# (generated 2006-11-01 18:48 UTC)
Source20: %{name}-fileinitializerapp.tar.bz2
# Build liblocalfile and libupdate JNI libs in the main SDK build.xml
2007-01-10 18:58:44 +00:00
Patch0: %{name}-build.patch
# We need this because icu4j's Eclipse bits are dependent upon Eclipse
# but we don't want the icu4j RPM needing Eclipse to build
2007-01-10 18:58:44 +00:00
Patch1: %{name}-icu4j-build-files.patch
# These two patches need to go upstream
2007-01-10 18:58:44 +00:00
Patch2: %{name}-libupdatebuild.patch
Patch3: %{name}-libupdatebuild2.patch
# Build swttools.jar
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
2007-01-10 18:58:44 +00:00
Patch4: %{name}-swttools.patch
# This is fixed post-3.3M1
2007-01-10 18:58:44 +00:00
Patch10: %{name}-helpindexbuilder.patch
# This needs to go upstream
2007-01-10 18:58:44 +00:00
Patch11: %{name}-usebuiltlauncher.patch
# This does two things:
# 1. allows the launcher to be in /usr/bin and
# 2. ensures that the OSGi configuration directory
# (which contains the JNI .sos) is in %{_libdir}
# We should investigate whether or not this can go upstream
2007-01-10 18:58:44 +00:00
Patch12: %{name}-launcher-set-install-dir-and-shared-config.patch
# Don't attempt to link to Sun's javadocs
# FIXME: could use sed instead
2007-01-10 18:58:44 +00:00
Patch13: %{name}-javadoclinks.patch
# Always generate debug info when building RPMs (Andrew Haley)
# This needs to be investigated for getEnv changes
2007-01-10 18:58:44 +00:00
Patch14: %{name}-ecj-rpmdebuginfo.patch
2006-06-02 21:46:07 +00:00
# generic releng plugins that can be used to build plugins
# see this thread for details:
2006-06-02 21:46:07 +00:00
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
# This needs to be submitted upstream
2007-01-10 18:58:44 +00:00
Patch15: %{name}-pde.build-add-package-build.patch
# We need to disable junit4 and apt until GCJ can handle Java5 code
2007-01-10 18:58:44 +00:00
Patch16: %{name}-disable-junit4-apt.patch
# This tomcat stuff will change when they move to the equinox jetty provider
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
2007-01-10 18:58:44 +00:00
Patch6: %{name}-tomcat55.patch
Patch7: %{name}-tomcat55-build.patch
Patch8: %{name}-webapp-tomcat55.patch
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90630
2007-01-10 18:58:44 +00:00
Patch5: %{name}-updatehomedir.patch
# JPackage []s in names of symlinks ...
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177
2007-01-10 18:58:44 +00:00
Patch9: %{name}-ecj-square-bracket-classpath.patch
# Use ecj for gcj
# The patch to Main.java can go away with 3.2.2.
2007-01-10 18:58:44 +00:00
Patch17: %{name}-ecj-gcj.patch
# Build against firefox:
# - fix swt profile include path
# - don't compile the mozilla 1.7 / firefox profile library -- build it inline
# - don't use symbols not in our firefox builds
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=161310
# FIXME: these can probably go away >= 3.3M4
# Note: I made this patch from within Eclipse and then did the following to
# it due to spaces in the paths:
# sed --in-place "s/Eclipse\ SWT\ Mozilla/Eclipse_SWT_Mozilla/g" eclipse-swt-firefox.patch
# sed --in-place "s/Eclipse\ SWT\ PI/Eclipse_SWT_PI/g" eclipse-swt-firefox.patch
2007-01-10 18:58:44 +00:00
Patch18: %{name}-swt-firefox.patch
Patch19: %{name}-swt-firefox.2.patch
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209393
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29853
2007-01-10 18:58:44 +00:00
Patch20: %{name}-workaround-plugin.xml-parsing-bug-gcc-bz29853.patch
# This is already upstream in 3.3 builds. It *may* get into 3.2.2.
Patch21: customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
# Add ppc64 to the list of arches with gre64.conf
# part of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=207016
2007-01-10 18:58:44 +00:00
Patch22: %{name}-ppc64gre64.patch
# This patch allowed us to remove
# /usr/share/eclipse/configuration/org.eclipse.update/platform.xml -- which
# fixed a number of update-related bugs -- in an FC6 update.
# We can remove this patch for Fedora 8.
2007-01-10 18:58:44 +00:00
Patch23: %{name}-launcher-addplatformtotildeeclipse.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5, make, gcc
BuildRequires: gnome-vfs2-devel
BuildRequires: gtk2-devel
BuildRequires: glib2-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel
BuildRequires: gcc-c++
BuildRequires: firefox-devel
BuildRequires: nspr-devel
2006-01-04 22:32:40 +00:00
BuildRequires: libXtst-devel
2006-06-02 21:46:07 +00:00
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: cairo >= 1.0
2006-01-31 11:48:09 +00:00
BuildRequires: unzip
BuildRequires: java-javadoc
BuildRequires: dos2unix
BuildRequires: desktop-file-utils
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
BuildRequires: gcc-java >= 4.0.2
BuildRequires: java-gcj-compat-devel >= 1.0.64
BuildRequires: gjdoc >= 0.7.7-14
%else
2007-01-10 18:58:44 +00:00
BuildRequires: java-devel >= 1.4.2
%endif
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
# Fedora. When that's done, add it here and symlink below.
2006-02-10 14:52:02 +00:00
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
BuildRequires: jsch >= 0:0.1.28-1jpp
2005-06-16 16:02:07 +00:00
BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
BuildRequires: mx4j >= 2.1
BuildRequires: tomcat5 >= 5.5.17
BuildRequires: tomcat5-jasper >= 5.5.17
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.17
2006-06-02 21:46:07 +00:00
BuildRequires: lucene
BuildRequires: lucene-devel
BuildRequires: regexp
BuildRequires: junit >= 3.8.1-3jpp
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
%description
The Eclipse Platform is designed for building integrated development
environments (IDEs) that can be used to create applications as diverse
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
as web sites, embedded Java(tm) programs, C++ programs, and Enterprise
JavaBeans(tm).
%package ecj
Summary: Eclipse Compiler for Java
Group: Development/Languages
2007-01-10 18:58:44 +00:00
Obsoletes: ecj <= 2.1.3
Provides: ecj <= 2.1.3
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires: libgcj >= 4.0.2
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%else
2007-01-10 18:58:44 +00:00
Requires: java >= 1.4.2
%endif
%description ecj
Eclipse compiler for Java.
%package -n %{libname}-gtk2
Summary: SWT Library for GTK+-2.0
Group: Text Editors/Integrated Development Environments (IDE)
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires: libgcj >= 4.0.2
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
Requires: gtk2
Requires: firefox
2007-01-10 18:58:44 +00:00
Conflicts: mozilla
%description -n %{libname}-gtk2
SWT Library for GTK+-2.0.
%package rcp
Summary: Eclipse Rich Client Platform
Group: Development/Languages
Requires: %{libname}-gtk2 = %{epoch}:%{version}-%{release}
# This file-level requirement is for the bi-arch multilib case
2007-01-10 18:58:44 +00:00
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.2.1.v3235.jar
Requires(post): %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Requires(postun): %{libname}-gtk2 = %{epoch}:%{version}-%{release}
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires: libgcj >= 4.0.2
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%else
2007-01-10 18:58:44 +00:00
Requires: java >= 1.4.2
%endif
%description rcp
Eclipse Rich Client Platform
%package rcp-sdk
Summary: Eclipse Rich Client Platform SDK
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-rcp = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-rcp = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-rcp = %{epoch}:%{version}-%{release}
%description rcp-sdk
Source for Eclipse Rich Client Platform for use within Eclipse.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package platform
Summary: Eclipse platform common files
Group: Text Editors/Integrated Development Environments (IDE)
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
Requires: %{name}-rcp = %{epoch}:%{version}-%{release}
# This file-level requirement is for the bi-arch multilib case
2007-01-10 18:58:44 +00:00
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.2.1.v3235.jar
Requires(post): %{name}-rcp = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-rcp = %{epoch}:%{version}-%{release}
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
# Fedora. When that's done, add it here and symlink below.
2006-02-10 14:52:02 +00:00
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
#Requires: ant-apache-bsf ant-commons-net
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
2005-06-16 16:02:07 +00:00
Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
Requires: mx4j >= 2.1
Requires: tomcat5 >= 5.5.17
Requires: tomcat5-jasper >= 5.5.17
Requires: tomcat5-servlet-2.4-api >= 5.5.17
Requires: lucene, lucene-devel
Requires: regexp
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%description platform
The Eclipse Platform is the base of all IDE plugins. This does not include the
Java Development Tools or the Plugin Development Environment.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package platform-sdk
Summary: Eclipse Platform SDK
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
Requires: %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-platform = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Requires(post): %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%description platform-sdk
Source and docs for Eclipse Platform for use within Eclipse.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package jdt
Summary: Eclipse Java Development Tools
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
Requires: %{name}-ecj = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-platform = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Requires(post): %{name}-ecj = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-ecj = %{epoch}:%{version}-%{release}
Requires: junit >= 3.8.1-3jpp
Requires: java-javadoc
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%description jdt
Eclipse Java Development Tools. This package is required to use Eclipse for
developing software written in the Java programming language.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package jdt-sdk
Summary: Eclipse Java Development Tools SDK
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
Requires: %{name}-platform-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-jdt = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-jdt = %{epoch}:%{version}-%{release}
Requires(post): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
%description jdt-sdk
Source and docs for Eclipse Java Development Tools for use within Eclipse.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package pde
Summary: Eclipse Plugin Development Environment
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
2006-06-02 21:46:07 +00:00
Requires: %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Requires: %{name}-platform-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-jdt = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-jdt = %{epoch}:%{version}-%{release}
Requires(post): %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Requires(post): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
2005-12-06 20:35:06 +00:00
%description pde
Eclipse Plugin Development Environment. This package is required for
developing Eclipse plugins.
2006-06-02 21:46:07 +00:00
%package pde-runtime
Summary: Eclipse Plugin Development Environment runtime plugin.
2006-06-02 21:46:07 +00:00
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-platform = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
2006-06-02 21:46:07 +00:00
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
2006-06-02 21:46:07 +00:00
%endif
%description pde-runtime
Eclipse Plugin Development Environment runtime plugin (org.eclipse.pde.runtime).
2005-12-06 20:35:06 +00:00
%package pde-sdk
Summary: Eclipse Plugin Development Environment SDK
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-pde = %{epoch}:%{version}-%{release}
Requires: %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-pde = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-pde = %{epoch}:%{version}-%{release}
%description pde-sdk
Source and docs for Eclipse Plugin Development Environment for use within
Eclipse.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package sdk
Summary: Eclipse SDK
Group: Text Editors/Integrated Development Environments (IDE)
Requires: %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Requires: %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Requires: %{name}-pde-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Requires(post): %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-pde-sdk = %{epoch}:%{version}-%{release}
2007-01-10 18:58:44 +00:00
Requires(post): %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Requires(postun): %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
# This file requirement is to deal with the biarch installation case
2007-01-10 18:58:44 +00:00
Requires(post): %{_libdir}/%{name}/configuration/config.ini
Requires(postun): %{_libdir}/%{name}/configuration/config.ini
%if %{gcj_support}
2007-01-10 18:58:44 +00:00
Requires(post): java-gcj-compat >= 1.0.64
Requires(postun): java-gcj-compat >= 1.0.64
%endif
%description sdk
The Eclipse SDK. This package is similar to a meta-package which brings in
the Eclipse Platform SDK, the Eclipse Java Development Tools SDK, and the
Eclipse Plugin Development Environment SDK. It also contains the
org.eclipse.sdk plugin and feature. This package is only needed if you intend
to create Eclipse applications.
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
%prep
%setup -q -c
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%patch0 -p0
%patch2 -p0
%patch3 -p0
# FIXME: investigate why we are pushd'ing here
# Build swttools.jar
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
%patch4 -p0
popd
%patch5 -p0
# tomcat patches
2005-06-16 16:02:07 +00:00
pushd plugins/org.eclipse.tomcat
%patch6 -p0
%patch7 -p0
popd
sed --in-place "s/4.1.130/5.5.17/g" \
features/org.eclipse.platform/build.xml \
plugins/org.eclipse.tomcat/build.xml \
assemble.*.xml
pushd plugins/org.eclipse.help.webapp
%patch8 -p0
2006-06-02 21:46:07 +00:00
popd
2006-06-02 21:46:07 +00:00
pushd plugins/org.eclipse.jdt.core
%patch9 -p0
%patch17 -p0
popd
%patch10 -p0
%patch11 -p0
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# Because the launcher source is zipped up, we need to unzip, patch, and re-pack
# FIXME: figure out why we need to patch and sed twice and fix upstream
mkdir launchertmp
unzip -qq -d launchertmp plugins/org.eclipse.platform/launchersrc.zip
pushd launchertmp
%patch12 -p0
%patch22 -p0
%patch23 -p0
# put the configuration directory in an arch-specific location
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
# make the eclipse binary relocatable
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
zip -q -9 -r ../launchersrc.zip *
popd
mv launchersrc.zip plugins/org.eclipse.platform
rm -rf launchertmp
pushd features/org.eclipse.platform.launchers
%patch12 -p0
%patch22 -p0
%patch23 -p0
# put the configuration directory in an arch-specific location
sed --in-place "s:/usr/lib/eclipse:%{_libdir}/%{name}:" library/eclipse.c
# make the eclipse binary relocatable
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
popd
# Link against our system-installed javadocs
%patch13 -p0
2006-06-02 21:46:07 +00:00
sed --in-place "s:/usr/share/:%{_datadir}/:g" \
2007-01-10 18:58:44 +00:00
plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt \
plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
plugins/org.eclipse.pde.doc.user/pdeOptions \
plugins/org.eclipse.platform.doc.isv/platformOptions.txt
%patch14 -p0
2006-02-17 22:05:00 +00:00
pwd
2006-06-02 21:46:07 +00:00
pushd plugins/org.eclipse.pde.build
%patch15
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" templates/package-build/build.properties
2006-06-02 21:46:07 +00:00
popd
# Remove apt and junit4 until we have 1.5
%patch16 -p0
2006-06-02 21:46:07 +00:00
rm plugins/org.junit4/junit-4.1.jar
# Build against our firefox packages
pushd plugins/org.eclipse.swt
2006-09-29 05:22:52 +00:00
mv "Eclipse SWT Mozilla" Eclipse_SWT_Mozilla
mv "Eclipse SWT PI" Eclipse_SWT_PI
%patch18
2006-09-29 05:22:52 +00:00
mv Eclipse_SWT_Mozilla "Eclipse SWT Mozilla"
mv Eclipse_SWT_PI "Eclipse SWT PI"
popd
2006-09-29 05:22:52 +00:00
pushd plugins/org.eclipse.swt.tools
mv "JNI Generation" JNI_Generation
%patch19
2006-09-29 05:22:52 +00:00
mv JNI_Generation "JNI Generation"
popd
# workaround for GNU XML bug when parsing plugin.xml
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29853
pushd plugins/org.eclipse.pde.core
%patch20
popd
# customcallbacks fixes. They are upstream already.
pushd plugins/org.eclipse.platform.doc.isv
%patch21 -p0
popd
pushd plugins/org.eclipse.platform.doc.user
%patch21 -p0
popd
# Splashscreen
pushd plugins/org.eclipse.platform
cp %{SOURCE11} splash.bmp
popd
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# FIXME this should be patched upstream with a flag to turn on and off
# all output should be directed to stdout
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
# Remove existing .sos
2006-06-02 21:46:07 +00:00
find -name \*.so | xargs rm
# Symlinks
## BEGIN ANT ##
2006-06-02 21:46:07 +00:00
rm plugins/org.apache.ant/lib/ant-antlr.jar
rm plugins/org.apache.ant/lib/ant-antlrsrc.zip
rm plugins/org.apache.ant/lib/ant-apache-bcel.jar
rm plugins/org.apache.ant/lib/ant-apache-bcelsrc.zip
#rm plugins/org.apache.ant/lib/ant-apache-bsf.jar
#rm plugins/org.apache.ant/lib/ant-apache-bsfsrc.zip
2006-06-02 21:46:07 +00:00
rm plugins/org.apache.ant/lib/ant-apache-log4j.jar
rm plugins/org.apache.ant/lib/ant-apache-log4jsrc.zip
rm plugins/org.apache.ant/lib/ant-apache-oro.jar
rm plugins/org.apache.ant/lib/ant-apache-orosrc.zip
rm plugins/org.apache.ant/lib/ant-apache-regexp.jar
rm plugins/org.apache.ant/lib/ant-apache-regexpsrc.zip
rm plugins/org.apache.ant/lib/ant-apache-resolver.jar
rm plugins/org.apache.ant/lib/ant-apache-resolversrc.zip
rm plugins/org.apache.ant/lib/ant-commons-logging.jar
rm plugins/org.apache.ant/lib/ant-commons-loggingsrc.zip
rm plugins/org.apache.ant/lib/ant-commons-net.jar
rm plugins/org.apache.ant/lib/ant-commons-netsrc.zip
rm plugins/org.apache.ant/lib/ant-icontract.jar
rm plugins/org.apache.ant/lib/ant-icontractsrc.zip
rm plugins/org.apache.ant/lib/ant-jai.jar
rm plugins/org.apache.ant/lib/ant-jaisrc.zip
rm plugins/org.apache.ant/lib/ant.jar
rm plugins/org.apache.ant/lib/antsrc.zip
rm plugins/org.apache.ant/lib/ant-javamail.jar
rm plugins/org.apache.ant/lib/ant-javamailsrc.zip
rm plugins/org.apache.ant/lib/ant-jdepend.jar
rm plugins/org.apache.ant/lib/ant-jdependsrc.zip
rm plugins/org.apache.ant/lib/ant-jmf.jar
rm plugins/org.apache.ant/lib/ant-jmfsrc.zip
rm plugins/org.apache.ant/lib/ant-jsch.jar
rm plugins/org.apache.ant/lib/ant-jschsrc.zip
rm plugins/org.apache.ant/lib/ant-junit.jar
rm plugins/org.apache.ant/lib/ant-junitsrc.zip
rm plugins/org.apache.ant/lib/ant-launcher.jar
rm plugins/org.apache.ant/lib/ant-launchersrc.zip
rm plugins/org.apache.ant/lib/ant-netrexx.jar
rm plugins/org.apache.ant/lib/ant-netrexxsrc.zip
rm plugins/org.apache.ant/lib/ant-nodeps.jar
rm plugins/org.apache.ant/lib/ant-nodepssrc.zip
rm plugins/org.apache.ant/lib/ant-starteam.jar
rm plugins/org.apache.ant/lib/ant-starteamsrc.zip
rm plugins/org.apache.ant/lib/ant-stylebook.jar
rm plugins/org.apache.ant/lib/ant-stylebooksrc.zip
rm plugins/org.apache.ant/lib/ant-swing.jar
rm plugins/org.apache.ant/lib/ant-swingsrc.zip
rm plugins/org.apache.ant/lib/ant-trax.jar
rm plugins/org.apache.ant/lib/ant-traxsrc.zip
rm plugins/org.apache.ant/lib/ant-vaj.jar
rm plugins/org.apache.ant/lib/ant-vajsrc.zip
rm plugins/org.apache.ant/lib/ant-weblogic.jar
rm plugins/org.apache.ant/lib/ant-weblogicsrc.zip
rm plugins/org.apache.ant/lib/ant-xalan1.jar
rm plugins/org.apache.ant/lib/ant-xalan1src.zip
rm plugins/org.apache.ant/lib/ant-xslp.jar
rm plugins/org.apache.ant/lib/ant-xslpsrc.zip
# FIXME: use build-jar-repository
2006-06-02 21:46:07 +00:00
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant/lib/ant-antlr.jar
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant/lib/ant-apache-bcel.jar
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar
2006-06-02 21:46:07 +00:00
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant/lib/ant-apache-log4j.jar
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant/lib/ant-apache-oro.jar
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant/lib/ant-apache-regexp.jar
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant/lib/ant-apache-resolver.jar
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant/lib/ant-commons-logging.jar
2006-02-10 14:52:02 +00:00
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
# the symlinks that are commented-out are not currently shipped on Fedora
2006-06-02 21:46:07 +00:00
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant/lib/ant-commons-net.jar
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant/lib/ant-icontract.jar
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant/lib/ant-jai.jar
ln -s %{_javadir}/ant.jar plugins/org.apache.ant/lib/ant.jar
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant/lib/ant-javamail.jar
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant/lib/ant-jdepend.jar
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant/lib/ant-jmf.jar
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant/lib/ant-jsch.jar
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant/lib/ant-junit.jar
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant/lib/ant-launcher.jar
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant/lib/ant-netrexx.jar
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant/lib/ant-nodeps.jar
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant/lib/ant-starteam.jar
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant/lib/ant-stylebook.jar
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant/lib/ant-swing.jar
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant/lib/ant-trax.jar
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant/lib/ant-vaj.jar
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant/lib/ant-weblogic.jar
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant/lib/ant-xalan1.jar
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant/lib/ant-xslp.jar
## END ANT ##
# BEGIN LUCENE ##
2006-06-02 21:46:07 +00:00
rm plugins/org.apache.lucene/lucene-1.4.3.jar
rm plugins/org.apache.lucene/lucene-1.4.3-src.zip
ln -s %{_usr}/src/lucene/lucene-1.4.3.jar plugins/org.apache.lucene/lucene-1.4.3-src.zip
2006-06-02 21:46:07 +00:00
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene/lucene-1.4.3.jar
# END LUCENE ##
2005-06-16 16:02:07 +00:00
## BEGIN TOMCAT ##
rm plugins/org.eclipse.tomcat/commons-beanutils.jar
rm plugins/org.eclipse.tomcat/commons-collections.jar
rm plugins/org.eclipse.tomcat/commons-digester.jar
rm plugins/org.eclipse.tomcat/commons-logging-api.jar
rm plugins/org.eclipse.tomcat/commons-modeler.jar
rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
rm plugins/org.eclipse.tomcat/servlet.jar
rm plugins/org.eclipse.tomcat/servlets-manager.jar
rm plugins/org.eclipse.tomcat/naming-common.jar
rm plugins/org.eclipse.tomcat/servlets-common.jar
rm plugins/org.eclipse.tomcat/tomcat-http11.jar
2006-07-04 22:25:52 +00:00
rm plugins/org.eclipse.tomcat/bootstrap.jar
rm plugins/org.eclipse.tomcat/catalina.jar
rm plugins/org.eclipse.tomcat/jasper-compiler.jar
rm plugins/org.eclipse.tomcat/jasper-runtime.jar
rm plugins/org.eclipse.tomcat/mx4j-jmx.jar
rm plugins/org.eclipse.tomcat/naming-resources.jar
rm plugins/org.eclipse.tomcat/naming-factory.jar
rm plugins/org.eclipse.tomcat/servlets-default.jar
rm plugins/org.eclipse.tomcat/servlets-invoker.jar
rm plugins/org.eclipse.tomcat/tomcat-coyote.jar
rm plugins/org.eclipse.tomcat/tomcat-util.jar
mkdir -p plugins/org.eclipse.tomcat/lib
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/lib/bootstrap.jar
ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat/lib/catalina.jar
ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat/lib/catalina-optional.jar
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat/lib/jasper-compiler.jar
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/lib/jasper-runtime.jar
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/lib/mx4j.jar
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/lib/mx4j-impl.jar
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/lib/mx4j-jmx.jar
ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat/lib/naming-factory.jar
ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat/lib/naming-resources.jar
ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat/lib/servlets-default.jar
ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat/lib/servlets-invoker.jar
ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat/lib/tomcat-coyote.jar
2006-07-05 17:46:34 +00:00
ln -s %{tomcatlibdir}/server/lib/tomcat-http.jar plugins/org.eclipse.tomcat/lib/tomcat-http.jar
ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat/lib/tomcat-util.jar
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-beanutils
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-collections
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-dbcp
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester-rss
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-el
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-fileupload
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-launcher
2006-07-05 16:09:13 +00:00
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-logging-api
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-modeler
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-pool
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib jspapi
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5
2005-06-16 16:02:07 +00:00
## END TOMCAT ##
build-jar-repository -s -p plugins/org.junit junit
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
# /usr/lib -> /usr/lib64
sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh
sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak
popd
# FIXME: figure out what's going on with build.index. This is a gjdoc problem.
find plugins -type f -name \*.xml -exec sed --in-place "s/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
# the swt version is set to HEAD on ia64 but shouldn't be
# get swt version
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
swt_frag_ver_ia64=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml \
2007-01-10 18:58:44 +00:00
assemble.org.eclipse.sdk.linux.gtk.ia64.xml \
features/org.eclipse.rcp/build.xml
# Nasty hack to get suppport for ppc64, s390{,x} and sparc{,64}
# Move all of the ia64 directories to ppc64 or s390{,x} or sparc{,64} dirs and replace
# the ia64 strings with ppc64 or s390(x)
%ifarch ppc64 s390 s390x sparc sparc64
# there is only partial support for ppc64 in 3.2 so we have to remove this
# partial support to get the replacemnt hack to work
find -name \*ppc64\* | xargs rm -r
# remove ppc64 support from features/org.eclipse.platform.source/feature.xml
# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \;
# remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq
sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml
# replace final occurances with an existing arch
sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml
# remove ppc64 support from features/org.eclipse.platform.source/feature.xml
mv features/org.eclipse.platform.source/feature.xml features/org.eclipse.platform.source/feature.xml.orig
2007-01-10 18:58:44 +00:00
grep -v ppc64 features/org.eclipse.platform.source/feature.xml.orig > features/org.eclipse.platform.source/feature.xml
# finally, the replacement hack
for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do
mv $f $(echo $f | sed "s/ia64/%{_arch}/")
done
find -type f -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \;
find -type f -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \;
find -type f -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \;
%endif
# gjdoc can't handle Mac-encoded files
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29167
pushd plugins
for f in `find .. -name \*.java`; do
file $f | grep "CR line" > /dev/null && mac2unix $f
done
popd
# set the icu4j plugins for building
pushd baseLocation/plugins
rm com.ibm.icu.base_3.4.5.jar \
com.ibm.icu_3.4.5.jar \
com.ibm.icu.base.source_3.4.5/src/com.ibm.icu.base_3.4.5/src.zip \
com.ibm.icu.source_3.4.5/src/com.ibm.icu_3.4.5/src.zip
mkdir -p icu4j-build-temp
pushd icu4j-build-temp
unzip -qq %{SOURCE7}
sed --in-place "s/ .*bootclasspath=.*//g" build.xml
ant eclipseProjects
popd
mkdir -p icu4j-build
mv icu4j-build-temp/eclipseProjects/com.ibm.icu icu4j-build
mv icu4j-build-temp/eclipseProjects/com.ibm.icu.base icu4j-build
rm -r icu4j-build-temp
# add build.xml patches
pushd icu4j-build
%patch1 -p1
popd
popd
# delete included jars
# FIXME: file a bug about these
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
plugins/org.eclipse.swt/extra_jars/exceptions.jar \
plugins/org.eclipse.swt.tools/swttools.jar \
features/org.eclipse.platform.launchers/bin/startup.jar \
plugins/org.eclipse.team.cvs.ssh2/com.jcraft.jsch_*.jar
2006-06-02 21:46:07 +00:00
# make sure there are no jars left
JARS=""
for j in $(find -name \*.jar); do
if [ ! -L $j ]; then
JARS="$JARS $j"
fi
done
if [ ! -z "$JARS" ]; then
echo "These jars should be deleted and symlinked to system jars: $JARS"
#FIXME: enable exit 1
fi
2006-06-02 21:46:07 +00:00
tar jxf %{SOURCE20}
%build
2006-03-03 22:24:20 +00:00
env
ORIGCLASSPATH=$CLASSPATH
# Build jsch
pushd baseLocation/plugins
# extract the Manifest file
unzip -qq -o -d com.jcraft.jsch_0.1.28.jar-build com.jcraft.jsch_*.jar -x com\*
rm com.jcraft.jsch_*.jar
popd
# FIXME jar -V does not work for proprietary VMs
pushd baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
unzip -qq %{_javadir}/jsch.jar -x META-INF\*
sed --in-place "s/$(grep Created-By: META-INF/MANIFEST.MF)/Created-By: $(jar -V | head -1)/" META-INF/MANIFEST.MF
jar -Mcf ../com.jcraft.jsch_0.1.28.jar *
popd
# FIXME don't delete this, do what icu4j does
rm -r baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
2006-06-06 02:17:30 +00:00
# Finish the icu4j build
pushd baseLocation/plugins
# Build the icu.base plugin
zipfile=$PWD/com.ibm.icu.base.source_3.4.5/src/com.ibm.icu.base_3.4.5/src.zip
pushd icu4j-build/com.ibm.icu.base/src
find -name \*.java | xargs touch --date=1/1/1980
zip -X -9 -r $zipfile . -i \*.java
popd
pushd icu4j-build/com.ibm.icu.base
ant build.update.jar
popd
mv icu4j-build/com.ibm.icu.base/com.ibm.icu.base_3.4.5.jar .
# Build the icu plugin
zipfile=$PWD/com.ibm.icu.source_3.4.5/src/com.ibm.icu_3.4.5/src.zip
pushd icu4j-build/com.ibm.icu/src
find -name \*.java | xargs touch --date=1/1/1980
zip -X -9 -r $zipfile . -i \*.java
popd
pushd icu4j-build/com.ibm.icu
ant build.update.jar
popd
mv icu4j-build/com.ibm.icu/com.ibm.icu_3.4.5.jar .
popd
2006-06-02 21:46:07 +00:00
# Bootstrapping is 3 parts:
# 1. Build ecj with gcj -C -- only necessary until gcjx/ecj lands in gcc
# 2. Build ecj with gcj-built ecj ("javac")
# 3. Re-build ecj with output of 2.
%if %{gcj_support}
# Unzip the "stable compiler" source into a temp dir and build it.
# Note: we don't want to build the CompilerAdapter.
mkdir ecj-bootstrap-tmp
unzip -qq -d ecj-bootstrap-tmp jdtcoresrc/src/ecj.zip
rm -f ecj-bootstrap-tmp/org/eclipse/jdt/core/JDTCompilerAdapter.java
# 1a. Build ecj with gcj -C
pushd ecj-bootstrap-tmp
for f in `find -name '*.java' | cut -c 3- | LC_ALL=C sort`; do
gcj -Wno-deprecated -C $f
done
find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\
xargs jar cf ../ecj-bootstrap.jar
popd
# Delete our modified ecj and restore the backup
rm -rf ecj-bootstrap-tmp
# 1b. Natively-compile it
gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
-o ecj-bootstrap.jar.so ecj-bootstrap.jar
gcj-dbtool -n ecj-bootstrap.db 30000
gcj-dbtool -a ecj-bootstrap.db ecj-bootstrap.jar{,.so}
# 2a. Build ecj
export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db"
%endif
ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
%if %{gcj_support}
# 2b. Natively-compile ecj
gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
-o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
gcj-dbtool -n jdtcoresrc/ecj.db 30000
gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
2006-02-10 14:52:02 +00:00
# Remove our gcj-built ecj
rm ecj-bootstrap.db ecj-bootstrap.jar{,.so}
2005-08-23 14:18:01 +00:00
# To enSURE we're not using any pre-compiled ecj on the build system, set this
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
%endif
# 3. Use this ecj to rebuild itself
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
ant -buildfile jdtcoresrc/compilejdtcore.xml
%if %{gcj_support}
# Natively-compile it
gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
-o ecj.jar.so ecj.jar
gcj-dbtool -n ecj.db 30000
gcj-dbtool -a ecj.db ecj.jar{,.so}
export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
# Remove old native bits
rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
%endif
# Build the rest of Eclipse
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
2006-06-02 21:46:07 +00:00
export JAVA_HOME=%{java_home}
ant \
-Dnobootstrap=true \
-DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
-Dlibsconfig=true
# Build the FileInitializer application
SDK=$(cd eclipse && pwd)
PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//')
pushd equinox-incubator
mkdir -p build
mkdir -p home
homedir=$(cd home && pwd)
# This can go away when package build handles plugins (not just features)
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
java -cp $SDK/startup.jar \
org.eclipse.core.launcher.Main \
-Duser.home=$homedir \
-application org.eclipse.ant.core.antRunner \
-Dtype=plugin \
-Did=org.eclipse.equinox.initializer \
-DsourceDirectory=$(pwd) \
-DbaseLocation=$SDK \
-Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \
-f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
pushd build/plugins/org.eclipse.equinox.initializer
java -cp $SDK/startup.jar \
org.eclipse.core.launcher.Main \
-Duser.home=$homedir \
-application org.eclipse.ant.core.antRunner \
-f build.xml build.update.jar
popd
popd
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%install
rm -rf $RPM_BUILD_ROOT
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
# Get swt version
2006-06-05 03:47:07 +00:00
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
# Some directories we need
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/links
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features
# Explode the resulting SDK tarball
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
# The FileInitializer app isn't part of the SDK (yet?) but we want it to be
# around for other RPMs
cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
$RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
# Set up an extension location and a link file for the arch-specific dir
echo "path:$RPM_BUILD_ROOT%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
echo "name=Eclipse Platform" > $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
echo "id=org.eclipse.platform" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
echo "version=%{eclipse_majmin}.%{eclipse_micro}" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
# Install the platform-specific fragments in an arch-specific dir
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/*%{eclipse_arch}* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# platform.source has the launcher src zip which is platform-specific
2006-11-02 02:43:06 +00:00
PLATFORMSOURCEVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION \
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# help.webapp generates web.xml with Apache Jakarta Tomcat JspC. This file is
# generated differently for different arches. FIXME investigate this.
HELPWEBAPPVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep help.webapp_ | sed 's/org.eclipse.help.webapp_//')
2006-11-02 02:49:09 +00:00
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_$HELPWEBAPPVERSION \
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# update.core.linux is a fragment
# FIXME: make a patch for upstream to change to swt fragment notation
UPDATECORELINUXVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep update.core.linux_ | sed 's/org.eclipse.update.core.linux_//')
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_$UPDATECORELINUXVERSION \
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# FIXME: icu4j generates res_index.txt differently on different arches - possible libgcj bug.
2006-11-02 02:49:09 +00:00
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu_3.4.5.jar $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu.source_3.4.5 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# FIXME: there is a problem with gjdoc generating different HTML on different
# architectures. This happens with this plugin.
PLATFORMDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.doc.isv_ | sed 's/org.eclipse.platform.doc.isv_//')
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_$PLATFORMDOCISVVERSION \
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
# To ensure that the product is org.eclipse.sdk.ide when eclipse-sdk is
# installed, we must check for its presence at %%post{,un} time. This does not
# work in the biarch case, though, if it is not in an arch-specific location.
# This results in complaints that the sdk plugin is found twice, but this is
# better than always appearing in the about dialog as the Eclipse Platform with
# the platform plugin version number instead of the actual SDK version number.
# -- overholt, 2006-11-03
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_* \
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.sdk_* \
$RPM_BUILD_ROOT%{_libdir}/%{name}/features
# FIXME: investigate why it doesn't work to set this -- configuration data is
# always written to /usr/share/eclipse/configuration, even with
# -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
# Note (2006-12-05): upon looking at this again, we (bkonrath, overholt) don't
# know what we're doing with $libdir_path :) It requires some investigation.
#
# Extract .so files
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
pushd $RPM_BUILD_ROOT
datadir_path=$(echo %{_datadir}/%{name} | sed -e 's/^\///')
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
-cp $datadir_path/startup.jar \
org.eclipse.core.launcher.Main \
-consolelog \
-application org.eclipse.equinox.initializer.configInitializer \
-fileInitializer %{SOURCE19}
popd
# Make proper links file
echo "path:/usr/lib" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
echo "path:/usr/lib64" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments64.link
# Install config.ini to an arch dependent location and remove the unnecessary
# configuration data
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name}
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
# Set config.ini for the platform; no benefit to having it be sdk
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
# Install the Eclipse binary
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse $RPM_BUILD_ROOT%{_bindir}/%{name}
# Ensure the shared libraries have the correct permissions
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
for lib in `find configuration -name \*.so`; do
chmod 755 $lib
done
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
2006-11-28 20:06:00 +00:00
# Create file listings for the extracted shared libraries
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
for id in `ls configuration/org.eclipse.osgi/bundles`; do
if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
else
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
fi
done
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
popd
# Install the SWT symlinks in libdir
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
popd
# Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac"
JDTCORESUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.core_ | sed "s/org.eclipse.jdt.core_//")
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_$JDTCORESUFFIX $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
ln -s %{_javadir}/eclipse-ecj.jar $RPM_BUILD_ROOT%{_javadir}/jdtcore.jar
# FIXME: get rid of this by putting logic in package build to know what version
# of pde.build it's using
# Install a versionless pde.build
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
popd
# Icons
PLATFORMSUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse48.png \
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse32.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
ln -s ../../../../%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png \
$RPM_BUILD_ROOT%{_datadir}/pixmaps
%ifarch %{ix86} x86_64
# Remove unused icon.xpm
# This should be fixed in 3.3.
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
%endif
auto-import changelog data from eclipse-2.1.0-22.src.rpm Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22 - Updated upstream sources; oprofile plugin works Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21 - Updated upstream sources; fixes oprofile buglets, also doc updates Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20 - Backed out xalan-j requirement; it causes problems - Updated upstream sources; pulls in new documentation Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19 - Fix for PR 104274. Set LANG in startup script. Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18 - xalan-j required at build time and runtime; bugzilla 104513 Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17 - Bug fixes in sources Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16 - Updated upstream sources Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15 - Don't build eclipse with -O2 for now Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14 - Updated eclipse sources Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13 - g++ is build requirement Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12 - Enable gcj build again Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11 - Updated sources to fix -vm bug Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10 - Updated sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9 - Updated upstream sources Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8 - Updated upstream sources - Require gnome-vfs2-devel at build time Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7 - Use LD_ASSUME_KERNEL hack Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6 - Updated sources Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5 - Updated upstream sources - Removed j2sdk dependency - Added rpm-build and gnome-utils dependencies Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4 - Updated upstream sources Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3 - Fixed more build buglets Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2 - Don't build .so files at all Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> - Require Sun JVM Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1 - Updated to eclipse 2.1 Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - From Tom Tromey <tromey@redhat.com> - Use i386, not x86, in ExclusiveArch Wed Jul 02 2003 Keith Seitz <keiths@redhat.com> - Set executable bit for opxml since zip won't preserve it. Wed May 14 2003 Keith Seitz <keiths@redhat.com> - Add oprofile plugin installation requirements. Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25 - Use ExclusiveArch, not ExcludeArch Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24 - Exclude ppc64 Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23 - Require gdb and make Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22 - Bumped release for new build - Fixed bug in JDT build Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21 - Bumped release for rebuild Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20 - Allow builds on ppc Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19 - Changes to use gcc-ssa compiler - Default to gcj build; install files required for gcj - Define and use java_bin - Only build on x86 Wed Mar 05 2003 Tom Tromey <tromey@redhat.com> - Use build script to create ecj, compute architecture, choose targets - Release 18 Tue Feb 18 2003 Tom Tromey <tromey@redhat.com> - Replaced jikes with ecj - Release 17 Wed Feb 05 2003 Tom Tromey <tromey@redhat.com> - Added -arch to build, code to build with gcj, code to build with jikes, code to use Sun JDK - Removed java_jrelib - Now release 16 Tue Dec 10 2002 Tom Tromey <tromey@redhat.com> - Invoke buildNative - Now release 15 Wed Nov 27 2002 Tom Tromey <tromey@redhat.com> - Removed "-linux" from name - Now release 14 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Changed name to eclipse - Removed Conflicts - Updated Provides - Now release 13 Tue Nov 26 2002 Tom Tromey <tromey@redhat.com> - Install eclipse.desktop in /usr/share/applications, for 8.x - Now release 12 Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com> - Define java_home, java_jre, java_jrelib - Use %setup - Minor cleanups in %build LANG=C export LANG unset DISPLAY - Use _bindir Thu Oct 24 2002 Andrew Haley <aph@redhat.com> - eclipse-2.0-linux-gtk.spec (Source): Now use gzip. - (install): Now use Ant zip.distribution to do this installation. - Added Requires for ctags. Fri Oct 18 2002 Tom Tromey <tromey@redhat.com> - Require JDK 1.3.1 - Added BuildReq for ant - Use MANIFEST file to decide what to copy into install tree Tue Oct 15 2002 Tom Tromey <tromey@redhat.com> - Eclipse source now bzipped Mon Oct 14 2002 Tom Tromey <tromey@redhat.com> - No patch required Fri Oct 11 2002 Tom Tromey <tromey@redhat.com> - Added .desktop file - Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
# Install the efj wrapper script
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
$RPM_BUILD_ROOT%{_bindir}/efj
# Install the ecj wrapper script
install -p -D -m0755 %{SOURCE18} $RPM_BUILD_ROOT%{_bindir}/ecj
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# A sanity check.
desktop-file-validate %{SOURCE2}
# freedesktop.org menu entry
install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
SDKPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | grep eclipse.sdk_ | sed "s/org.eclipse.sdk_//")
# Put Fedora Core version into about.mappings of org.eclipse.sdk and
# org.eclipse.platform to show it in # Eclipse about dialog. (courtesy Debian
# Eclipse packagers)
2006-06-02 21:46:07 +00:00
# FIXME use the third id
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.sdk_$SDKPLUGINVERSION
OS_VERSION=$(cat /etc/*-release | head -n 1)
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
mv about.mappings.tmp about.mappings
popd
PLATFORMPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMPLUGINVERSION
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
mv about.mappings.tmp about.mappings
popd
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
# Create a script that can be used to make a symlink tree of the
# eclipse platform.
cp %{SOURCE16} copy-platform
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
(
cd $RPM_BUILD_ROOT%{_datadir}/%{name}
ls -d * | egrep -v '^(plugins|features|links|about_files)$'
ls -d plugins/* features/* links/*
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
) |
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
2006-06-13 01:13:37 +00:00
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
## BEGIN ANT ##
2006-06-02 21:46:07 +00:00
rm plugins/org.apache.ant_*/lib/ant-antlr.jar
rm plugins/org.apache.ant_*/lib/ant-apache-bcel.jar
#rm plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
2006-06-02 21:46:07 +00:00
rm plugins/org.apache.ant_*/lib/ant-apache-log4j.jar
rm plugins/org.apache.ant_*/lib/ant-apache-oro.jar
rm plugins/org.apache.ant_*/lib/ant-apache-regexp.jar
rm plugins/org.apache.ant_*/lib/ant-apache-resolver.jar
rm plugins/org.apache.ant_*/lib/ant-commons-logging.jar
#rm plugins/org.apache.ant_*/lib/ant-commons-net.jar
#rm plugins/org.apache.ant_*/lib/ant-icontract.jar
#rm plugins/org.apache.ant_*/lib/ant-jai.jar
rm plugins/org.apache.ant_*/lib/ant.jar
rm plugins/org.apache.ant_*/lib/ant-javamail.jar
rm plugins/org.apache.ant_*/lib/ant-jdepend.jar
#rm plugins/org.apache.ant_*/lib/ant-jmf.jar
rm plugins/org.apache.ant_*/lib/ant-jsch.jar
rm plugins/org.apache.ant_*/lib/ant-junit.jar
rm plugins/org.apache.ant_*/lib/ant-launcher.jar
#rm plugins/org.apache.ant_*/lib/ant-netrexx.jar
rm plugins/org.apache.ant_*/lib/ant-nodeps.jar
#rm plugins/org.apache.ant_*/lib/ant-starteam.jar
#rm plugins/org.apache.ant_*/lib/ant-stylebook.jar
rm plugins/org.apache.ant_*/lib/ant-swing.jar
rm plugins/org.apache.ant_*/lib/ant-trax.jar
#rm plugins/org.apache.ant_*/lib/ant-vaj.jar
#rm plugins/org.apache.ant_*/lib/ant-weblogic.jar
#rm plugins/org.apache.ant_*/lib/ant-xalan1.jar
#rm plugins/org.apache.ant_*/lib/ant-xslp.jar
# FIXME use build-jar-repository
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.6.5/lib/ant-antlr.jar
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bcel.jar
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bsf.jar
2006-06-02 21:46:07 +00:00
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-log4j.jar
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-oro.jar
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-regexp.jar
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-resolver.jar
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-logging.jar
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
# the symlinks that are commented out are not currently shipped on Fedora
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-net.jar
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant_1.6.5/lib/ant-icontract.jar
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.6.5/lib/ant-jai.jar
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.6.5/lib/ant.jar
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.6.5/lib/ant-javamail.jar
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.6.5/lib/ant-jdepend.jar
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.6.5/lib/ant-jmf.jar
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.6.5/lib/ant-jsch.jar
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.6.5/lib/ant-junit.jar
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.6.5/lib/ant-netrexx.jar
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.6.5/lib/ant-nodeps.jar
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.6.5/lib/ant-starteam.jar
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.6.5/lib/ant-stylebook.jar
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.6.5/lib/ant-swing.jar
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.6.5/lib/ant-trax.jar
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant_1.6.5/lib/ant-vaj.jar
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.6.5/lib/ant-weblogic.jar
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant_1.6.5/lib/ant-xalan1.jar
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant_1.6.5/lib/ant-xslp.jar
## END ANT ##
# BEGIN LUCENE ##
LUCENEPLUGINVERSION=$(ls plugins | grep lucene | sed 's/org.apache.lucene_//')
rm plugins/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3.jar
ln -s %{_javadir}/lucene.jar \
plugins/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3.jar
# org.eclipse.platform.source is in the arch-specific location
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
PLATFORMSOURCEVERSION=$(ls plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
rm plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION/src/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3-src.zip
ln -s %{_usr}/src/lucene/lucene-1.4.3.jar \
plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION/src/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3-src.zip
popd
# END LUCENE ##
2005-06-16 16:02:07 +00:00
## BEGIN TOMCAT ##
TOMCATPLUGINVERSION=$(ls plugins | grep tomcat | sed 's/org.eclipse.tomcat_//')
mkdir -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/bootstrap.jar
ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina.jar
ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina-optional.jar
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-compiler.jar
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-runtime.jar
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j.jar
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-impl.jar
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-jmx.jar
ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-factory.jar
ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-resources.jar
ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-default.jar
ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-invoker.jar
ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-coyote.jar
ln -s %{tomcatlibdir}/server/lib/tomcat-http.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-http.jar
ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-util.jar
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-beanutils
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-collections
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-dbcp
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester-rss
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-el
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-fileupload
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-launcher
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-logging-api
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-modeler
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-pool
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib jspapi
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib regexp
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib servletapi5
2005-06-16 16:02:07 +00:00
## END TOMCAT ##
build-jar-repository -s -p plugins/org.junit_* junit
# Ensure that the zip files are the same across all builds.
# This is needed to make these package multilib compatible.
# FIXME: this needs to be re-written as a separate program
# warning: big hack!
mkdir -p ${RPM_BUILD_ROOT}/tmp
for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do
# unpack every zip, set the date of the files and directories and repack the zip
ZIPNAME=`basename $zip`
TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX`
2007-01-10 18:58:44 +00:00
ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX`
pushd $TMPDIR
unzip -qq -o $zip
2007-01-10 18:58:44 +00:00
rm -f $zip
# check if there are jars or zips inside the zip or jar
zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar`
if [ -n "$zipsinside" ]; then
for zip2 in $zipsinside; do
# unpack every zip, set the date of the files and directories and repack the zip
ZIPNAME2=`basename $zip2`
TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX`
ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX`
pushd $TMPDIR2
unzip -qq -o $zip2
rm -f $zip2
# create the directories first
for d in `find -type d | LC_ALL=C sort`; do
mkdir -p $ZIPDIR2/$d
done
# move the contents over to the a new directory in order and set the times.
for f in `find -type f | LC_ALL=C sort`; do
cp $f $ZIPDIR2/$f
touch --date="1970-01-01 UTC" $ZIPDIR2/$f
done
popd
# Set the times of the directories.
touch --date="1970-01-01 UTC" `find $ZIPDIR2 -type d`
# make the new zip
pushd $ZIPDIR2
find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@
popd
# Cleanup.
rm -rf $TMPDIR2
rm -rf $ZIPDIR2
done
fi
# now on to the original zip or jar.
# create the directories first
for d in `find -type d | LC_ALL=C sort`; do
mkdir -p $ZIPDIR/$d
done
# move the contents over to the a new directory in order and set the times.
for f in `find -type f | LC_ALL=C sort`; do
cp $f $ZIPDIR/$f
touch --date="1970-01-01 UTC" $ZIPDIR/$f
done
popd
# Set the times of the directories.
touch --date="1970-01-01 UTC" `find $ZIPDIR -type d`
# make the new zip
pushd $ZIPDIR
find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@
popd
# Cleanup.
rm -rf $TMPDIR
rm -rf $ZIPDIR
done
rm -rf ${RPM_BUILD_ROOT}/tmp
# remove this python script so that it is not aot compiled, thus avoiding a
# multilib conflict
ANTPLUGINVERSION=$(ls plugins | grep org.apache.ant_ | sed 's/org.apache.ant_//')
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
2006-06-02 21:46:07 +00:00
%if %{gcj_support}
# exclude org.eclipse.ui.ide to work around
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175547
UIIDEPLUGINVERSION=$(ls plugins | grep ui.ide_ | sed 's/org.eclipse.ui.ide_//')
%ifnarch ia64
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION
%else
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION \
2007-01-06 03:22:16 +00:00
--exclude %{_datadir}/%{name}/plugins/com.jcraft.jsch_0.1.28.jar \
--exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_3.2.1.R32x_v20060919.jar
%endif
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%post platform
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
touch --no-create %{_datadir}/icons/hicolor
2005-03-28 10:56:12 +00:00
if [ -x /usr/bin/gtk-update-icon-cache ]; then
2005-04-27 04:25:02 +00:00
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%postun platform
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
touch --no-create %{_datadir}/icons/hicolor
2005-03-28 10:56:12 +00:00
if [ -x /usr/bin/gtk-update-icon-cache ]; then
2005-04-27 04:25:02 +00:00
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%post sdk
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
if [ -f %{_libdir}/%{name}/configuration/config.ini ]; then
sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.sdk.ide/" \
%{_libdir}/%{name}/configuration/config.ini
fi
%postun sdk
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
%{_bindir}/rebuild-gcj-db
fi
%endif
# Only set the product back to platform.ide if the sdk is actually removed for
# this arch. This SDKDIR check is to deal with the ordering of new %%post
# before old %%postun
SDKDIR=$(ls %{_libdir}/%{name}/features | grep "org\.eclipse\.sdk_")
if [ -z "$SDKDIR" -a -f %{_libdir}/%{name}/configuration/config.ini ]; then
sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.platform.ide/" \
%{_libdir}/%{name}/configuration/config.ini
fi
%if %{gcj_support}
%post ecj -p %{_bindir}/rebuild-gcj-db
%postun ecj -p %{_bindir}/rebuild-gcj-db
%post -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
%postun -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
%post rcp -p %{_bindir}/rebuild-gcj-db
%postun rcp -p %{_bindir}/rebuild-gcj-db
%post rcp-sdk -p %{_bindir}/rebuild-gcj-db
%postun rcp-sdk -p %{_bindir}/rebuild-gcj-db
%post platform-sdk -p %{_bindir}/rebuild-gcj-db
%postun platform-sdk -p %{_bindir}/rebuild-gcj-db
%post jdt -p %{_bindir}/rebuild-gcj-db
%postun jdt -p %{_bindir}/rebuild-gcj-db
%post jdt-sdk -p %{_bindir}/rebuild-gcj-db
%postun jdt-sdk -p %{_bindir}/rebuild-gcj-db
%post pde -p %{_bindir}/rebuild-gcj-db
%postun pde -p %{_bindir}/rebuild-gcj-db
%post pde-runtime -p %{_bindir}/rebuild-gcj-db
%postun pde-runtime -p %{_bindir}/rebuild-gcj-db
%post pde-sdk -p %{_bindir}/rebuild-gcj-db
%postun pde-sdk -p %{_bindir}/rebuild-gcj-db
%endif
2005-12-06 20:35:06 +00:00
%files ecj
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/plugins
2006-06-02 21:46:07 +00:00
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
%{_javadir}/eclipse-ecj.jar
%{_javadir}/jdtcore.jar
%{_bindir}/ecj
%if %{gcj_support}
%dir %{_libdir}/gcj/%{name}
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
%endif
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/plugins
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
%dir %{_libdir}/%{name}/configuration
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
# FIXME: do we need to build?
#%{_libdir}/%{name}/libcairo-swt.so
%{_libdir}/%{name}/swt-gtk*.jar
%if %{gcj_support}
%dir %{_libdir}/gcj/%{name}
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
%endif
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%files rcp
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%dir %{_datadir}/%{name}/features
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
%{_libdir}/%{name}/configuration/config.ini
%{_libdir}/%{name}/.eclipseextension
%{_datadir}/%{name}/.eclipseproduct
%{_datadir}/%{name}/notice.html
%{_datadir}/%{name}/epl-v10.html
%{_datadir}/%{name}/links
%ifarch %{ix86} x86_64
%{_datadir}/%{name}/about.html
%endif
%{_datadir}/%{name}/startup.jar
%ifarch x86_64
%{_datadir}/%{name}/about_files
%endif
%{_datadir}/%{name}/readme
%{_datadir}/%{name}/features/org.eclipse.rcp_*
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
%{_libdir}/%{name}/plugins/com.ibm.icu_*
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
%{_datadir}/%{name}/plugins/org.eclipse.help_*
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
%ifnarch ia64
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
%endif
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
%{_libdir}/gcj/%{name}/com.ibm.icu_*
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
%{_libdir}/gcj/%{name}/org.eclipse.help_*
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
%{_libdir}/gcj/%{name}/startup.jar*
%endif
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%files rcp-sdk
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
%{_libdir}/%{name}/plugins/org.eclipse.rcp.source.linux.gtk.%{eclipse_arch}*
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
%{_libdir}/%{name}/plugins/com.ibm.icu.source_*
%files platform -f %{name}-platform.install
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/%{name}
%{_datadir}/%{name}/eclipse.ini
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/icons/*/*/apps/*
%{_datadir}/%{name}/features/org.eclipse.platform_*
2006-11-02 01:58:55 +00:00
%{_datadir}/%{name}/plugins/org.eclipse.equinox.initializer_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
%ifarch %{ix86} x86_64
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
%endif
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
%{_datadir}/%{name}/plugins/org.apache.ant_*
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
%{_datadir}/%{name}/plugins/org.apache.lucene_*
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
%{_datadir}/%{name}/plugins/org.eclipse.text_*
%{_datadir}/%{name}/plugins/org.eclipse.search_*
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.equinox.initializer_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
#%{_libdir}/gcj/%{name}/org.eclipse.ui.ide_*
%ifnarch ia64
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/com.jcraft.jsch_*
%endif
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
2006-06-02 21:46:07 +00:00
%{_libdir}/gcj/%{name}/org.eclipse.text_*
%{_libdir}/gcj/%{name}/org.eclipse.search_*
%{_libdir}/gcj/%{name}/universal.jar*
%{_libdir}/gcj/%{name}/webapp.jar*
%{_libdir}/gcj/%{name}/tomcatwrapper.jar*
%{_libdir}/gcj/%{name}/compatibility.jar*
%{_libdir}/gcj/%{name}/platform.jar*
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar*
%{_libdir}/gcj/%{name}/servlets.jar*
# FIXME: we need to symlink these
%{_libdir}/gcj/%{name}/ant-apache-bsf.jar*
%{_libdir}/gcj/%{name}/jsp.jar*
%{_libdir}/gcj/%{name}/parser.jar*
2006-07-05 16:09:13 +00:00
%endif
2005-01-11 16:53:23 +00:00
%files platform-sdk
2006-06-02 21:46:07 +00:00
%defattr(-,root,root)
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
%{_libdir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.%{eclipse_arch}_*
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
%{_libdir}/%{name}/plugins/org.eclipse.platform.source_*
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
%endif
%files jdt
%defattr(-,root,root)
%{_bindir}/efj
%{_datadir}/%{name}/features/org.eclipse.jdt_*
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
%{_datadir}/%{name}/plugins/org.junit_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.core_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit4.runtime_*
#%{_datadir}/%{name}/plugins/org.junit4_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.ui_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.core_*
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit4.runtime_*
#%{_libdir}/gcj/%{name}/org.junit4_*
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.ui_*
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
%{_libdir}/gcj/%{name}/junitruntime.jar.*
%{_libdir}/gcj/%{name}/junitsupport.jar.*
%{_libdir}/gcj/%{name}/jdimodel.jar.*
%{_libdir}/gcj/%{name}/jdi.jar.*
%endif
%files jdt-sdk
%defattr(-,root,root)
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
%files pde
%defattr(-,root,root)
%{_datadir}/%{name}/features/org.eclipse.pde_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.build_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.build
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
%{_datadir}/%{name}/buildscripts
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
%{_libdir}/gcj/%{name}/pdebuild.jar*
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
%endif
%files pde-runtime
%defattr(-,root,root)
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
%if %{gcj_support}
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
%endif
%files pde-sdk
%defattr(-,root,root)
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
%files sdk
%defattr(-,root,root)
%{_libdir}/%{name}/features/org.eclipse.sdk_*
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
%changelog
* Fri Jan 12 2007 Ben Konrath <bkonrath@redhat.com> 3.2.1-30
- Fix %%postun problem in the sdk sub-package.
* Thu Jan 11 2007 Ben Konrath <bkonrath@redhat.com> 3.2.1-29
- Remove SWT JNI symlinks from %%{libdir}.
2007-01-10 18:58:44 +00:00
* Wed Jan 10 2007 Ben Konrath <bkonrath@redhat.com> 3.2.1-28
- Rpmlint cleanups.
* Fri Jan 05 2007 Ben Konrath <bkonrath@redhat.com> 3.2.1-27
- Use /g in tomcat version replacement.
- Disable com.jcraft.jsch_0.1.28.jar and
org.eclipse.osgi_3.2.1.R32x_v20060919.jar on ia64.
* Tue Dec 19 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-26
- Use sed instead of patch for tomcat version.
- Add BuildRequires desktop-file-utils.
* Wed Dec 6 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-25
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
- Resolves: #211008.
* Tue Dec 5 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-24
- Specfile review with Ben Konrath.
- Lots of cleanups.
* Tue Nov 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-23
- Move back to ~/.eclipse for update site pending upstream comments.
- Add patch to add platform to ~/.eclipse's platform.xml. This maintains
2006-11-28 20:06:00 +00:00
user-installed plugins but allows us to remove the pre-configured
platform.xml in the OSGi configuration area.
* Mon Nov 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-22
- Use ~/.eclipseplugins instead of ~/.eclipse in update site - homedir patch.
- Bump release.
* Fri Nov 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-21
- Add patch to workaround an xml parsing bug in libgcj (gcc bug #29853).
- Resolves: #209393.
* Fri Nov 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-20
- Revise gre64 patch to just do ppc64 addition and not ordering change.
* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-19
- Add patch to look at gre64.conf on ppc64.
* Fri Nov 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-18
- Remove SWT ON_TOP patch as it is fixed in 3.2.1.
* Thu Nov 09 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-17
- Add file level requirement for swt fragment to rcp and platform packages.
This is needed so that the rcp and platform packages pull in the swt package
of the correct word size.
* Mon Nov 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-16
- Move copy-platform back to %%{_datadir}/eclipse.
- Require gjdoc >= 0.7.7-14 as it generates consistent html across archs.
- Move most of the doc plugins back to %%{_datatdir}/eclipse now that gjdoc
is fixed.
* Fri Nov 03 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-15
- Make sdk require config.ini itself rather than the package to deal with the
bi-arch installation situation.
- Move sdk feature and plugin to %%{_libdir} so we can check for its existence
in the post scripts.
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-14
- Remove post sections that munge eclipse.product; always set it to
org.eclipse.platform.ide or org.eclipse.sdk.ide.
- Remove changelogs prior to 3.2.0.
* Thu Nov 02 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-12
- Move doc plugins to %%{_libdir}/eclipse/plugins because of html is being
generated differently on different arches.
- Fix multilib problem when there are two or more jars within a jar.
2006-11-02 12:53:58 +00:00
- BR dos2unix always (for mac2unix).
* Wed Nov 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-11
- Move copy-platform to %%{_libdir}/eclipse
- Move the platform.source, icu4j, icu4j.source, help.webapp and
update.core.linux plugins to %%{_libdir}/eclipse/plugins because these plugins
have platform specific content. Some of the platform specific content may be
a result of bugs in libgcj. These need to be investigated.
- Disable building the help indexes on all archs so that we have the same doc
2006-11-02 02:03:18 +00:00
plugins on all archs.
- Remove org.apache.ant_1.6.5/bin/runant.py to avoid multilib conflicts.
- Repack all the jars and the jars within those jars. This is needed
to make this package multilib compatible.
2006-11-02 02:03:18 +00:00
- Put SWT symlinks in %%{_libdir}/eclipse instead of
%%{_libdir}/eclipse/plugins.
* Wed Nov 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
- Use equinox initializer instead of old patch to core.runtime.
- Run initializer *after* splitting install into arch-specific and
arch-independent locations.
- Move copy-platform to arch-specific location.
- Get rid of broken symlinks in tomcat plugin.
* Tue Oct 31 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
- Fix copy-platform to work with split install.
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-10
- Add 3.2.1 splash screen.
- Sort the java source files before building (#209249).
- Remove Fedora ifdefs.
- Resolves: #209249.
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
- Re-enable building of the icu4j plugins.
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
- Temporarily disable building of icu4j plugin.
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
- Fix eclipse-ecj symlink to point to correct location.
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
target-dependent.
2006-10-29 01:58:43 +00:00
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
- Add patch for ecj [] classpath problem.
- Remove configuration files from rcp files list.
- Add patch set bindir and shared config patch to allow the eclipse binary
to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
set osgi.sharedConfiguration.area config on a per build basis so that the
configuration directory can be arch dependant.
- Remove launcher link patch as the bindir patch removes the requirement for
this patch.
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
- Add Requies(post,postun) to all packages to ensure that no files are left
behind when eclipse is un-installed.
- Many spec file clean ups.
- Resolves: #199961, #202585, #210764, #207016.
- Related: #175547.
2006-10-16 17:25:21 +00:00
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
- Remove unneeded tomcat symlinks.
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
- Remove unnecessary bits of configuration.
- Resolves: #210764, #202585.
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
- Remove perl dependancy.
- Fix offsets in libswt-enableallandO2 patch.
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
uninstalling the java stack.
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
plugins have dependancies on some plugins in rcp.
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
- Fix triggerpostun to include epoch of previous releases.
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
postun scripts work correctly.
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
2006-09-29 22:28:09 +00:00
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
(rh#207442, rh#207013).
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
2006-09-29 22:28:09 +00:00
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
2006-09-28 21:22:00 +00:00
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
- 3.2.1 final.
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
- Use new swt-firefox patch and consolidate others into one.
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
2007-01-10 18:58:44 +00:00
- Fix typo in %%postun of -sdk and -platform.
2006-09-28 14:09:00 +00:00
- Disable help index generation on ia64.
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
2007-01-10 18:58:44 +00:00
- Don't set eclipse.product incorrectly in %%postun of -sdk and -platform.
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1
- M20060921-0945 (3.2.1 pre-release).
- Upadate patches to 3.2.1.
- Add icu4j 3.4.5 sources.
- Add Fedora version to platform about.mappings as well as sdk.
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
- Remove unused eclipse.conf.
- Remove unused gre64.conf patch (applied upstream).
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
- Use real SWT version on ia64, ppc64, s390 and s390x.
- Remove the swt native libs from the rcp sub-package because they are
already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
- Set correct eclipse.product in post and postun of sdk and platform
sub-packages (rh bug # 207442)
- Don't set the .eclipseproduct twice.
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
- Move Requires: firefox to libswt3-gtk2.
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
- Fix tomcat symlinking in %%install to make help work (rh#199453).
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
- Re-work files list to match upstream and remove rebuild-sdk-features
(rh bug # 205933).
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
- Disable help index generation on s390.
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
it has not been applied upstream.
- Minor spec file clean ups.
2007-01-10 18:58:44 +00:00
- Add %%{name} to the -devel package Provides so that upgrading from
FC-5 to FC-6 works.
- Re-enable natively compiling the ant.ui plugin.
- Re-enable natively compiling the team.cvs.core plugin on ia64.
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
- Use the system tomcat on ppc64 and s390x.
2006-08-31 18:26:31 +00:00
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
- Don't use pkg_summary.
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
- Require java-gcj-compat >= 1.0.64.
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
2006-08-10 22:06:10 +00:00
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
jars that don't exist.
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
- Use firefox-devel instead of mozilla-devel.
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
- Use sed instead of patches for tomcat version numbers.
2006-07-23 22:03:21 +00:00
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
- Disable build.index doc generation on i386.
2006-07-23 22:03:21 +00:00
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
- Remove org.eclipse.ant.ui* from %%files.
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
2006-07-23 15:34:35 +00:00
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
2006-07-22 08:38:34 +00:00
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
- Rebuilt
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
- New splash screen from Diana Fong (rh#199456).
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
- Fix SWT symlinks.
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
- Rebuild.
2006-07-17 22:44:29 +00:00
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
- Rebuild.
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
2006-07-08 02:20:09 +00:00
- Temporarily add webapp patch for ppc64 and s390x.
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
- Update webapp build patch.
- Use commons-* instead of jakarta-commons-*.
2006-07-05 21:19:23 +00:00
- Don't delete jars in %%install.
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
2006-07-04 22:25:52 +00:00
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
- Fix tomcat symlinks.
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
- 3.2.0.
- Remove Provides: eclipse-sdk from eclipse-platform.
- Use build-jar-repository where appropriate.
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
- Rename -devel packages to -sdk to match upstream names.
- Add Provides eclipse-sdk to platform-sdk.
- Remove zip re-pack code.
2006-06-13 01:23:08 +00:00
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
- Bump release again.
2006-06-13 00:27:39 +00:00
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
- Bump release.
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
- Require java-gcj-compat 1.0.52.
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
- Really fix swt symlinks rh #194500.
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
- Enable ppc64, s390 and s390x.
- Add check for jars at the end of prep.
- Fix patch for rh #162177 (square brackets patch).
- Fix swt symlinks rh #194500.
- Add versionless pde.build symlink.
- Rename efj-wrapper.sh to efj.sh.in.
- Re-pack all zips after the build to ensure that zips have the same md5sum
across arch re-builds. This is needed to avoid multilib conflicts.
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
- Fix eclipse-ecj.jar symlink to include qualifier.
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
- 3.2RC7.
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
jsch.jar.
- Work around ia64 compile problem in aot-compile-rpm.
2006-06-02 21:46:07 +00:00
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
- 3.2RC6.