Ben Konrath 84d4ee
Epoch:  1
cvsdist 38d0d0
Ben Konrath 84d4ee
%define gcj_support     1
Ben Konrath 84d4ee
%define tomcatsharedir  %{_datadir}/tomcat5
Ben Konrath 26ff74
%define tomcatlibdir    %{_var}/lib/tomcat5
cvsdist 38d0d0
%define eclipse_major   3
Ben Konrath 26ff74
%define eclipse_minor   3
cvsdist 38d0d0
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
Ben Konrath 26ff74
%define eclipse_micro   0
cvsdist 38d0d0
%define libname         libswt3
cvsdist 38d0d0
Andrew Overholt eb1eea
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt c6ac08
%ifarch %{ix86}
Andrew Overholt c6ac08
%define eclipse_arch    x86
Andrew Overholt c6ac08
%else
Andrew Overholt c6ac08
%define eclipse_arch   %{_arch}
Andrew Overholt c6ac08
%endif
Andrew Overholt c6ac08
Andrew Overholt 18ed7d
Summary:        An open, extensible IDE
cvsdist 38d0d0
Name:           eclipse
Andrew Overholt 2ea3ea
Version:        %{eclipse_majmin}.%{eclipse_micro}
Ben Konrath 5d4e76
Release:        1%{?dist} 
Ben Konrath 84d4ee
License:        Eclipse Public License
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0
URL:            http://www.eclipse.org/
Ben Konrath 5d4e76
Source0:        http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/eclipse-sourceBuild-srcIncluded-3.3.zip
Ben Konrath 26ff74
Source1:        %{name}-fedora-splash-3.3.0.png
cvsdist 38d0d0
Source2:        %{name}.desktop
Ben Konrath 26ff74
Source3:        eclipse.in
Ben Konrath 3ab757
Source16:       %{name}-copy-platform.sh
Ben Konrath 2f9a66
Source17:       efj.sh.in
Andrew Overholt eb1eea
Source18:       ecj.sh.in
Andrew Overholt eb1eea
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt eb1eea
# when using the FileInitializer
Andrew Overholt c18750
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 51e09a
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
Andrew Overholt 51e09a
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/ 
Andrew Overholt 51e09a
# (generated 2006-11-01 18:48 UTC)
Andrew Overholt 51e09a
Source20:       %{name}-fileinitializerapp.tar.bz2
Ben Konrath 6d3338
Andrew Overholt eb1eea
# These two patches need to go upstream
Ben Konrath 84d4ee
Patch3:         %{name}-libupdatebuild2.patch
Andrew Overholt 066aed
# Build swttools.jar
Andrew Overholt 066aed
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Ben Konrath 84d4ee
Patch4:         %{name}-swttools.patch
Andrew Overholt eb1eea
# This does two things:
Andrew Overholt eb1eea
# 1. allows the launcher to be in /usr/bin and
Andrew Overholt eb1eea
# 2. ensures that the OSGi configuration directory
Andrew Overholt eb1eea
#    (which contains the JNI .sos) is in %{_libdir}
Andrew Overholt eb1eea
# We should investigate whether or not this can go upstream
Ben Konrath 84d4ee
Patch12:        %{name}-launcher-set-install-dir-and-shared-config.patch
Andrew Overholt 832063
# Always generate debug info when building RPMs (Andrew Haley)
Andrew Overholt eb1eea
# This needs to be investigated for getEnv changes
Ben Konrath 84d4ee
Patch14:        %{name}-ecj-rpmdebuginfo.patch
Ben Konrath 02a0b8
# generic releng plugins that can be used to build plugins
Andrew Overholt eb1eea
# see this thread for details: 
Ben Konrath 02a0b8
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Andrew Overholt eb1eea
# This needs to be submitted upstream
Ben Konrath 84d4ee
Patch15:        %{name}-pde.build-add-package-build.patch
Ben Konrath 26ff74
# FIXME: Should we ship tomcat plugins with 3.3?
Andrew Overholt eb1eea
# This tomcat stuff will change when they move to the equinox jetty provider
Ben Konrath 3ab757
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
Ben Konrath 84d4ee
Patch6:         %{name}-tomcat55.patch
Ben Konrath 84d4ee
Patch7:         %{name}-tomcat55-build.patch
Andrew Overholt 9fa962
# Use ecj for gcj
Ben Konrath 84d4ee
Patch17:        %{name}-ecj-gcj.patch
Ben Konrath 7195c4
Patch24:        %{name}-add-ppc64-sparc64-s390-s390x.patch
Andrew Overholt eb1eea
Andrew Overholt eb1eea
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 38d0d0
BuildRequires:  ant
cvsdist 38d0d0
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt 7c41ca
BuildRequires:  gnome-vfs2-devel
Andrew Overholt 7c41ca
BuildRequires:  gtk2-devel
Andrew Overholt 7c41ca
BuildRequires:  glib2-devel
Andrew Overholt 376a96
BuildRequires:  libgnome-devel
Andrew Overholt 376a96
BuildRequires:  libgnomeui-devel
Andrew Overholt b73555
BuildRequires:  gcc-c++
Andrew Overholt b42fa0
BuildRequires:  firefox-devel
Andrew Overholt 6c22b1
BuildRequires:  nspr-devel
Andrew Overholt 45bd4e
BuildRequires:  libXtst-devel
Ben Konrath 02a0b8
BuildRequires:  mesa-libGL-devel
Ben Konrath 02a0b8
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 1b72b0
BuildRequires:  cairo >= 1.0
e416a0
BuildRequires:  unzip
Ben Konrath 26ff74
BuildRequires:  icu4j-eclipse >= 3.6.1
Andrew Overholt 832063
BuildRequires:  java-javadoc
Ben Konrath d18a00
BuildRequires:  desktop-file-utils
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 26ff74
BuildRequires:  gcc-java >= 4.1.2
Ben Konrath 84d4ee
BuildRequires:  java-gcj-compat-devel >= 1.0.64
Andrew Overholt 5f25d4
%else
Ben Konrath 26ff74
BuildRequires:  java-devel >= 1.5.0
Andrew Overholt 5f25d4
%endif
cvsdist 38d0d0
Andrew Overholt eb1eea
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt eb1eea
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 3a1051
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 1cc05a
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 26ff74
BuildRequires: jsch >= 0:0.1.31
Andrew Overholt f33551
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 f33551
BuildRequires: mx4j >= 2.1
Ben Konrath a5afae
BuildRequires: tomcat5 >= 5.5.23
Ben Konrath a5afae
BuildRequires: tomcat5-jasper >= 5.5.23
Ben Konrath a5afae
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.23
Ben Konrath 02a0b8
BuildRequires: lucene
Andrew Overholt eb1eea
BuildRequires: lucene-devel
Ben Konrath 22a1ac
BuildRequires: regexp 
Ben Konrath 41ba94
BuildRequires: junit >= 3.8.1-3jpp
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4
%endif
cvsdist df631d
cvsdist df631d
%description
cvsdist df631d
The Eclipse Platform is designed for building integrated development
cvsdist df631d
environments (IDEs) that can be used to create applications as diverse
cvsdist 38d0d0
as web sites, embedded Java(tm) programs, C++ programs, and Enterprise
cvsdist 38d0d0
JavaBeans(tm).
cvsdist 38d0d0
Andrew Overholt b81887
%package        ecj
Andrew Overholt b81887
Summary:        Eclipse Compiler for Java
Andrew Overholt b81887
Group:          Development/Languages
Ben Konrath 84d4ee
Obsoletes:      ecj <= 2.1.3
Ben Konrath 84d4ee
Provides:       ecj <= 2.1.3
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 84d4ee
Requires:       libgcj >= 4.0.2
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4
%else
Ben Konrath 84d4ee
Requires:       java >= 1.4.2
Andrew Overholt 5f25d4
%endif
Andrew Overholt b81887
Andrew Overholt b81887
%description    ecj
Andrew Overholt b81887
Eclipse compiler for Java.
Andrew Overholt b81887
Ben Konrath 6d3338
%package     -n %{libname}-gtk2
Andrew Overholt eb1eea
Summary:        SWT Library for GTK+-2.0
Ben Konrath 6d3338
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 84d4ee
Requires:           libgcj >= 4.0.2
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 6d3338
%endif
Andrew Overholt eb1eea
Requires:       gtk2
Ben Konrath 7ab98f
Requires:       firefox
Ben Konrath 84d4ee
Conflicts:      mozilla
Ben Konrath 6d3338
Ben Konrath 6d3338
%description -n %{libname}-gtk2
Andrew Overholt eb1eea
SWT Library for GTK+-2.0.
Ben Konrath 6d3338
Ben Konrath 6d3338
%package        rcp
Ben Konrath 6d3338
Summary:        Eclipse Rich Client Platform
Ben Konrath 6d3338
Group:          Development/Languages
Ben Konrath 6d3338
Requires:       %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 840871
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3346.jar
Ben Konrath 84d4ee
Requires(post):     %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):   %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Requires:           icu4j-eclipse > = 3.6.1
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 84d4ee
Requires:           libgcj >= 4.0.2
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 6d3338
%else
Ben Konrath 84d4ee
Requires:       java >= 1.4.2
Ben Konrath 6d3338
%endif
Ben Konrath 6d3338
Ben Konrath 6d3338
%description    rcp
Ben Konrath 6d3338
Eclipse Rich Client Platform
Ben Konrath 6d3338
Ben Konrath 6d3338
%package        rcp-sdk
Andrew Overholt eb1eea
Summary:        Eclipse Rich Client Platform SDK
Ben Konrath 6d3338
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d3338
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 6d3338
Ben Konrath 6d3338
%description    rcp-sdk
Andrew Overholt eb1eea
Source for Eclipse Rich Client Platform for use within Eclipse.
Ben Konrath 6d3338
Ben Konrath 26ff74
%package        cvs-client
Ben Konrath 26ff74
Summary:        Eclipse CVS Client
Ben Konrath 26ff74
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 26ff74
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
%if %{gcj_support}
Ben Konrath 26ff74
Requires:           libgcj >= 4.0.2
Ben Konrath 26ff74
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 26ff74
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 26ff74
%else
Ben Konrath 26ff74
Requires:       java >= 1.4.2
Ben Konrath 26ff74
%endif
Ben Konrath 26ff74
Ben Konrath 26ff74
%description    cvs-client 
Ben Konrath 26ff74
Eclipse CVS Client
Ben Konrath 26ff74
Ben Konrath 26ff74
%package        cvs-client-sdk
Ben Konrath 26ff74
Summary:        Eclipse Rich Client Platform SDK
Ben Konrath 26ff74
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 26ff74
Requires:       %{name}-cvs-client = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Requires(post):    %{name}-cvs-client = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Requires(postun):  %{name}-cvs-client = %{epoch}:%{version}-%{release}
Ben Konrath 26ff74
Ben Konrath 26ff74
%description    cvs-client-sdk
Ben Konrath 26ff74
Source for Eclipse CVS Client for use within Eclipse.
Ben Konrath 26ff74
cvsdist 38d0d0
%package        platform
cvsdist 38d0d0
Summary:        Eclipse platform common files
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4
%endif
Andrew Overholt eb1eea
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 840871
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3346.jar
Ben Konrath 84d4ee
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt eb1eea
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt eb1eea
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 3a1051
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea
#Requires: ant-apache-bsf ant-commons-net
Andrew Overholt eb1eea
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 1cc05a
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt f33551
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 f33551
Requires: mx4j >= 2.1
Ben Konrath a5afae
Requires: tomcat5 >= 5.5.23
Ben Konrath a5afae
Requires: tomcat5-jasper >= 5.5.23
Ben Konrath a5afae
Requires: tomcat5-servlet-2.4-api >= 5.5.23
Ben Konrath 26ff74
Requires: jsch >= 0:0.1.31
Andrew Overholt eb1eea
Requires: lucene, lucene-devel
Ben Konrath 22a1ac
Requires: regexp
cvsdist 38d0d0
cvsdist 38d0d0
%description    platform
Andrew Overholt eb1eea
The Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt eb1eea
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0
Ben Konrath 9507d8
%package        platform-sdk
Andrew Overholt eb1eea
Summary:        Eclipse Platform SDK
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a9
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8
Requires:       %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
cvsdist 38d0d0
Ben Konrath 9507d8
%description    platform-sdk
Andrew Overholt eb1eea
Source and docs for Eclipse Platform for use within Eclipse.
cvsdist 38d0d0
cvsdist 38d0d0
%package        jdt
Andrew Overholt eb1eea
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a57
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 76e1a9
Requires:       %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-ecj = %{epoch}:%{version}-%{release}
d941e6
Requires:       junit >= 3.8.1-3jpp
Andrew Overholt eb1eea
Requires:       java-javadoc
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4
%endif
cvsdist 38d0d0
cvsdist 38d0d0
%description    jdt
Andrew Overholt eb1eea
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt eb1eea
developing software written in the Java programming language.
cvsdist 38d0d0
Ben Konrath 9507d8
%package        jdt-sdk
Andrew Overholt eb1eea
Summary:        Eclipse Java Development Tools SDK
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a57
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 6d3338
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8
Ben Konrath 9507d8
%description    jdt-sdk
Andrew Overholt eb1eea
Source and docs for Eclipse Java Development Tools for use within Eclipse.
cvsdist 38d0d0
cvsdist 38d0d0
%package        pde
Andrew Overholt eb1eea
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a9
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b8
Requires:       %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 5f25d4
%endif
Andrew Overholt 357a57
Andrew Overholt 00fc6f
%description    pde
Andrew Overholt eb1eea
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt eb1eea
developing Eclipse plugins.
Ben Konrath 02a0b8
Ben Konrath 02a0b8
%package        pde-runtime
Andrew Overholt eb1eea
Summary:        Eclipse Plugin Development Environment runtime plugin.
Ben Konrath 02a0b8
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d3338
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b8
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 02a0b8
%endif
Ben Konrath 02a0b8
Ben Konrath 02a0b8
%description    pde-runtime
Andrew Overholt eb1eea
Eclipse Plugin Development Environment runtime plugin (org.eclipse.pde.runtime).
Andrew Overholt 00fc6f
Ben Konrath 9507d8
%package        pde-sdk
Andrew Overholt eb1eea
Summary:        Eclipse Plugin Development Environment SDK
Andrew Overholt 357a57
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a57
Requires:       %{name}-pde = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-pde = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-pde = %{epoch}:%{version}-%{release}
Andrew Overholt 357a57
Ben Konrath 9507d8
%description    pde-sdk
Andrew Overholt eb1eea
Source and docs for Eclipse Plugin Development Environment for use within
Andrew Overholt eb1eea
Eclipse.
cvsdist 38d0d0
Ben Konrath 6d3338
%package        sdk
Andrew Overholt eb1eea
Summary:        Eclipse SDK
Andrew Overholt c18750
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 6d3338
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9507d8
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 6d3338
Requires:       %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 004116
Requires(postun):  %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(post):    %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 84d4ee
Requires(postun):  %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt a10e44
# This file requirement is to deal with the biarch installation case
Ben Konrath 84d4ee
Requires(post):    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 84d4ee
Requires(postun):  %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 222436
%if %{gcj_support}
Ben Konrath 84d4ee
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 84d4ee
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 222436
%endif
Ben Konrath 6d3338
Ben Konrath 6d3338
%description    sdk
Andrew Overholt eb1eea
The Eclipse SDK.  This package is similar to a meta-package which brings in
Andrew Overholt eb1eea
the Eclipse Platform SDK, the Eclipse Java Development Tools SDK, and the
Andrew Overholt eb1eea
Eclipse Plugin Development Environment SDK.  It also contains the
Andrew Overholt eb1eea
org.eclipse.sdk plugin and feature.  This package is only needed if you intend
Andrew Overholt eb1eea
to create Eclipse applications.
Andrew Overholt c18750
cvsdist df631d
%prep
cvsdist 3a4875
%setup -q -c
Andrew Overholt 357a57
Ben Konrath e9c9d5
sed --in-place "s/java5.home/java.home/" build.xml
Andrew Overholt eb1eea
%patch3 -p0
Andrew Overholt eb1eea
# FIXME:  investigate why we are pushd'ing here
Andrew Overholt eb1eea
# Build swttools.jar
d941e6
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
Andrew Overholt eb1eea
%patch4 -p0
Andrew Overholt 066aed
popd
Ben Konrath 2f9a66
Ben Konrath 2f9a66
# tomcat patches
Andrew Overholt f33551
pushd plugins/org.eclipse.tomcat
Andrew Overholt eb1eea
%patch6 -p0
Andrew Overholt eb1eea
%patch7 -p0
Andrew Overholt 7f96ff
popd
Ben Konrath a5afae
sed --in-place "s/4.1.130/5.5.23/g"                      \
Ben Konrath 760970
                features/org.eclipse.platform/build.xml \
Ben Konrath 760970
                plugins/org.eclipse.tomcat/build.xml    \
Ben Konrath 3d0e8b
                plugins/org.eclipse.tomcat/META-INF/MANIFEST.MF   \
Ben Konrath 760970
                assemble.*.xml
Andrew Overholt eb1eea
Ben Konrath 02a0b8
pushd plugins/org.eclipse.jdt.core
Andrew Overholt eb1eea
%patch17 -p0
Andrew Overholt 07b6dd
popd
cvsdist 38d0d0
Ben Konrath 26ff74
# launcher patches
Ben Konrath 26ff74
rm plugins/org.eclipse.platform/launchersrc.zip
Ben Konrath 26ff74
pushd features/org.eclipse.equinox.executable
Andrew Overholt eb1eea
%patch12 -p0
Andrew Overholt eb1eea
# put the configuration directory in an arch-specific location
Ben Konrath 3f0aaa
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Andrew Overholt eb1eea
# make the eclipse binary relocatable 
Ben Konrath 3f0aaa
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 26ff74
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
Andrew Overholt 070039
popd
Andrew Overholt eb1eea
Ben Konrath 7f825e
# use our system-installed javadocs
Ben Konrath 7f825e
sed --in-place "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadocs/java|" \
Ben Konrath 7f825e
   plugins/org.eclipse.platform.doc.isv/platformOptions.txt
Ben Konrath 7f825e
sed --in-place "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadocs/java|" \
Ben Konrath 7f825e
   plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt                     \
Ben Konrath 7f825e
   plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
Ben Konrath 7f825e
sed --in-place "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadocs/java|" \
Ben Konrath 7f825e
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt                       \
Ben Konrath 7f825e
   plugins/org.eclipse.pde.doc.user/pdeOptions
Ben Konrath 26ff74
Andrew Overholt eb1eea
%patch14 -p0
Andrew Overholt 070039
Ben Konrath 02a0b8
pushd plugins/org.eclipse.pde.build
Andrew Overholt eb1eea
%patch15
Andrew Overholt eb1eea
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" templates/package-build/build.properties
Ben Konrath 02a0b8
popd
Ben Konrath 02a0b8
Andrew Overholt eb1eea
# Splashscreen
Ben Konrath 26ff74
cp %{SOURCE1} plugins/org.eclipse.platform/splash.bmp
cvsdist 38d0d0
Ben Konrath 2f9a66
# FIXME this should be patched upstream with a flag to turn on and off 
Ben Konrath 2f9a66
# all output should be directed to stdout
Andrew Overholt eb1eea
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
Ben Konrath 2f9a66
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2f9a66
Andrew Overholt 357a57
# Remove existing .sos
Ben Konrath 02a0b8
find -name \*.so | xargs rm
Andrew Overholt 357a57
Andrew Overholt 357a57
# Symlinks
Andrew Overholt 357a57
Andrew Overholt 357a57
## BEGIN ANT ##
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt eb1eea
# FIXME:  use build-jar-repository
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Andrew Overholt 3a1051
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt eb1eea
# the symlinks that are commented-out are not currently shipped on Fedora
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt 357a57
## END ANT ##
Andrew Overholt eb1eea
Andrew Overholt f33551
## BEGIN TOMCAT ##
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/commons-beanutils.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/commons-collections.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/commons-digester.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/commons-logging-api.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/commons-modeler.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/servlet.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/servlets-manager.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/naming-common.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/servlets-common.jar
Andrew Overholt 7f96ff
rm plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/bootstrap.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/catalina.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/jasper-compiler.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/jasper-runtime.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/mx4j-jmx.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/naming-resources.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/naming-factory.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/servlets-default.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/servlets-invoker.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/tomcat-coyote.jar
Ben Konrath daf677
rm plugins/org.eclipse.tomcat/tomcat-util.jar
Ben Konrath daf677
mkdir -p plugins/org.eclipse.tomcat/lib
Andrew Overholt d9d512
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/lib/bootstrap.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat/lib/catalina.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat/lib/catalina-optional.jar
Andrew Overholt d9d512
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat/lib/jasper-compiler.jar
Andrew Overholt d9d512
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/lib/jasper-runtime.jar
Andrew Overholt d9d512
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/lib/mx4j.jar
Andrew Overholt d9d512
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/lib/mx4j-impl.jar
Andrew Overholt d9d512
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/lib/mx4j-jmx.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat/lib/naming-factory.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat/lib/naming-resources.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat/lib/servlets-default.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat/lib/servlets-invoker.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat/lib/tomcat-coyote.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat/lib/tomcat-http.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat/lib/tomcat-util.jar
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-beanutils
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-collections
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-dbcp
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester-rss
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-el
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-fileupload
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-launcher
Andrew Overholt c0ccd9
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-logging-api
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-modeler
Andrew Overholt 67abf2
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-pool
Andrew Overholt 7f96ff
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib jspapi
Andrew Overholt 7f96ff
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp
Andrew Overholt 7f96ff
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5
Andrew Overholt f33551
## END TOMCAT ##
Ben Konrath d8e928
Ben Konrath 26ff74
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
Ben Konrath 26ff74
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
d941e6
Andrew Overholt 669d04
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
d941e6
# /usr/lib -> /usr/lib64
d941e6
sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh
Andrew Overholt 293274
sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak
Andrew Overholt 669d04
popd
Ben Konrath 2f9a66
Ben Konrath a2dd25
# FIXME: figure out what's going on with build.index. 
Ben Konrath a2dd25
find plugins -type f -name \*.xml -exec sed --in-place "s/\(<antcall target="\"build.index\".*\/">\)/<\!-- \1 -->/" "{}" \;
Ben Konrath a2dd25
Ben Konrath 7ab720
# the swt version is set to HEAD on ia64 but shouldn't be
Ben Konrath 7ab720
# get swt version
Ben Konrath 7ab720
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath 7ab720
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath 7ab720
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath 7ab720
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 7ab720
swt_frag_ver_ia64=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 7ab720
sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml \
Ben Konrath 84d4ee
                                                      assemble.org.eclipse.sdk.linux.gtk.ia64.xml \
Ben Konrath 84d4ee
                                                      features/org.eclipse.rcp/build.xml
Ben Konrath 7ab720
Ben Konrath 26ff74
# we don't have ant 1.7 right now
Ben Konrath 26ff74
sed --in-place "s|\(initialValue = request.getDefaultValue\)|// \1|" \
Ben Konrath 26ff74
  plugins/org.eclipse.ant.ui/Ant\ Runner\ Support/org/eclipse/ant/internal/ui/antsupport/inputhandler/AntInputHandler.java
Ben Konrath 26ff74
sed --in-place "s|\(value = fRequest.getDefaultValue\)|// \1|" \
Ben Konrath 26ff74
  plugins/org.eclipse.ant.ui/Remote\ Ant\ Support/org/eclipse/ant/internal/ui/antsupport/inputhandler/SWTInputHandler.java
Ben Konrath 0a684c
Ben Konrath 7195c4
## Nasty hack to get suppport for ppc64, s390{,x} and sparc{,64}
Ben Konrath 7195c4
%patch24 -p0
Ben Konrath 7195c4
# there is only partial support for ppc64 in 3.2 so we have to remove this 
Ben Konrath 7195c4
# partial support to get the replacemnt hack to work
Ben Konrath 7195c4
find -name \*ppc64\* | xargs rm -r
Ben Konrath 7195c4
# remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 7195c4
# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
Ben Konrath 7195c4
find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \;
Ben Konrath 7195c4
# remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq
Ben Konrath 7195c4
sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 7195c4
# replace final occurances with an existing arch
Ben Konrath 7195c4
sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 7195c4
# Move all of the ia64 directories to ppc64 or s390{,x} or sparc{,64} dirs and replace 
Ben Konrath 7195c4
# the ia64 strings with ppc64 or s390(x)
Ben Konrath 7195c4
%ifarch ppc64 s390 s390x sparc sparc64
Ben Konrath 7195c4
  for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do 
Ben Konrath 7195c4
    mv $f $(echo $f | sed "s/ia64/%{_arch}/")
Ben Konrath 7195c4
  done
Ben Konrath 7195c4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \;
Ben Konrath 7195c4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \;
Ben Konrath 7195c4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \;
Ben Konrath 7195c4
%endif 
Ben Konrath 7195c4
Ben Konrath 6525ab
# remove jdt.apt.pluggable.core, jdt.compiler.tool and org.eclipse.jdt.compiler.apt as they require a JVM that supports Java 1.6
Ben Konrath 6525ab
for plugin in jdt.apt.pluggable.core jdt.compiler.tool jdt.compiler.apt; do
Ben Konrath 6525ab
  version=$(grep org.eclipse.$plugin plugins/org.eclipse.$plugin/build.xml | grep condition.property | cut -d _ -f 2-3 | cut -d \" -f 1)
Ben Konrath 6525ab
  sed --in-place "s/org.eclipse.$plugin:0.0.0,$version,//" features/org.eclipse.jdt/build.xml
Ben Konrath 6525ab
  linenum=$(grep -no $plugin features/org.eclipse.jdt/build.xml | cut -d : -f 1)
Ben Konrath 6525ab
  sed --in-place -e "$linenum,$(expr $linenum + 4)d" features/org.eclipse.jdt/build.xml
Ben Konrath 6525ab
  linenum=$(grep -no $plugin features/org.eclipse.jdt/feature.xml | cut -d : -f 1)
Ben Konrath 6525ab
  sed --in-place -e "$(expr $linenum - 1),$(expr $linenum + 5)d" features/org.eclipse.jdt/feature.xml
Ben Konrath 6525ab
  linenum=$(grep -no "dir=\"plugins/org.eclipse.$plugin" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath 6525ab
  sed --in-place -e "$linenum,$(expr $linenum + 2)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Ben Konrath 6525ab
  linenum=$(grep -no "value=\"org.eclipse.$plugin" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath 6525ab
  sed --in-place -e "$(expr $linenum - 2),$(expr $linenum + 1)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Ben Konrath 6525ab
done
Ben Konrath 6525ab
Ben Konrath 26ff74
# link to the jsch jar
Ben Konrath 26ff74
rm plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 26ff74
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 1621a2
Ben Konrath 26ff74
# link to the icu4j stuff
Ben Konrath 26ff74
rm plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 26ff74
ln -s %{_datadir}/eclipse/plugins/com.ibm.icu_3.6.1.v20070417.jar plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath ccb00c
Ben Konrath ccb00c
# delete included jars
Ben Konrath 38b635
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
Ben Konrath ccb00c
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
Ben Konrath ccb00c
   plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath ccb00c
   plugins/org.eclipse.swt.tools/swttools.jar \
Ben Konrath 26ff74
   plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
Ben Konrath 26ff74
   plugins/org.eclipse.osgi/osgi/osgi.core.jar \
Ben Konrath 26ff74
   plugins/org.eclipse.osgi/supplement/osgi/osgi.jar
Ben Konrath ccb00c
Ben Konrath 02a0b8
# make sure there are no jars left
Ben Konrath 6ebb2c
JARS=""
Ben Konrath 6ebb2c
for j in $(find -name \*.jar); do
Ben Konrath 6ebb2c
  if [ ! -L $j ]; then
Ben Konrath 6ebb2c
    JARS="$JARS $j"
Ben Konrath 6ebb2c
  fi
Ben Konrath 6ebb2c
done
Ben Konrath 6ebb2c
if [ ! -z "$JARS" ]; then
Andrew Overholt eb1eea
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2f9a66
   #FIXME: enable  exit 1
Ben Konrath 6ebb2c
fi
Ben Konrath 02a0b8
Andrew Overholt 51e09a
tar jxf %{SOURCE20}
Andrew Overholt 51e09a
Andrew Overholt 29362a
%build
Andrew Overholt 29362a
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 29362a
Ben Konrath 26ff74
# Bootstrapping:
Ben Konrath 26ff74
# 1. Build ecj with gcj-built ecj ("javac")
Ben Konrath 26ff74
# 2. Re-build ecj with output of 1.
Ben Konrath c203e4
Ben Konrath 26ff74
# 1a. compile ecj with javac
Ben Konrath 26ff74
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 29362a
Ben Konrath c203e4
%if %{gcj_support}
Ben Konrath 26ff74
  # 1b. Natively-compile ecj
Andrew Overholt 5343c5
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c5
    -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
Andrew Overholt 5343c5
   
Andrew Overholt 5343c5
  gcj-dbtool -n jdtcoresrc/ecj.db 30000
Andrew Overholt 5343c5
  gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
Andrew Overholt 3a1051
Ben Konrath 26ff74
  # To ensure we're not using any pre-compiled ecj on the build system, set this
Andrew Overholt 5343c5
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
Andrew Overholt 5f25d4
%endif
Andrew Overholt 29362a
Ben Konrath 26ff74
# 2. Use this ecj to rebuild itself
d941e6
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Ben Konrath 26ff74
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 29362a
Ben Konrath c203e4
%if %{gcj_support}
Andrew Overholt 5343c5
  # Natively-compile it
Andrew Overholt 5343c5
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c5
    -o ecj.jar.so ecj.jar
Andrew Overholt 5343c5
  gcj-dbtool -n ecj.db 30000
Andrew Overholt 5343c5
  gcj-dbtool -a ecj.db ecj.jar{,.so}
Andrew Overholt 5343c5
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
Andrew Overholt 707e45
  
Andrew Overholt 707e45
  # Remove old native bits
Andrew Overholt 5343c5
  rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
Andrew Overholt 7289f9
%endif
Andrew Overholt 29362a
Andrew Overholt 29362a
# Build the rest of Eclipse
d941e6
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 02a0b8
export JAVA_HOME=%{java_home}
Andrew Overholt 357a57
ant \
Andrew Overholt 357a57
  -Dnobootstrap=true \
Andrew Overholt c6ac08
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Ben Konrath 26ff74
  -Dlibsconfig=true -DjavacSource=1.5 -DjavacTarget=1.5 -DcompilerArg="-encoding ISO-8859-1 -nowarn"
Andrew Overholt 76e1a9
Ben Konrath 26ff74
## Build the FileInitializer application
Ben Konrath 1f4a33
SDK=$(cd eclipse && pwd)
Ben Konrath 1f4a33
PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//')
Ben Konrath 1f4a33
pushd equinox-incubator
Ben Konrath 1f4a33
mkdir -p build
Ben Konrath 1f4a33
mkdir -p home
Ben Konrath 1f4a33
homedir=$(cd home && pwd)
Ben Konrath 1f4a33
Ben Konrath 1f4a33
# This can go away when package build handles plugins (not just features)
Ben Konrath 1f4a33
echo "<project default="\"main\""><target name="\"main\""></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
Ben Konrath 1f4a33
echo "<project default="\"main\""><target name="\"main\""></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
Ben Konrath 1f4a33
Ben Konrath 26ff74
LAUNCHERVERSION=$(ls $SDK/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Ben Konrath 26ff74
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 1621a2
     -Duser.home=$homedir                              \
Ben Konrath 26ff74
      org.eclipse.core.launcher.Main \
Ben Konrath 1f4a33
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 1f4a33
     -Dtype=plugin                                    \
Ben Konrath 1f4a33
     -Did=org.eclipse.equinox.initializer                   \
Ben Konrath 1f4a33
     -DsourceDirectory=$(pwd)                          \
Ben Konrath 1f4a33
     -DbaseLocation=$SDK \
Ben Konrath 1f4a33
     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Ben Konrath 1f4a33
     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Ben Konrath 1f4a33
Ben Konrath 1f4a33
pushd build/plugins/org.eclipse.equinox.initializer
Ben Konrath 26ff74
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 1621a2
     -Duser.home=$homedir                              \
Ben Konrath 26ff74
      org.eclipse.core.launcher.Main \
Ben Konrath 6525ab
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath 1f4a33
     -f build.xml build.update.jar
Ben Konrath 1f4a33
popd
Ben Konrath 1f4a33
popd
Ben Konrath 2f9a66
cvsdist 38d0d0
%install
cvsdist 38d0d0
rm -rf $RPM_BUILD_ROOT
cvsdist df631d
Andrew Overholt eb1eea
# Get swt version
Ben Konrath d7c0cf
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath d7c0cf
Andrew Overholt eb1eea
# Some directories we need
cvsdist 38d0d0
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/links
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Andrew Overholt eb1eea
Andrew Overholt eb1eea
# Explode the resulting SDK tarball
Ben Konrath 7ab720
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
Ben Konrath 6525ab
%ifarch ppc64 s390 s390x sparc sparc64
Ben Konrath 6525ab
cp launchertmp/eclipse $RPM_BUILD_ROOT%{_datadir}/eclipse
Ben Konrath 6525ab
%endif
cvsdist df631d
Ben Konrath 26ff74
# Add a compatibility symlink to startup.jar
Ben Konrath 26ff74
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 26ff74
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
Ben Konrath 26ff74
ln -s plugins/$LAUNCHERNAME startup.jar
Ben Konrath 26ff74
popd
Ben Konrath 26ff74
Ben Konrath 26ff74
## The FileInitializer app isn't part of the SDK (yet?) but we want it to be
Ben Konrath 26ff74
## around for other RPMs
Ben Konrath 1f4a33
cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
Ben Konrath 1f4a33
  $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt 51e09a
Andrew Overholt eb1eea
# Set up an extension location and a link file for the arch-specific dir
Andrew Overholt 51e09a
echo "path:$RPM_BUILD_ROOT%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Andrew Overholt 51e09a
echo "name=Eclipse Platform" > $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 51e09a
echo "id=org.eclipse.platform" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 51e09a
echo "version=%{eclipse_majmin}.%{eclipse_micro}" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath 365f2e
Andrew Overholt eb1eea
# Install the platform-specific fragments in an arch-specific dir
Andrew Overholt 51e09a
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/*%{eclipse_arch}* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
Andrew Overholt eb1eea
# platform.source has the launcher src zip which is platform-specific
Ben Konrath 854747
PLATFORMSOURCEVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
Ben Konrath 365f2e
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION \
Ben Konrath 365f2e
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
Ben Konrath 365f2e
# help.webapp generates web.xml with Apache Jakarta Tomcat JspC. This file is
Ben Konrath 365f2e
# generated differently for different arches. FIXME investigate this.
Ben Konrath 365f2e
HELPWEBAPPVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep help.webapp_ | sed 's/org.eclipse.help.webapp_//')
Ben Konrath 568c75
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_$HELPWEBAPPVERSION \
Ben Konrath 365f2e
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
Ben Konrath 365f2e
# update.core.linux is a fragment
Ben Konrath 365f2e
# FIXME: make a patch for upstream to change to swt fragment notation
Ben Konrath 365f2e
UPDATECORELINUXVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep update.core.linux_ | sed 's/org.eclipse.update.core.linux_//')
Ben Konrath 365f2e
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_$UPDATECORELINUXVERSION \
Ben Konrath 365f2e
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
Andrew Overholt eb1eea
# FIXME: there is a problem with gjdoc generating different HTML on different
Ben Konrath adc3ae
# architectures.
Ben Konrath 817e88
PLATFORMDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.doc.isv_ | sed 's/org.eclipse.platform.doc.isv_//')
Ben Konrath 817e88
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_$PLATFORMDOCISVVERSION \
Ben Konrath 817e88
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath adc3ae
# ppc64 is problematic with these two
Ben Konrath adc3ae
JDTDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.doc.isv_ | sed 's/org.eclipse.jdt.doc.isv_//')
Ben Konrath adc3ae
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_$JDTDOCISVVERSION \
Ben Konrath adc3ae
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath adc3ae
PDEDOCUSERVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep pde.doc.user_ | sed 's/org.eclipse.pde.doc.user_//')
Ben Konrath adc3ae
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_$PDEDOCUSERVERSION \
Ben Konrath adc3ae
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
Ben Konrath b0e9bc
# Adding support for ppc64, s390{x} and sparc{64} makes the rcp feature 
Ben Konrath b0e9bc
# have multilib conflicts
Ben Konrath b0e9bc
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.rcp_* \
Ben Konrath b0e9bc
  $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Ben Konrath b0e9bc
Andrew Overholt a10e44
# To ensure that the product is org.eclipse.sdk.ide when eclipse-sdk is
Andrew Overholt a10e44
# installed, we must check for its presence at %%post{,un} time.  This does not
Andrew Overholt a10e44
# work in the biarch case, though, if it is not in an arch-specific location.
Andrew Overholt a10e44
# This results in complaints that the sdk plugin is found twice, but this is
Andrew Overholt a10e44
# better than always appearing in the about dialog as the Eclipse Platform with
Andrew Overholt a10e44
# the platform plugin version number instead of the actual SDK version number.
Andrew Overholt a10e44
# -- overholt, 2006-11-03
Andrew Overholt eb1eea
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_* \
Andrew Overholt eb1eea
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt eb1eea
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.sdk_* \
Andrew Overholt eb1eea
  $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Andrew Overholt 51e09a
Ben Konrath 3f0aaa
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt eb1eea
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt eb1eea
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt eb1eea
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt eb1eea
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt eb1eea
# 
Andrew Overholt c18750
# Extract .so files
Andrew Overholt c18750
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 51e09a
pushd $RPM_BUILD_ROOT
Andrew Overholt 51e09a
datadir_path=$(echo %{_datadir}/%{name} | sed -e 's/^\///')
Andrew Overholt 51e09a
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
Andrew Overholt 51e09a
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
Ben Konrath 12c70d
     -cp $datadir_path/startup.jar \
Ben Konrath 3f0aaa
     org.eclipse.core.launcher.Main \
Ben Konrath 3f0aaa
     -consolelog \
Andrew Overholt 51e09a
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 3f0aaa
     -fileInitializer %{SOURCE19}
d941e6
popd
d941e6
Andrew Overholt a10e44
# Make proper links file
Ben Konrath 365f2e
echo "path:/usr/lib" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Ben Konrath 365f2e
echo "path:/usr/lib64" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments64.link
Ben Konrath 365f2e
Andrew Overholt 51e09a
# Install config.ini to an arch dependent location and remove the unnecessary
Ben Konrath 3f0aaa
# configuration data
Ben Konrath 3f0aaa
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 3f0aaa
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update
Ben Konrath 3f0aaa
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime
Ben Konrath 26ff74
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.app
cvsdist df631d
Andrew Overholt bfa8a4
# Set config.ini for the platform; no benefit to having it be sdk
Andrew Overholt bfa8a4
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
Ben Konrath 3f0aaa
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 3f0aaa
Ben Konrath 26ff74
# Install the launcher so
Ben Konrath 26ff74
LAUNCHERFRAGVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | grep equinox.launcher.gtk.linux.%{eclipse_arch}_ | sed "s/.*equinox.launcher.gtk.linux.*_//")
Ben Konrath 26ff74
cp launchertmp/library/gtk/eclipse_*.so \
Ben Konrath 26ff74
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_$LAUNCHERFRAGVERSION
Ben Konrath 26ff74
Ben Konrath 26ff74
# Install the Eclipse binary wrapper
Ben Konrath 26ff74
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 357a57
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Ben Konrath 26ff74
cp %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/eclipse
Ben Konrath 26ff74
sed --in-place "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_bindir}/eclipse
Ben Konrath 26ff74
ECLIPSELIBSUFFIX=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux*/*.so | sed "s/.*.launcher.gtk.linux.//")
Ben Konrath 26ff74
sed --in-place "s|@ECLIPSELIBSUFFIX@|$ECLIPSELIBSUFFIX|" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt 357a57
Ben Konrath 3f0aaa
# Ensure the shared libraries have the correct permissions
Ben Konrath 3f0aaa
pushd $RPM_BUILD_ROOT%{_libdir}/%{name} 
Ben Konrath 3f0aaa
for lib in `find configuration -name \*.so`; do
Ben Konrath 3f0aaa
   chmod 755 $lib
Andrew Overholt c18750
done
cvsdist 38d0d0
Andrew Overholt 6e68df
# Create file listings for the extracted shared libraries
Ben Konrath 3f0aaa
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 3f0aaa
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Ben Konrath 004116
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Ben Konrath 3f0aaa
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Ben Konrath 3f0aaa
  else
Ben Konrath 3f0aaa
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 3f0aaa
  fi
Ben Konrath 3f0aaa
done 
cvsdist 38d0d0
popd
cvsdist 38d0d0
Ben Konrath a8589a
# Install symlinks to the SWT JNI shared libraries in /usr/lib/eclipse
Ben Konrath 848f20
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 848f20
for lib in $(find configuration -name libswt\*.so); do  
Ben Konrath a8589a
  ln -s %{_libdir}/%{name}/$lib `basename $lib`
Ben Konrath 848f20
done
Ben Konrath 848f20
popd
Ben Konrath 848f20
Ben Konrath 848f20
# Install the SWT jar symlinks in libdir
Andrew Overholt eb1eea
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath 365f2e
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt eb1eea
ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2f9a66
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
cvsdist 38d0d0
popd
cvsdist 38d0d0
Ben Konrath 3f0aaa
# Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac"
Ben Konrath 3f0aaa
JDTCORESUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.core_ | sed "s/org.eclipse.jdt.core_//")
Ben Konrath 365f2e
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
Andrew Overholt 6e85ee
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_$JDTCORESUFFIX $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
Ben Konrath 3f0aaa
ln -s %{_javadir}/eclipse-ecj.jar $RPM_BUILD_ROOT%{_javadir}/jdtcore.jar
Ben Konrath 3f0aaa
Ben Konrath 3f0aaa
# FIXME: get rid of this by putting logic in package build to know what version
Ben Konrath 3f0aaa
#        of pde.build it's using
Ben Konrath 3f0aaa
# Install a versionless pde.build
Ben Konrath 2f9a66
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
Ben Konrath 2f9a66
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
Ben Konrath 2f9a66
popd
Ben Konrath 2f9a66
Andrew Overholt eb1eea
# Icons
Andrew Overholt eb1eea
PLATFORMSUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
Andrew Overholt eb1eea
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse48.png \
cvsdist 38d0d0
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt eb1eea
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse32.png \
Andrew Overholt 7289f9
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt eb1eea
ln -s ../../../../%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse.png \
Andrew Overholt 7289f9
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt eb1eea
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt eb1eea
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png \
Andrew Overholt eb1eea
  $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt eb1eea
%ifarch %{ix86} x86_64
Andrew Overholt 7289f9
# Remove unused icon.xpm
Andrew Overholt eb1eea
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
Ben Konrath 004116
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
Andrew Overholt eb1eea
%endif
cvsdist df631d
Andrew Overholt eb1eea
# Install the efj wrapper script 
Ben Konrath bd6a7a
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath bd6a7a
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
Ben Konrath bd6a7a
  $RPM_BUILD_ROOT%{_bindir}/efj 
Ben Konrath bd6a7a
Ben Konrath 3f0aaa
# Install the ecj wrapper script
Ben Konrath 3f0aaa
install -p -D -m0755 %{SOURCE18} $RPM_BUILD_ROOT%{_bindir}/ecj
Ben Konrath 3f0aaa
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj 
Ben Konrath 3f0aaa
cvsdist 38d0d0
# A sanity check.
cvsdist 38d0d0
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0
cvsdist 38d0d0
# freedesktop.org menu entry
Andrew Overholt eb1eea
install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0
Andrew Overholt eb1eea
SDKPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | grep eclipse.sdk_ | sed "s/org.eclipse.sdk_//")
Ben Konrath ccb00c
# Put Fedora Core version into about.mappings of org.eclipse.sdk and
Ben Konrath ccb00c
# org.eclipse.platform to show it in # Eclipse about dialog.  (courtesy Debian
Ben Konrath ccb00c
# Eclipse packagers)
Ben Konrath 02a0b8
# FIXME use the third id
Andrew Overholt eb1eea
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.sdk_$SDKPLUGINVERSION
Andrew Overholt eb1eea
OS_VERSION=$(cat /etc/*-release | head -n 1)
Andrew Overholt bfa8a4
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Andrew Overholt 1b72b0
mv about.mappings.tmp about.mappings
Andrew Overholt 1b72b0
popd
Andrew Overholt eb1eea
PLATFORMPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt eb1eea
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMPLUGINVERSION
Andrew Overholt bfa8a4
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Ben Konrath ccb00c
mv about.mappings.tmp about.mappings
Ben Konrath ccb00c
popd
Andrew Overholt 1b72b0
cvsdist 38d0d0
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0
# eclipse platform.
Andrew Overholt 357a57
cp %{SOURCE16} copy-platform
cvsdist 38d0d0
(
cvsdist 38d0d0
  cd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 817e88
  ls -d * | egrep -v '^(plugins|features|links|about_files)$'
Ben Konrath 817e88
  ls -d plugins/* features/* links/*
cvsdist 38d0d0
) |
cvsdist 38d0d0
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform
cvsdist 38d0d0
Ben Konrath 817e88
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath 817e88
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath c6cf50
Andrew Overholt 357a57
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt 357a57
## BEGIN ANT ##
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 5d4e76
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 5d4e76
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Ben Konrath 26ff74
# FIXME:  use build-jar-repository
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 02a0b8
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 26ff74
# the symlinks that are commented-out are not currently shipped on Fedora
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 5d4e76
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 5d4e76
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt 357a57
## END ANT ##
Andrew Overholt eb1eea
Andrew Overholt f33551
## BEGIN TOMCAT ##
Andrew Overholt f3d2f3
TOMCATPLUGINVERSION=$(ls plugins | grep tomcat | sed 's/org.eclipse.tomcat_//')
Andrew Overholt 4fdd73
mkdir -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib
Andrew Overholt 4fdd73
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/bootstrap.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina-optional.jar
Andrew Overholt 4fdd73
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-compiler.jar
Andrew Overholt 4fdd73
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-runtime.jar
Andrew Overholt 4fdd73
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j.jar
Andrew Overholt 4fdd73
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-impl.jar
Andrew Overholt 4fdd73
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-jmx.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-factory.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-resources.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-default.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-invoker.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-coyote.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-http.jar
Ben Konrath a5afae
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-util.jar
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-beanutils
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-collections
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-dbcp
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester-rss
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-el
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-fileupload
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-launcher
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-logging-api
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-modeler
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-pool
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib jspapi
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib regexp
Andrew Overholt 4fdd73
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib servletapi5
Andrew Overholt f33551
## END TOMCAT ##
Ben Konrath d8e928
Andrew Overholt 7f96ff
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt 357a57
Ben Konrath 0a684c
# link to the jsch jar
Ben Konrath 26ff74
rm plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 26ff74
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 0a684c
Ben Konrath 840871
# link to the icu4j stuff
Ben Konrath 840871
rm plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 840871
ln -s %{_datadir}/eclipse/plugins/com.ibm.icu_3.6.1.v20070417.jar plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 840871
Ben Konrath 840871
popd
Ben Konrath 840871
Ben Konrath 7195c4
# Ensure that the zip files are the same across all builds.
Ben Konrath 7195c4
# This is needed to make these package multilib compatible.
Ben Konrath 7195c4
# FIXME: this needs to be re-written as a separate program
Ben Konrath 7195c4
# warning: big hack!
Ben Konrath 7195c4
mkdir -p ${RPM_BUILD_ROOT}/tmp
Ben Konrath 7195c4
for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do
Ben Konrath 7195c4
  # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 7195c4
  ZIPNAME=`basename $zip`
Ben Konrath 7195c4
  TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` 
Ben Konrath 7195c4
  ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX`        
Ben Konrath 7195c4
  
Ben Konrath 7195c4
  pushd $TMPDIR 
Ben Konrath 7195c4
  unzip -qq -o $zip
Ben Konrath 7195c4
  rm -f $zip    
Ben Konrath 7195c4
Ben Konrath 7195c4
  # check if there are jars or zips inside the zip or jar
Ben Konrath 7195c4
  zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar`
Ben Konrath 7195c4
  if [ -n "$zipsinside" ]; then
Ben Konrath 7195c4
     for zip2 in $zipsinside; do
Ben Konrath 7195c4
       # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 7195c4
       ZIPNAME2=`basename $zip2`
Ben Konrath 7195c4
       TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX`
Ben Konrath 7195c4
       ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX`
Ben Konrath 7195c4
Ben Konrath 7195c4
       pushd $TMPDIR2
Ben Konrath 7195c4
       unzip -qq -o $zip2
Ben Konrath 7195c4
       rm -f $zip2
Ben Konrath 7195c4
Ben Konrath 7195c4
       # create the directories first
Ben Konrath 7195c4
       for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 7195c4
         mkdir -p $ZIPDIR2/$d
Ben Konrath 7195c4
       done
Ben Konrath 7195c4
       # move the contents over to the a new directory in order and set the times. 
Ben Konrath 7195c4
       for f in `find -type f | LC_ALL=C sort`; do
Ben Konrath 7195c4
         cp $f $ZIPDIR2/$f
Ben Konrath 7195c4
         touch --date="1970-01-01 UTC" $ZIPDIR2/$f
Ben Konrath 7195c4
       done
Ben Konrath 7195c4
       popd
Ben Konrath 7195c4
Ben Konrath 7195c4
       # Set the times of the directories.
Ben Konrath 7195c4
       touch --date="1970-01-01 UTC" `find $ZIPDIR2 -type d`
Ben Konrath 7195c4
Ben Konrath 7195c4
       # make the new zip
Ben Konrath 7195c4
       pushd $ZIPDIR2
Ben Konrath 7195c4
       find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@
Ben Konrath 7195c4
       popd
Ben Konrath 7195c4
Ben Konrath 7195c4
       # Cleanup.
Ben Konrath 7195c4
       rm -rf $TMPDIR2
Ben Konrath 7195c4
       rm -rf $ZIPDIR2
Ben Konrath 7195c4
     done
Ben Konrath 7195c4
  fi 
Ben Konrath 7195c4
  
Ben Konrath 7195c4
  # now on to the original zip or jar.
Ben Konrath 7195c4
  # create the directories first
Ben Konrath 7195c4
  for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 7195c4
    mkdir -p $ZIPDIR/$d
Ben Konrath 7195c4
  done 
Ben Konrath 7195c4
  # move the contents over to the a new directory in order and set the times. 
Ben Konrath 7195c4
  for f in `find -type f | LC_ALL=C sort`; do 
Ben Konrath 7195c4
    cp $f $ZIPDIR/$f
Ben Konrath 7195c4
    touch --date="1970-01-01 UTC" $ZIPDIR/$f
Ben Konrath 7195c4
  done
Ben Konrath 7195c4
  popd
Ben Konrath 7195c4
Ben Konrath 7195c4
  # Set the times of the directories.
Ben Konrath 7195c4
  touch --date="1970-01-01 UTC" `find $ZIPDIR -type d`
Ben Konrath 7195c4
Ben Konrath 7195c4
  # make the new zip
Ben Konrath 7195c4
  pushd $ZIPDIR
Ben Konrath 7195c4
  find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@
Ben Konrath 7195c4
  popd
Ben Konrath 7195c4
Ben Konrath 7195c4
  # Cleanup.
Ben Konrath 7195c4
  rm -rf $TMPDIR
Ben Konrath 7195c4
  rm -rf $ZIPDIR
Ben Konrath 7195c4
done
Ben Konrath 7195c4
rm -rf ${RPM_BUILD_ROOT}/tmp
Ben Konrath 7195c4
Ben Konrath 891350
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 365f2e
# remove this python script so that it is not aot compiled, thus avoiding a
Ben Konrath 365f2e
# multilib conflict
Ben Konrath 365f2e
ANTPLUGINVERSION=$(ls plugins | grep org.apache.ant_ | sed 's/org.apache.ant_//')
Ben Konrath 891350
rm plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
Ben Konrath 365f2e
Ben Konrath 02a0b8
%if %{gcj_support}
Ben Konrath 3f0aaa
# exclude org.eclipse.ui.ide to work around
Ben Konrath 3f0aaa
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175547
Ben Konrath 3f0aaa
UIIDEPLUGINVERSION=$(ls plugins | grep ui.ide_ | sed 's/org.eclipse.ui.ide_//')
Ben Konrath 2f4af8
%ifnarch ia64
Ben Konrath 7df8e0
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION
Ben Konrath 2f4af8
%else
Ben Konrath e9c9d5
OSGIPLUGINVERSION=$(ls plugins | grep osgi_ | sed 's/org.eclipse.osgi_//')
Ben Konrath 2f4af8
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION \
Ben Konrath e9c9d5
                --exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_$OSGIPLUGINVERSION
Ben Konrath 2f4af8
%endif
Ben Konrath 3ab757
%endif
Ben Konrath 891350
popd
Andrew Overholt 4aa52c
Andrew Overholt 357a57
%clean
Andrew Overholt 357a57
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 4aa52c
Andrew Overholt 76e1a9
%post platform
Andrew Overholt 5f25d4
%if %{gcj_support}
Andrew Overholt eb1eea
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea
then
Andrew Overholt eb1eea
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea
fi
Andrew Overholt 5f25d4
%endif
d0643d
touch --no-create %{_datadir}/icons/hicolor
0fc796
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643d
fi
cvsdist 38d0d0
Andrew Overholt 75af34
%postun platform
Andrew Overholt 5f25d4
%if %{gcj_support}
Andrew Overholt eb1eea
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea
then
Andrew Overholt eb1eea
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea
fi
Andrew Overholt 5f25d4
%endif
d0643d
touch --no-create %{_datadir}/icons/hicolor
0fc796
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643d
fi
Ben Konrath 0b1846
Andrew Overholt a10e44
%post sdk
Ben Konrath 0b1846
%if %{gcj_support}
Andrew Overholt eb1eea
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea
then
Andrew Overholt eb1eea
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea
fi
Ben Konrath 0b1846
%endif
Ben Konrath 3f0aaa
if [ -f %{_libdir}/%{name}/configuration/config.ini ]; then
Andrew Overholt bfa8a4
  sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.sdk.ide/" \
Ben Konrath 3f0aaa
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath ccb00c
fi
Ben Konrath 0b1846
Andrew Overholt a10e44
%postun sdk
Ben Konrath 0b1846
%if %{gcj_support}
Andrew Overholt eb1eea
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt eb1eea
then
Andrew Overholt eb1eea
  %{_bindir}/rebuild-gcj-db
Andrew Overholt eb1eea
fi
Ben Konrath 0b1846
%endif
Andrew Overholt a10e44
# Only set the product back to platform.ide if the sdk is actually removed for
Andrew Overholt a10e44
# this arch.  This SDKDIR check is to deal with the ordering of new %%post
Andrew Overholt a10e44
# before old %%postun
Ben Konrath e9c9d5
if [ -d /usr/lib/eclipse/features ]; then
Ben Konrath 125528
  SDKDIR=$(ls %{_libdir}/%{name}/features | grep "org\.eclipse\.sdk_")
Ben Konrath 125528
else
Ben Konrath 125528
  SDKDIR=""
Ben Konrath 125528
fi
Andrew Overholt a10e44
if [ -z "$SDKDIR" -a -f %{_libdir}/%{name}/configuration/config.ini ]; then
Andrew Overholt bfa8a4
  sed --in-place "s/[#]*eclipse.product=.*/eclipse.product=org.eclipse.platform.ide/" \
Andrew Overholt bfa8a4
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath ccb00c
fi
Andrew Overholt 75af34
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 6d3338
%post ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%post pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 6d3338
%postun pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 26ff74
%endif 
Andrew Overholt 00fc6f
Andrew Overholt 4aa52c
%files ecj
Ben Konrath 02a0b8
%defattr(-,root,root)
Andrew Overholt 4aa52c
%dir %{_datadir}/%{name}
Andrew Overholt 7289f9
%dir %{_datadir}/%{name}/plugins
Ben Konrath 02a0b8
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 02a0b8
%{_javadir}/eclipse-ecj.jar
Ben Konrath 02a0b8
%{_javadir}/jdtcore.jar
Ben Konrath 02a0b8
%{_bindir}/ecj
Andrew Overholt 5f25d4
%if %{gcj_support}
Andrew Overholt 8fdd63
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b8
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
Andrew Overholt 5f25d4
%endif
cvsdist 38d0d0
Andrew Overholt 29362a
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
Ben Konrath 02a0b8
%defattr(-,root,root)
Andrew Overholt 7289f9
%dir %{_datadir}/%{name}
Andrew Overholt 7289f9
%dir %{_datadir}/%{name}/plugins
Ben Konrath c7a0f8
%dir %{_libdir}/%{name}
Ben Konrath 848f20
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 3f0aaa
%dir %{_libdir}/%{name}/plugins
Ben Konrath 3f0aaa
%dir %{_libdir}/%{name}/configuration
Ben Konrath 3f0aaa
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 3f0aaa
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 3f0aaa
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath 365f2e
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt 5f25d4
%if %{gcj_support}
Andrew Overholt 8fdd63
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b8
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 5f25d4
%endif
cvsdist 38d0d0
Ben Konrath 6d3338
%files rcp
Ben Konrath 02a0b8
%defattr(-,root,root)
Ben Konrath 6d3338
%dir %{_datadir}/%{name}/features
Ben Konrath 3f0aaa
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 3f0aaa
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 3f0aaa
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 3f0aaa
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt bfa8a4
%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 3f0aaa
%{_libdir}/%{name}/.eclipseextension
Ben Konrath 6d3338
%{_datadir}/%{name}/.eclipseproduct
Ben Konrath 6d3338
%{_datadir}/%{name}/notice.html
Ben Konrath 6d3338
%{_datadir}/%{name}/epl-v10.html
Ben Konrath 3f0aaa
%{_datadir}/%{name}/links
Ben Konrath 26ff74
%{_datadir}/%{name}/startup.jar
Ben Konrath 6d3338
%ifarch %{ix86} x86_64
Ben Konrath 6d3338
%{_datadir}/%{name}/about.html
Ben Konrath 6d3338
%endif
Ben Konrath 6d3338
%ifarch x86_64
Ben Konrath 3f0aaa
%{_datadir}/%{name}/about_files
Ben Konrath 6d3338
%endif
Ben Konrath 3f0aaa
%{_datadir}/%{name}/readme
Ben Konrath b0e9bc
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Ben Konrath ba9903
%{_datadir}/%{name}/plugins/com.ibm.icu_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.app_*
Ben Konrath 1621a2
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 26ff74
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.help_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
Ben Konrath 4e39f3
%ifnarch ia64
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
Ben Konrath 4e39f3
%endif
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.launcher_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.app_*
Ben Konrath 9a1ee3
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
Ben Konrath 9a1ee3
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.help_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding.beans_*
Andrew Overholt 5f25d4
%endif
cvsdist 38d0d0
Ben Konrath 6d3338
%files rcp-sdk
Ben Konrath 02a0b8
%defattr(-,root,root)
Ben Konrath 02a0b8
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
Ben Konrath 3f0aaa
%{_libdir}/%{name}/plugins/org.eclipse.rcp.source.linux.gtk.%{eclipse_arch}*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
Ben Konrath 26ff74
Ben Konrath 26ff74
%files cvs-client
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.cvs_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/features/org.eclipse.cvs_*
Ben Konrath 26ff74
%if %{gcj_support}
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
Ben Konrath 26ff74
%endif
Ben Konrath 26ff74
Ben Konrath 26ff74
%files cvs-client-sdk
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.cvs.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/features/org.eclipse.cvs.source_*
Andrew Overholt c18750
Andrew Overholt 76e1a9
%files platform -f %{name}-platform.install
Ben Konrath 02a0b8
%defattr(-,root,root)
Ben Konrath 3f0aaa
%attr(0755,root,root) %{_bindir}/%{name}
Ben Konrath 6d3338
%{_datadir}/%{name}/eclipse.ini
Ben Konrath 26ff74
%{_libdir}/%{name}/eclipse
Ben Konrath 6d3338
%{_datadir}/applications/*
Ben Konrath 6d3338
%{_datadir}/pixmaps/*
Ben Konrath 6d3338
%{_datadir}/icons/*/*/apps/*
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.platform_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/javax.servlet_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/javax.servlet.jsp_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.ant_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.commons.el_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.commons.logging_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.jasper_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.lucene_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.lucene.analysis_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath c43f81
%ifarch %{ix86} x86_64 ppc
Ben Konrath 3f0aaa
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Ben Konrath 6d3338
%endif
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.net_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 26ff74
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.jsch.core_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.jsch.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 1621a2
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
Ben Konrath 1621a2
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.search_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.text_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.net_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 26ff74
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.mortbay.jetty_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Andrew Overholt 5f25d4
%if %{gcj_support}
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/javax.servlet_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/javax.servlet.jsp_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.apache.commons.el_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.apache.commons.logging_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.apache.jasper_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.apache.lucene_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.apache.lucene.analysis_*
Ben Konrath 1621a2
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.net_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
Ben Konrath 1621a2
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.jetty_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.servlet_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.jsp.jasper_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.jsp.jasper.registry_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.help.webapp_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.jsch.core_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.jsch.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 1621a2
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.search_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.text_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.ide.application_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.net_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.mortbay.jetty_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/compatibility.*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.registry_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.equinox.initializer_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/platform.jar.*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar.*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/tomcatwrapper.jar.*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/universal.jar.*
Andrew Overholt c0ccd9
%endif
Andrew Overholt a1ea6b
Ben Konrath 9507d8
%files platform-sdk
Ben Konrath 02a0b8
%defattr(-,root,root)
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/javax.servlet.jsp.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/javax.servlet.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.ant.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.commons.el.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.commons.logging.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.jasper.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.lucene.analysis.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.apache.lucene.source_*
Ben Konrath 49bd3c
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
Ben Konrath 365f2e
%{_libdir}/%{name}/plugins/org.eclipse.platform.source_*
Ben Konrath 26ff74
%{_libdir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.%{eclipse_arch}_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.mortbay.jetty.source_*
Ben Konrath 2f9a66
%if %{gcj_support}
Ben Konrath 2f9a66
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
Ben Konrath 2f9a66
%endif
Andrew Overholt 4aa52c
Ben Konrath 6d3338
%files jdt
Ben Konrath 6d3338
%defattr(-,root,root)
Ben Konrath 6d3338
%{_bindir}/efj
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.jdt_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.junit_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
Ben Konrath 817e88
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
Ben Konrath e9c9d5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.core_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
Ben Konrath e9c9d5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit4.runtime_*
Ben Konrath e9c9d5
%{_datadir}/%{name}/plugins/org.junit4_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
Ben Konrath e9c9d5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.ui_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
Ben Konrath e9c9d5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.core_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
Ben Konrath e9c9d5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit.runtime_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
Ben Konrath e9c9d5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.ui_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/jdimodel.jar.*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/jdi.jar.*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/junit.jar.*
Ben Konrath 6d3338
%endif
Ben Konrath 6d3338
Ben Konrath 6d3338
%files jdt-sdk
Ben Konrath 6d3338
%defattr(-,root,root)
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
Ben Konrath adc3ae
%{_libdir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.junit.source_*
Ben Konrath 6d3338
Ben Konrath 6d3338
%files pde
Ben Konrath 6d3338
%defattr(-,root,root)
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.pde_*
Ben Konrath adc3ae
%{_libdir}/%{name}/plugins/org.eclipse.pde.doc.user_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.build_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.build
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
Ben Konrath 26ff74
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui.templates_*
Ben Konrath 817e88
%{_datadir}/%{name}/buildscripts
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
Ben Konrath 26ff74
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui.templates_*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/pdebuild.jar*
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
Ben Konrath 6d3338
%endif
Ben Konrath 6d3338
Ben Konrath 6d3338
%files pde-runtime
Ben Konrath 6d3338
%defattr(-,root,root)
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 6d3338
%if %{gcj_support}
Ben Konrath 6d3338
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
Ben Konrath 6d3338
%endif
Ben Konrath 6d3338
Ben Konrath 6d3338
%files pde-sdk
Ben Konrath 6d3338
%defattr(-,root,root)
Ben Konrath 6d3338
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
Ben Konrath 6d3338
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
Ben Konrath 6d3338
Ben Konrath 6d3338
%files sdk
Ben Konrath 6d3338
%defattr(-,root,root)
Andrew Overholt a10e44
%{_libdir}/%{name}/features/org.eclipse.sdk_*
Andrew Overholt a10e44
%{_libdir}/%{name}/plugins/org.eclipse.sdk_*
Ben Konrath 6d3338
Andrew Overholt 357a57
%changelog
Ben Konrath 5d4e76
* Fri Jun 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-1
Ben Konrath 5d4e76
- 3.3.
Ben Konrath 5d4e76
Ben Konrath 7195c4
* Wed Jun 27 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.RC4
Ben Konrath 7195c4
- Restore ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 7195c4
- Restore multilib support.
Ben Konrath 7195c4
Ben Konrath 26ff74
* Tue Jun 19 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC4
Ben Konrath 26ff74
- Use icu4j-eclipse sub-package instead of building icu4j here.
Ben Konrath 26ff74
- Use exec in binary wrapper.
Ben Konrath 26ff74
- Add 3.3.0 splashscreen.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Tue Jun 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC4
Ben Konrath 26ff74
- 3.3RC4.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Mon Jun 11 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC3
Ben Konrath 26ff74
- Update launching strategy for 3.3.
Ben Konrath 26ff74
- Pull in package-build fix from F-7.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC3
Ben Konrath 26ff74
- 3.3RC3.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC2
Ben Konrath 26ff74
- 3.3RC2.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC1
Ben Konrath 26ff74
- 3.3RC1.
Ben Konrath 26ff74
- Pull in changes from F-7.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Mon Feb 26 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M5eh
Ben Konrath 26ff74
- 3.3M5.
Ben Konrath 26ff74
- Remove launcher-addplatformtotildeeclipse.patch as it's only needed 
Ben Konrath 26ff74
  for FC-5 -> FC-6.
Ben Konrath 26ff74
- Remove swt firefox patches as they are no longer needed.
Ben Konrath 26ff74
- Remove ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 26ff74
- Remove use-built-launcher patch.
Ben Konrath 26ff74
- Update set-launcher-and-configuration-dir patch.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Mon Jan 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.M4
Ben Konrath 26ff74
- Enable updated ecj square brackets patch.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Fri Jan 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.M4
Ben Konrath 26ff74
- Pull in fixes from rawhide.
Ben Konrath 26ff74
Ben Konrath 26ff74
* Wed Dec 20 2006 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M4
Ben Konrath 26ff74
- 3.3M4.
Ben Konrath 26ff74
- Update patches for 3.3M4.
Ben Konrath 26ff74
- Remove SWT JNI symlinks in %%{_libdir}.
Ben Konrath 3f1435
Ben Konrath c7a0f8
* Wed Dec 6 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-25
Ben Konrath c7a0f8
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
Ben Konrath c7a0f8
- Resolves: #211008.
Ben Konrath c7a0f8
Andrew Overholt eb1eea
* Tue Dec 5 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-24
Andrew Overholt eb1eea
- Specfile review with Ben Konrath.
Andrew Overholt eb1eea
- Lots of cleanups.
Andrew Overholt eb1eea
Andrew Overholt f521f4
* Tue Nov 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-23
Andrew Overholt f521f4
- Move back to ~/.eclipse for update site pending upstream comments.
Andrew Overholt f521f4
- Add patch to add platform to ~/.eclipse's platform.xml.  This maintains
Andrew Overholt 6e68df
  user-installed plugins but allows us to remove the pre-configured
Andrew Overholt 6e68df
  platform.xml in the OSGi configuration area.
Andrew Overholt f521f4
Andrew Overholt d43e12
* Mon Nov 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-22
Andrew Overholt d43e12
- Use ~/.eclipseplugins instead of ~/.eclipse in update site - homedir patch.
Andrew Overholt d43e12
- Bump release.
Andrew Overholt d43e12
Ben Konrath ddd383
* Fri Nov 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-21
Ben Konrath ddd383
- Add patch to workaround an xml parsing bug in libgcj (gcc bug #29853).
Ben Konrath ddd383
- Resolves: #209393.
Ben Konrath ddd383
Andrew Overholt 94d2ca
* Fri Nov 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-20
Andrew Overholt 94d2ca
- Revise gre64 patch to just do ppc64 addition and not ordering change.
Andrew Overholt 94d2ca
Andrew Overholt 69fddf
* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-19
Andrew Overholt 69fddf
- Add patch to look at gre64.conf on ppc64.
Andrew Overholt 69fddf
Ben Konrath 1d4ed3
* Fri Nov 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-18
Ben Konrath 1d4ed3
- Remove SWT ON_TOP patch as it is fixed in 3.2.1.
Ben Konrath 1d4ed3
Ben Konrath 049a20
* Thu Nov 09 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-17
Ben Konrath 049a20
- Add file level requirement for swt fragment to rcp and platform packages.
Ben Konrath 049a20
  This is needed so that the rcp and platform packages pull in the swt package
Ben Konrath 049a20
  of the correct word size.
Ben Konrath 049a20
Ben Konrath 817e88
* Mon Nov 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-16
Ben Konrath 817e88
- Move copy-platform back to %%{_datadir}/eclipse.
Ben Konrath 817e88
- Require gjdoc >= 0.7.7-14 as it generates consistent html across archs.
Ben Konrath 817e88
- Move most of the doc plugins back to %%{_datatdir}/eclipse now that gjdoc 
Ben Konrath 817e88
  is fixed. 
Ben Konrath 817e88
Andrew Overholt a10e44
* Fri Nov 03 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-15
Andrew Overholt a10e44
- Make sdk require config.ini itself rather than the package to deal with the
Andrew Overholt a10e44
  bi-arch installation situation.
Andrew Overholt a10e44
- Move sdk feature and plugin to %%{_libdir} so we can check for its existence
Andrew Overholt a10e44
  in the post scripts.
Andrew Overholt a10e44
Andrew Overholt bfa8a4
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-14
Andrew Overholt bfa8a4
- Remove post sections that munge eclipse.product; always set it to
Andrew Overholt bfa8a4
  org.eclipse.platform.ide or org.eclipse.sdk.ide.
Andrew Overholt bfa8a4
- Remove changelogs prior to 3.2.0.
Andrew Overholt bfa8a4
Ben Konrath 49bd3c
* Thu Nov 02 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-12
Ben Konrath 49bd3c
- Move doc plugins to %%{_libdir}/eclipse/plugins because of html is being
Ben Konrath 49bd3c
  generated differently on different arches.
Ben Konrath 49bd3c
- Fix multilib problem when there are two or more jars within a jar.
Andrew Overholt afeeac
- BR dos2unix always (for mac2unix).
Ben Konrath 49bd3c
Ben Konrath 479251
* Wed Nov 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-11
Ben Konrath 365f2e
- Move copy-platform to %%{_libdir}/eclipse
Ben Konrath 365f2e
- Move the platform.source, icu4j, icu4j.source, help.webapp and
Ben Konrath 49bd3c
  update.core.linux plugins to %%{_libdir}/eclipse/plugins because these plugins
Ben Konrath 49bd3c
  have platform specific content. Some of the platform specific content may be
Ben Konrath 49bd3c
  a result of bugs in libgcj. These need to be investigated.
Ben Konrath 365f2e
- Disable building the help indexes on all archs so that we have the same doc
Andrew Overholt aa463b
  plugins on all archs.
Ben Konrath 365f2e
- Remove org.apache.ant_1.6.5/bin/runant.py to avoid multilib conflicts.
Ben Konrath 365f2e
- Repack all the jars and the jars within those jars. This is needed 
Ben Konrath 365f2e
  to make this package multilib compatible.
Andrew Overholt aa463b
- Put SWT symlinks in %%{_libdir}/eclipse instead of 
Ben Konrath 365f2e
  %%{_libdir}/eclipse/plugins.
Ben Konrath 365f2e
Ben Konrath 479251
* Wed Nov 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt 51e09a
- Use equinox initializer instead of old patch to core.runtime.
Andrew Overholt 51e09a
- Run initializer *after* splitting install into arch-specific and
Andrew Overholt 51e09a
  arch-independent locations.
Andrew Overholt 6903f2
- Move copy-platform to arch-specific location.
Andrew Overholt ba2861
- Get rid of broken symlinks in tomcat plugin.
Andrew Overholt 51e09a
Andrew Overholt f20de8
* Tue Oct 31 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt f20de8
- Fix copy-platform to work with split install.
Andrew Overholt f20de8
Ben Konrath 4f5dfd
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-10
Ben Konrath 4f5dfd
- Add 3.2.1 splash screen.
Ben Konrath 4f5dfd
- Sort the java source files before building (#209249).
Ben Konrath 4f5dfd
- Remove Fedora ifdefs.
Ben Konrath 4f5dfd
- Resolves: #209249.
Ben Konrath 4f5dfd
Ben Konrath 64c07e
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
Ben Konrath 64c07e
- Re-enable building of the icu4j plugins.
Ben Konrath 64c07e
Ben Konrath 224c68
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
Ben Konrath 224c68
- Temporarily disable building of icu4j plugin.
Ben Konrath 224c68
Andrew Overholt 6e85ee
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
Andrew Overholt 6e85ee
- Fix eclipse-ecj symlink to point to correct location.
Andrew Overholt 6e85ee
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
Andrew Overholt 6e85ee
  target-dependent.
Andrew Overholt 6e85ee
Ben Konrath a0475b
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
Ben Konrath 3f0aaa
- Add patch for ecj [] classpath problem.
Ben Konrath 3f0aaa
- Remove configuration files from rcp files list. 
Ben Konrath 3f0aaa
- Add patch set bindir and shared config patch to allow the eclipse binary
Ben Konrath 3f0aaa
  to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
Ben Konrath 3f0aaa
  set osgi.sharedConfiguration.area config on a per build basis so that the
Ben Konrath 3f0aaa
  configuration directory can be arch dependant.
Ben Konrath 3f0aaa
- Remove launcher link patch as the bindir patch removes the requirement for
Ben Konrath 3f0aaa
  this patch.
Ben Konrath 3f0aaa
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
Ben Konrath 3f0aaa
- Add Requies(post,postun) to all packages to ensure that no files are left
Ben Konrath 3f0aaa
  behind when eclipse is un-installed.
Ben Konrath 3f0aaa
- Many spec file clean ups.
Ben Konrath 3f0aaa
- Resolves: #199961, #202585, #210764, #207016.
Ben Konrath 3f0aaa
- Related: #175547.
Ben Konrath 3f0aaa
Andrew Overholt 5dbd5e
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 703639
- Remove unneeded tomcat symlinks.
Andrew Overholt 703639
Andrew Overholt 703639
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 5dbd5e
- Remove unnecessary bits of configuration.
Andrew Overholt 5dbd5e
- Resolves: #210764, #202585.
Andrew Overholt 5dbd5e
Ben Konrath 222436
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
Ben Konrath 222436
- Remove perl dependancy.
Ben Konrath 222436
- Fix offsets in libswt-enableallandO2 patch.
Ben Konrath 222436
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
Ben Konrath 222436
  uninstalling the java stack.
Ben Konrath 9a1ee3
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
Ben Konrath 9a1ee3
  plugins have dependancies on some plugins in rcp.
Ben Konrath 222436
Andrew Overholt a0f3f7
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
Andrew Overholt a0f3f7
- Fix triggerpostun to include epoch of previous releases.
Andrew Overholt a0f3f7
Ben Konrath fdbfdd
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
Ben Konrath fdbfdd
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
Ben Konrath fdbfdd
  postun scripts work correctly.
Ben Konrath fdbfdd
Andrew Overholt ae9791
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
Andrew Overholt 77f0f3
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
Andrew Overholt 77f0f3
  (rh#207442, rh#207013).
Andrew Overholt ae9791
Andrew Overholt f8a882
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
Andrew Overholt 77f0f3
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
Andrew Overholt f8a882
Ben Konrath b2eb34
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
Ben Konrath b2eb34
- 3.2.1 final.
Ben Konrath b2eb34
Ben Konrath b2eb34
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
Andrew Overholt 248786
- Use new swt-firefox patch and consolidate others into one.
Andrew Overholt 248786
Ben Konrath 4bb03b
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
Ben Konrath 84d4ee
- Fix typo in %%postun of -sdk and -platform.
Ben Konrath 4453b3
- Disable help index generation on ia64.
Ben Konrath 4bb03b
Ben Konrath f876b7
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
Ben Konrath 84d4ee
- Don't set eclipse.product incorrectly in %%postun of -sdk and -platform.
Ben Konrath f876b7
Ben Konrath ccb00c
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1 
Ben Konrath ccb00c
- M20060921-0945 (3.2.1 pre-release).
Ben Konrath ccb00c
- Upadate patches to 3.2.1.
Ben Konrath ccb00c
- Add icu4j 3.4.5 sources.
Ben Konrath ccb00c
- Add Fedora version to platform about.mappings as well as sdk.
Ben Konrath ccb00c
Andrew Overholt 146eb2
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
Andrew Overholt 146eb2
- Remove unused eclipse.conf.
Andrew Overholt 146eb2
- Remove unused gre64.conf patch (applied upstream).
Andrew Overholt 146eb2
Ben Konrath 7ab720
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
Ben Konrath 7ab720
- Use real SWT version on ia64, ppc64, s390 and s390x.
Ben Konrath 7ab720
- Remove the swt native libs from the rcp sub-package because they are 
Ben Konrath 7ab720
  already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
Ben Konrath 7ab720
- Set correct eclipse.product in post and postun of sdk and platform
Ben Konrath 7ab720
  sub-packages (rh bug # 207442)
Ben Konrath 7ab720
- Don't set the .eclipseproduct twice.
Ben Konrath 7ab98f
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
Ben Konrath 7ab98f
- Move Requires: firefox to libswt3-gtk2.
Ben Konrath 7ab720
Andrew Overholt 19b36d
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
Andrew Overholt f3d2f3
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
Andrew Overholt f3d2f3
- Fix tomcat symlinking in %%install to make help work (rh#199453).
Andrew Overholt 19b36d
Ben Konrath 6d3338
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
Ben Konrath 6d3338
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
Ben Konrath 6d3338
- Re-work files list to match upstream and remove rebuild-sdk-features 
Ben Konrath 6d3338
  (rh bug # 205933).
Ben Konrath 6d3338
Ben Konrath afc2c0
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
Ben Konrath afc2c0
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
Ben Konrath 096db9
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
Ben Konrath 096db9
- Disable help index generation on s390.
Ben Konrath afc2c0
Ben Konrath c203e4
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
Ben Konrath c203e4
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
Ben Konrath c203e4
  it has not been applied upstream.
Ben Konrath c203e4
- Minor spec file clean ups.
Ben Konrath 84d4ee
- Add %%{name} to the -devel package Provides so that upgrading from 
Ben Konrath c203e4
  FC-5 to FC-6 works.
Ben Konrath c203e4
- Re-enable natively compiling the ant.ui plugin.
Ben Konrath c203e4
- Re-enable natively compiling the team.cvs.core plugin on ia64.
Ben Konrath c203e4
Ben Konrath d8e928
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
Ben Konrath d8e928
- Use the system tomcat on ppc64 and s390x.
Ben Konrath d8e928
Andrew Overholt 18ed7d
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
Andrew Overholt 18ed7d
- Don't use pkg_summary.
Andrew Overholt 18ed7d
Ben Konrath d509af
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
Ben Konrath d509af
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
Ben Konrath 33017f
- Require java-gcj-compat >= 1.0.64.
Ben Konrath d509af
Andrew Overholt 839e68
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
Andrew Overholt 839e68
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
Andrew Overholt 839e68
Andrew Overholt 52e37f
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
Andrew Overholt 03777c
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
Andrew Overholt 03777c
  jars that don't exist.
Andrew Overholt 03777c
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
Andrew Overholt 03777c
Andrew Overholt b42fa0
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
Andrew Overholt b42fa0
- Use firefox-devel instead of mozilla-devel.
Andrew Overholt b42fa0
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
Andrew Overholt b42fa0
Ben Konrath 760970
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
Ben Konrath 760970
- Use sed instead of patches for tomcat version numbers.
Ben Konrath 760970
Ben Konrath 206926
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
Ben Konrath 8a9d80
- Disable build.index doc generation on i386.
Ben Konrath 206926
Ben Konrath 206926
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
Andrew Overholt 75b149
- Remove org.eclipse.ant.ui* from %%files.
Andrew Overholt 75b149
Ben Konrath 7466a6
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
Ben Konrath e6fae4
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
Ben Konrath 7466a6
9b8296
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
9b8296
- Rebuilt
9b8296
Andrew Overholt 9428e7
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
Andrew Overholt 9428e7
- New splash screen from Diana Fong (rh#199456).
Andrew Overholt 9428e7
Andrew Overholt 9fa962
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
Andrew Overholt 9fa962
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
Andrew Overholt 9fa962
- Fix SWT symlinks.
Andrew Overholt 9fa962
Igor Foox 4003a9
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
Igor Foox 4003a9
- Rebuild.
Igor Foox 4003a9
Ben Konrath 638776
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
Ben Konrath 638776
- Rebuild.
Ben Konrath 638776
Andrew Overholt 0be4fd
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt e267f4
- Temporarily add webapp patch for ppc64 and s390x.
Andrew Overholt a9ae1f
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
Andrew Overholt 0be4fd
Andrew Overholt d5d15b
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt d5d15b
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
Andrew Overholt d9d512
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
Andrew Overholt 67abf2
- Update webapp build patch.
Andrew Overholt 67abf2
- Use commons-* instead of jakarta-commons-*.
Andrew Overholt e85dc4
- Don't delete jars in %%install.
Andrew Overholt cbe8e8
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
Andrew Overholt 4fdd73
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
Andrew Overholt 4fdd73
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
Andrew Overholt d5d15b
Ben Konrath daf677
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
Ben Konrath daf677
- Fix tomcat symlinks. 
Ben Konrath daf677
Andrew Overholt 7f96ff
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 7f96ff
- 3.2.0.
Andrew Overholt 7f96ff
- Remove Provides:  eclipse-sdk from eclipse-platform.
Andrew Overholt 7f96ff
- Use build-jar-repository where appropriate.
Andrew Overholt 7f96ff
Ben Konrath 9507d8
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
Ben Konrath 9507d8
- Rename -devel packages to -sdk to match upstream names.
Ben Konrath 9507d8
- Add Provides eclipse-sdk to platform-sdk. 
Ben Konrath 9507d8
- Remove zip re-pack code.
Ben Konrath 9507d8
Ben Konrath 9d1c67
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
Ben Konrath 9d1c67
- Bump release again.
Ben Konrath 9d1c67
Ben Konrath 76119c
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
Ben Konrath 76119c
- Bump release.
Ben Konrath 76119c
Ben Konrath 708ba3
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
Ben Konrath 708ba3
- Require java-gcj-compat 1.0.52.
Ben Konrath 708ba3
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
Ben Konrath 708ba3
- Really fix swt symlinks rh #194500.
Ben Konrath 708ba3
Ben Konrath 6ebb2c
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2f9a66
- Enable ppc64, s390 and s390x.
Ben Konrath 2f9a66
- Add check for jars at the end of prep.
Ben Konrath 2f9a66
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2f9a66
- Fix swt symlinks rh #194500.
Ben Konrath 2f9a66
- Add versionless pde.build symlink.
Ben Konrath 2f9a66
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2f9a66
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2f9a66
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 6ebb2c
Andrew Overholt 3b7f75
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3b7f75
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3b7f75
Ben Konrath 3ab757
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 3ab757
- 3.2RC7.
Ben Konrath 3ab757
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Ben Konrath 3ab757
  jsch.jar. 
Ben Konrath 3ab757
- Work around ia64 compile problem in aot-compile-rpm. 
Ben Konrath 3ab757
Ben Konrath 02a0b8
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 02a0b8
- 3.2RC6.