Ben Konrath 84d4ee7
Epoch:  1
cvsdist 38d0d0c
Ben Konrath 84d4ee7
%define gcj_support     1
Ben Konrath 84d4ee7
%define tomcatsharedir  %{_datadir}/tomcat5
Ben Konrath 7e428e2
%define tomcatlibdir    %{_var}/lib/tomcat5
cvsdist 38d0d0c
%define eclipse_major   3
Ben Konrath 7e428e2
%define eclipse_minor   3
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
Ben Konrath 7e428e2
%define eclipse_micro   0
cvsdist 38d0d0c
%define libname         libswt3
cvsdist 38d0d0c
Andrew Overholt eb1eea2
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt c6ac089
%ifarch %{ix86}
Andrew Overholt c6ac089
%define eclipse_arch    x86
Andrew Overholt c6ac089
%else
Andrew Overholt c6ac089
%define eclipse_arch   %{_arch}
Andrew Overholt c6ac089
%endif
Andrew Overholt c6ac089
Andrew Overholt 18ed7dc
Summary:        An open, extensible IDE
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 2ea3ea7
Version:        %{eclipse_majmin}.%{eclipse_micro}
Ben Konrath 7e428e2
Release:        0.1.RC1%{?dist} 
Ben Konrath 84d4ee7
License:        Eclipse Public License
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
Ben Konrath 7e428e2
Source0:	http://download.eclipse.org/eclipse/downloads/drops/S-3.3RC1-200705171700/eclipse-sourceBuild-srcIncluded-3.3RC1.zip
cvsdist 38d0d0c
Source2:        %{name}.desktop
Andrew Overholt eb1eea2
# The icu4j bits will be moved out into their own package for Fedora 7.  See:
Andrew Overholt eb1eea2
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199504
Andrew Overholt eb1eea2
Source7:        ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.4.5/icu4jsrc_3_4_5.jar
Ben Konrath 7e428e2
Source11:       %{name}-fedora-splash-3.2.1.png
Ben Konrath 3ab757b
Source16:       %{name}-copy-platform.sh
Ben Konrath 2f9a66d
Source17:       efj.sh.in
Andrew Overholt eb1eea2
Source18:       ecj.sh.in
Andrew Overholt eb1eea2
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt eb1eea2
# when using the FileInitializer
Andrew Overholt c18750b
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 51e09a3
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
Andrew Overholt 51e09a3
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/ 
Andrew Overholt 51e09a3
# (generated 2006-11-01 18:48 UTC)
Andrew Overholt 51e09a3
Source20:       %{name}-fileinitializerapp.tar.bz2
Ben Konrath 7e428e2
Source21:	org.eclipse.equinox.initializer_1.0.0.jar
Ben Konrath 6d33386
Andrew Overholt eb1eea2
# We need this because icu4j's Eclipse bits are dependent upon Eclipse
Andrew Overholt eb1eea2
# but we don't want the icu4j RPM needing Eclipse to build
Ben Konrath 84d4ee7
Patch1:         %{name}-icu4j-build-files.patch
Andrew Overholt eb1eea2
# These two patches need to go upstream
Ben Konrath 84d4ee7
Patch3:         %{name}-libupdatebuild2.patch
Andrew Overholt 066aed0
# Build swttools.jar
Andrew Overholt 066aed0
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Ben Konrath 84d4ee7
Patch4:         %{name}-swttools.patch
Andrew Overholt eb1eea2
# This does two things:
Andrew Overholt eb1eea2
# 1. allows the launcher to be in /usr/bin and
Andrew Overholt eb1eea2
# 2. ensures that the OSGi configuration directory
Andrew Overholt eb1eea2
#    (which contains the JNI .sos) is in %{_libdir}
Andrew Overholt eb1eea2
# We should investigate whether or not this can go upstream
Ben Konrath 84d4ee7
Patch12:        %{name}-launcher-set-install-dir-and-shared-config.patch
Ben Konrath 7e428e2
# Don't attempt to link to Sun's javadocs
Ben Konrath 7e428e2
# FIXME:  could use sed instead
Ben Konrath 7e428e2
Patch13:        %{name}-javadoclinks.patch
Andrew Overholt 832063d
# Always generate debug info when building RPMs (Andrew Haley)
Andrew Overholt eb1eea2
# This needs to be investigated for getEnv changes
Ben Konrath 84d4ee7
Patch14:        %{name}-ecj-rpmdebuginfo.patch
Ben Konrath 02a0b82
# generic releng plugins that can be used to build plugins
Andrew Overholt eb1eea2
# see this thread for details: 
Ben Konrath 02a0b82
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Andrew Overholt eb1eea2
# This needs to be submitted upstream
Ben Konrath 84d4ee7
Patch15:        %{name}-pde.build-add-package-build.patch
Ben Konrath 7e428e2
# FIXME: Should we ship tomcat plugins with 3.3?
Andrew Overholt eb1eea2
# This tomcat stuff will change when they move to the equinox jetty provider
Ben Konrath 3ab757b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
Ben Konrath 84d4ee7
Patch6:         %{name}-tomcat55.patch
Ben Konrath 84d4ee7
Patch7:         %{name}-tomcat55-build.patch
Andrew Overholt 9fa962a
# Use ecj for gcj
Ben Konrath 84d4ee7
Patch17:        %{name}-ecj-gcj.patch
Andrew Overholt eb1eea2
Andrew Overholt eb1eea2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt 7c41ca3
BuildRequires:  gnome-vfs2-devel
Andrew Overholt 7c41ca3
BuildRequires:  gtk2-devel
Andrew Overholt 7c41ca3
BuildRequires:  glib2-devel
Andrew Overholt 376a964
BuildRequires:  libgnome-devel
Andrew Overholt 376a964
BuildRequires:  libgnomeui-devel
Andrew Overholt b735554
BuildRequires:  gcc-c++
Andrew Overholt b42fa00
BuildRequires:  firefox-devel
Andrew Overholt 6c22b1e
BuildRequires:  nspr-devel
Andrew Overholt 45bd4ee
BuildRequires:  libXtst-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGL-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 1b72b0d
BuildRequires:  cairo >= 1.0
e416a0a
BuildRequires:  unzip
Andrew Overholt 832063d
BuildRequires:  java-javadoc
Ben Konrath d18a00b
BuildRequires:  desktop-file-utils
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
BuildRequires:  gcc-java >= 4.0.2
Ben Konrath 84d4ee7
BuildRequires:  java-gcj-compat-devel >= 1.0.64
Andrew Overholt 5f25d4d
%else
Ben Konrath 84d4ee7
BuildRequires:  java-devel >= 1.4.2
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Andrew Overholt eb1eea2
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt eb1eea2
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea2
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 1cc05a0
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 0a684ca
BuildRequires: jsch >= 0:0.1.28-1jpp.6
Andrew Overholt f335515
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
Andrew Overholt f335515
BuildRequires: mx4j >= 2.1
Ben Konrath a5afaea
BuildRequires: tomcat5 >= 5.5.23
Ben Konrath a5afaea
BuildRequires: tomcat5-jasper >= 5.5.23
Ben Konrath a5afaea
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.23
Ben Konrath 02a0b82
BuildRequires: lucene
Andrew Overholt eb1eea2
BuildRequires: lucene-devel
Ben Konrath 22a1ac6
BuildRequires: regexp 
Ben Konrath 41ba94d
BuildRequires: junit >= 3.8.1-3jpp
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4d
%endif
cvsdist df631d8
cvsdist df631d8
%description
cvsdist df631d8
The Eclipse Platform is designed for building integrated development
cvsdist df631d8
environments (IDEs) that can be used to create applications as diverse
cvsdist 38d0d0c
as web sites, embedded Java(tm) programs, C++ programs, and Enterprise
cvsdist 38d0d0c
JavaBeans(tm).
cvsdist 38d0d0c
Andrew Overholt b818870
%package        ecj
Andrew Overholt b818870
Summary:        Eclipse Compiler for Java
Andrew Overholt b818870
Group:          Development/Languages
Ben Konrath 84d4ee7
Obsoletes:      ecj <= 2.1.3
Ben Konrath 84d4ee7
Provides:       ecj <= 2.1.3
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires:       libgcj >= 4.0.2
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4d
%else
Ben Konrath 84d4ee7
Requires:       java >= 1.4.2
Andrew Overholt 5f25d4d
%endif
Andrew Overholt b818870
Andrew Overholt b818870
%description    ecj
Andrew Overholt b818870
Eclipse compiler for Java.
Andrew Overholt b818870
Ben Konrath 6d33386
%package     -n %{libname}-gtk2
Andrew Overholt eb1eea2
Summary:        SWT Library for GTK+-2.0
Ben Konrath 6d33386
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires:           libgcj >= 4.0.2
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 6d33386
%endif
Andrew Overholt eb1eea2
Requires:       gtk2
Ben Konrath 7ab98f8
Requires:       firefox
Ben Konrath 84d4ee7
Conflicts:      mozilla
Ben Konrath 6d33386
Ben Konrath 6d33386
%description -n %{libname}-gtk2
Andrew Overholt eb1eea2
SWT Library for GTK+-2.0.
Ben Konrath 6d33386
Ben Konrath 6d33386
%package        rcp
Ben Konrath 6d33386
Summary:        Eclipse Rich Client Platform
Ben Konrath 6d33386
Group:          Development/Languages
Ben Konrath 6d33386
Requires:       %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea2
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 7e428e2
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3320b.jar
Ben Konrath 84d4ee7
Requires(post):     %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):   %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires:           libgcj >= 4.0.2
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 6d33386
%else
Ben Konrath 84d4ee7
Requires:       java >= 1.4.2
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
Ben Konrath 6d33386
%description    rcp
Ben Konrath 6d33386
Eclipse Rich Client Platform
Ben Konrath 6d33386
Ben Konrath 6d33386
%package        rcp-sdk
Andrew Overholt eb1eea2
Summary:        Eclipse Rich Client Platform SDK
Ben Konrath 6d33386
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d33386
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 6d33386
Ben Konrath 6d33386
%description    rcp-sdk
Andrew Overholt eb1eea2
Source for Eclipse Rich Client Platform for use within Eclipse.
Ben Konrath 6d33386
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4d
%endif
Andrew Overholt eb1eea2
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea2
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 7e428e2
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3320b.jar
Ben Konrath 84d4ee7
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea2
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt eb1eea2
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea2
#Requires: ant-apache-bsf ant-commons-net
Andrew Overholt eb1eea2
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 1cc05a0
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt f335515
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
Andrew Overholt f335515
Requires: mx4j >= 2.1
Ben Konrath a5afaea
Requires: tomcat5 >= 5.5.23
Ben Konrath a5afaea
Requires: tomcat5-jasper >= 5.5.23
Ben Konrath a5afaea
Requires: tomcat5-servlet-2.4-api >= 5.5.23
Ben Konrath 0a684ca
Requires: jsch >= 0:0.1.28-1jpp.6
Andrew Overholt eb1eea2
Requires: lucene, lucene-devel
Ben Konrath 22a1ac6
Requires: regexp
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Andrew Overholt eb1eea2
The Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt eb1eea2
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0c
Ben Konrath 9507d8b
%package        platform-sdk
Andrew Overholt eb1eea2
Summary:        Eclipse Platform SDK
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a94
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8b
Requires:       %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
cvsdist 38d0d0c
Ben Konrath 9507d8b
%description    platform-sdk
Andrew Overholt eb1eea2
Source and docs for Eclipse Platform for use within Eclipse.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        jdt
Andrew Overholt eb1eea2
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 76e1a94
Requires:       %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-ecj = %{epoch}:%{version}-%{release}
d941e6a
Requires:       junit >= 3.8.1-3jpp
Andrew Overholt eb1eea2
Requires:       java-javadoc
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
Andrew Overholt eb1eea2
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt eb1eea2
developing software written in the Java programming language.
cvsdist 38d0d0c
Ben Konrath 9507d8b
%package        jdt-sdk
Andrew Overholt eb1eea2
Summary:        Eclipse Java Development Tools SDK
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 6d33386
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8b
Ben Konrath 9507d8b
%description    jdt-sdk
Andrew Overholt eb1eea2
Source and docs for Eclipse Java Development Tools for use within Eclipse.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        pde
Andrew Overholt eb1eea2
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a94
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires:       %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8b
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 357a573
Andrew Overholt 00fc6fa
%description    pde
Andrew Overholt eb1eea2
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt eb1eea2
developing Eclipse plugins.
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%package        pde-runtime
Andrew Overholt eb1eea2
Summary:        Eclipse Plugin Development Environment runtime plugin.
Ben Konrath 02a0b82
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d33386
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 02a0b82
%endif
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%description    pde-runtime
Andrew Overholt eb1eea2
Eclipse Plugin Development Environment runtime plugin (org.eclipse.pde.runtime).
Andrew Overholt 00fc6fa
Ben Konrath 9507d8b
%package        pde-sdk
Andrew Overholt eb1eea2
Summary:        Eclipse Plugin Development Environment SDK
Andrew Overholt 357a573
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-pde = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8b
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-pde = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-pde = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Ben Konrath 9507d8b
%description    pde-sdk
Andrew Overholt eb1eea2
Source and docs for Eclipse Plugin Development Environment for use within
Andrew Overholt eb1eea2
Eclipse.
cvsdist 38d0d0c
Ben Konrath 6d33386
%package        sdk
Andrew Overholt eb1eea2
Summary:        Eclipse SDK
Andrew Overholt c18750b
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d33386
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8b
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 6d33386
Requires:       %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 004116a
Requires(postun):  %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(post):    %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee7
Requires(postun):  %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt a10e445
# This file requirement is to deal with the biarch installation case
Ben Konrath 84d4ee7
Requires(post):    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 84d4ee7
Requires(postun):  %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 2224362
%if %{gcj_support}
Ben Konrath 84d4ee7
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee7
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 2224362
%endif
Ben Konrath 6d33386
Ben Konrath 6d33386
%description    sdk
Andrew Overholt eb1eea2
The Eclipse SDK.  This package is similar to a meta-package which brings in
Andrew Overholt eb1eea2
the Eclipse Platform SDK, the Eclipse Java Development Tools SDK, and the
Andrew Overholt eb1eea2
Eclipse Plugin Development Environment SDK.  It also contains the
Andrew Overholt eb1eea2
org.eclipse.sdk plugin and feature.  This package is only needed if you intend
Andrew Overholt eb1eea2
to create Eclipse applications.
Andrew Overholt c18750b
cvsdist df631d8
%prep
cvsdist 3a48756
%setup -q -c
Andrew Overholt 357a573
Ben Konrath e9c9d5e
sed --in-place "s/java5.home/java.home/" build.xml
Andrew Overholt eb1eea2
%patch3 -p0
Andrew Overholt eb1eea2
# FIXME:  investigate why we are pushd'ing here
Andrew Overholt eb1eea2
# Build swttools.jar
d941e6a
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
Andrew Overholt eb1eea2
%patch4 -p0
Andrew Overholt 066aed0
popd
Ben Konrath 2f9a66d
Ben Konrath 2f9a66d
# tomcat patches
Andrew Overholt f335515
pushd plugins/org.eclipse.tomcat
Andrew Overholt eb1eea2
%patch6 -p0
Andrew Overholt eb1eea2
%patch7 -p0
Andrew Overholt 7f96ff5
popd
Ben Konrath a5afaea
sed --in-place "s/4.1.130/5.5.23/g"                      \
Ben Konrath 760970d
                features/org.eclipse.platform/build.xml \
Ben Konrath 760970d
                plugins/org.eclipse.tomcat/build.xml    \
Ben Konrath 3d0e8b6
                plugins/org.eclipse.tomcat/META-INF/MANIFEST.MF   \
Ben Konrath 760970d
                assemble.*.xml
Andrew Overholt eb1eea2
Ben Konrath 02a0b82
pushd plugins/org.eclipse.jdt.core
Andrew Overholt eb1eea2
%patch17 -p0
Andrew Overholt 07b6dd5
popd
cvsdist 38d0d0c
Ben Konrath 7e428e2
# launcher patches
Ben Konrath 7e428e2
rm plugins/org.eclipse.platform/launchersrc.zip
Ben Konrath 7e428e2
pushd features/org.eclipse.equinox.executable
Andrew Overholt eb1eea2
%patch12 -p0
Andrew Overholt eb1eea2
# put the configuration directory in an arch-specific location
Ben Konrath 3f0aaa6
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Andrew Overholt eb1eea2
# make the eclipse binary relocatable 
Ben Konrath 3f0aaa6
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 7e428e2
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
Andrew Overholt 0700394
popd
Andrew Overholt eb1eea2
Ben Konrath 7e428e2
# Link against our system-installed javadocs
Ben Konrath 7e428e2
%patch13 -p0
Ben Konrath 7e428e2
sed --in-place "s:/usr/share/:%{_datadir}/:g"           \
Ben Konrath 7e428e2
        plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt  \
Ben Konrath 7e428e2
        plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
Ben Konrath 7e428e2
        plugins/org.eclipse.pde.doc.user/pdeOptions     \
Ben Konrath 7e428e2
        plugins/org.eclipse.platform.doc.isv/platformOptions.txt 
Andrew Overholt eb1eea2
%patch14 -p0
Andrew Overholt 0700394
Ben Konrath 02a0b82
pushd plugins/org.eclipse.pde.build
Andrew Overholt eb1eea2
%patch15
Andrew Overholt eb1eea2
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" templates/package-build/build.properties
Ben Konrath 02a0b82
popd
Ben Konrath 02a0b82
Andrew Overholt eb1eea2
# Splashscreen
Ben Konrath 7e428e2
cp %{SOURCE11} plugins/org.eclipse.platform/splash.bmp
cvsdist 38d0d0c
Ben Konrath 2f9a66d
# FIXME this should be patched upstream with a flag to turn on and off 
Ben Konrath 2f9a66d
# all output should be directed to stdout
Andrew Overholt eb1eea2
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
Ben Konrath 2f9a66d
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2f9a66d
Andrew Overholt 357a573
# Remove existing .sos
Ben Konrath 02a0b82
find -name \*.so | xargs rm
Andrew Overholt 357a573
Andrew Overholt 357a573
# Symlinks
Andrew Overholt 357a573
Andrew Overholt 357a573
## BEGIN ANT ##
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-antlr.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bcel.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bsf.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-log4j.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-oro.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-regexp.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-resolver.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-logging.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-net.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jai.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-javamail.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jdepend.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jmf.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jsch.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-junit.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-launcher.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-netrexx.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-nodeps.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-starteam.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-stylebook.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-swing.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-trax.jar
Ben Konrath 7e428e2
rm plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-weblogic.jar
Andrew Overholt eb1eea2
# FIXME:  use build-jar-repository
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-antlr.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bcel.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-bsf.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-log4j.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-oro.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-regexp.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-apache-resolver.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-logging.jar
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea2
# the symlinks that are commented-out are not currently shipped on Fedora
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-commons-net.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jai.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-javamail.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jdepend.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jmf.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-jsch.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-junit.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-launcher.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-netrexx.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-nodeps.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-starteam.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-stylebook.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-swing.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-trax.jar
Ben Konrath 7e428e2
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200704241635/lib/ant-weblogic.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt eb1eea2
Andrew Overholt f335515
## BEGIN TOMCAT ##
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/commons-beanutils.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/commons-collections.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/commons-digester.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/commons-logging-api.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/commons-modeler.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/servlet.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/servlets-manager.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/naming-common.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/servlets-common.jar
Andrew Overholt 7f96ff5
rm plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/bootstrap.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/catalina.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/jasper-compiler.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/jasper-runtime.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/mx4j-jmx.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/naming-resources.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/naming-factory.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/servlets-default.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/servlets-invoker.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/tomcat-coyote.jar
Ben Konrath daf6772
rm plugins/org.eclipse.tomcat/tomcat-util.jar
Ben Konrath daf6772
mkdir -p plugins/org.eclipse.tomcat/lib
Andrew Overholt d9d5122
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/lib/bootstrap.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat/lib/catalina.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat/lib/catalina-optional.jar
Andrew Overholt d9d5122
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat/lib/jasper-compiler.jar
Andrew Overholt d9d5122
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/lib/jasper-runtime.jar
Andrew Overholt d9d5122
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/lib/mx4j.jar
Andrew Overholt d9d5122
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/lib/mx4j-impl.jar
Andrew Overholt d9d5122
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/lib/mx4j-jmx.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat/lib/naming-factory.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat/lib/naming-resources.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat/lib/servlets-default.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat/lib/servlets-invoker.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat/lib/tomcat-coyote.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat/lib/tomcat-http.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat/lib/tomcat-util.jar
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-beanutils
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-collections
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-dbcp
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester-rss
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-el
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-fileupload
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-launcher
Andrew Overholt c0ccd91
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-logging-api
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-modeler
Andrew Overholt 67abf2a
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-pool
Andrew Overholt 7f96ff5
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib jspapi
Andrew Overholt 7f96ff5
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp
Andrew Overholt 7f96ff5
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5
Andrew Overholt f335515
## END TOMCAT ##
Ben Konrath d8e9287
Ben Konrath 7e428e2
build-jar-repository -s -p plugins/org.junit_3.8.2.v200701261102 junit
d941e6a
Andrew Overholt 669d044
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
d941e6a
# /usr/lib -> /usr/lib64
d941e6a
sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh
Andrew Overholt 2932746
sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak
Andrew Overholt 669d044
popd
Ben Konrath 2f9a66d
Ben Konrath a2dd25c
# FIXME: figure out what's going on with build.index. 
Ben Konrath a2dd25c
find plugins -type f -name \*.xml -exec sed --in-place "s/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
Ben Konrath a2dd25c
Ben Konrath 7ab720b
# the swt version is set to HEAD on ia64 but shouldn't be
Ben Konrath 7ab720b
# get swt version
Ben Konrath 7ab720b
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath 7ab720b
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath 7ab720b
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath 7ab720b
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 7ab720b
swt_frag_ver_ia64=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 7ab720b
sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml \
Ben Konrath 84d4ee7
                                                      assemble.org.eclipse.sdk.linux.gtk.ia64.xml \
Ben Konrath 84d4ee7
                                                      features/org.eclipse.rcp/build.xml
Ben Konrath 7ab720b
Ben Konrath 7e428e2
# remove jdt.compiler.tool as it requires a JVM that supports Java 1.6
Ben Konrath 7e428e2
sed --in-place "s/org.eclipse.jdt.compiler.tool:0.0.0,1.0.0.v_763,//" features/org.eclipse.jdt/build.xml
Ben Konrath 7e428e2
linenum=$(grep -no jdt.compiler.tool features/org.eclipse.jdt/build.xml | cut -d : -f 1)
Ben Konrath 7e428e2
sed --in-place -e "$linenum,$(expr $linenum + 4)d" features/org.eclipse.jdt/build.xml
Ben Konrath 7e428e2
linenum=$(grep -no jdt.compiler.tool features/org.eclipse.jdt/feature.xml | cut -d : -f 1)
Ben Konrath 7e428e2
sed --in-place -e "$(expr $linenum - 1),$(expr $linenum + 5)d" features/org.eclipse.jdt/feature.xml
Ben Konrath 7e428e2
linenum=$(grep -no "dir=\"plugins/org.eclipse.jdt.compiler.tool" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath 7e428e2
sed --in-place -e "$linenum,$(expr $linenum + 2)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Ben Konrath 7e428e2
linenum=$(grep -no "value=\"org.eclipse.jdt.compiler.tool" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath 7e428e2
sed --in-place -e "$(expr $linenum - 2),$(expr $linenum + 1)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Andrew Overholt 669d044
Ben Konrath 0a684ca
# link to the jsch jar
Ben Konrath 7e428e2
rm plugins/com.jcraft.jsch_0.1.28.jar
Ben Konrath 7e428e2
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.28.jar
Ben Konrath 0a684ca
Andrew Overholt eb1eea2
# set the icu4j plugins for building
Ben Konrath 7e428e2
pushd plugins
Ben Konrath 7e428e2
rm com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 64c07e2
mkdir -p icu4j-build-temp
Ben Konrath 64c07e2
Ben Konrath 64c07e2
pushd icu4j-build-temp
Ben Konrath 64c07e2
unzip -qq %{SOURCE7} 
Ben Konrath 64c07e2
sed --in-place "s/ .*bootclasspath=.*//g" build.xml
Andrew Overholt eb1eea2
ant eclipseProjects
Ben Konrath 64c07e2
popd
Ben Konrath ccb00c7
Ben Konrath 64c07e2
mkdir -p icu4j-build
Ben Konrath 64c07e2
mv icu4j-build-temp/eclipseProjects/com.ibm.icu icu4j-build
Ben Konrath 64c07e2
rm -r icu4j-build-temp
Ben Konrath ccb00c7
Ben Konrath ccb00c7
# add build.xml patches
Ben Konrath 64c07e2
pushd icu4j-build
Andrew Overholt eb1eea2
%patch1 -p1
Ben Konrath 64c07e2
popd 
Ben Konrath ccb00c7
Ben Konrath 64c07e2
popd
Ben Konrath ccb00c7
Ben Konrath ccb00c7
# delete included jars
Ben Konrath 38b635f
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
Ben Konrath ccb00c7
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
Ben Konrath ccb00c7
   plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath ccb00c7
   plugins/org.eclipse.swt.tools/swttools.jar \
Ben Konrath ccb00c7
Ben Konrath 02a0b82
# make sure there are no jars left
Ben Konrath 6ebb2cd
JARS=""
Ben Konrath 6ebb2cd
for j in $(find -name \*.jar); do
Ben Konrath 6ebb2cd
  if [ ! -L $j ]; then
Ben Konrath 6ebb2cd
    JARS="$JARS $j"
Ben Konrath 6ebb2cd
  fi
Ben Konrath 6ebb2cd
done
Ben Konrath 6ebb2cd
if [ ! -z "$JARS" ]; then
Andrew Overholt eb1eea2
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2f9a66d
   #FIXME: enable  exit 1
Ben Konrath 6ebb2cd
fi
Ben Konrath 02a0b82
Andrew Overholt 51e09a3
tar jxf %{SOURCE20}
Andrew Overholt 51e09a3
Andrew Overholt 29362a4
%build
Andrew Overholt 29362a4
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 29362a4
Andrew Overholt eb1eea2
# Finish the icu4j build
Ben Konrath 7e428e2
pushd plugins/icu4j-build/com.ibm.icu
Ben Konrath 64c07e2
ant build.update.jar
Ben Konrath 7e428e2
mv com.ibm.icu_3.4.5.jar ../../com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 64c07e2
popd
Ben Konrath ccb00c7
Ben Konrath 7e428e2
# Bootstrapping:
Ben Konrath 7e428e2
# 1. Build ecj with gcj-built ecj ("javac")
Ben Konrath 7e428e2
# 2. Re-build ecj with output of 1.
Ben Konrath c203e4b
Ben Konrath 7e428e2
# 1a. compile ecj with javac
Andrew Overholt 29362a4
ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 29362a4
Ben Konrath c203e4b
%if %{gcj_support}
Ben Konrath 7e428e2
  # 1b. Natively-compile ecj
Andrew Overholt 5343c52
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c52
    -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
Andrew Overholt 5343c52
   
Andrew Overholt 5343c52
  gcj-dbtool -n jdtcoresrc/ecj.db 30000
Andrew Overholt 5343c52
  gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
Andrew Overholt 3a10512
Ben Konrath 7e428e2
  # To ensure we're not using any pre-compiled ecj on the build system, set this
Andrew Overholt 5343c52
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 29362a4
Ben Konrath 7e428e2
# 2. Use this ecj to rebuild itself
d941e6a
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Andrew Overholt 29362a4
ant -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 29362a4
Ben Konrath c203e4b
%if %{gcj_support}
Andrew Overholt 5343c52
  # Natively-compile it
Andrew Overholt 5343c52
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c52
    -o ecj.jar.so ecj.jar
Andrew Overholt 5343c52
  gcj-dbtool -n ecj.db 30000
Andrew Overholt 5343c52
  gcj-dbtool -a ecj.db ecj.jar{,.so}
Andrew Overholt 5343c52
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
Andrew Overholt 707e455
  
Andrew Overholt 707e455
  # Remove old native bits
Andrew Overholt 5343c52
  rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
Andrew Overholt 7289f98
%endif
Andrew Overholt 29362a4
Andrew Overholt 29362a4
# Build the rest of Eclipse
d941e6a
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 02a0b82
export JAVA_HOME=%{java_home}
Andrew Overholt 357a573
ant \
Andrew Overholt 357a573
  -Dnobootstrap=true \
Andrew Overholt c6ac089
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Ben Konrath e9c9d5e
  -Dlibsconfig=true -DjavacSource=1.5 -DjavacTarget=1.5 
Andrew Overholt 76e1a94
Ben Konrath 7e428e2
## Build the FileInitializer application
Ben Konrath 7e428e2
#SDK=$(cd eclipse && pwd)
Ben Konrath 7e428e2
#PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//')
Ben Konrath 7e428e2
#pushd equinox-incubator
Ben Konrath 7e428e2
#mkdir -p build
Ben Konrath 7e428e2
#mkdir -p home
Ben Konrath 7e428e2
#homedir=$(cd home && pwd)
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
## This can go away when package build handles plugins (not just features)
Ben Konrath 7e428e2
#echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
Ben Konrath 7e428e2
#echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#java -cp $SDK/startup.jar \
Ben Konrath 7e428e2
#      org.eclipse.core.launcher.Main \
Ben Konrath 7e428e2
#     -Duser.home=$homedir                              \
Ben Konrath 7e428e2
#     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 7e428e2
#     -Dtype=plugin                                    \
Ben Konrath 7e428e2
#     -Did=org.eclipse.equinox.initializer                   \
Ben Konrath 7e428e2
#     -DsourceDirectory=$(pwd)                          \
Ben Konrath 7e428e2
#     -DbaseLocation=$SDK \
Ben Konrath 7e428e2
#     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Ben Konrath 7e428e2
#     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#pushd build/plugins/org.eclipse.equinox.initializer
Ben Konrath 7e428e2
#java -cp $SDK/startup.jar \
Ben Konrath 7e428e2
#      org.eclipse.core.launcher.Main \
Ben Konrath 7e428e2
#     -Duser.home=$homedir                              \
Ben Konrath 7e428e2
#     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 7e428e2
#     -f build.xml build.update.jar
Ben Konrath 7e428e2
#popd
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#popd
Ben Konrath 2f9a66d
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
cvsdist df631d8
Andrew Overholt eb1eea2
# Get swt version
Ben Konrath d7c0cf4
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath d7c0cf4
Andrew Overholt eb1eea2
# Some directories we need
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/links
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Andrew Overholt eb1eea2
Andrew Overholt eb1eea2
# Explode the resulting SDK tarball
Ben Konrath 7ab720b
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
cvsdist df631d8
Ben Konrath 7e428e2
## The FileInitializer app isn't part of the SDK (yet?) but we want it to be
Ben Konrath 7e428e2
## around for other RPMs
Ben Konrath 7e428e2
#cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
Ben Konrath 7e428e2
#  $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Ben Konrath 7e428e2
# Hack for 3.3M4
Ben Konrath 7e428e2
cp %{SOURCE21} $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt 51e09a3
Andrew Overholt eb1eea2
# Set up an extension location and a link file for the arch-specific dir
Andrew Overholt 51e09a3
echo "path:$RPM_BUILD_ROOT%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Andrew Overholt 51e09a3
echo "name=Eclipse Platform" > $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 51e09a3
echo "id=org.eclipse.platform" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 51e09a3
echo "version=%{eclipse_majmin}.%{eclipse_micro}" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath 365f2e6
Andrew Overholt eb1eea2
# Install the platform-specific fragments in an arch-specific dir
Andrew Overholt 51e09a3
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/*%{eclipse_arch}* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Andrew Overholt eb1eea2
# platform.source has the launcher src zip which is platform-specific
Ben Konrath 8547475
PLATFORMSOURCEVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
Ben Konrath 365f2e6
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION \
Ben Konrath 365f2e6
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Ben Konrath 365f2e6
# help.webapp generates web.xml with Apache Jakarta Tomcat JspC. This file is
Ben Konrath 365f2e6
# generated differently for different arches. FIXME investigate this.
Ben Konrath 365f2e6
HELPWEBAPPVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep help.webapp_ | sed 's/org.eclipse.help.webapp_//')
Ben Konrath 568c75a
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_$HELPWEBAPPVERSION \
Ben Konrath 365f2e6
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Ben Konrath 365f2e6
# update.core.linux is a fragment
Ben Konrath 365f2e6
# FIXME: make a patch for upstream to change to swt fragment notation
Ben Konrath 365f2e6
UPDATECORELINUXVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep update.core.linux_ | sed 's/org.eclipse.update.core.linux_//')
Ben Konrath 365f2e6
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_$UPDATECORELINUXVERSION \
Ben Konrath 365f2e6
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Ben Konrath 49bd3cd
# FIXME: icu4j generates res_index.txt differently on different arches - possible libgcj bug.
Ben Konrath 7e428e2
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu_3.6.0.20061215.jar $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 7e428e2
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/com.ibm.icu.source_3.6.0.20061215 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Andrew Overholt eb1eea2
# FIXME: there is a problem with gjdoc generating different HTML on different
Ben Konrath adc3ae7
# architectures.
Ben Konrath 817e881
PLATFORMDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.doc.isv_ | sed 's/org.eclipse.platform.doc.isv_//')
Ben Konrath 817e881
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_$PLATFORMDOCISVVERSION \
Ben Konrath 817e881
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath adc3ae7
# ppc64 is problematic with these two
Ben Konrath adc3ae7
JDTDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.doc.isv_ | sed 's/org.eclipse.jdt.doc.isv_//')
Ben Konrath adc3ae7
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_$JDTDOCISVVERSION \
Ben Konrath adc3ae7
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath adc3ae7
PDEDOCUSERVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep pde.doc.user_ | sed 's/org.eclipse.pde.doc.user_//')
Ben Konrath adc3ae7
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_$PDEDOCUSERVERSION \
Ben Konrath adc3ae7
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
Ben Konrath b0e9bcf
# Adding support for ppc64, s390{x} and sparc{64} makes the rcp feature 
Ben Konrath b0e9bcf
# have multilib conflicts
Ben Konrath b0e9bcf
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.rcp_* \
Ben Konrath b0e9bcf
  $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Ben Konrath b0e9bcf
Andrew Overholt a10e445
# To ensure that the product is org.eclipse.sdk.ide when eclipse-sdk is
Andrew Overholt a10e445
# installed, we must check for its presence at %%post{,un} time.  This does not
Andrew Overholt a10e445
# work in the biarch case, though, if it is not in an arch-specific location.
Andrew Overholt a10e445
# This results in complaints that the sdk plugin is found twice, but this is
Andrew Overholt a10e445
# better than always appearing in the about dialog as the Eclipse Platform with
Andrew Overholt a10e445
# the platform plugin version number instead of the actual SDK version number.
Andrew Overholt a10e445
# -- overholt, 2006-11-03
Andrew Overholt eb1eea2
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_* \
Andrew Overholt eb1eea2
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea2
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.sdk_* \
Andrew Overholt eb1eea2
  $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Andrew Overholt 51e09a3
Ben Konrath 3f0aaa6
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt eb1eea2
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt eb1eea2
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt eb1eea2
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt eb1eea2
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt eb1eea2
# 
Andrew Overholt c18750b
# Extract .so files
Andrew Overholt c18750b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 51e09a3
pushd $RPM_BUILD_ROOT
Andrew Overholt 51e09a3
datadir_path=$(echo %{_datadir}/%{name} | sed -e 's/^\///')
Andrew Overholt 51e09a3
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
Andrew Overholt 51e09a3
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
Andrew Overholt 51e09a3
     -cp $datadir_path/startup.jar \
Ben Konrath 3f0aaa6
     org.eclipse.core.launcher.Main \
Ben Konrath 3f0aaa6
     -consolelog \
Andrew Overholt 51e09a3
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 3f0aaa6
     -fileInitializer %{SOURCE19}
d941e6a
popd
d941e6a
Andrew Overholt a10e445
# Make proper links file
Ben Konrath 365f2e6
echo "path:/usr/lib" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Ben Konrath 365f2e6
echo "path:/usr/lib64" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments64.link
Ben Konrath 365f2e6
Andrew Overholt 51e09a3
# Install config.ini to an arch dependent location and remove the unnecessary
Ben Konrath 3f0aaa6
# configuration data
Ben Konrath 3f0aaa6
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 3f0aaa6
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update
Ben Konrath 3f0aaa6
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime
Ben Konrath 7e428e2
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.app
cvsdist df631d8
Andrew Overholt bfa8a41
# Set config.ini for the platform; no benefit to having it be sdk
Andrew Overholt bfa8a41
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
Ben Konrath 3f0aaa6
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 3f0aaa6
Ben Konrath 3f0aaa6
# Install the Eclipse binary
Andrew Overholt 357a573
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Ben Konrath 3f0aaa6
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt 357a573
Ben Konrath 3f0aaa6
# Ensure the shared libraries have the correct permissions
Ben Konrath 3f0aaa6
pushd $RPM_BUILD_ROOT%{_libdir}/%{name} 
Ben Konrath 3f0aaa6
for lib in `find configuration -name \*.so`; do
Ben Konrath 3f0aaa6
   chmod 755 $lib
Andrew Overholt c18750b
done
cvsdist 38d0d0c
Andrew Overholt 6e68df6
# Create file listings for the extracted shared libraries
Ben Konrath 3f0aaa6
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 3f0aaa6
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Ben Konrath 004116a
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Ben Konrath 3f0aaa6
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Ben Konrath 3f0aaa6
  else
Ben Konrath 3f0aaa6
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 3f0aaa6
  fi
Ben Konrath 3f0aaa6
done 
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath a8589a6
# Install symlinks to the SWT JNI shared libraries in /usr/lib/eclipse
Ben Konrath 848f208
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 848f208
for lib in $(find configuration -name libswt\*.so); do  
Ben Konrath a8589a6
  ln -s %{_libdir}/%{name}/$lib `basename $lib`
Ben Konrath 848f208
done
Ben Konrath 848f208
popd
Ben Konrath 848f208
Ben Konrath 848f208
# Install the SWT jar symlinks in libdir
Andrew Overholt eb1eea2
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 365f2e6
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt eb1eea2
ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2f9a66d
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath 3f0aaa6
# Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac"
Ben Konrath 3f0aaa6
JDTCORESUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.core_ | sed "s/org.eclipse.jdt.core_//")
Ben Konrath 365f2e6
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
Andrew Overholt 6e85ee3
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_$JDTCORESUFFIX $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
Ben Konrath 3f0aaa6
ln -s %{_javadir}/eclipse-ecj.jar $RPM_BUILD_ROOT%{_javadir}/jdtcore.jar
Ben Konrath 3f0aaa6
Ben Konrath 3f0aaa6
# FIXME: get rid of this by putting logic in package build to know what version
Ben Konrath 3f0aaa6
#        of pde.build it's using
Ben Konrath 3f0aaa6
# Install a versionless pde.build
Ben Konrath 2f9a66d
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
Ben Konrath 2f9a66d
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
Ben Konrath 2f9a66d
popd
Ben Konrath 2f9a66d
Andrew Overholt eb1eea2
# Icons
Andrew Overholt eb1eea2
PLATFORMSUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
Andrew Overholt eb1eea2
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse48.png \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt eb1eea2
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse32.png \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt eb1eea2
ln -s ../../../../%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse.png \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt eb1eea2
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt eb1eea2
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png \
Andrew Overholt eb1eea2
  $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt eb1eea2
%ifarch %{ix86} x86_64
Andrew Overholt 7289f98
# Remove unused icon.xpm
Andrew Overholt eb1eea2
# This should be fixed in 3.3.
Andrew Overholt eb1eea2
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
Ben Konrath 004116a
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
Andrew Overholt eb1eea2
%endif
cvsdist df631d8
Andrew Overholt eb1eea2
# Install the efj wrapper script 
Ben Konrath bd6a7ae
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath bd6a7ae
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
Ben Konrath bd6a7ae
  $RPM_BUILD_ROOT%{_bindir}/efj 
Ben Konrath bd6a7ae
Ben Konrath 3f0aaa6
# Install the ecj wrapper script
Ben Konrath 3f0aaa6
install -p -D -m0755 %{SOURCE18} $RPM_BUILD_ROOT%{_bindir}/ecj
Ben Konrath 3f0aaa6
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj 
Ben Konrath 3f0aaa6
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
Andrew Overholt eb1eea2
install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0c
Andrew Overholt eb1eea2
SDKPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | grep eclipse.sdk_ | sed "s/org.eclipse.sdk_//")
Ben Konrath ccb00c7
# Put Fedora Core version into about.mappings of org.eclipse.sdk and
Ben Konrath ccb00c7
# org.eclipse.platform to show it in # Eclipse about dialog.  (courtesy Debian
Ben Konrath ccb00c7
# Eclipse packagers)
Ben Konrath 02a0b82
# FIXME use the third id
Andrew Overholt eb1eea2
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.sdk_$SDKPLUGINVERSION
Andrew Overholt eb1eea2
OS_VERSION=$(cat /etc/*-release | head -n 1)
Andrew Overholt bfa8a41
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Andrew Overholt 1b72b0d
mv about.mappings.tmp about.mappings
Andrew Overholt 1b72b0d
popd
Andrew Overholt eb1eea2
PLATFORMPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt eb1eea2
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMPLUGINVERSION
Andrew Overholt bfa8a41
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Ben Konrath ccb00c7
mv about.mappings.tmp about.mappings
Ben Konrath ccb00c7
popd
Andrew Overholt 1b72b0d
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt 357a573
cp %{SOURCE16} copy-platform
cvsdist 38d0d0c
(
cvsdist 38d0d0c
  cd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 817e881
  ls -d * | egrep -v '^(plugins|features|links|about_files)$'
Ben Konrath 817e881
  ls -d plugins/* features/* links/*
cvsdist 38d0d0c
) |
cvsdist 38d0d0c
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform
cvsdist 38d0d0c
Ben Konrath 817e881
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath 817e881
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath c6cf50d
Andrew Overholt 357a573
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt 357a573
## BEGIN ANT ##
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-antlr.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-bcel.jar
Ben Konrath 6ebb2cd
#rm plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-commons-logging.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-commons-net.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-icontract.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-jai.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-javamail.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-jdepend.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-jmf.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-jsch.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-junit.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-launcher.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-netrexx.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-nodeps.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-starteam.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-stylebook.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-swing.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-trax.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-vaj.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-weblogic.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-xalan1.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-xslp.jar
Ben Konrath 02a0b82
# FIXME use build-jar-repository
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.6.5/lib/ant-antlr.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bcel.jar
Ben Konrath 6ebb2cd
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bsf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-logging.jar
Ben Konrath 02a0b82
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 02a0b82
# the symlinks that are commented out are not currently shipped on Fedora
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-net.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant_1.6.5/lib/ant-icontract.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.6.5/lib/ant-jai.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.6.5/lib/ant.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.6.5/lib/ant-javamail.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.6.5/lib/ant-jdepend.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.6.5/lib/ant-jmf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.6.5/lib/ant-jsch.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.6.5/lib/ant-junit.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.6.5/lib/ant-netrexx.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.6.5/lib/ant-nodeps.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.6.5/lib/ant-starteam.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.6.5/lib/ant-stylebook.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.6.5/lib/ant-swing.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.6.5/lib/ant-trax.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant_1.6.5/lib/ant-vaj.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.6.5/lib/ant-weblogic.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant_1.6.5/lib/ant-xalan1.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant_1.6.5/lib/ant-xslp.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt eb1eea2
Andrew Overholt 70f581f
# BEGIN LUCENE ##
Andrew Overholt eb1eea2
LUCENEPLUGINVERSION=$(ls plugins | grep lucene | sed 's/org.apache.lucene_//')
Andrew Overholt eb1eea2
rm plugins/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3.jar
Andrew Overholt eb1eea2
ln -s %{_javadir}/lucene.jar \
Andrew Overholt eb1eea2
  plugins/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3.jar
Andrew Overholt eb1eea2
# org.eclipse.platform.source is in the arch-specific location
Andrew Overholt eb1eea2
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt eb1eea2
PLATFORMSOURCEVERSION=$(ls plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
Andrew Overholt eb1eea2
rm plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION/src/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3-src.zip
Andrew Overholt eb1eea2
ln -s %{_usr}/src/lucene/lucene-1.4.3.jar \
Andrew Overholt eb1eea2
  plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION/src/org.apache.lucene_$LUCENEPLUGINVERSION/lucene-1.4.3-src.zip
Andrew Overholt eb1eea2
popd
Andrew Overholt 70f581f
# END LUCENE ##
Andrew Overholt d5d15bb
Andrew Overholt f335515
## BEGIN TOMCAT ##
Andrew Overholt f3d2f35
TOMCATPLUGINVERSION=$(ls plugins | grep tomcat | sed 's/org.eclipse.tomcat_//')
Andrew Overholt 4fdd733
mkdir -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib
Andrew Overholt 4fdd733
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/bootstrap.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina-optional.jar
Andrew Overholt 4fdd733
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-compiler.jar
Andrew Overholt 4fdd733
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-runtime.jar
Andrew Overholt 4fdd733
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j.jar
Andrew Overholt 4fdd733
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-impl.jar
Andrew Overholt 4fdd733
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-jmx.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-factory.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-resources.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-default.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-invoker.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-coyote.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-http.jar
Ben Konrath a5afaea
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-util.jar
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-beanutils
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-collections
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-dbcp
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester-rss
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-el
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-fileupload
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-launcher
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-logging-api
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-modeler
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-pool
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib jspapi
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib regexp
Andrew Overholt 4fdd733
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib servletapi5
Andrew Overholt f335515
## END TOMCAT ##
Ben Konrath d8e9287
Andrew Overholt 7f96ff5
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt 357a573
Ben Konrath 0a684ca
# link to the jsch jar
Ben Konrath 0a684ca
rm plugins/com.jcraft.jsch_0.1.28.jar
Ben Konrath 0a684ca
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.28.jar
Ben Konrath 0a684ca
Ben Konrath 3f0aaa6
# Ensure that the zip files are the same across all builds.
Ben Konrath 3f0aaa6
# This is needed to make these package multilib compatible.
Ben Konrath 365f2e6
# FIXME: this needs to be re-written as a separate program
Ben Konrath 365f2e6
# warning: big hack!
Ben Konrath 7e428e2
#mkdir -p ${RPM_BUILD_ROOT}/tmp
Ben Konrath 7e428e2
#for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do
Ben Konrath 7e428e2
#  # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 7e428e2
#  ZIPNAME=`basename $zip`
Ben Konrath 7e428e2
#  TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` 
Ben Konrath 7e428e2
#  ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX`        
Ben Konrath 7e428e2
#  
Ben Konrath 7e428e2
#  pushd $TMPDIR 
Ben Konrath 7e428e2
#  unzip -qq -o $zip
Ben Konrath 7e428e2
#  rm -f $zip    
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#  # check if there are jars or zips inside the zip or jar
Ben Konrath 7e428e2
#  zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar`
Ben Konrath 7e428e2
#  if [ -n "$zipsinside" ]; then
Ben Konrath 7e428e2
#     for zip2 in $zipsinside; do
Ben Konrath 7e428e2
#       # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 7e428e2
#       ZIPNAME2=`basename $zip2`
Ben Konrath 7e428e2
#       TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX`
Ben Konrath 7e428e2
#       ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX`
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#       pushd $TMPDIR2
Ben Konrath 7e428e2
#       unzip -qq -o $zip2
Ben Konrath 7e428e2
#       rm -f $zip2
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#       # create the directories first
Ben Konrath 7e428e2
#       for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 7e428e2
#         mkdir -p $ZIPDIR2/$d
Ben Konrath 7e428e2
#       done
Ben Konrath 7e428e2
#       # move the contents over to the a new directory in order and set the times. 
Ben Konrath 7e428e2
#       for f in `find -type f | LC_ALL=C sort`; do
Ben Konrath 7e428e2
#         cp $f $ZIPDIR2/$f
Ben Konrath 7e428e2
#         touch --date="1970-01-01 UTC" $ZIPDIR2/$f
Ben Konrath 7e428e2
#       done
Ben Konrath 7e428e2
#       popd
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#       # Set the times of the directories.
Ben Konrath 7e428e2
#       touch --date="1970-01-01 UTC" `find $ZIPDIR2 -type d`
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#       # make the new zip
Ben Konrath 7e428e2
#       pushd $ZIPDIR2
Ben Konrath 7e428e2
#       find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@
Ben Konrath 7e428e2
#       popd
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#       # Cleanup.
Ben Konrath 7e428e2
#       rm -rf $TMPDIR2
Ben Konrath 7e428e2
#       rm -rf $ZIPDIR2
Ben Konrath 7e428e2
#     done
Ben Konrath 7e428e2
#  fi 
Ben Konrath 7e428e2
#  
Ben Konrath 7e428e2
#  # now on to the original zip or jar.
Ben Konrath 7e428e2
#  # create the directories first
Ben Konrath 7e428e2
#  for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 7e428e2
#    mkdir -p $ZIPDIR/$d
Ben Konrath 7e428e2
#  done 
Ben Konrath 7e428e2
#  # move the contents over to the a new directory in order and set the times. 
Ben Konrath 7e428e2
#  for f in `find -type f | LC_ALL=C sort`; do 
Ben Konrath 7e428e2
#    cp $f $ZIPDIR/$f
Ben Konrath 7e428e2
#    touch --date="1970-01-01 UTC" $ZIPDIR/$f
Ben Konrath 7e428e2
#  done
Ben Konrath 7e428e2
#  popd
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#  # Set the times of the directories.
Ben Konrath 7e428e2
#  touch --date="1970-01-01 UTC" `find $ZIPDIR -type d`
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#  # make the new zip
Ben Konrath 7e428e2
#  pushd $ZIPDIR
Ben Konrath 7e428e2
#  find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@
Ben Konrath 7e428e2
#  popd
Ben Konrath 7e428e2
#
Ben Konrath 7e428e2
#  # Cleanup.
Ben Konrath 7e428e2
#  rm -rf $TMPDIR
Ben Konrath 7e428e2
#  rm -rf $ZIPDIR
Ben Konrath 7e428e2
#done
Ben Konrath 7e428e2
#rm -rf ${RPM_BUILD_ROOT}/tmp
Andrew Overholt 011d0ec
Ben Konrath 365f2e6
# remove this python script so that it is not aot compiled, thus avoiding a
Ben Konrath 365f2e6
# multilib conflict
Ben Konrath 365f2e6
ANTPLUGINVERSION=$(ls plugins | grep org.apache.ant_ | sed 's/org.apache.ant_//')
Ben Konrath 365f2e6
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
Ben Konrath 365f2e6
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 3f0aaa6
# exclude org.eclipse.ui.ide to work around
Ben Konrath 3f0aaa6
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175547
Ben Konrath 3f0aaa6
UIIDEPLUGINVERSION=$(ls plugins | grep ui.ide_ | sed 's/org.eclipse.ui.ide_//')
Ben Konrath 2f4af8b
%ifnarch ia64
Ben Konrath 2f4af8b
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION
Ben Konrath 2f4af8b
%else
Ben Konrath e9c9d5e
OSGIPLUGINVERSION=$(ls plugins | grep osgi_ | sed 's/org.eclipse.osgi_//')
Ben Konrath 2f4af8b
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION \
Ben Konrath e9c9d5e
                --exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_$OSGIPLUGINVERSION
Ben Konrath 2f4af8b
%endif
Ben Konrath 3ab757b
%endif
Andrew Overholt 4aa52c0
Andrew Overholt 357a573
%clean
Andrew Overholt 357a573
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 4aa52c0
Andrew Overholt 76e1a94
%post platform
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt eb1eea2
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea2
then
Andrew Overholt eb1eea2
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea2
fi
Andrew Overholt 5f25d4d
%endif
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
cvsdist 38d0d0c
Andrew Overholt 75af349
%postun platform
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt eb1eea2
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea2
then
Andrew Overholt eb1eea2
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea2
fi
Andrew Overholt 5f25d4d
%endif
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
Ben Konrath 0b18469
Andrew Overholt a10e445
%post sdk
Ben Konrath 0b18469
%if %{gcj_support}
Andrew Overholt eb1eea2
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea2
then
Andrew Overholt eb1eea2
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea2
fi
Ben Konrath 0b18469
%endif
Ben Konrath 3f0aaa6
if [ -f %{_libdir}/%{name}/configuration/config.ini ]; then
Andrew Overholt bfa8a41
  sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.sdk.ide/" \
Ben Konrath 3f0aaa6
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath ccb00c7
fi
Ben Konrath 0b18469
Andrew Overholt a10e445
%postun sdk
Ben Konrath 0b18469
%if %{gcj_support}
Andrew Overholt eb1eea2
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea2
then
Andrew Overholt eb1eea2
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea2
fi
Ben Konrath 0b18469
%endif
Andrew Overholt a10e445
# Only set the product back to platform.ide if the sdk is actually removed for
Andrew Overholt a10e445
# this arch.  This SDKDIR check is to deal with the ordering of new %%post
Andrew Overholt a10e445
# before old %%postun
Ben Konrath e9c9d5e
if [ -d /usr/lib/eclipse/features ]; then
Ben Konrath 125528f
  SDKDIR=$(ls %{_libdir}/%{name}/features | grep "org\.eclipse\.sdk_")
Ben Konrath 125528f
else
Ben Konrath 125528f
  SDKDIR=""
Ben Konrath 125528f
fi
Andrew Overholt a10e445
if [ -z "$SDKDIR" -a -f %{_libdir}/%{name}/configuration/config.ini ]; then
Andrew Overholt bfa8a41
  sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.platform.ide/" \
Andrew Overholt bfa8a41
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath ccb00c7
fi
Andrew Overholt 75af349
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath 6d33386
%post ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%post pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%postun pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d33386
%endif
Andrew Overholt 00fc6fa
Andrew Overholt 4aa52c0
%files ecj
Ben Konrath 02a0b82
%defattr(-,root,root)
Andrew Overholt 4aa52c0
%dir %{_datadir}/%{name}
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/plugins
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 02a0b82
%{_javadir}/eclipse-ecj.jar
Ben Konrath 02a0b82
%{_javadir}/jdtcore.jar
Ben Konrath 02a0b82
%{_bindir}/ecj
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 8fdd632
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Andrew Overholt 29362a4
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
Ben Konrath 02a0b82
%defattr(-,root,root)
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/plugins
Ben Konrath c7a0f84
%dir %{_libdir}/%{name}
Ben Konrath 848f208
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/plugins
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 3f0aaa6
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath 6d33386
# FIXME: do we need to build?
Ben Konrath 6d33386
#%{_libdir}/%{name}/libcairo-swt.so
Ben Konrath 365f2e6
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 8fdd632
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Ben Konrath 6d33386
%files rcp
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 6d33386
%dir %{_datadir}/%{name}/features
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt bfa8a41
%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/.eclipseextension
Ben Konrath 6d33386
%{_datadir}/%{name}/.eclipseproduct
Ben Konrath 6d33386
%{_datadir}/%{name}/notice.html
Ben Konrath 6d33386
%{_datadir}/%{name}/epl-v10.html
Ben Konrath 3f0aaa6
%{_datadir}/%{name}/links
Ben Konrath 6d33386
%ifarch %{ix86} x86_64
Ben Konrath 6d33386
%{_datadir}/%{name}/about.html
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
%{_datadir}/%{name}/startup.jar
Ben Konrath 6d33386
%ifarch x86_64
Ben Konrath 3f0aaa6
%{_datadir}/%{name}/about_files
Ben Konrath 6d33386
%endif
Ben Konrath 3f0aaa6
%{_datadir}/%{name}/readme
Ben Konrath b0e9bcf
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Ben Konrath 7e428e2
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.equinox.app_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/plugins/com.ibm.icu_*
Ben Konrath 9a1ee3b
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
Ben Konrath 9a1ee3b
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.help_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
Ben Konrath 4e39f3c
%ifnarch ia64
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
Ben Konrath 4e39f3c
%endif
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.equinox.launcher_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.equinox.app_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/com.ibm.icu_*
Ben Konrath 9a1ee3b
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
Ben Konrath 9a1ee3b
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.help_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding.beans_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/startup.jar*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Ben Konrath 6d33386
%files rcp-sdk
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.rcp.source.linux.gtk.%{eclipse_arch}*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/plugins/com.ibm.icu.source_*
Andrew Overholt c18750b
Andrew Overholt 76e1a94
%files platform -f %{name}-platform.install
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 3f0aaa6
%attr(0755,root,root) %{_bindir}/%{name}
Ben Konrath 6d33386
%{_datadir}/%{name}/eclipse.ini
Ben Konrath 6d33386
%{_datadir}/applications/*
Ben Konrath 6d33386
%{_datadir}/pixmaps/*
Ben Konrath 6d33386
%{_datadir}/icons/*/*/apps/*
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.platform_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/features/org.eclipse.cvs_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/features/org.eclipse.cvs.source_*
Andrew Overholt d48e295
%{_datadir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.cvs_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.cvs.source_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Ben Konrath 6d33386
%ifarch %{ix86} x86_64
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.apache.ant_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.apache.lucene_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Ben Konrath 817e881
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.text_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.search_*
Andrew Overholt 5f25d4d
%if %{gcj_support}
Ben Konrath f8259ba
%{_libdir}/gcj/%{name}/org.eclipse.equinox.initializer_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.ui.ide.application_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.cvs_*
Ben Konrath 3f0aaa6
#%{_libdir}/gcj/%{name}/org.eclipse.ui.ide_*
Ben Konrath 7e428e2
%ifnarch ia64
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/com.jcraft.jsch_*
Ben Konrath 7e428e2
%endif
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.text_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.search_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/universal.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/webapp.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/tomcatwrapper.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/compatibility.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/platform.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/servlets.jar*
Andrew Overholt 4fdd733
# FIXME:  we need to symlink these
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/ant-apache-bsf.jar*
Andrew Overholt 4fdd733
%{_libdir}/gcj/%{name}/jsp.jar*
Andrew Overholt 4fdd733
%{_libdir}/gcj/%{name}/parser.jar*
Andrew Overholt c0ccd91
%endif
Andrew Overholt a1ea6b3
Ben Konrath 9507d8b
%files platform-sdk
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
Ben Konrath 3f0aaa6
%{_libdir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.%{eclipse_arch}_*
Ben Konrath 49bd3cd
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
Ben Konrath 365f2e6
%{_libdir}/%{name}/plugins/org.eclipse.platform.source_*
Ben Konrath 2f9a66d
%if %{gcj_support}
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
Ben Konrath 2f9a66d
%endif
Andrew Overholt 4aa52c0
Ben Konrath 6d33386
%files jdt
Ben Konrath 6d33386
%defattr(-,root,root)
Ben Konrath 6d33386
%{_bindir}/efj
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.jdt_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.junit_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
Ben Konrath 817e881
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
Ben Konrath e9c9d5e
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
Ben Konrath e9c9d5e
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit4.runtime_*
Ben Konrath e9c9d5e
%{_datadir}/%{name}/plugins/org.junit4_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
Ben Konrath e9c9d5e
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.ui_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath e9c9d5e
%{_libdir}/gcj/%{name}/junit-4.1.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
Ben Konrath e9c9d5e
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
Ben Konrath e9c9d5e
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
Ben Konrath e9c9d5e
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/junitruntime.jar.*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/junitsupport.jar.*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/jdimodel.jar.*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/jdi.jar.*
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
Ben Konrath 6d33386
%files jdt-sdk
Ben Konrath 6d33386
%defattr(-,root,root)
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
Ben Konrath adc3ae7
%{_libdir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
Ben Konrath 6d33386
Ben Konrath 6d33386
%files pde
Ben Konrath 6d33386
%defattr(-,root,root)
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.pde_*
Ben Konrath adc3ae7
%{_libdir}/%{name}/plugins/org.eclipse.pde.doc.user_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.build_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.build
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
Ben Konrath 7e428e2
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui.templates_*
Ben Konrath 817e881
%{_datadir}/%{name}/buildscripts
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
Ben Konrath 7e428e2
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui.templates_*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/pdebuild.jar*
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
Ben Konrath 6d33386
%files pde-runtime
Ben Konrath 6d33386
%defattr(-,root,root)
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 6d33386
%if %{gcj_support}
Ben Konrath 6d33386
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
Ben Konrath 6d33386
%endif
Ben Konrath 6d33386
Ben Konrath 6d33386
%files pde-sdk
Ben Konrath 6d33386
%defattr(-,root,root)
Ben Konrath 6d33386
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
Ben Konrath 6d33386
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
Ben Konrath 6d33386
Ben Konrath 6d33386
%files sdk
Ben Konrath 6d33386
%defattr(-,root,root)
Andrew Overholt a10e445
%{_libdir}/%{name}/features/org.eclipse.sdk_*
Andrew Overholt a10e445
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
Ben Konrath 6d33386
Andrew Overholt 357a573
%changelog
Ben Konrath 7e428e2
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.M5eh
Ben Konrath 7e428e2
- 3.3RC1.
Ben Konrath 7e428e2
- Pull in changes from F-7.
Ben Konrath 7e428e2
Ben Konrath 7e428e2
* Mon Feb 26 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M5eh
Ben Konrath 7e428e2
- 3.3M5.
Ben Konrath 7e428e2
- Remove launcher-addplatformtotildeeclipse.patch as it's only needed 
Ben Konrath 7e428e2
  for FC-5 -> FC-6.
Ben Konrath 7e428e2
- Remove swt firefox patches as they are no longer needed.
Ben Konrath 7e428e2
- Remove ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 7e428e2
- Remove use-built-launcher patch.
Ben Konrath 7e428e2
- Update set-launcher-and-configuration-dir patch.
Ben Konrath 7e428e2
Ben Konrath 7e428e2
* Mon Jan 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.M4
Ben Konrath 7e428e2
- Enable updated ecj square brackets patch.
Ben Konrath 7e428e2
Ben Konrath 7e428e2
* Fri Jan 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.M4
Ben Konrath 7e428e2
- Pull in fixes from rawhide.
Ben Konrath 7e428e2
Ben Konrath 7e428e2
* Wed Dec 20 2006 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M4
Ben Konrath 7e428e2
- 3.3M4.
Ben Konrath 7e428e2
- Update patches for 3.3M4.
Ben Konrath 7e428e2
- Remove SWT JNI symlinks in %%{_libdir}.
Ben Konrath 3f14355
Ben Konrath c7a0f84
* Wed Dec 6 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-25
Ben Konrath c7a0f84
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
Ben Konrath c7a0f84
- Resolves: #211008.
Ben Konrath c7a0f84
Andrew Overholt eb1eea2
* Tue Dec 5 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-24
Andrew Overholt eb1eea2
- Specfile review with Ben Konrath.
Andrew Overholt eb1eea2
- Lots of cleanups.
Andrew Overholt eb1eea2
Andrew Overholt f521f4b
* Tue Nov 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-23
Andrew Overholt f521f4b
- Move back to ~/.eclipse for update site pending upstream comments.
Andrew Overholt f521f4b
- Add patch to add platform to ~/.eclipse's platform.xml.  This maintains
Andrew Overholt 6e68df6
  user-installed plugins but allows us to remove the pre-configured
Andrew Overholt 6e68df6
  platform.xml in the OSGi configuration area.
Andrew Overholt f521f4b
Andrew Overholt d43e125
* Mon Nov 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-22
Andrew Overholt d43e125
- Use ~/.eclipseplugins instead of ~/.eclipse in update site - homedir patch.
Andrew Overholt d43e125
- Bump release.
Andrew Overholt d43e125
Ben Konrath ddd3836
* Fri Nov 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-21
Ben Konrath ddd3836
- Add patch to workaround an xml parsing bug in libgcj (gcc bug #29853).
Ben Konrath ddd3836
- Resolves: #209393.
Ben Konrath ddd3836
Andrew Overholt 94d2ca8
* Fri Nov 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-20
Andrew Overholt 94d2ca8
- Revise gre64 patch to just do ppc64 addition and not ordering change.
Andrew Overholt 94d2ca8
Andrew Overholt 69fddf9
* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-19
Andrew Overholt 69fddf9
- Add patch to look at gre64.conf on ppc64.
Andrew Overholt 69fddf9
Ben Konrath 1d4ed3d
* Fri Nov 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-18
Ben Konrath 1d4ed3d
- Remove SWT ON_TOP patch as it is fixed in 3.2.1.
Ben Konrath 1d4ed3d
Ben Konrath 049a20d
* Thu Nov 09 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-17
Ben Konrath 049a20d
- Add file level requirement for swt fragment to rcp and platform packages.
Ben Konrath 049a20d
  This is needed so that the rcp and platform packages pull in the swt package
Ben Konrath 049a20d
  of the correct word size.
Ben Konrath 049a20d
Ben Konrath 817e881
* Mon Nov 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-16
Ben Konrath 817e881
- Move copy-platform back to %%{_datadir}/eclipse.
Ben Konrath 817e881
- Require gjdoc >= 0.7.7-14 as it generates consistent html across archs.
Ben Konrath 817e881
- Move most of the doc plugins back to %%{_datatdir}/eclipse now that gjdoc 
Ben Konrath 817e881
  is fixed. 
Ben Konrath 817e881
Andrew Overholt a10e445
* Fri Nov 03 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-15
Andrew Overholt a10e445
- Make sdk require config.ini itself rather than the package to deal with the
Andrew Overholt a10e445
  bi-arch installation situation.
Andrew Overholt a10e445
- Move sdk feature and plugin to %%{_libdir} so we can check for its existence
Andrew Overholt a10e445
  in the post scripts.
Andrew Overholt a10e445
Andrew Overholt bfa8a41
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-14
Andrew Overholt bfa8a41
- Remove post sections that munge eclipse.product; always set it to
Andrew Overholt bfa8a41
  org.eclipse.platform.ide or org.eclipse.sdk.ide.
Andrew Overholt bfa8a41
- Remove changelogs prior to 3.2.0.
Andrew Overholt bfa8a41
Ben Konrath 49bd3cd
* Thu Nov 02 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-12
Ben Konrath 49bd3cd
- Move doc plugins to %%{_libdir}/eclipse/plugins because of html is being
Ben Konrath 49bd3cd
  generated differently on different arches.
Ben Konrath 49bd3cd
- Fix multilib problem when there are two or more jars within a jar.
Andrew Overholt afeeac0
- BR dos2unix always (for mac2unix).
Ben Konrath 49bd3cd
Ben Konrath 4792512
* Wed Nov 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-11
Ben Konrath 365f2e6
- Move copy-platform to %%{_libdir}/eclipse
Ben Konrath 365f2e6
- Move the platform.source, icu4j, icu4j.source, help.webapp and
Ben Konrath 49bd3cd
  update.core.linux plugins to %%{_libdir}/eclipse/plugins because these plugins
Ben Konrath 49bd3cd
  have platform specific content. Some of the platform specific content may be
Ben Konrath 49bd3cd
  a result of bugs in libgcj. These need to be investigated.
Ben Konrath 365f2e6
- Disable building the help indexes on all archs so that we have the same doc
Andrew Overholt aa463b7
  plugins on all archs.
Ben Konrath 365f2e6
- Remove org.apache.ant_1.6.5/bin/runant.py to avoid multilib conflicts.
Ben Konrath 365f2e6
- Repack all the jars and the jars within those jars. This is needed 
Ben Konrath 365f2e6
  to make this package multilib compatible.
Andrew Overholt aa463b7
- Put SWT symlinks in %%{_libdir}/eclipse instead of 
Ben Konrath 365f2e6
  %%{_libdir}/eclipse/plugins.
Ben Konrath 365f2e6
Ben Konrath 4792512
* Wed Nov 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt 51e09a3
- Use equinox initializer instead of old patch to core.runtime.
Andrew Overholt 51e09a3
- Run initializer *after* splitting install into arch-specific and
Andrew Overholt 51e09a3
  arch-independent locations.
Andrew Overholt 6903f2e
- Move copy-platform to arch-specific location.
Andrew Overholt ba28612
- Get rid of broken symlinks in tomcat plugin.
Andrew Overholt 51e09a3
Andrew Overholt f20de88
* Tue Oct 31 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt f20de88
- Fix copy-platform to work with split install.
Andrew Overholt f20de88
Ben Konrath 4f5dfda
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-10
Ben Konrath 4f5dfda
- Add 3.2.1 splash screen.
Ben Konrath 4f5dfda
- Sort the java source files before building (#209249).
Ben Konrath 4f5dfda
- Remove Fedora ifdefs.
Ben Konrath 4f5dfda
- Resolves: #209249.
Ben Konrath 4f5dfda
Ben Konrath 64c07e2
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
Ben Konrath 64c07e2
- Re-enable building of the icu4j plugins.
Ben Konrath 64c07e2
Ben Konrath 224c683
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
Ben Konrath 224c683
- Temporarily disable building of icu4j plugin.
Ben Konrath 224c683
Andrew Overholt 6e85ee3
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
Andrew Overholt 6e85ee3
- Fix eclipse-ecj symlink to point to correct location.
Andrew Overholt 6e85ee3
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
Andrew Overholt 6e85ee3
  target-dependent.
Andrew Overholt 6e85ee3
Ben Konrath a0475b3
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
Ben Konrath 3f0aaa6
- Add patch for ecj [] classpath problem.
Ben Konrath 3f0aaa6
- Remove configuration files from rcp files list. 
Ben Konrath 3f0aaa6
- Add patch set bindir and shared config patch to allow the eclipse binary
Ben Konrath 3f0aaa6
  to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
Ben Konrath 3f0aaa6
  set osgi.sharedConfiguration.area config on a per build basis so that the
Ben Konrath 3f0aaa6
  configuration directory can be arch dependant.
Ben Konrath 3f0aaa6
- Remove launcher link patch as the bindir patch removes the requirement for
Ben Konrath 3f0aaa6
  this patch.
Ben Konrath 3f0aaa6
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
Ben Konrath 3f0aaa6
- Add Requies(post,postun) to all packages to ensure that no files are left
Ben Konrath 3f0aaa6
  behind when eclipse is un-installed.
Ben Konrath 3f0aaa6
- Many spec file clean ups.
Ben Konrath 3f0aaa6
- Resolves: #199961, #202585, #210764, #207016.
Ben Konrath 3f0aaa6
- Related: #175547.
Ben Konrath 3f0aaa6
Andrew Overholt 5dbd5e5
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 7036396
- Remove unneeded tomcat symlinks.
Andrew Overholt 7036396
Andrew Overholt 7036396
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 5dbd5e5
- Remove unnecessary bits of configuration.
Andrew Overholt 5dbd5e5
- Resolves: #210764, #202585.
Andrew Overholt 5dbd5e5
Ben Konrath 2224362
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
Ben Konrath 2224362
- Remove perl dependancy.
Ben Konrath 2224362
- Fix offsets in libswt-enableallandO2 patch.
Ben Konrath 2224362
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
Ben Konrath 2224362
  uninstalling the java stack.
Ben Konrath 9a1ee3b
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
Ben Konrath 9a1ee3b
  plugins have dependancies on some plugins in rcp.
Ben Konrath 2224362
Andrew Overholt a0f3f71
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
Andrew Overholt a0f3f71
- Fix triggerpostun to include epoch of previous releases.
Andrew Overholt a0f3f71
Ben Konrath fdbfdd8
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
Ben Konrath fdbfdd8
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
Ben Konrath fdbfdd8
  postun scripts work correctly.
Ben Konrath fdbfdd8
Andrew Overholt ae97910
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
Andrew Overholt 77f0f3e
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
Andrew Overholt 77f0f3e
  (rh#207442, rh#207013).
Andrew Overholt ae97910
Andrew Overholt f8a8826
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
Andrew Overholt 77f0f3e
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
Andrew Overholt f8a8826
Ben Konrath b2eb34a
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
Ben Konrath b2eb34a
- 3.2.1 final.
Ben Konrath b2eb34a
Ben Konrath b2eb34a
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
Andrew Overholt 2487868
- Use new swt-firefox patch and consolidate others into one.
Andrew Overholt 2487868
Ben Konrath 4bb03b3
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
Ben Konrath 84d4ee7
- Fix typo in %%postun of -sdk and -platform.
Ben Konrath 4453b3c
- Disable help index generation on ia64.
Ben Konrath 4bb03b3
Ben Konrath f876b7b
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
Ben Konrath 84d4ee7
- Don't set eclipse.product incorrectly in %%postun of -sdk and -platform.
Ben Konrath f876b7b
Ben Konrath ccb00c7
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1 
Ben Konrath ccb00c7
- M20060921-0945 (3.2.1 pre-release).
Ben Konrath ccb00c7
- Upadate patches to 3.2.1.
Ben Konrath ccb00c7
- Add icu4j 3.4.5 sources.
Ben Konrath ccb00c7
- Add Fedora version to platform about.mappings as well as sdk.
Ben Konrath ccb00c7
Andrew Overholt 146eb27
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
Andrew Overholt 146eb27
- Remove unused eclipse.conf.
Andrew Overholt 146eb27
- Remove unused gre64.conf patch (applied upstream).
Andrew Overholt 146eb27
Ben Konrath 7ab720b
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
Ben Konrath 7ab720b
- Use real SWT version on ia64, ppc64, s390 and s390x.
Ben Konrath 7ab720b
- Remove the swt native libs from the rcp sub-package because they are 
Ben Konrath 7ab720b
  already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
Ben Konrath 7ab720b
- Set correct eclipse.product in post and postun of sdk and platform
Ben Konrath 7ab720b
  sub-packages (rh bug # 207442)
Ben Konrath 7ab720b
- Don't set the .eclipseproduct twice.
Ben Konrath 7ab98f8
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
Ben Konrath 7ab98f8
- Move Requires: firefox to libswt3-gtk2.
Ben Konrath 7ab720b
Andrew Overholt 19b36dd
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
Andrew Overholt f3d2f35
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
Andrew Overholt f3d2f35
- Fix tomcat symlinking in %%install to make help work (rh#199453).
Andrew Overholt 19b36dd
Ben Konrath 6d33386
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
Ben Konrath 6d33386
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
Ben Konrath 6d33386
- Re-work files list to match upstream and remove rebuild-sdk-features 
Ben Konrath 6d33386
  (rh bug # 205933).
Ben Konrath 6d33386
Ben Konrath afc2c0d
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
Ben Konrath afc2c0d
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
Ben Konrath 096db9a
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
Ben Konrath 096db9a
- Disable help index generation on s390.
Ben Konrath afc2c0d
Ben Konrath c203e4b
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
Ben Konrath c203e4b
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
Ben Konrath c203e4b
  it has not been applied upstream.
Ben Konrath c203e4b
- Minor spec file clean ups.
Ben Konrath 84d4ee7
- Add %%{name} to the -devel package Provides so that upgrading from 
Ben Konrath c203e4b
  FC-5 to FC-6 works.
Ben Konrath c203e4b
- Re-enable natively compiling the ant.ui plugin.
Ben Konrath c203e4b
- Re-enable natively compiling the team.cvs.core plugin on ia64.
Ben Konrath c203e4b
Ben Konrath d8e9287
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
Ben Konrath d8e9287
- Use the system tomcat on ppc64 and s390x.
Ben Konrath d8e9287
Andrew Overholt 18ed7dc
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
Andrew Overholt 18ed7dc
- Don't use pkg_summary.
Andrew Overholt 18ed7dc
Ben Konrath d509af1
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
Ben Konrath d509af1
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
Ben Konrath 33017f6
- Require java-gcj-compat >= 1.0.64.
Ben Konrath d509af1
Andrew Overholt 839e68f
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
Andrew Overholt 839e68f
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
Andrew Overholt 839e68f
Andrew Overholt 52e37ff
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
Andrew Overholt 03777cc
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
Andrew Overholt 03777cc
  jars that don't exist.
Andrew Overholt 03777cc
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
Andrew Overholt 03777cc
Andrew Overholt b42fa00
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
Andrew Overholt b42fa00
- Use firefox-devel instead of mozilla-devel.
Andrew Overholt b42fa00
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
Andrew Overholt b42fa00
Ben Konrath 760970d
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
Ben Konrath 760970d
- Use sed instead of patches for tomcat version numbers.
Ben Konrath 760970d
Ben Konrath 2069262
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
Ben Konrath 8a9d80d
- Disable build.index doc generation on i386.
Ben Konrath 2069262
Ben Konrath 2069262
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
Andrew Overholt 75b1498
- Remove org.eclipse.ant.ui* from %%files.
Andrew Overholt 75b1498
Ben Konrath 7466a63
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
Ben Konrath e6fae42
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
Ben Konrath 7466a63
9b82965
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
9b82965
- Rebuilt
9b82965
Andrew Overholt 9428e79
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
Andrew Overholt 9428e79
- New splash screen from Diana Fong (rh#199456).
Andrew Overholt 9428e79
Andrew Overholt 9fa962a
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
Andrew Overholt 9fa962a
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
Andrew Overholt 9fa962a
- Fix SWT symlinks.
Andrew Overholt 9fa962a
Igor Foox 4003a9d
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
Igor Foox 4003a9d
- Rebuild.
Igor Foox 4003a9d
Ben Konrath 6387764
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
Ben Konrath 6387764
- Rebuild.
Ben Konrath 6387764
Andrew Overholt 0be4fd5
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt e267f4a
- Temporarily add webapp patch for ppc64 and s390x.
Andrew Overholt a9ae1f6
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
Andrew Overholt 0be4fd5
Andrew Overholt d5d15bb
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt d5d15bb
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
Andrew Overholt d9d5122
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
Andrew Overholt 67abf2a
- Update webapp build patch.
Andrew Overholt 67abf2a
- Use commons-* instead of jakarta-commons-*.
Andrew Overholt e85dc4d
- Don't delete jars in %%install.
Andrew Overholt cbe8e80
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
Andrew Overholt 4fdd733
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
Andrew Overholt 4fdd733
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
Andrew Overholt d5d15bb
Ben Konrath daf6772
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
Ben Konrath daf6772
- Fix tomcat symlinks. 
Ben Konrath daf6772
Andrew Overholt 7f96ff5
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 7f96ff5
- 3.2.0.
Andrew Overholt 7f96ff5
- Remove Provides:  eclipse-sdk from eclipse-platform.
Andrew Overholt 7f96ff5
- Use build-jar-repository where appropriate.
Andrew Overholt 7f96ff5
Ben Konrath 9507d8b
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
Ben Konrath 9507d8b
- Rename -devel packages to -sdk to match upstream names.
Ben Konrath 9507d8b
- Add Provides eclipse-sdk to platform-sdk. 
Ben Konrath 9507d8b
- Remove zip re-pack code.
Ben Konrath 9507d8b
Ben Konrath 9d1c677
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
Ben Konrath 9d1c677
- Bump release again.
Ben Konrath 9d1c677
Ben Konrath 76119c4
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
Ben Konrath 76119c4
- Bump release.
Ben Konrath 76119c4
Ben Konrath 708ba39
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
Ben Konrath 708ba39
- Require java-gcj-compat 1.0.52.
Ben Konrath 708ba39
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
Ben Konrath 708ba39
- Really fix swt symlinks rh #194500.
Ben Konrath 708ba39
Ben Konrath 6ebb2cd
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2f9a66d
- Enable ppc64, s390 and s390x.
Ben Konrath 2f9a66d
- Add check for jars at the end of prep.
Ben Konrath 2f9a66d
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2f9a66d
- Fix swt symlinks rh #194500.
Ben Konrath 2f9a66d
- Add versionless pde.build symlink.
Ben Konrath 2f9a66d
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2f9a66d
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2f9a66d
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 6ebb2cd
Andrew Overholt 3b7f759
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3b7f759
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3b7f759
Ben Konrath 3ab757b
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 3ab757b
- 3.2RC7.
Ben Konrath 3ab757b
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Ben Konrath 3ab757b
  jsch.jar. 
Ben Konrath 3ab757b
- Work around ia64 compile problem in aot-compile-rpm. 
Ben Konrath 3ab757b
Ben Konrath 02a0b82
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 02a0b82
- 3.2RC6.