Ben Konrath 8342665
Epoch:  1
cvsdist 38d0d0c
Ben Konrath f76cca3
%ifarch %{ix86} x86_64
Ben Konrath f76cca3
%define gcj_support     0
Ben Konrath f76cca3
%else
Ben Konrath 8342665
%define gcj_support     1
Ben Konrath f76cca3
%endif
Ben Konrath 8342665
%define tomcatsharedir  %{_datadir}/tomcat5
Ben Konrath 4c0ee09
%define tomcatlibdir    %{_var}/lib/tomcat5
cvsdist 38d0d0c
%define eclipse_major   3
Ben Konrath 4c0ee09
%define eclipse_minor   3
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
Ben Konrath 4c0ee09
%define eclipse_micro   0
cvsdist 38d0d0c
%define libname         libswt3
cvsdist 38d0d0c
Andrew Overholt 65c016b
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt f2593e9
%ifarch %{ix86}
Andrew Overholt f2593e9
%define eclipse_arch    x86
Andrew Overholt f2593e9
%else
Andrew Overholt f2593e9
%define eclipse_arch   %{_arch}
Andrew Overholt f2593e9
%endif
Andrew Overholt f2593e9
Andrew Overholt fad60dc
Summary:        An open, extensible IDE
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 8273c16
Version:        %{eclipse_majmin}.%{eclipse_micro}
Ben Konrath 1aa224c
Release:        13%{?dist} 
Ben Konrath 8342665
License:        Eclipse Public License
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
Ben Konrath 510eed3
Source0:        http://download.eclipse.org/eclipse/downloads/drops/R-3.3-200706251500/eclipse-sourceBuild-srcIncluded-3.3.zip
Ben Konrath 4c0ee09
Source1:        %{name}-fedora-splash-3.3.0.png
cvsdist 38d0d0c
Source2:        %{name}.desktop
Ben Konrath 4c0ee09
Source3:        eclipse.in
Ben Konrath 6588123
#Source4:        fedora-eclipse-product-plugin-3.3.0.1.zip
Ben Konrath 56f70b7
Source16:       %{name}-copy-platform.sh
Ben Konrath 2987a9c
Source17:       efj.sh.in
Andrew Overholt 65c016b
Source18:       ecj.sh.in
Andrew Overholt 65c016b
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt 65c016b
# when using the FileInitializer
Andrew Overholt fd64f0d
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 32f425f
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
Andrew Overholt 32f425f
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/ 
Andrew Overholt 32f425f
# (generated 2006-11-01 18:48 UTC)
Andrew Overholt 32f425f
Source20:       %{name}-fileinitializerapp.tar.bz2
Ben Konrath 9dbdca5
Ben Konrath da1b743
# This needs to go upstream
Ben Konrath 8342665
Patch3:         %{name}-libupdatebuild2.patch
Andrew Overholt a1ebed4
# Build swttools.jar
Andrew Overholt a1ebed4
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Ben Konrath 8342665
Patch4:         %{name}-swttools.patch
Andrew Overholt 65c016b
# This does two things:
Andrew Overholt 65c016b
# 1. allows the launcher to be in /usr/bin and
Andrew Overholt 65c016b
# 2. ensures that the OSGi configuration directory
Andrew Overholt 65c016b
#    (which contains the JNI .sos) is in %{_libdir}
Andrew Overholt 65c016b
# We should investigate whether or not this can go upstream
Ben Konrath 8342665
Patch12:        %{name}-launcher-set-install-dir-and-shared-config.patch
Andrew Overholt 6f1b538
# Always generate debug info when building RPMs (Andrew Haley)
Andrew Overholt 65c016b
# This needs to be investigated for getEnv changes
Ben Konrath 8342665
Patch14:        %{name}-ecj-rpmdebuginfo.patch
Ben Konrath 5037e9d
# generic releng plugins that can be used to build plugins
Andrew Overholt 65c016b
# see this thread for details: 
Ben Konrath 5037e9d
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Ben Konrath 8342665
Patch15:        %{name}-pde.build-add-package-build.patch
Andrew Overholt 65c016b
# This tomcat stuff will change when they move to the equinox jetty provider
Ben Konrath 56f70b7
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
Ben Konrath 8342665
Patch6:         %{name}-tomcat55.patch
Ben Konrath 8342665
Patch7:         %{name}-tomcat55-build.patch
Andrew Overholt 0e12cd7
# Use ecj for gcj
Ben Konrath 8342665
Patch17:        %{name}-ecj-gcj.patch
Ben Konrath 1298ce4
Patch24:        %{name}-add-ppc64-sparc64-s390-s390x.patch
Ben Konrath 8d1008d
#https://bugs.eclipse.org/bugs/show_bug.cgi?id=198840
Ben Konrath 8d1008d
Patch25: 	%{name}-launcher-double-free-bug.patch
Ben Konrath da1b743
#FIXME: file a bug upstream
Ben Konrath da1b743
Patch26:        %{name}-launcher-fix-java-home.patch
Andrew Overholt 65c016b
Andrew Overholt 65c016b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt daae71c
BuildRequires:  gnome-vfs2-devel
Andrew Overholt daae71c
BuildRequires:  gtk2-devel
Andrew Overholt daae71c
BuildRequires:  glib2-devel
Andrew Overholt 2b55017
BuildRequires:  libgnome-devel
Andrew Overholt 2b55017
BuildRequires:  libgnomeui-devel
Andrew Overholt 935fcc1
BuildRequires:  gcc-c++
Andrew Overholt 87cd1a4
BuildRequires:  firefox-devel
Andrew Overholt 4ee0006
BuildRequires:  nspr-devel
Andrew Overholt 923a30c
BuildRequires:  libXtst-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGL-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 2104416
BuildRequires:  cairo >= 1.0
0c750f7
BuildRequires:  unzip
Ben Konrath 4c0ee09
BuildRequires:  icu4j-eclipse >= 3.6.1
Ben Konrath 556f63a
BuildRequires:  tomcat5-jasper-eclipse >= 5.5.17
Ben Konrath 57abe09
BuildRequires:  desktop-file-utils
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 4c0ee09
BuildRequires:  gcc-java >= 4.1.2
Ben Konrath da1b743
BuildRequires:  java-1.5.0-gcj-javadoc
Ben Konrath 8342665
BuildRequires:  java-gcj-compat-devel >= 1.0.64
Andrew Overholt 33dd0d6
%else
Ben Konrath 8e5a586
BuildRequires:  java-devel >= 1.6.0
Ben Konrath da1b743
BuildRequires:  java-javadoc >= 1.6.0
Ben Konrath 1aa224c
BuildRequires:  libXt-devel
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Andrew Overholt 65c016b
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt 65c016b
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt 65c016b
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 7d8b6e1
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 4c0ee09
BuildRequires: jsch >= 0:0.1.31
Andrew Overholt 8572c32
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 8572c32
BuildRequires: mx4j >= 2.1
Ben Konrath 121b65f
BuildRequires: tomcat5 >= 5.5.23
Ben Konrath 121b65f
BuildRequires: tomcat5-jasper >= 5.5.23
Ben Konrath 121b65f
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.23
Andrew Overholt 39363de
BuildRequires: jetty
Ben Konrath 1d780f3
BuildRequires: lucene >= 1.9.1
Ben Konrath 1d780f3
BuildRequires: lucene-contrib >= 1.9.1
Ben Konrath b6b8fb1
BuildRequires: regexp 
Ben Konrath bfdd96b
BuildRequires: junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
BuildRequires: junit4
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
cvsdist df631d8
cvsdist df631d8
%description
cvsdist df631d8
The Eclipse Platform is designed for building integrated development
cvsdist df631d8
environments (IDEs) that can be used to create applications as diverse
cvsdist 38d0d0c
as web sites, embedded Java(tm) programs, C++ programs, and Enterprise
cvsdist 38d0d0c
JavaBeans(tm).
cvsdist 38d0d0c
Andrew Overholt 5203712
%package        ecj
Andrew Overholt 5203712
Summary:        Eclipse Compiler for Java
Andrew Overholt 5203712
Group:          Development/Languages
Ben Konrath 8342665
Obsoletes:      ecj <= 2.1.3
Ben Konrath 8342665
Provides:       ecj <= 2.1.3
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 8342665
Requires:       libgcj >= 4.0.2
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%else
Ben Konrath 8e5a586
Requires:       java >= 1.6.0
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 5203712
Andrew Overholt 5203712
%description    ecj
Andrew Overholt 5203712
Eclipse compiler for Java.
Andrew Overholt 5203712
Ben Konrath 9dbdca5
%package     -n %{libname}-gtk2
Andrew Overholt 65c016b
Summary:        SWT Library for GTK+-2.0
Ben Konrath 9dbdca5
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 8342665
Requires:           libgcj >= 4.0.2
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 9dbdca5
%endif
Andrew Overholt 65c016b
Requires:       gtk2
Ben Konrath ce0351e
Requires:       firefox
Ben Konrath 8342665
Conflicts:      mozilla
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%description -n %{libname}-gtk2
Andrew Overholt 65c016b
SWT Library for GTK+-2.0.
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%package        rcp
Ben Konrath 9dbdca5
Summary:        Eclipse Rich Client Platform
Ben Konrath 9dbdca5
Group:          Development/Languages
Ben Konrath 9dbdca5
Requires:       %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Andrew Overholt 65c016b
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 82b9077
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3346.jar
Ben Konrath 8342665
Requires(post):     %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):   %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath bc52b62
Requires:           icu4j-eclipse >= 3.6.1
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 8342665
Requires:           libgcj >= 4.0.2
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 9dbdca5
%else
Ben Konrath 8e5a586
Requires:       java >= 1.6.0
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%description    rcp
Ben Konrath 9dbdca5
Eclipse Rich Client Platform
Ben Konrath 9dbdca5
Ben Konrath 4c0ee09
%package        cvs-client
Ben Konrath 4c0ee09
Summary:        Eclipse CVS Client
Ben Konrath 4c0ee09
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 4c0ee09
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 4c0ee09
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 4c0ee09
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
%description    cvs-client 
Ben Konrath 4c0ee09
Eclipse CVS Client
Ben Konrath 4c0ee09
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 65c016b
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt 65c016b
# This file-level requirement is for the bi-arch multilib case
Ben Konrath 82b9077
Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_3.3.0.v3346.jar
Ben Konrath 8342665
Requires(post):    %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt 65c016b
# Need to investigate why we don't build ant-apache-bsf or ant-commons-net in
Andrew Overholt 65c016b
# Fedora.  When that's done, add it here and symlink below.
Andrew Overholt 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt 65c016b
#Requires: ant-apache-bsf ant-commons-net
Andrew Overholt 65c016b
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 7d8b6e1
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 8572c32
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 8572c32
Requires: mx4j >= 2.1
Ben Konrath 121b65f
Requires: tomcat5 >= 5.5.23
Ben Konrath 556f63a
Requires: tomcat5-jasper-eclipse >= 5.5.23
Ben Konrath 121b65f
Requires: tomcat5-servlet-2.4-api >= 5.5.23
Ben Konrath 556f63a
Requires: tomcat5-jsp-2.0-api >= 5.5.23
Andrew Overholt 39363de
Requires: jetty
Ben Konrath 1d780f3
Requires: jsch >= 0.1.31
Ben Konrath 1d780f3
Requires: lucene >= 1.9.1
Ben Konrath 1d780f3
Requires: lucene-contrib >= 1.9.1
Ben Konrath b6b8fb1
Requires: regexp
Ben Konrath cdfb51a
Requires: eclipse-cvs-client
Ben Konrath cdfb51a
Requires: eclipse-subclipse
Ben Konrath cdfb51a
Requires: eclipse-changelog
Ben Konrath fd17240
# no xmlrpc3 -> no mylyn on ppc64 due to:
Ben Konrath fd17240
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239123
Ben Konrath 51b488e
%ifnarch ppc64 alpha
Ben Konrath 51eb7cb
Requires: eclipse-mylyn
Ben Konrath e420f1f
Requires: eclipse-mylyn-ide
Ben Konrath e420f1f
Requires: eclipse-mylyn-bugzilla
Ben Konrath e420f1f
Requires: eclipse-mylyn-trac
Ben Konrath fd17240
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Andrew Overholt 65c016b
The Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt 65c016b
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        jdt
Andrew Overholt 65c016b
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 1aa224c
Provides:	eclipse
Andrew Overholt bfd4e0b
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 014de59
Requires:       %{name}-cvs-client = %{epoch}:%{version}-%{release}
Andrew Overholt 921a570
Requires:       %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(post):    %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-ecj = %{epoch}:%{version}-%{release}
9ef820f
Requires:       junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
Requires:       junit4
Ben Konrath da1b743
%if %{gcj_support}
Andrew Overholt 65c016b
Requires:       java-javadoc
Ben Konrath da1b743
%else
Ben Konrath da1b743
Requires:       java-javadoc >= 1.6.0
Ben Konrath da1b743
%endif
Ben Konrath fd17240
# no xmlrpc3 -> no mylyn on ppc64 due to:
Ben Konrath fd17240
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239123
Ben Konrath 51b488e
%ifnarch ppc64 alpha
Ben Konrath e420f1f
Requires:       eclipse-mylyn-java
Ben Konrath fd17240
%endif
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
Andrew Overholt 65c016b
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt 65c016b
developing software written in the Java programming language.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        pde
Andrew Overholt 65c016b
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath fd17240
Provides:	eclipse-sdk
Ben Konrath 6588123
# Can remove for F9
Ben Konrath 6588123
Obsoletes:	eclipse-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-pde-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-pde-sdk 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-cvs-client-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-cvs-client-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-jdt-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-jdt-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-pde-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-pde-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-platform-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-platform-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
Provides:       eclipse-rcp-sdk
Ben Konrath 6588123
Obsoletes:      eclipse-rcp-sdk < 1:3.3.0-13.fc8
Ben Konrath 6588123
# end remove for F9
Ben Konrath e420f1f
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 921a570
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
Requires:       %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath fd17240
# no xmlrpc3 -> no mylyn on ppc64 due to:
Ben Konrath fd17240
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239123
Ben Konrath 51b488e
%ifnarch ppc64 alpha
Ben Konrath e420f1f
Requires:       eclipse-mylyn-pde
Ben Konrath fd17240
%endif
Ben Konrath e420f1f
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath e420f1f
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(post):    %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(post):    %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
Andrew Overholt bfd4e0b
Andrew Overholt 3e3ec31
%description    pde
Andrew Overholt 65c016b
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt 65c016b
developing Eclipse plugins.
Ben Konrath 5037e9d
Ben Konrath 5037e9d
%package        pde-runtime
Andrew Overholt 65c016b
Summary:        Eclipse Plugin Development Environment runtime plugin.
Ben Konrath 5037e9d
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 9dbdca5
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(post):    %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 8342665
Requires(postun):  %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
%if %{gcj_support}
Ben Konrath 8342665
Requires(post):     java-gcj-compat >= 1.0.64
Ben Konrath 8342665
Requires(postun):   java-gcj-compat >= 1.0.64
Ben Konrath 5037e9d
%endif
Ben Konrath 5037e9d
Ben Konrath 5037e9d
%description    pde-runtime
Andrew Overholt 65c016b
Eclipse Plugin Development Environment runtime plugin (org.eclipse.pde.runtime).
Andrew Overholt 3e3ec31
cvsdist df631d8
%prep
cvsdist 3a48756
%setup -q -c
Andrew Overholt bfd4e0b
Ben Konrath 4382774
sed --in-place "s/java5.home/java.home/" build.xml
Andrew Overholt 65c016b
%patch3 -p0
Andrew Overholt 65c016b
# FIXME:  investigate why we are pushd'ing here
Andrew Overholt 65c016b
# Build swttools.jar
9ef820f
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
Andrew Overholt 65c016b
%patch4 -p0
Andrew Overholt a1ebed4
popd
Ben Konrath 2987a9c
Ben Konrath 2987a9c
# tomcat patches
Andrew Overholt 8572c32
pushd plugins/org.eclipse.tomcat
Andrew Overholt 65c016b
%patch6 -p0
Andrew Overholt 65c016b
%patch7 -p0
Andrew Overholt 16c113b
popd
Ben Konrath 121b65f
sed --in-place "s/4.1.130/5.5.23/g"                      \
Ben Konrath e1c9923
                features/org.eclipse.platform/build.xml \
Ben Konrath e1c9923
                plugins/org.eclipse.tomcat/build.xml    \
Ben Konrath 32b1de4
                plugins/org.eclipse.tomcat/META-INF/MANIFEST.MF   \
Ben Konrath e1c9923
                assemble.*.xml
Andrew Overholt 65c016b
Ben Konrath 5037e9d
pushd plugins/org.eclipse.jdt.core
Andrew Overholt 65c016b
%patch17 -p0
Andrew Overholt dffd49c
popd
cvsdist 38d0d0c
Ben Konrath cb417cd
# liblocalfile fixes
Ben Konrath cb417cd
sed --in-place "s/JAVA_HOME =/#JAVA_HOME =/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath cb417cd
sed --in-place "s/OPT_FLAGS=-O/OPT_FLAGS=-O2 -g/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath cb417cd
Ben Konrath 4c0ee09
# launcher patches
Ben Konrath 4c0ee09
rm plugins/org.eclipse.platform/launchersrc.zip
Ben Konrath 4c0ee09
pushd features/org.eclipse.equinox.executable
Andrew Overholt 65c016b
%patch12 -p0
Ben Konrath 8d1008d
%patch25 -p0
Ben Konrath da1b743
%patch26 -p0
Andrew Overholt 65c016b
# put the configuration directory in an arch-specific location
Ben Konrath 158e040
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Andrew Overholt 65c016b
# make the eclipse binary relocatable 
Ben Konrath 158e040
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 4c0ee09
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
Andrew Overholt 99b55e9
popd
Andrew Overholt 65c016b
Ben Konrath 658b6e7
# use our system-installed javadocs
Ben Konrath da1b743
sed --in-place "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
Ben Konrath 658b6e7
   plugins/org.eclipse.platform.doc.isv/platformOptions.txt
Ben Konrath da1b743
sed --in-place "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
Ben Konrath 658b6e7
   plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt                     \
Ben Konrath 658b6e7
   plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
Ben Konrath da1b743
sed --in-place "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
Ben Konrath 658b6e7
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt                       \
Ben Konrath 658b6e7
   plugins/org.eclipse.pde.doc.user/pdeOptions
Ben Konrath 4c0ee09
Andrew Overholt 65c016b
%patch14 -p0
Andrew Overholt 99b55e9
Ben Konrath 5037e9d
pushd plugins/org.eclipse.pde.build
Andrew Overholt 65c016b
%patch15
Andrew Overholt 65c016b
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" templates/package-build/build.properties
Ben Konrath 5037e9d
popd
Ben Konrath 5037e9d
Andrew Overholt 65c016b
# Splashscreen
Ben Konrath 4c0ee09
cp %{SOURCE1} plugins/org.eclipse.platform/splash.bmp
cvsdist 38d0d0c
Ben Konrath 2987a9c
# FIXME this should be patched upstream with a flag to turn on and off 
Ben Konrath 2987a9c
# all output should be directed to stdout
Andrew Overholt 65c016b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
Ben Konrath 2987a9c
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2987a9c
Ben Konrath 619a6b2
# Remove existing .sos and binary launcher
Ben Konrath 5037e9d
find -name \*.so | xargs rm
Ben Konrath 619a6b2
find features/org.eclipse.equinox.executable -type f -name eclipse | xargs rm
Andrew Overholt bfd4e0b
Andrew Overholt bfd4e0b
# Symlinks
Andrew Overholt bfd4e0b
Andrew Overholt bfd4e0b
## BEGIN ANT ##
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt 65c016b
# FIXME:  use build-jar-repository
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Andrew Overholt 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt 65c016b
# the symlinks that are commented-out are not currently shipped on Fedora
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt bfd4e0b
## END ANT ##
Andrew Overholt 65c016b
Andrew Overholt 8572c32
## BEGIN TOMCAT ##
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-beanutils.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-collections.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-digester.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-logging-api.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-modeler.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlet.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlets-manager.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/naming-common.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlets-common.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/bootstrap.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/catalina.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/jasper-compiler.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/jasper-runtime.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/mx4j-jmx.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/naming-resources.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/naming-factory.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/servlets-default.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/servlets-invoker.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/tomcat-coyote.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/tomcat-util.jar
Ben Konrath 1fca076
mkdir -p plugins/org.eclipse.tomcat/lib
Andrew Overholt e940817
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/lib/bootstrap.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat/lib/catalina.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat/lib/catalina-optional.jar
Andrew Overholt e940817
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat/lib/jasper-compiler.jar
Andrew Overholt e940817
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/lib/jasper-runtime.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/lib/mx4j.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/lib/mx4j-impl.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/lib/mx4j-jmx.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat/lib/naming-factory.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat/lib/naming-resources.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat/lib/servlets-default.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat/lib/servlets-invoker.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat/lib/tomcat-coyote.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat/lib/tomcat-http.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat/lib/tomcat-util.jar
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-beanutils
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-collections
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-dbcp
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester-rss
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-el
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-fileupload
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-launcher
Andrew Overholt 8ff44ba
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-logging-api
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-modeler
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-pool
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib jspapi
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5
Andrew Overholt 8572c32
## END TOMCAT ##
Ben Konrath 19e4982
Andrew Overholt 39363de
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
Andrew Overholt 39363de
rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
Ben Konrath 4c0ee09
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
Ben Konrath 4c0ee09
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
9ef820f
Ben Konrath 619a6b2
rm plugins/org.junit4/junit.jar
Ben Konrath 619a6b2
ln -s %{_javadir}/junit4.jar plugins/org.junit4/junit.jar
Ben Konrath 619a6b2
Ben Konrath f76cca3
%if %{gcj_support}
Ben Konrath f4c4bd1
find plugins -type f -name \*.xml -exec sed --in-place "s/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
Ben Konrath f76cca3
%endif
Ben Konrath f4c4bd1
Ben Konrath cccd621
# the swt version is set to HEAD on ia64 but shouldn't be
Ben Konrath cccd621
# get swt version
Ben Konrath cccd621
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath cccd621
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath cccd621
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath cccd621
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath cccd621
swt_frag_ver_ia64=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath cccd621
sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml \
Ben Konrath 8342665
                                                      assemble.org.eclipse.sdk.linux.gtk.ia64.xml \
Ben Konrath 8342665
                                                      features/org.eclipse.rcp/build.xml
Ben Konrath cccd621
Ben Konrath f76cca3
## Nasty hack to get suppport for ppc64, sparc{,64} and alpha
Ben Konrath f449bd8
%patch24 -p1
Ben Konrath f449bd8
# there is only partial support for ppc64 so we have to remove this 
Ben Konrath 1298ce4
# partial support to get the replacemnt hack to work
Ben Konrath 1298ce4
find -name \*ppc64\* | xargs rm -r
Ben Konrath 1298ce4
# remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 1298ce4
# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
Ben Konrath 1298ce4
find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \;
Ben Konrath 1298ce4
# remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq
Ben Konrath 1298ce4
sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 1298ce4
# replace final occurances with an existing arch
Ben Konrath 1298ce4
sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml
Ben Konrath f76cca3
# Move all of the ia64 directories to ppc64 or sparc{,64} or alpha dirs and replace 
Ben Konrath f76cca3
# the ia64 strings with ppc64 etc.
Ben Konrath f76cca3
%ifarch ppc64 sparc sparc64 alpha
Ben Konrath 1298ce4
  for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do 
Ben Konrath 1298ce4
    mv $f $(echo $f | sed "s/ia64/%{_arch}/")
Ben Konrath 1298ce4
  done
Ben Konrath 1298ce4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \;
Ben Konrath 1298ce4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \;
Ben Konrath 1298ce4
  find -type f ! -name \*.java -a ! -name feature.xml -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \;
Ben Konrath 1298ce4
%endif 
Ben Konrath 1298ce4
Ben Konrath 8e5a586
%if %{gcj_support}
Ben Konrath da1b743
# 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 d0ce538
for plugin in jdt.apt.pluggable.core jdt.compiler.tool jdt.compiler.apt; do
Ben Konrath d0ce538
  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 d0ce538
  sed --in-place "s/org.eclipse.$plugin:0.0.0,$version,//" features/org.eclipse.jdt/build.xml
Ben Konrath d0ce538
  linenum=$(grep -no $plugin features/org.eclipse.jdt/build.xml | cut -d : -f 1)
Ben Konrath d0ce538
  sed --in-place -e "$linenum,$(expr $linenum + 4)d" features/org.eclipse.jdt/build.xml
Ben Konrath d0ce538
  linenum=$(grep -no $plugin features/org.eclipse.jdt/feature.xml | cut -d : -f 1)
Ben Konrath d0ce538
  sed --in-place -e "$(expr $linenum - 1),$(expr $linenum + 5)d" features/org.eclipse.jdt/feature.xml
Ben Konrath d0ce538
  linenum=$(grep -no "dir=\"plugins/org.eclipse.$plugin" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath d0ce538
  sed --in-place -e "$linenum,$(expr $linenum + 2)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Ben Konrath d0ce538
  linenum=$(grep -no "value=\"org.eclipse.$plugin" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml | cut -d : -f 1)
Ben Konrath d0ce538
  sed --in-place -e "$(expr $linenum - 2),$(expr $linenum + 1)d" assemble.org.eclipse.sdk.linux.gtk.%{eclipse_arch}.xml
Ben Konrath d0ce538
done
Ben Konrath 8e5a586
%endif
Ben Konrath d0ce538
Ben Konrath 4c0ee09
# link to the jsch jar
Ben Konrath 4c0ee09
rm plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 4c0ee09
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 48553a3
Ben Konrath 4c0ee09
# link to the icu4j stuff
Ben Konrath 4c0ee09
rm plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 4c0ee09
ln -s %{_datadir}/eclipse/plugins/com.ibm.icu_3.6.1.v20070417.jar plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 5b61247
Ben Konrath bc52b62
# link to lucene
Ben Konrath 1d780f3
rm plugins/org.apache.lucene_1.9.1.v200706111724.jar
Ben Konrath 1d780f3
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_1.9.1.v200706111724.jar
Ben Konrath 1d780f3
rm plugins/org.apache.lucene.analysis_1.9.1.v200706181610.jar
Ben Konrath 1d780f3
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar plugins/org.apache.lucene.analysis_1.9.1.v200706181610.jar
Ben Konrath f449bd8
Ben Konrath f449bd8
# link to commons-logging
Ben Konrath f449bd8
rm plugins/org.apache.commons.logging_1.0.4.v200706111724.jar
Ben Konrath f449bd8
ln -s %{_javadir}/commons-logging.jar plugins/org.apache.commons.logging_1.0.4.v200706111724.jar
Ben Konrath bc52b62
Ben Konrath 491b3aa
# link to commons-el
Ben Konrath 491b3aa
rm plugins/org.apache.commons.el_1.0.0.v200706111724.jar
Ben Konrath 491b3aa
ln -s %{_javadir}/commons-el.jar plugins/org.apache.commons.el_1.0.0.v200706111724.jar
Ben Konrath 491b3aa
Ben Konrath 556f63a
# link to jasper
Ben Konrath 556f63a
rm plugins/org.apache.jasper_5.5.17.v200706111724.jar
Ben Konrath 556f63a
ln -s  %{_datadir}/eclipse/plugins/org.apache.jasper_5.5.17.v200706111724.jar \
Ben Konrath 556f63a
   plugins/org.apache.jasper_5.5.17.v200706111724.jar
Ben Konrath 556f63a
Ben Konrath 556f63a
# link to serlet-api
Ben Konrath 556f63a
rm plugins/javax.servlet_2.4.0.v200706111738.jar
Ben Konrath 556f63a
ln -s %{_javadir}/tomcat5-servlet-2.4-api.jar plugins/javax.servlet_2.4.0.v200706111738.jar
Ben Konrath 556f63a
Ben Konrath 556f63a
# link to jsp-api
Ben Konrath 556f63a
rm plugins/javax.servlet.jsp_2.0.0.v200706191603.jar
Ben Konrath 556f63a
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar plugins/javax.servlet.jsp_2.0.0.v200706191603.jar
Ben Konrath 556f63a
Ben Konrath 556f63a
Ben Konrath 5b61247
# delete included jars
Ben Konrath ec33055
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
Ben Konrath 5b61247
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
Ben Konrath 5b61247
   plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath 5b61247
   plugins/org.eclipse.swt.tools/swttools.jar \
Ben Konrath 4c0ee09
   plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
Ben Konrath 4c0ee09
   plugins/org.eclipse.osgi/osgi/osgi.core.jar \
Ben Konrath 4c0ee09
   plugins/org.eclipse.osgi/supplement/osgi/osgi.jar
Ben Konrath 5b61247
Ben Konrath 5037e9d
# make sure there are no jars left
Ben Konrath 55460d9
JARS=""
Ben Konrath 55460d9
for j in $(find -name \*.jar); do
Ben Konrath 55460d9
  if [ ! -L $j ]; then
Ben Konrath 55460d9
    JARS="$JARS $j"
Ben Konrath 55460d9
  fi
Ben Konrath 55460d9
done
Ben Konrath 55460d9
if [ ! -z "$JARS" ]; then
Andrew Overholt 65c016b
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2987a9c
   #FIXME: enable  exit 1
Ben Konrath 55460d9
fi
Ben Konrath 5037e9d
Andrew Overholt 32f425f
tar jxf %{SOURCE20}
Ben Konrath 6588123
#unzip -qq %{SOURCE4}
Andrew Overholt 32f425f
Andrew Overholt 602cb9d
%build
Andrew Overholt 602cb9d
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 602cb9d
Ben Konrath 4c0ee09
# Bootstrapping:
Ben Konrath 4c0ee09
# 1. Build ecj with gcj-built ecj ("javac")
Ben Konrath 4c0ee09
# 2. Re-build ecj with output of 1.
Ben Konrath 681f7e5
Ben Konrath 4c0ee09
# 1a. compile ecj with javac
Ben Konrath 4c0ee09
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 602cb9d
Ben Konrath 681f7e5
%if %{gcj_support}
Ben Konrath 4c0ee09
  # 1b. Natively-compile ecj
Andrew Overholt f3d35a6
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt f3d35a6
    -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
Andrew Overholt f3d35a6
   
Andrew Overholt f3d35a6
  gcj-dbtool -n jdtcoresrc/ecj.db 30000
Andrew Overholt f3d35a6
  gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
Andrew Overholt 8581d1e
Ben Konrath 4c0ee09
  # To ensure we're not using any pre-compiled ecj on the build system, set this
Andrew Overholt f3d35a6
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 602cb9d
Ben Konrath 4c0ee09
# 2. Use this ecj to rebuild itself
9ef820f
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Ben Konrath 4c0ee09
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 602cb9d
Ben Konrath 681f7e5
%if %{gcj_support}
Andrew Overholt f3d35a6
  # Natively-compile it
Andrew Overholt f3d35a6
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt f3d35a6
    -o ecj.jar.so ecj.jar
Andrew Overholt f3d35a6
  gcj-dbtool -n ecj.db 30000
Andrew Overholt f3d35a6
  gcj-dbtool -a ecj.db ecj.jar{,.so}
Andrew Overholt f3d35a6
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
Andrew Overholt a5c081c
  
Andrew Overholt a5c081c
  # Remove old native bits
Andrew Overholt f3d35a6
  rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
Andrew Overholt 349c5a6
%endif
Andrew Overholt 602cb9d
Andrew Overholt 602cb9d
# Build the rest of Eclipse
9ef820f
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 5037e9d
export JAVA_HOME=%{java_home}
Ben Konrath 8e5a586
%if %{gcj_support}
Andrew Overholt bfd4e0b
ant \
Andrew Overholt bfd4e0b
  -Dnobootstrap=true \
Andrew Overholt f2593e9
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Ben Konrath 4c0ee09
  -Dlibsconfig=true -DjavacSource=1.5 -DjavacTarget=1.5 -DcompilerArg="-encoding ISO-8859-1 -nowarn"
Ben Konrath 8e5a586
%else
Ben Konrath 8e5a586
ant \
Ben Konrath 8e5a586
  -Dnobootstrap=true \
Ben Konrath 8e5a586
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Ben Konrath 8e5a586
  -Dlibsconfig=true -DcompilerArg="-encoding ISO-8859-1 -nowarn"
Ben Konrath 8e5a586
%endif
Andrew Overholt 921a570
Ben Konrath 4c0ee09
## Build the FileInitializer application
Ben Konrath aa30cb9
SDK=$(cd eclipse && pwd)
Ben Konrath aa30cb9
PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build | sed 's/org.eclipse.pde.build_//')
Ben Konrath aa30cb9
pushd equinox-incubator
Ben Konrath aa30cb9
mkdir -p build
Ben Konrath aa30cb9
mkdir -p home
Ben Konrath aa30cb9
homedir=$(cd home && pwd)
Ben Konrath aa30cb9
Ben Konrath aa30cb9
# This can go away when package build handles plugins (not just features)
Ben Konrath aa30cb9
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
Ben Konrath aa30cb9
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
Ben Konrath aa30cb9
Ben Konrath 4c0ee09
LAUNCHERVERSION=$(ls $SDK/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Ben Konrath 4c0ee09
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 48553a3
     -Duser.home=$homedir                              \
Ben Konrath 4c0ee09
      org.eclipse.core.launcher.Main \
Ben Konrath aa30cb9
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath aa30cb9
     -Dtype=plugin                                    \
Ben Konrath aa30cb9
     -Did=org.eclipse.equinox.initializer                   \
Ben Konrath aa30cb9
     -DsourceDirectory=$(pwd)                          \
Ben Konrath aa30cb9
     -DbaseLocation=$SDK \
Ben Konrath aa30cb9
     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
Ben Konrath aa30cb9
     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
Ben Konrath aa30cb9
Ben Konrath aa30cb9
pushd build/plugins/org.eclipse.equinox.initializer
Ben Konrath 4c0ee09
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 48553a3
     -Duser.home=$homedir                              \
Ben Konrath 4c0ee09
      org.eclipse.core.launcher.Main \
Ben Konrath d0ce538
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath aa30cb9
     -f build.xml build.update.jar
Ben Konrath aa30cb9
popd
Ben Konrath aa30cb9
popd
Ben Konrath 2987a9c
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
cvsdist df631d8
Andrew Overholt 65c016b
# Get swt version
Ben Konrath bc6236b
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236b
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236b
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath bc6236b
Andrew Overholt 65c016b
# Some directories we need
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/links
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Andrew Overholt 65c016b
Andrew Overholt 65c016b
# Explode the resulting SDK tarball
Ben Konrath cccd621
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
Ben Konrath d0ce538
cp launchertmp/eclipse $RPM_BUILD_ROOT%{_datadir}/eclipse
Ben Konrath f76cca3
%ifarch ppc64 sparc sparc64 alpha
Ben Konrath 8d14de6
cp features/org.eclipse.platform/gtk/eclipse.ini $RPM_BUILD_ROOT%{_datadir}/eclipse
Ben Konrath d0ce538
%endif
cvsdist df631d8
Ben Konrath 4c0ee09
# Add a compatibility symlink to startup.jar
Ben Konrath 4c0ee09
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 4c0ee09
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
Ben Konrath 4c0ee09
ln -s plugins/$LAUNCHERNAME startup.jar
Ben Konrath 4c0ee09
popd
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
## The FileInitializer app isn't part of the SDK (yet?) but we want it to be
Ben Konrath 4c0ee09
## around for other RPMs
Ben Konrath aa30cb9
cp equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
Ben Konrath aa30cb9
  $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt 32f425f
Andrew Overholt 65c016b
# Set up an extension location and a link file for the arch-specific dir
Andrew Overholt 32f425f
echo "path:$RPM_BUILD_ROOT%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Andrew Overholt 32f425f
echo "name=Eclipse Platform" > $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 32f425f
echo "id=org.eclipse.platform" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Andrew Overholt 32f425f
echo "version=%{eclipse_majmin}.%{eclipse_micro}" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath c3ae080
Andrew Overholt 65c016b
# Install the platform-specific fragments in an arch-specific dir
Andrew Overholt 32f425f
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/*%{eclipse_arch}* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
Andrew Overholt 65c016b
# platform.source has the launcher src zip which is platform-specific
Ben Konrath ef20ae9
PLATFORMSOURCEVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.source_ | sed 's/org.eclipse.platform.source_//')
Ben Konrath c3ae080
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.source_$PLATFORMSOURCEVERSION \
Ben Konrath c3ae080
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
Ben Konrath c3ae080
# help.webapp generates web.xml with Apache Jakarta Tomcat JspC. This file is
Ben Konrath c3ae080
# generated differently for different arches. FIXME investigate this.
Ben Konrath c3ae080
HELPWEBAPPVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep help.webapp_ | sed 's/org.eclipse.help.webapp_//')
Ben Konrath ef13702
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_$HELPWEBAPPVERSION \
Ben Konrath c3ae080
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
Ben Konrath c3ae080
# update.core.linux is a fragment
Ben Konrath c3ae080
# FIXME: make a patch for upstream to change to swt fragment notation
Ben Konrath c3ae080
UPDATECORELINUXVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep update.core.linux_ | sed 's/org.eclipse.update.core.linux_//')
Ben Konrath c3ae080
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_$UPDATECORELINUXVERSION \
Ben Konrath c3ae080
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
Andrew Overholt 65c016b
# FIXME: there is a problem with gjdoc generating different HTML on different
Ben Konrath 0f53998
# architectures.
Ben Konrath d9e8538
PLATFORMDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep platform.doc.isv_ | sed 's/org.eclipse.platform.doc.isv_//')
Ben Konrath d9e8538
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_$PLATFORMDOCISVVERSION \
Ben Konrath d9e8538
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 0f53998
# ppc64 is problematic with these two
Ben Konrath 0f53998
JDTDOCISVVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.doc.isv_ | sed 's/org.eclipse.jdt.doc.isv_//')
Ben Konrath 0f53998
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_$JDTDOCISVVERSION \
Ben Konrath 0f53998
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 0f53998
PDEDOCUSERVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep pde.doc.user_ | sed 's/org.eclipse.pde.doc.user_//')
Ben Konrath 0f53998
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_$PDEDOCUSERVERSION \
Ben Konrath 0f53998
  $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Andrew Overholt 65c016b
Ben Konrath f76cca3
# Adding support for ppc64 and sparc{64} makes the rcp feature 
Ben Konrath d563cf5
# have multilib conflicts
Ben Konrath d563cf5
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/features/org.eclipse.rcp_* \
Ben Konrath d563cf5
  $RPM_BUILD_ROOT%{_libdir}/%{name}/features
Ben Konrath d563cf5
Ben Konrath 158e040
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt 65c016b
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt 65c016b
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt 65c016b
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt 65c016b
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt 65c016b
# 
Andrew Overholt fd64f0d
# Extract .so files
Andrew Overholt fd64f0d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 32f425f
pushd $RPM_BUILD_ROOT
Andrew Overholt 32f425f
datadir_path=$(echo %{_datadir}/%{name} | sed -e 's/^\///')
Andrew Overholt 32f425f
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
Andrew Overholt 32f425f
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
Ben Konrath 1424314
     -cp $datadir_path/startup.jar \
Ben Konrath 158e040
     org.eclipse.core.launcher.Main \
Ben Konrath 158e040
     -consolelog \
Andrew Overholt 32f425f
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 158e040
     -fileInitializer %{SOURCE19}
9ef820f
popd
9ef820f
Andrew Overholt e224b7c
# Make proper links file
Ben Konrath c3ae080
echo "path:/usr/lib" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Ben Konrath c3ae080
echo "path:/usr/lib64" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments64.link
Ben Konrath c3ae080
Andrew Overholt 32f425f
# Install config.ini to an arch dependent location and remove the unnecessary
Ben Konrath 158e040
# configuration data
Ben Konrath 158e040
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 158e040
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update
Ben Konrath 158e040
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime
Ben Konrath 4c0ee09
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.app
cvsdist df631d8
Ben Konrath e420f1f
# Set eclipse.product to be org.eclipse.platform.ide 
Andrew Overholt c9609e9
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
Ben Konrath 158e040
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 158e040
Ben Konrath 4c0ee09
# Install the launcher so
Ben Konrath 4c0ee09
LAUNCHERFRAGVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | grep equinox.launcher.gtk.linux.%{eclipse_arch}_ | sed "s/.*equinox.launcher.gtk.linux.*_//")
Ben Konrath 4c0ee09
cp launchertmp/library/gtk/eclipse_*.so \
Ben Konrath 4c0ee09
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_$LAUNCHERFRAGVERSION
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
# Install the Eclipse binary wrapper
Ben Konrath 4c0ee09
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt bfd4e0b
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Ben Konrath 4c0ee09
cp %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/eclipse
Ben Konrath 4c0ee09
sed --in-place "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_bindir}/eclipse
Ben Konrath 4c0ee09
ECLIPSELIBSUFFIX=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux*/*.so | sed "s/.*.launcher.gtk.linux.//")
Ben Konrath 4c0ee09
sed --in-place "s|@ECLIPSELIBSUFFIX@|$ECLIPSELIBSUFFIX|" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt bfd4e0b
Ben Konrath 158e040
# Ensure the shared libraries have the correct permissions
Ben Konrath 158e040
pushd $RPM_BUILD_ROOT%{_libdir}/%{name} 
Ben Konrath 158e040
for lib in `find configuration -name \*.so`; do
Ben Konrath 158e040
   chmod 755 $lib
Andrew Overholt fd64f0d
done
cvsdist 38d0d0c
Andrew Overholt 374fb56
# Create file listings for the extracted shared libraries
Ben Konrath 158e040
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 158e040
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Ben Konrath 41a5f97
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Ben Konrath 158e040
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Ben Konrath 158e040
  else
Ben Konrath 158e040
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 158e040
  fi
Ben Konrath 158e040
done 
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath ac6938f
# Install symlinks to the SWT JNI shared libraries in /usr/lib/eclipse
Ben Konrath 121ec8f
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 121ec8f
for lib in $(find configuration -name libswt\*.so); do  
Ben Konrath ac6938f
  ln -s %{_libdir}/%{name}/$lib `basename $lib`
Ben Konrath 121ec8f
done
Ben Konrath 121ec8f
popd
Ben Konrath 121ec8f
Ben Konrath 121ec8f
# Install the SWT jar symlinks in libdir
Andrew Overholt 65c016b
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath c3ae080
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 65c016b
ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2987a9c
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath 158e040
# Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac"
Ben Konrath 158e040
JDTCORESUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.core_ | sed "s/org.eclipse.jdt.core_//")
Ben Konrath c3ae080
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
Andrew Overholt 86fa7c9
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_$JDTCORESUFFIX $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
Ben Konrath 158e040
ln -s %{_javadir}/eclipse-ecj.jar $RPM_BUILD_ROOT%{_javadir}/jdtcore.jar
Ben Konrath 158e040
Ben Konrath 158e040
# FIXME: get rid of this by putting logic in package build to know what version
Ben Konrath 158e040
#        of pde.build it's using
Ben Konrath 158e040
# Install a versionless pde.build
Ben Konrath 2987a9c
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
Ben Konrath 2987a9c
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
Ben Konrath 2987a9c
popd
Ben Konrath 2987a9c
Andrew Overholt 65c016b
# Icons
Andrew Overholt 65c016b
PLATFORMSUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
Andrew Overholt 65c016b
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse48.png \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt 65c016b
ln -s %{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse32.png \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt 65c016b
ln -s ../../../../%{name}/plugins/org.eclipse.platform_$PLATFORMSUFFIX/eclipse.png \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt 65c016b
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png \
Andrew Overholt 65c016b
  $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt 65c016b
%ifarch %{ix86} x86_64
Andrew Overholt 349c5a6
# Remove unused icon.xpm
Andrew Overholt 65c016b
# see https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
Ben Konrath 41a5f97
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
Andrew Overholt 65c016b
%endif
cvsdist df631d8
Andrew Overholt 65c016b
# Install the efj wrapper script 
Ben Konrath 0b073c2
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath 0b073c2
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
Ben Konrath 0b073c2
  $RPM_BUILD_ROOT%{_bindir}/efj 
Ben Konrath 0b073c2
Ben Konrath 158e040
# Install the ecj wrapper script
Ben Konrath 158e040
install -p -D -m0755 %{SOURCE18} $RPM_BUILD_ROOT%{_bindir}/ecj
Ben Konrath 158e040
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj 
Ben Konrath 158e040
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
Andrew Overholt 65c016b
install -p -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0c
Ben Konrath 5b61247
# Put Fedora Core version into about.mappings of org.eclipse.sdk and
Ben Konrath e420f1f
# org.eclipse.platform to show it in Eclipse about dialog.  
Ben Konrath e420f1f
# (courtesy Debian Eclipse packagers)
Ben Konrath 5037e9d
# FIXME use the third id
Ben Konrath e420f1f
SDKPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.sdk_ | sed "s/org.eclipse.sdk_//")
Ben Konrath e420f1f
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_$SDKPLUGINVERSION
Andrew Overholt 65c016b
OS_VERSION=$(cat /etc/*-release | head -n 1)
Andrew Overholt c9609e9
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Andrew Overholt 2104416
mv about.mappings.tmp about.mappings
Andrew Overholt 2104416
popd
Andrew Overholt 65c016b
PLATFORMPLUGINVERSION=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep eclipse.platform_ | sed "s/org.eclipse.platform_//")
Andrew Overholt 65c016b
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_$PLATFORMPLUGINVERSION
Andrew Overholt c9609e9
sed -e "s/\(0=.*\)/\1 ($OS_VERSION)/" < about.mappings > about.mappings.tmp
Ben Konrath 5b61247
mv about.mappings.tmp about.mappings
Ben Konrath 5b61247
popd
Andrew Overholt 2104416
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt bfd4e0b
cp %{SOURCE16} copy-platform
cvsdist 38d0d0c
(
cvsdist 38d0d0c
  cd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath d9e8538
  ls -d * | egrep -v '^(plugins|features|links|about_files)$'
Ben Konrath d9e8538
  ls -d plugins/* features/* links/*
cvsdist 38d0d0c
) |
cvsdist 38d0d0c
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform
cvsdist 38d0d0c
Ben Konrath d9e8538
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath d9e8538
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath 435496e
Andrew Overholt bfd4e0b
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt bfd4e0b
## BEGIN ANT ##
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 510eed3
rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 510eed3
#rm plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Ben Konrath 4c0ee09
# FIXME:  use build-jar-repository
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-antlr.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bcel.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-bsf.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-log4j.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-oro.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-regexp.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-apache-resolver.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-logging.jar
Ben Konrath 5037e9d
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 4c0ee09
# the symlinks that are commented-out are not currently shipped on Fedora
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-commons-net.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jai.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-javamail.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jdepend.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jmf.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-jsch.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-junit.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-launcher.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-netrexx.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-nodeps.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-starteam.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-stylebook.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-swing.jar
Ben Konrath 510eed3
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-trax.jar
Ben Konrath 510eed3
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.7.0.v200706080842/lib/ant-weblogic.jar
Andrew Overholt bfd4e0b
## END ANT ##
Andrew Overholt 65c016b
Andrew Overholt 8572c32
## BEGIN TOMCAT ##
Andrew Overholt d3f1131
TOMCATPLUGINVERSION=$(ls plugins | grep tomcat | sed 's/org.eclipse.tomcat_//')
Andrew Overholt d74cd2e
mkdir -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib
Andrew Overholt d74cd2e
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/bootstrap.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/catalina.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/catalina-optional.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina-optional.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-compiler.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-runtime.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-impl.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-jmx.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/naming-factory.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-factory.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/naming-resources.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-resources.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/servlets-default.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-default.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/servlets-invoker.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-invoker.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-coyote.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-coyote.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-http.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-http.jar
Ben Konrath 121b65f
ln -s %{_javadir}/tomcat5/tomcat-util.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-util.jar
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-beanutils
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-collections
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-dbcp
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester-rss
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-el
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-fileupload
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-launcher
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-logging-api
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-modeler
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-pool
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib jspapi
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib regexp
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib servletapi5
Andrew Overholt 8572c32
## END TOMCAT ##
Ben Konrath 19e4982
Andrew Overholt 39363de
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
Andrew Overholt 39363de
rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt bfd4e0b
Ben Konrath 8bbaad1
rm plugins/org.junit4_4.3.1/junit.jar
Ben Konrath 606b8c6
ln -s %{_javadir}/junit4.jar plugins/org.junit4_4.3.1/junit.jar
Ben Konrath 619a6b2
Ben Konrath f23231d
# link to the jsch jar
Ben Konrath 4c0ee09
rm plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath 4c0ee09
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_0.1.31.jar
Ben Konrath f23231d
Ben Konrath 82b9077
# link to the icu4j stuff
Ben Konrath 82b9077
rm plugins/com.ibm.icu_3.6.1.v20070417.jar
Ben Konrath 82b9077
Ben Konrath bc52b62
# link to lucene
Ben Konrath 1d780f3
rm plugins/org.apache.lucene_1.9.1.v200706111724.jar
Ben Konrath 1d780f3
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_1.9.1.v200706111724.jar
Ben Konrath 1d780f3
rm plugins/org.apache.lucene.analysis_1.9.1.v200706181610.jar
Ben Konrath 1d780f3
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar plugins/org.apache.lucene.analysis_1.9.1.v200706181610.jar
Ben Konrath f449bd8
Ben Konrath f449bd8
# link to commons-logging
Ben Konrath f449bd8
rm plugins/org.apache.commons.logging_1.0.4.v200706111724.jar
Ben Konrath f449bd8
ln -s %{_javadir}/commons-logging.jar plugins/org.apache.commons.logging_1.0.4.v200706111724.jar
Ben Konrath bc52b62
Ben Konrath 491b3aa
# link to commons-el
Ben Konrath 491b3aa
rm plugins/org.apache.commons.el_1.0.0.v200706111724.jar
Ben Konrath 491b3aa
ln -s %{_javadir}/commons-el.jar plugins/org.apache.commons.el_1.0.0.v200706111724.jar
Ben Konrath 491b3aa
Ben Konrath 556f63a
# link to jasper
Ben Konrath 556f63a
rm plugins/org.apache.jasper_5.5.17.v200706111724.jar
Ben Konrath 556f63a
Ben Konrath 556f63a
# link to serlet-api
Ben Konrath 556f63a
rm plugins/javax.servlet_2.4.0.v200706111738.jar
Ben Konrath 556f63a
ln -s %{_javadir}/tomcat5-servlet-2.4-api.jar plugins/javax.servlet_2.4.0.v200706111738.jar
Ben Konrath 556f63a
Ben Konrath 556f63a
# link to jsp-api
Ben Konrath 556f63a
rm plugins/javax.servlet.jsp_2.0.0.v200706191603.jar
Ben Konrath 556f63a
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar plugins/javax.servlet.jsp_2.0.0.v200706191603.jar
Ben Konrath 556f63a
Ben Konrath 82b9077
popd
Ben Konrath 82b9077
Ben Konrath 1298ce4
# Ensure that the zip files are the same across all builds.
Ben Konrath 1298ce4
# This is needed to make these package multilib compatible.
Ben Konrath 1298ce4
# FIXME: this needs to be re-written as a separate program
Ben Konrath 1298ce4
# warning: big hack!
Ben Konrath 1298ce4
mkdir -p ${RPM_BUILD_ROOT}/tmp
Ben Konrath 1298ce4
for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip -o -type f -name \*.jar`; do
Ben Konrath 1298ce4
  # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 1298ce4
  ZIPNAME=`basename $zip`
Ben Konrath 1298ce4
  TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` 
Ben Konrath 1298ce4
  ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX`        
Ben Konrath 1298ce4
  
Ben Konrath 1298ce4
  pushd $TMPDIR 
Ben Konrath 1298ce4
  unzip -qq -o $zip
Ben Konrath 1298ce4
  rm -f $zip    
Ben Konrath 1298ce4
Ben Konrath 1298ce4
  # check if there are jars or zips inside the zip or jar
Ben Konrath 1298ce4
  zipsinside=`find $TMPDIR -type f -name \*.zip -o -name \*.jar`
Ben Konrath 1298ce4
  if [ -n "$zipsinside" ]; then
Ben Konrath 1298ce4
     for zip2 in $zipsinside; do
Ben Konrath 1298ce4
       # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 1298ce4
       ZIPNAME2=`basename $zip2`
Ben Konrath 1298ce4
       TMPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.tmpdir.XXXXXXXXXX`
Ben Konrath 1298ce4
       ZIPDIR2=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME2.zipdir.XXXXXXXXXX`
Ben Konrath 1298ce4
Ben Konrath 1298ce4
       pushd $TMPDIR2
Ben Konrath 1298ce4
       unzip -qq -o $zip2
Ben Konrath 1298ce4
       rm -f $zip2
Ben Konrath 1298ce4
Ben Konrath 1298ce4
       # create the directories first
Ben Konrath 1298ce4
       for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 1298ce4
         mkdir -p $ZIPDIR2/$d
Ben Konrath 1298ce4
       done
Ben Konrath 1298ce4
       # move the contents over to the a new directory in order and set the times. 
Ben Konrath 1298ce4
       for f in `find -type f | LC_ALL=C sort`; do
Ben Konrath 1298ce4
         cp $f $ZIPDIR2/$f
Ben Konrath 491b3aa
         touch --date="1980-01-01 UTC" $ZIPDIR2/$f
Ben Konrath 1298ce4
       done
Ben Konrath 1298ce4
       popd
Ben Konrath 1298ce4
Ben Konrath 1298ce4
       # Set the times of the directories.
Ben Konrath 491b3aa
       touch --date="1980-01-01 UTC" `find $ZIPDIR2 -type d`
Ben Konrath 1298ce4
Ben Konrath 1298ce4
       # make the new zip
Ben Konrath 1298ce4
       pushd $ZIPDIR2
Ben Konrath 1298ce4
       find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip2 -@
Ben Konrath 1298ce4
       popd
Ben Konrath 1298ce4
Ben Konrath 1298ce4
       # Cleanup.
Ben Konrath 1298ce4
       rm -rf $TMPDIR2
Ben Konrath 1298ce4
       rm -rf $ZIPDIR2
Ben Konrath 1298ce4
     done
Ben Konrath 1298ce4
  fi 
Ben Konrath 1298ce4
  
Ben Konrath 1298ce4
  # now on to the original zip or jar.
Ben Konrath 1298ce4
  # create the directories first
Ben Konrath 1298ce4
  for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 1298ce4
    mkdir -p $ZIPDIR/$d
Ben Konrath 1298ce4
  done 
Ben Konrath 1298ce4
  # move the contents over to the a new directory in order and set the times. 
Ben Konrath 1298ce4
  for f in `find -type f | LC_ALL=C sort`; do 
Ben Konrath 1298ce4
    cp $f $ZIPDIR/$f
Ben Konrath 491b3aa
    touch --date="1980-01-01 UTC" $ZIPDIR/$f
Ben Konrath 1298ce4
  done
Ben Konrath 1298ce4
  popd
Ben Konrath 1298ce4
Ben Konrath 1298ce4
  # Set the times of the directories.
Ben Konrath 491b3aa
  touch --date="1980-01-01 UTC" `find $ZIPDIR -type d`
Ben Konrath 1298ce4
Ben Konrath 1298ce4
  # make the new zip
Ben Konrath 1298ce4
  pushd $ZIPDIR
Ben Konrath 1298ce4
  find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@
Ben Konrath 1298ce4
  popd
Ben Konrath 1298ce4
Ben Konrath 1298ce4
  # Cleanup.
Ben Konrath 1298ce4
  rm -rf $TMPDIR
Ben Konrath 1298ce4
  rm -rf $ZIPDIR
Ben Konrath 1298ce4
done
Ben Konrath 1298ce4
rm -rf ${RPM_BUILD_ROOT}/tmp
Ben Konrath 1298ce4
Ben Konrath 2077a35
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath c3ae080
# remove this python script so that it is not aot compiled, thus avoiding a
Ben Konrath c3ae080
# multilib conflict
Ben Konrath c3ae080
ANTPLUGINVERSION=$(ls plugins | grep org.apache.ant_ | sed 's/org.apache.ant_//')
Ben Konrath 2077a35
rm plugins/org.apache.ant_$ANTPLUGINVERSION/bin/runant.py
Ben Konrath c3ae080
Ben Konrath 5037e9d
%if %{gcj_support}
Ben Konrath 158e040
# exclude org.eclipse.ui.ide to work around
Ben Konrath 158e040
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175547
Ben Konrath 158e040
UIIDEPLUGINVERSION=$(ls plugins | grep ui.ide_ | sed 's/org.eclipse.ui.ide_//')
Ben Konrath 74ee97e
%ifnarch ia64
Ben Konrath 7f4eb66
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION
Ben Konrath 74ee97e
%else
Ben Konrath 4382774
OSGIPLUGINVERSION=$(ls plugins | grep osgi_ | sed 's/org.eclipse.osgi_//')
Ben Konrath 74ee97e
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION \
Ben Konrath 4382774
                --exclude %{_datadir}/%{name}/plugins/org.eclipse.osgi_$OSGIPLUGINVERSION
Ben Konrath 74ee97e
%endif
Ben Konrath 56f70b7
%endif
Ben Konrath 2077a35
popd
Andrew Overholt 25abe4e
Andrew Overholt bfd4e0b
%clean
Andrew Overholt bfd4e0b
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 25abe4e
Andrew Overholt 921a570
%post platform
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 65c016b
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt 65c016b
then
Andrew Overholt 65c016b
  %{_bindir}/rebuild-gcj-db
Andrew Overholt 65c016b
fi
Andrew Overholt 33dd0d6
%endif
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
cvsdist 38d0d0c
Andrew Overholt 0665d48
%postun platform
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 65c016b
if [ -x %{_bindir}/rebuild-gcj-db ]
Andrew Overholt 65c016b
then
Andrew Overholt 65c016b
  %{_bindir}/rebuild-gcj-db
Andrew Overholt 65c016b
fi
Andrew Overholt 33dd0d6
%endif
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
Ben Konrath 07ad637
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%post ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 4c0ee09
%endif 
Andrew Overholt 3e3ec31
Andrew Overholt 25abe4e
%files ecj
Ben Konrath 5037e9d
%defattr(-,root,root)
Andrew Overholt 25abe4e
%dir %{_datadir}/%{name}
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}/plugins
Ben Konrath 5037e9d
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 5037e9d
%{_javadir}/eclipse-ecj.jar
Ben Konrath 5037e9d
%{_javadir}/jdtcore.jar
Ben Konrath 5037e9d
%{_bindir}/ecj
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%dir %{_libdir}/gcj/%{name}
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Andrew Overholt 602cb9d
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
Ben Konrath 5037e9d
%defattr(-,root,root)
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}/plugins
Ben Konrath 2ce933e
%dir %{_libdir}/%{name}
Ben Konrath 121ec8f
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 158e040
%dir %{_libdir}/%{name}/plugins
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath c3ae080
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%dir %{_libdir}/gcj/%{name}
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Ben Konrath 9dbdca5
%files rcp
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 9dbdca5
%dir %{_datadir}/%{name}/features
Ben Konrath 556f63a
%dir %{_libdir}/%{name}/features
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt c9609e9
%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 158e040
%{_libdir}/%{name}/.eclipseextension
Ben Konrath 9dbdca5
%{_datadir}/%{name}/.eclipseproduct
Ben Konrath 9dbdca5
%{_datadir}/%{name}/notice.html
Ben Konrath 9dbdca5
%{_datadir}/%{name}/epl-v10.html
Ben Konrath 158e040
%{_datadir}/%{name}/links
Ben Konrath 4c0ee09
%{_datadir}/%{name}/startup.jar
Ben Konrath 9dbdca5
%ifarch %{ix86} x86_64
Ben Konrath 9dbdca5
%{_datadir}/%{name}/about.html
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
%ifarch x86_64
Ben Konrath 158e040
%{_datadir}/%{name}/about_files
Ben Konrath 9dbdca5
%endif
Ben Konrath 158e040
%{_datadir}/%{name}/readme
Ben Konrath d563cf5
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.app_*
Ben Konrath 48553a3
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 4c0ee09
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
Ben Konrath 064b0c3
%ifnarch ia64
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
Ben Konrath 064b0c3
%endif
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.launcher_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.app_*
Ben Konrath c1c8faa
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
Ben Konrath c1c8faa
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.help_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.databinding.beans_*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Ben Konrath 4c0ee09
%files cvs-client
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.cvs_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/features/org.eclipse.cvs_*
Ben Konrath 4c0ee09
%if %{gcj_support}
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
Ben Konrath 4c0ee09
%endif
Ben Konrath 4c0ee09
Andrew Overholt 921a570
%files platform -f %{name}-platform.install
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 158e040
%attr(0755,root,root) %{_bindir}/%{name}
Ben Konrath 9dbdca5
%{_datadir}/%{name}/eclipse.ini
Ben Konrath 4c0ee09
%{_libdir}/%{name}/eclipse
Ben Konrath 9dbdca5
%{_datadir}/applications/*
Ben Konrath 9dbdca5
%{_datadir}/pixmaps/*
Ben Konrath 9dbdca5
%{_datadir}/icons/*/*/apps/*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.platform_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/javax.servlet_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/javax.servlet.jsp_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.apache.ant_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.apache.commons.el_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.apache.commons.logging_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.apache.lucene_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.apache.lucene.analysis_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath 2fee199
%ifarch %{ix86} x86_64 ppc
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Ben Konrath 9dbdca5
%endif
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.net_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 4c0ee09
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.jsch.core_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.jsch.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 48553a3
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
Ben Konrath 48553a3
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.search_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.text_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.net_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 4c0ee09
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.mortbay.jetty_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 48553a3
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.net_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
Ben Konrath 48553a3
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.jetty_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.servlet_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.jsp.jasper_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.jsp.jasper.registry_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.help.webapp_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.jsch.core_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.jsch.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 48553a3
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.search_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.text_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.ide.application_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.net_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/compatibility.*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.http.registry_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.equinox.initializer_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/platform.jar.*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar.*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/tomcatwrapper.jar.*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/universal.jar.*
Andrew Overholt 8ff44ba
%endif
Andrew Overholt f6fa193
Ben Konrath 9dbdca5
%files jdt
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_bindir}/efj
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.jdt_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.junit_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
Ben Konrath d9e8538
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
Ben Konrath 4382774
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
Ben Konrath 4382774
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 4382774
%{_datadir}/%{name}/plugins/org.junit4_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
Ben Konrath 4382774
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
Ben Konrath 4382774
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
Ben Konrath 4382774
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit.runtime_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
Ben Konrath 4382774
%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/jdimodel.jar.*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/jdi.jar.*
Ben Konrath 8e5a586
%else
Ben Konrath 8e5a586
%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.pluggable.core_*
Ben Konrath 8e5a586
%{_datadir}/%{name}/plugins/org.eclipse.jdt.compiler.apt_*
Ben Konrath 8e5a586
%{_datadir}/%{name}/plugins/org.eclipse.jdt.compiler.tool_*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath e420f1f
%{_datadir}/%{name}/features/org.eclipse.sdk_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.pde_*
Ben Konrath e420f1f
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
Ben Konrath 0f53998
%{_libdir}/%{name}/plugins/org.eclipse.pde.doc.user_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.build_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.build
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
Ben Konrath 4c0ee09
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui.templates_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
Ben Konrath 1aa224c
%{_libdir}/%{name}/plugins/org.eclipse.rcp.source.linux.gtk.%{eclipse_arch}*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
Ben Konrath e420f1f
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/features/org.eclipse.cvs.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.eclipse.cvs.source_*
Ben Konrath e420f1f
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
Ben Konrath 1aa224c
%{_libdir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.junit.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/javax.servlet.jsp.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/javax.servlet.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.ant.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.commons.el.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.commons.logging.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.jasper.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.lucene.analysis.source_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.apache.lucene.source_*
Ben Konrath 1aa224c
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
Ben Konrath 1aa224c
%{_libdir}/%{name}/plugins/org.eclipse.platform.source_*
Ben Konrath 1aa224c
%{_libdir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.%{eclipse_arch}_*
Ben Konrath 1aa224c
%{_datadir}/%{name}/plugins/org.mortbay.jetty.source_*
Ben Konrath d9e8538
%{_datadir}/%{name}/buildscripts
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
Ben Konrath 4c0ee09
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui.templates_*
Ben Konrath 1aa224c
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/pdebuild.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde-runtime
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Andrew Overholt bfd4e0b
%changelog
Ben Konrath 1aa224c
* Thu Aug 30 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-13
Ben Konrath 1aa224c
- Move *-sdk subpackages to pde subpackage.
Ben Konrath 1aa224c
- Add BuildRequires: libXt-devel for IcedTea build.
Ben Konrath da1b743
- Add launcher-fix-java-home.patch.
Ben Konrath 1aa224c
Ben Konrath c3d05ce
* Tue Aug 28 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-12
Ben Konrath 51b488e
- Require mylyn on all archs except ppc64 alpha.
Ben Konrath f76cca3
- Use IcedTea on x86_64 and x86.
Ben Konrath f76cca3
- Remove hacks for s390{,x} as they are now included in upstream build.
Ben Konrath fd17240
Andrew Overholt 39363de
* Tue Aug 28 2007 Andrew Overholt <overholt@redhat.com> 3.3.0-11
Andrew Overholt 39363de
- Symlink to jetty.
Andrew Overholt 39363de
Ben Konrath cdfb51a
* Tue Aug 28 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-10
Ben Konrath e420f1f
- Add requires eclipse-cvs-client, eclipse-subclipse, eclipse-mylyn,
Ben Konrath e420f1f
  eclipse-mylyn-ide, eclipse-mylyn-bugzilla, eclipse-mylyn-trac
Ben Konrath 51eb7cb
  and eclipse-changelog to platform package.
Ben Konrath e420f1f
- Add requires eclipse-mylyn-java to jdt.
Ben Konrath e420f1f
- Add requires eclipse-mylyn-pde to pde.
Ben Konrath e420f1f
- Remove pde-sdk and sdk sub-packages
Ben Konrath cdfb51a
Ben Konrath 014de59
* Thu Aug 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-9
Ben Konrath 014de59
- Add Requires: eclipse-cvs-client to jdt package.
Ben Konrath 014de59
Ben Konrath 619a6b2
* Tue Aug 14 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-8
Ben Konrath 619a6b2
- Link to junit4 jar.
Ben Konrath 619a6b2
- Remove included eclipse binaries.
Ben Konrath 619a6b2
- Add Provides: eclipse to sdk subpackage.
Ben Konrath 619a6b2
975f26f
* Mon Aug 13 2007 Oliver Falk <oliver@linux-kernel.at> 3.3.0-7
975f26f
- Also explode SDK tarball on alpha
975f26f
- Resolves: #251958
975f26f
Ben Konrath 556f63a
* Tue Aug 07 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-6
Ben Konrath 556f63a
- Add links for jsp api, servlet api and jasper.
Ben Konrath 556f63a
- Add %%{_libdir}/%%{name}/features to the rcp %%files listing.
Ben Konrath 556f63a
Ben Konrath 8d1008d
* Fri Aug 03 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-5
Ben Konrath 8d1008d
- Add patch to fix double free bug in launcher library.
Ben Konrath 8d1008d
- Resolves: #248798.
Ben Konrath 8d1008d
Ben Konrath 491b3aa
* Tue Jul 31 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-4
Ben Konrath 491b3aa
- Link to commons-el.jar.
Ben Konrath 491b3aa
- Remove ant 1.7 hacks.
Ben Konrath 61f5d55
Ben Konrath 1d780f3
* Wed Jul 18 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-3
Ben Konrath 1d780f3
- Add links for lucene and lucene.analysis.
Ben Konrath 1d780f3
- Remove icu4j symlink from /usr/share/eclipse/plugins.
Ben Konrath 1d780f3
- Resolves: #248749.
Ben Konrath 1d780f3
Ben Konrath f449bd8
* Mon Jul 16 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-2
Ben Konrath bc52b62
- Fix dep in rcp sub-package.
Ben Konrath f449bd8
- Add Alpha support.
Ben Konrath f449bd8
- Link to commons-logging.jar
Ben Konrath f449bd8
- Resolves: #248359.
Ben Konrath bc52b62
Ben Konrath 510eed3
* Fri Jun 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-1
Ben Konrath 510eed3
- 3.3.
Ben Konrath 510eed3
Ben Konrath 1298ce4
* Wed Jun 27 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.RC4
Ben Konrath 1298ce4
- Restore ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 1298ce4
- Restore multilib support.
Ben Konrath 1298ce4
Ben Konrath 4c0ee09
* Tue Jun 19 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC4
Ben Konrath 4c0ee09
- Use icu4j-eclipse sub-package instead of building icu4j here.
Ben Konrath 4c0ee09
- Use exec in binary wrapper.
Ben Konrath 4c0ee09
- Add 3.3.0 splashscreen.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Tue Jun 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC4
Ben Konrath 4c0ee09
- 3.3RC4.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Mon Jun 11 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.RC3
Ben Konrath 4c0ee09
- Update launching strategy for 3.3.
Ben Konrath 4c0ee09
- Pull in package-build fix from F-7.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC3
Ben Konrath 4c0ee09
- 3.3RC3.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC2
Ben Konrath 4c0ee09
- 3.3RC2.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Wed May 23 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.RC1
Ben Konrath 4c0ee09
- 3.3RC1.
Ben Konrath 4c0ee09
- Pull in changes from F-7.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Mon Feb 26 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M5eh
Ben Konrath 4c0ee09
- 3.3M5.
Ben Konrath 4c0ee09
- Remove launcher-addplatformtotildeeclipse.patch as it's only needed 
Ben Konrath 4c0ee09
  for FC-5 -> FC-6.
Ben Konrath 4c0ee09
- Remove swt firefox patches as they are no longer needed.
Ben Konrath 4c0ee09
- Remove ppc64, s390{,x} and sparc{,64} support.
Ben Konrath 4c0ee09
- Remove use-built-launcher patch.
Ben Konrath 4c0ee09
- Update set-launcher-and-configuration-dir patch.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Mon Jan 29 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.3.M4
Ben Konrath 4c0ee09
- Enable updated ecj square brackets patch.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Fri Jan 12 2007 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.2.M4
Ben Konrath 4c0ee09
- Pull in fixes from rawhide.
Ben Konrath 4c0ee09
Ben Konrath 4c0ee09
* Wed Dec 20 2006 Ben Konrath <bkonrath@redhat.com> 3.3.0-0.1.M4
Ben Konrath 4c0ee09
- 3.3M4.
Ben Konrath 4c0ee09
- Update patches for 3.3M4.
Ben Konrath 4c0ee09
- Remove SWT JNI symlinks in %%{_libdir}.
Ben Konrath 4e89d42
Ben Konrath 2ce933e
* Wed Dec 6 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-25
Ben Konrath 2ce933e
- Add %%{_libdir}/eclipse dir to files list of libswt-gtk2.
Ben Konrath 2ce933e
- Resolves: #211008.
Ben Konrath 2ce933e
Andrew Overholt 65c016b
* Tue Dec 5 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-24
Andrew Overholt 65c016b
- Specfile review with Ben Konrath.
Andrew Overholt 65c016b
- Lots of cleanups.
Andrew Overholt 65c016b
Andrew Overholt f6a5ec5
* Tue Nov 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-23
Andrew Overholt f6a5ec5
- Move back to ~/.eclipse for update site pending upstream comments.
Andrew Overholt f6a5ec5
- Add patch to add platform to ~/.eclipse's platform.xml.  This maintains
Andrew Overholt 374fb56
  user-installed plugins but allows us to remove the pre-configured
Andrew Overholt 374fb56
  platform.xml in the OSGi configuration area.
Andrew Overholt f6a5ec5
Andrew Overholt 9e927f5
* Mon Nov 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-22
Andrew Overholt 9e927f5
- Use ~/.eclipseplugins instead of ~/.eclipse in update site - homedir patch.
Andrew Overholt 9e927f5
- Bump release.
Andrew Overholt 9e927f5
Ben Konrath 52a1764
* Fri Nov 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-21
Ben Konrath 52a1764
- Add patch to workaround an xml parsing bug in libgcj (gcc bug #29853).
Ben Konrath 52a1764
- Resolves: #209393.
Ben Konrath 52a1764
Andrew Overholt a3a4916
* Fri Nov 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-20
Andrew Overholt a3a4916
- Revise gre64 patch to just do ppc64 addition and not ordering change.
Andrew Overholt a3a4916
Andrew Overholt ce958e2
* Thu Nov 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-19
Andrew Overholt ce958e2
- Add patch to look at gre64.conf on ppc64.
Andrew Overholt ce958e2
Ben Konrath 707a23d
* Fri Nov 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-18
Ben Konrath 707a23d
- Remove SWT ON_TOP patch as it is fixed in 3.2.1.
Ben Konrath 707a23d
Ben Konrath 7f59656
* Thu Nov 09 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-17
Ben Konrath 7f59656
- Add file level requirement for swt fragment to rcp and platform packages.
Ben Konrath 7f59656
  This is needed so that the rcp and platform packages pull in the swt package
Ben Konrath 7f59656
  of the correct word size.
Ben Konrath 7f59656
Ben Konrath d9e8538
* Mon Nov 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-16
Ben Konrath d9e8538
- Move copy-platform back to %%{_datadir}/eclipse.
Ben Konrath d9e8538
- Require gjdoc >= 0.7.7-14 as it generates consistent html across archs.
Ben Konrath d9e8538
- Move most of the doc plugins back to %%{_datatdir}/eclipse now that gjdoc 
Ben Konrath d9e8538
  is fixed. 
Ben Konrath d9e8538
Andrew Overholt e224b7c
* Fri Nov 03 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-15
Andrew Overholt e224b7c
- Make sdk require config.ini itself rather than the package to deal with the
Andrew Overholt e224b7c
  bi-arch installation situation.
Andrew Overholt e224b7c
- Move sdk feature and plugin to %%{_libdir} so we can check for its existence
Andrew Overholt e224b7c
  in the post scripts.
Andrew Overholt e224b7c
Andrew Overholt c9609e9
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-14
Andrew Overholt c9609e9
- Remove post sections that munge eclipse.product; always set it to
Andrew Overholt c9609e9
  org.eclipse.platform.ide or org.eclipse.sdk.ide.
Andrew Overholt c9609e9
- Remove changelogs prior to 3.2.0.
Andrew Overholt c9609e9
Ben Konrath da2e957
* Thu Nov 02 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-12
Ben Konrath da2e957
- Move doc plugins to %%{_libdir}/eclipse/plugins because of html is being
Ben Konrath da2e957
  generated differently on different arches.
Ben Konrath da2e957
- Fix multilib problem when there are two or more jars within a jar.
Andrew Overholt a14cc0a
- BR dos2unix always (for mac2unix).
Ben Konrath da2e957
Ben Konrath 3f1df4f
* Wed Nov 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-11
Ben Konrath c3ae080
- Move copy-platform to %%{_libdir}/eclipse
Ben Konrath c3ae080
- Move the platform.source, icu4j, icu4j.source, help.webapp and
Ben Konrath da2e957
  update.core.linux plugins to %%{_libdir}/eclipse/plugins because these plugins
Ben Konrath da2e957
  have platform specific content. Some of the platform specific content may be
Ben Konrath da2e957
  a result of bugs in libgcj. These need to be investigated.
Ben Konrath c3ae080
- Disable building the help indexes on all archs so that we have the same doc
Andrew Overholt 353998f
  plugins on all archs.
Ben Konrath c3ae080
- Remove org.apache.ant_1.6.5/bin/runant.py to avoid multilib conflicts.
Ben Konrath c3ae080
- Repack all the jars and the jars within those jars. This is needed 
Ben Konrath c3ae080
  to make this package multilib compatible.
Andrew Overholt 353998f
- Put SWT symlinks in %%{_libdir}/eclipse instead of 
Ben Konrath c3ae080
  %%{_libdir}/eclipse/plugins.
Ben Konrath c3ae080
Ben Konrath 3f1df4f
* Wed Nov 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt 32f425f
- Use equinox initializer instead of old patch to core.runtime.
Andrew Overholt 32f425f
- Run initializer *after* splitting install into arch-specific and
Andrew Overholt 32f425f
  arch-independent locations.
Andrew Overholt d5f51bb
- Move copy-platform to arch-specific location.
Andrew Overholt c319b77
- Get rid of broken symlinks in tomcat plugin.
Andrew Overholt 32f425f
Andrew Overholt 922cad0
* Tue Oct 31 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-11
Andrew Overholt 922cad0
- Fix copy-platform to work with split install.
Andrew Overholt 922cad0
Ben Konrath 72919d3
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-10
Ben Konrath 72919d3
- Add 3.2.1 splash screen.
Ben Konrath 72919d3
- Sort the java source files before building (#209249).
Ben Konrath 72919d3
- Remove Fedora ifdefs.
Ben Konrath 72919d3
- Resolves: #209249.
Ben Konrath 72919d3
Ben Konrath 7d37f4e
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
Ben Konrath 7d37f4e
- Re-enable building of the icu4j plugins.
Ben Konrath 7d37f4e
Ben Konrath 625c370
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
Ben Konrath 625c370
- Temporarily disable building of icu4j plugin.
Ben Konrath 625c370
Andrew Overholt 86fa7c9
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
Andrew Overholt 86fa7c9
- Fix eclipse-ecj symlink to point to correct location.
Andrew Overholt 86fa7c9
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
Andrew Overholt 86fa7c9
  target-dependent.
Andrew Overholt 86fa7c9
Ben Konrath 3a712c4
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
Ben Konrath 158e040
- Add patch for ecj [] classpath problem.
Ben Konrath 158e040
- Remove configuration files from rcp files list. 
Ben Konrath 158e040
- Add patch set bindir and shared config patch to allow the eclipse binary
Ben Konrath 158e040
  to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
Ben Konrath 158e040
  set osgi.sharedConfiguration.area config on a per build basis so that the
Ben Konrath 158e040
  configuration directory can be arch dependant.
Ben Konrath 158e040
- Remove launcher link patch as the bindir patch removes the requirement for
Ben Konrath 158e040
  this patch.
Ben Konrath 158e040
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
Ben Konrath 158e040
- Add Requies(post,postun) to all packages to ensure that no files are left
Ben Konrath 158e040
  behind when eclipse is un-installed.
Ben Konrath 158e040
- Many spec file clean ups.
Ben Konrath 158e040
- Resolves: #199961, #202585, #210764, #207016.
Ben Konrath 158e040
- Related: #175547.
Ben Konrath 158e040
Andrew Overholt cc64339
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 4ae3c59
- Remove unneeded tomcat symlinks.
Andrew Overholt 4ae3c59
Andrew Overholt 4ae3c59
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt cc64339
- Remove unnecessary bits of configuration.
Andrew Overholt cc64339
- Resolves: #210764, #202585.
Andrew Overholt cc64339
Ben Konrath bf09ec2
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
Ben Konrath bf09ec2
- Remove perl dependancy.
Ben Konrath bf09ec2
- Fix offsets in libswt-enableallandO2 patch.
Ben Konrath bf09ec2
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
Ben Konrath bf09ec2
  uninstalling the java stack.
Ben Konrath c1c8faa
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
Ben Konrath c1c8faa
  plugins have dependancies on some plugins in rcp.
Ben Konrath bf09ec2
Andrew Overholt 3413d7b
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
Andrew Overholt 3413d7b
- Fix triggerpostun to include epoch of previous releases.
Andrew Overholt 3413d7b
Ben Konrath 8131cf7
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
Ben Konrath 8131cf7
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
Ben Konrath 8131cf7
  postun scripts work correctly.
Ben Konrath 8131cf7
Andrew Overholt 27f7937
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
Andrew Overholt ac8064a
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
Andrew Overholt ac8064a
  (rh#207442, rh#207013).
Andrew Overholt 27f7937
Andrew Overholt 9e34e99
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
Andrew Overholt ac8064a
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
Andrew Overholt 9e34e99
Ben Konrath a5675d5
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
Ben Konrath a5675d5
- 3.2.1 final.
Ben Konrath a5675d5
Ben Konrath a5675d5
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
Andrew Overholt 26a17ea
- Use new swt-firefox patch and consolidate others into one.
Andrew Overholt 26a17ea
Ben Konrath ec43790
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
Ben Konrath 8342665
- Fix typo in %%postun of -sdk and -platform.
Ben Konrath 591a1a7
- Disable help index generation on ia64.
Ben Konrath ec43790
Ben Konrath 71f7bf0
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
Ben Konrath 8342665
- Don't set eclipse.product incorrectly in %%postun of -sdk and -platform.
Ben Konrath 71f7bf0
Ben Konrath 5b61247
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1 
Ben Konrath 5b61247
- M20060921-0945 (3.2.1 pre-release).
Ben Konrath 5b61247
- Upadate patches to 3.2.1.
Ben Konrath 5b61247
- Add icu4j 3.4.5 sources.
Ben Konrath 5b61247
- Add Fedora version to platform about.mappings as well as sdk.
Ben Konrath 5b61247
Andrew Overholt 6b5e6d1
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
Andrew Overholt 6b5e6d1
- Remove unused eclipse.conf.
Andrew Overholt 6b5e6d1
- Remove unused gre64.conf patch (applied upstream).
Andrew Overholt 6b5e6d1
Ben Konrath cccd621
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
Ben Konrath cccd621
- Use real SWT version on ia64, ppc64, s390 and s390x.
Ben Konrath cccd621
- Remove the swt native libs from the rcp sub-package because they are 
Ben Konrath cccd621
  already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
Ben Konrath cccd621
- Set correct eclipse.product in post and postun of sdk and platform
Ben Konrath cccd621
  sub-packages (rh bug # 207442)
Ben Konrath cccd621
- Don't set the .eclipseproduct twice.
Ben Konrath ce0351e
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
Ben Konrath ce0351e
- Move Requires: firefox to libswt3-gtk2.
Ben Konrath cccd621
Andrew Overholt 30d65b3
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
Andrew Overholt d3f1131
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
Andrew Overholt d3f1131
- Fix tomcat symlinking in %%install to make help work (rh#199453).
Andrew Overholt 30d65b3
Ben Konrath 9dbdca5
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
Ben Konrath 9dbdca5
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
Ben Konrath 9dbdca5
- Re-work files list to match upstream and remove rebuild-sdk-features 
Ben Konrath 9dbdca5
  (rh bug # 205933).
Ben Konrath 9dbdca5
Ben Konrath ac5dce0
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
Ben Konrath ac5dce0
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
Ben Konrath 5e83817
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
Ben Konrath 5e83817
- Disable help index generation on s390.
Ben Konrath ac5dce0
Ben Konrath 681f7e5
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
Ben Konrath 681f7e5
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
Ben Konrath 681f7e5
  it has not been applied upstream.
Ben Konrath 681f7e5
- Minor spec file clean ups.
Ben Konrath 8342665
- Add %%{name} to the -devel package Provides so that upgrading from 
Ben Konrath 681f7e5
  FC-5 to FC-6 works.
Ben Konrath 681f7e5
- Re-enable natively compiling the ant.ui plugin.
Ben Konrath 681f7e5
- Re-enable natively compiling the team.cvs.core plugin on ia64.
Ben Konrath 681f7e5
Ben Konrath 19e4982
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
Ben Konrath 19e4982
- Use the system tomcat on ppc64 and s390x.
Ben Konrath 19e4982
Andrew Overholt fad60dc
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
Andrew Overholt fad60dc
- Don't use pkg_summary.
Andrew Overholt fad60dc
Ben Konrath e1ec979
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
Ben Konrath e1ec979
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
Ben Konrath 0186614
- Require java-gcj-compat >= 1.0.64.
Ben Konrath e1ec979
Andrew Overholt 4b28c69
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
Andrew Overholt 4b28c69
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
Andrew Overholt 4b28c69
Andrew Overholt ccfdd35
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
Andrew Overholt 6852bd1
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
Andrew Overholt 6852bd1
  jars that don't exist.
Andrew Overholt 6852bd1
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
Andrew Overholt 6852bd1
Andrew Overholt 87cd1a4
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
Andrew Overholt 87cd1a4
- Use firefox-devel instead of mozilla-devel.
Andrew Overholt 87cd1a4
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
Andrew Overholt 87cd1a4
Ben Konrath e1c9923
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
Ben Konrath e1c9923
- Use sed instead of patches for tomcat version numbers.
Ben Konrath e1c9923
Ben Konrath 5e48fcb
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
Ben Konrath 8b6e80f
- Disable build.index doc generation on i386.
Ben Konrath 5e48fcb
Ben Konrath 5e48fcb
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
Andrew Overholt 0093cfb
- Remove org.eclipse.ant.ui* from %%files.
Andrew Overholt 0093cfb
Ben Konrath 0d5df32
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
Ben Konrath a183478
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
Ben Konrath 0d5df32
cac7e63
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
cac7e63
- Rebuilt
cac7e63
Andrew Overholt 86783a6
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
Andrew Overholt 86783a6
- New splash screen from Diana Fong (rh#199456).
Andrew Overholt 86783a6
Andrew Overholt 0e12cd7
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
Andrew Overholt 0e12cd7
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
Andrew Overholt 0e12cd7
- Fix SWT symlinks.
Andrew Overholt 0e12cd7
Igor Foox 0b07fea
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
Igor Foox 0b07fea
- Rebuild.
Igor Foox 0b07fea
Ben Konrath 32beac9
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
Ben Konrath 32beac9
- Rebuild.
Ben Konrath 32beac9
Andrew Overholt dd2887c
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 242f8fc
- Temporarily add webapp patch for ppc64 and s390x.
Andrew Overholt 9c8f04f
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
Andrew Overholt dd2887c
Andrew Overholt 67315b4
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 67315b4
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
Andrew Overholt e940817
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
Andrew Overholt 9f2631f
- Update webapp build patch.
Andrew Overholt 9f2631f
- Use commons-* instead of jakarta-commons-*.
Andrew Overholt 0b6d8c0
- Don't delete jars in %%install.
Andrew Overholt f143021
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
Andrew Overholt d74cd2e
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
Andrew Overholt d74cd2e
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
Andrew Overholt 67315b4
Ben Konrath 1fca076
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
Ben Konrath 1fca076
- Fix tomcat symlinks. 
Ben Konrath 1fca076
Andrew Overholt 16c113b
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 16c113b
- 3.2.0.
Andrew Overholt 16c113b
- Remove Provides:  eclipse-sdk from eclipse-platform.
Andrew Overholt 16c113b
- Use build-jar-repository where appropriate.
Andrew Overholt 16c113b
Ben Konrath 9c1c163
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
Ben Konrath 9c1c163
- Rename -devel packages to -sdk to match upstream names.
Ben Konrath 9c1c163
- Add Provides eclipse-sdk to platform-sdk. 
Ben Konrath 9c1c163
- Remove zip re-pack code.
Ben Konrath 9c1c163
Ben Konrath eb5abdb
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
Ben Konrath eb5abdb
- Bump release again.
Ben Konrath eb5abdb
Ben Konrath 5270836
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
Ben Konrath 5270836
- Bump release.
Ben Konrath 5270836
Ben Konrath 48ff589
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
Ben Konrath 48ff589
- Require java-gcj-compat 1.0.52.
Ben Konrath 48ff589
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
Ben Konrath 48ff589
- Really fix swt symlinks rh #194500.
Ben Konrath 48ff589
Ben Konrath 55460d9
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2987a9c
- Enable ppc64, s390 and s390x.
Ben Konrath 2987a9c
- Add check for jars at the end of prep.
Ben Konrath 2987a9c
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2987a9c
- Fix swt symlinks rh #194500.
Ben Konrath 2987a9c
- Add versionless pde.build symlink.
Ben Konrath 2987a9c
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2987a9c
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2987a9c
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 55460d9
Andrew Overholt 3321426
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3321426
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3321426
Ben Konrath 56f70b7
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 56f70b7
- 3.2RC7.
Ben Konrath 56f70b7
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Ben Konrath 56f70b7
  jsch.jar. 
Ben Konrath 56f70b7
- Work around ia64 compile problem in aot-compile-rpm. 
Ben Konrath 56f70b7
Ben Konrath 5037e9d
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 5037e9d
- 3.2RC6.