Andrew Overholt d5b203
# TODO:
Andrew Overholt 079a00
# - see why about.html isn't being copied on ppc
07c312
# - fix ant libs
Ben Konrath 834266
Epoch:  1
cvsdist 38d0d0
113c72
%global eclipse_major   3
014df7
%global eclipse_minor   6
113c72
%global eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
014df7
%global eclipse_micro   0
113c72
%global initialize      1
0fefd1
%global download_url    http://download.eclipse.org/technology/linuxtools/eclipse-build/
113c72
%global bootstrap 0
cvsdist 38d0d0
Andrew Overholt 65c016
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt f2593e
%ifarch %{ix86}
014df7
%global eclipse_arch    x86
Andrew Overholt f2593e
%else
014df7
%global eclipse_arch   %{_arch}
Andrew Overholt f2593e
%endif
Andrew Overholt f2593e
Andrew Overholt 7959f7
# FIXME:  update java packaging guidelines for this.  See
Andrew Overholt 7959f7
# fedora-devel-java-list discussion in September 2008.
Andrew Overholt e6ab17
#
Andrew Overholt 7959f7
# Prevent brp-java-repack-jars from being run.
Andrew Overholt 7959f7
%define __jar_repack 0
Andrew Overholt 7959f7
Andrew Overholt fad60d
Summary:        An open, extensible IDE
cvsdist 38d0d0
Name:           eclipse
Andrew Overholt 8273c1
Version:        %{eclipse_majmin}.%{eclipse_micro}
014df7
Release:        1%{?dist}
eec3b5
License:        EPL
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0
URL:            http://www.eclipse.org/
014df7
Source0:        %{download_url}eclipse-build-0.6.1RC0.tar.bz2
014df7
Source1:        %{download_url}eclipse-3.6.0-src.tar.bz2
Andrew Overholt 9e6b7f
Source2:        eclipse.sh.in
Ben Konrath 2987a9
Source17:       efj.sh.in
Andrew Overholt 65c016
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt 65c016
# when using the FileInitializer
Andrew Overholt fd64f0
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 0994b9
# This script copies the platform sub-set of the SDK for generating metadata
Andrew Overholt 0994b9
Source28:       %{name}-mv-Platform.sh
Ben Konrath 9dbdca
Andrew Overholt 88a225
# Make sure the shipped target platform templates are looking in the
Andrew Overholt 88a225
# correct location for source bundles (see RHBZ # 521969). This does not
Andrew Overholt 88a225
# need to go upstream.
3d176f
Patch0:        %{name}-target-platform-template.patch
f2bbfb
# make o.e.swt.gtk.linux.ppc64 version to match ppc 
f2bbfb
Patch1:        %{name}-swt-ppc64-version.patch
88b21e
Andrew Overholt 65c016
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Andrew Overholt 6b47bb
BuildRequires:  ant ant-nodeps
cvsdist 38d0d0
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt daae71
BuildRequires:  gnome-vfs2-devel
Andrew Overholt daae71
BuildRequires:  gtk2-devel
Andrew Overholt daae71
BuildRequires:  glib2-devel
Andrew Overholt 2b5501
BuildRequires:  libgnome-devel
Andrew Overholt 2b5501
BuildRequires:  libgnomeui-devel
Andrew Overholt 935fcc
BuildRequires:  gcc-c++
Andrew Overholt 4ee000
BuildRequires:  nspr-devel
Andrew Overholt 923a30
BuildRequires:  libXtst-devel
Ben Konrath 5037e9
BuildRequires:  mesa-libGL-devel
Ben Konrath 5037e9
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 210441
BuildRequires:  cairo >= 1.0
0c750f
BuildRequires:  unzip
Ben Konrath 57abe0
BuildRequires:  desktop-file-utils
Ben Konrath 8e5a58
BuildRequires:  java-devel >= 1.6.0
Andrew Overholt 0dd3e8
BuildRequires:  java-javadoc
Ben Konrath 1aa224
BuildRequires:  libXt-devel
51a855
BuildRequires:  xulrunner-devel
cvsdist 38d0d0
113c72
%if !%{bootstrap}
113c72
BuildRequires:  icu4j-eclipse >= 1:4.0.1-3
113c72
BuildRequires:  tomcat5-jasper-eclipse >= 5.5.27-6.3
113c72
BuildRequires:  tomcat6-servlet-2.5-api >= 6.0.18-9.2
Andrew Overholt 56ebf5
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
Andrew Overholt 6b47bb
BuildRequires: ant-javamail ant-jdepend ant-junit ant-swing ant-trax ant-jsch
255430
BuildRequires: jsch >= 0:0.1.41
Andrew Overholt 2f978e
BuildRequires: jakarta-commons-el >= 1.0-9
Andrew Overholt afd8c4
BuildRequires: jakarta-commons-logging >= 1.0.4-6jpp.3
a466bb
BuildRequires: jakarta-commons-codec
a466bb
BuildRequires: jakarta-commons-httpclient
21e448
BuildRequires: jetty >= 6.1.21-2
Andrew Overholt 7889e5
BuildRequires: lucene >= 2.3.1-3.4
Andrew Overholt 7889e5
BuildRequires: lucene-contrib >= 2.3.1-3.4
Ben Konrath bfdd96
BuildRequires: junit >= 3.8.1-3jpp
Ben Konrath 619a6b
BuildRequires: junit4
1de464
BuildRequires: hamcrest >= 0:1.1-9.2
Andrew Overholt 27a26e
BuildRequires: sat4j >= 2.1.1-1
Andrew Overholt d5b203
BuildRequires: objectweb-asm
113c72
%endif
cvsdist df631d
cvsdist df631d
%description
Andrew Overholt 4fd0cf
The Eclipse platform is designed for building integrated development
Andrew Overholt 4fd0cf
environments (IDEs), server-side applications, desktop applications, and
Andrew Overholt 4fd0cf
everything in between.
cvsdist 38d0d0
Andrew Overholt d5b203
%package     swt
Andrew Overholt 65c016
Summary:        SWT Library for GTK+-2.0
Ben Konrath 9dbdca
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 7b4ca0
# %{_libdir}/java directory owned by jpackage-utils
Andrew Overholt 7b4ca0
Requires:       jpackage-utils
Andrew Overholt 65c016
Requires:       gtk2
51a855
Requires:       xulrunner >= 1.9
Ben Konrath 834266
Conflicts:      mozilla
Andrew Overholt d5b203
Provides:       libswt3-gtk2 = 1:%{version}-%{release}
Andrew Overholt d5b203
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
Andrew Overholt d5b203
# but I want to leave some room in case we need to do an F9 update.
Andrew Overholt d5b203
Obsoletes:       libswt3-gtk2 < 1:3.3.2-20
Ben Konrath 9dbdca
Andrew Overholt d5b203
%description swt
Andrew Overholt 65c016
SWT Library for GTK+-2.0.
Ben Konrath 9dbdca
Ben Konrath 9dbdca
%package        rcp
Ben Konrath 9dbdca
Summary:        Eclipse Rich Client Platform
Ben Konrath 9dbdca
Group:          Development/Languages
Andrew Overholt d5b203
Requires:       %{name}-swt = %{epoch}:%{version}-%{release}
113c72
%if ! %{bootstrap}
344dbc
Requires:       icu4j-eclipse >= 1:4.0.1-3
113c72
%endif
Ben Konrath 8e5a58
Requires:       java >= 1.6.0
Ben Konrath 9dbdca
Ben Konrath 9dbdca
%description    rcp
Ben Konrath 9dbdca
Eclipse Rich Client Platform
Ben Konrath 9dbdca
cvsdist 38d0d0
%package        platform
cvsdist 38d0d0
Summary:        Eclipse platform common files
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 65c016
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
113c72
%if ! %{bootstrap}
Andrew Overholt 56ebf5
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
Andrew Overholt 7d8b6e
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 2f978e
Requires: jakarta-commons-el >= 1.0-9
Andrew Overholt afd8c4
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
Andrew Overholt 4d2531
Requires: jakarta-commons-codec
72fb36
Requires: tomcat5-jasper-eclipse >= 5.5.27-6.3
366e2f
Requires: tomcat6-servlet-2.5-api >= 6.0.18-9.2
21e448
Requires: jetty >= 6.1.21-2
255430
Requires: jsch >= 0.1.41
Andrew Overholt 7889e5
Requires: lucene >= 2.3.1-3.4
Andrew Overholt 7889e5
Requires: lucene-contrib >= 2.3.1-3.4
c0b31d
Requires: sat4j >= 2.1.1-1
113c72
%endif
Andrew Overholt d5b203
Provides: eclipse-cvs-client = 1:%{version}-%{release}
Andrew Overholt d5b203
Obsoletes: eclipse-cvs-client < 1:3.3.2-20
cvsdist 38d0d0
cvsdist 38d0d0
%description    platform
Andrew Overholt 2d49d8
The Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt 65c016
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0
cvsdist 38d0d0
%package        jdt
Andrew Overholt 65c016
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt bfd4e0
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 014de5
Requires:       %{name}-cvs-client = %{epoch}:%{version}-%{release}
113c72
%if ! %{bootstrap}
9ef820
Requires:       junit >= 3.8.1-3jpp
Ben Konrath 619a6b
Requires:       junit4
a466bb
Requires:       jakarta-commons-httpclient
113c72
%endif
Andrew Overholt 65c016
Requires:       java-javadoc
Andrew Overholt bc1821
Requires:       java-devel
cvsdist 38d0d0
cvsdist 38d0d0
%description    jdt
Andrew Overholt 65c016
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt 65c016
developing software written in the Java programming language.
cvsdist 38d0d0
cvsdist 38d0d0
%package        pde
Andrew Overholt 65c016
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt ebb010
Provides:       eclipse = %{epoch}:%{version}-%{release}
Andrew Overholt ebb010
Provides:       eclipse-sdk = %{epoch}:%{version}-%{release}
Ben Konrath e420f1
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 921a57
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
113c72
%if ! %{bootstrap}
Andrew Overholt d5b203
Requires:       objectweb-asm
1de464
Requires:       hamcrest >= 0:1.1-9.2
113c72
%endif
Andrew Overholt 007719
# For PDE Build wrapper script
Andrew Overholt 007719
Requires:       bash
Andrew Overholt c9ccf4
Provides:       %{name}-pde-runtime = 1:%{version}-%{release}
1a6826
Obsoletes:      %{name}-pde-runtime < 1:3.3.2-20
Andrew Overholt bfd4e0
Andrew Overholt 3e3ec3
%description    pde
Andrew Overholt 65c016
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt 65c016
developing Eclipse plugins.
Ben Konrath 5037e9
cvsdist df631d
%prep
014df7
%setup -q -n eclipse-build-0.6.1RC0
22b175
cp %{SOURCE1} .
eda4fc
ant -DbuildArch=%{eclipse_arch} applyPatches
c0b31d
pushd build/eclipse-%{version}-src
22b175
Andrew Overholt 5dde14
# Use our system-installed javadocs, reference only what we built, and
Andrew Overholt 5dde14
# don't like to osgi.org docs (FIXME:  maybe we should package them?)
Andrew Overholt 5dde14
sed -i -e "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde14
   -e "/osgi\.org/d" \
255430
   -e "s|-breakiterator|;../org.eclipse.equinox.util/@dot\n;../org.eclipse.ecf.filetransfer_3.0.0.v20090302-0803.jar\n;../org.eclipse.ecf_3.0.0.v20090302-0803.jar\n-breakiterator|" \
255430
    plugins/org.eclipse.platform.doc.isv/platformOptions.txt
Andrew Overholt 5dde14
sed -i -e "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde14
   -e "s/win32.win32.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 5dde14
   plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \
Ben Konrath 658b6e
   plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
Andrew Overholt 5dde14
sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde14
   -e "s/motif.linux.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 5dde14
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
255430
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt
Ben Konrath 4c0ee0
Andrew Overholt d5b203
Andrew Overholt ede0f4
# FIXME:  do this as part of Linux distros project
Andrew Overholt d5b203
#
Andrew Overholt ede0f4
# the swt version is set to HEAD on s390x but shouldn't be
Andrew Overholt 4fd0cf
# get swt version
Andrew Overholt 4fd0cf
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt 4fd0cf
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt 4fd0cf
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
774997
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
774997
swt_frag_ver_s390x=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
014df7
#sed --in-place "s|$swt_frag_ver_s390x|$swt_frag_ver|g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
014df7
#                                                      plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF
Andrew Overholt 4fd0cf
113c72
%if ! %{bootstrap}
Ben Konrath 5037e9
# make sure there are no jars left
Ben Konrath 55460d
JARS=""
Ben Konrath 55460d
for j in $(find -name \*.jar); do
Ben Konrath 55460d
  if [ ! -L $j ]; then
Andrew Overholt d5b203
    JARS="$JARS `echo $j`"
Ben Konrath 55460d
  fi
Ben Konrath 55460d
done
Ben Konrath 55460d
if [ ! -z "$JARS" ]; then
Andrew Overholt 65c016
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2987a9
   #FIXME: enable  exit 1
Ben Konrath 55460d
fi
113c72
%endif
Ben Konrath 5037e9
Andrew Overholt 88a225
# target platform template patch
014df7
#%patch0 -p0
f2bbfb
# make o.e.swt.gtk.linux.ppc64 version to match ppc 
c0b31d
#%patch1
Andrew Overholt 9a4cec
popd
Andrew Overholt 9a4cec
Andrew Overholt 602cb9
%build
41dd0d
export JAVA_HOME=%{java_home}
014df7
ant
Andrew Overholt e6ab17
cvsdist 38d0d0
%install
cvsdist 38d0d0
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 65c016
# Get swt version
c0b31d
SWT_MAJ_VER=$(grep maj_ver build/eclipse-%{version}-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
c0b31d
SWT_MIN_VER=$(grep min_ver build/eclipse-%{version}-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath bc6236
dc18c1
ant -DdestDir=$RPM_BUILD_ROOT -Dprefix=/usr -DbuildArch=%{eclipse_arch} -Dmultilib=true install
8cf5b9
c0b31d
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
c0b31d
rm -f eclipse.ini
c0b31d
ln -s $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
popd
c0b31d
Andrew Overholt 9e6b7f
# Set GDK_NATIVE_WINDOWS=true
Andrew Overholt 9e6b7f
# https://bugzilla.redhat.com/531675 (https://bugs.eclipse.org/290395)
Andrew Overholt 9e6b7f
rm $RPM_BUILD_ROOT/%{_bindir}/%{name}
Andrew Overholt 9e6b7f
install -p -D -m0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt 9e6b7f
sed --in-place "s:/usr/lib:%{_libdir}:" \
Andrew Overholt 9e6b7f
  $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt b360db
c0b31d
cp $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini eclipse.ini-real
Andrew Overholt 65c016
# Some directories we need
Andrew Overholt 0994b9
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt c2c49f
# FIXME:  We can probably get rid of the links directory (for the
Andrew Overholt c2c49f
# datadir.link file) when we ensure all plugins are installing into
Andrew Overholt c2c49f
# dropins (either in libdir or datadir).
Andrew Overholt 690cc2
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
Andrew Overholt c2c49f
Andrew Overholt c2c49f
# FIXME:  Please don't install stuff to these directories.  They're only
Andrew Overholt c2c49f
# still here for legacy plugins (which probably won't function in 3.4).
Andrew Overholt c2c49f
# We'll remove these later.
Andrew Overholt 269d30
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/features
Andrew Overholt 269d30
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt 65c016
22b175
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/p2
Ben Konrath 06b780
Andrew Overholt 0994b9
LAUNCHERVERSION=$(ls $sdkDir/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Ben Konrath 4c0ee0
Andrew Overholt 0994b9
installDir=$sdkDir-Platform
Andrew Overholt 0994b9
metadataDir=$installDir/metadata-Platform
Andrew Overholt 0994b9
provisionDir=$installDir-provisioned
Andrew Overholt 0994b9
profileId=PlatformProfile
Andrew Overholt 8a2c6f
Andrew Overholt 0994b9
# Copy just the platform
Andrew Overholt 0994b9
mkdir $installDir
Andrew Overholt 0994b9
pushd $installDir
Andrew Overholt 0994b9
sh %{SOURCE28} $sdkDir
Andrew Overholt c9ccf4
mv plugins/*.source* $sdkDir/plugins
Andrew Overholt 8a2c6f
popd
Andrew Overholt 8a2c6f
Andrew Overholt 0994b9
# Generate metadata for the platform
Andrew Overholt d5b203
java \
Andrew Overholt d5b203
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt d5b203
org.eclipse.core.launcher.Main \
Andrew Overholt d5b203
-application \
Andrew Overholt d5b203
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
Andrew Overholt d5b203
-metadataRepository file:$metadataDir \
Andrew Overholt d5b203
-artifactRepository file:$metadataDir \
Andrew Overholt d5b203
-source $installDir \
Andrew Overholt 2d49d8
-root "Eclipse Platform" \
Andrew Overholt 8a2c6f
-rootVersion %{version} \
Andrew Overholt d5b203
-flavor tooling \
Andrew Overholt d5b203
-publishArtifacts \
Andrew Overholt d5b203
-append \
Andrew Overholt 2d49d8
-artifactRepositoryName "Eclipse Platform" \
448d56
-metadataRepositoryName "Eclipse Platform" \
448d56
-debug -consolelog
Andrew Overholt d5b203
Andrew Overholt c9ccf4
# JDT
Andrew Overholt c9ccf4
jdtDir=$sdkDir-JDT
Andrew Overholt c9ccf4
jdtMetadata=$jdtDir/metadata-JDT
Andrew Overholt c9ccf4
Andrew Overholt c9ccf4
mkdir $jdtDir
Andrew Overholt c9ccf4
pushd $jdtDir
Andrew Overholt c9ccf4
mkdir features plugins
Andrew Overholt c9ccf4
mv $sdkDir/features/org.eclipse.jdt_* features
Andrew Overholt c9ccf4
for plugin in org.eclipse.jdt \
Andrew Overholt c9ccf4
  org.eclipse.ant.ui \
Andrew Overholt c9ccf4
  org.eclipse.jdt.apt.core \
Andrew Overholt c9ccf4
  org.eclipse.jdt.apt.ui \
Andrew Overholt c9ccf4
  org.eclipse.jdt.apt.pluggable.core \
Andrew Overholt c9ccf4
  org.eclipse.jdt.compiler.apt \
Andrew Overholt c9ccf4
  org.eclipse.jdt.compiler.tool \
Andrew Overholt c9ccf4
  org.eclipse.jdt.core \
Andrew Overholt c9ccf4
  org.eclipse.jdt.core.manipulation \
Andrew Overholt c9ccf4
  org.eclipse.jdt.debug.ui \
Andrew Overholt c9ccf4
  org.eclipse.jdt.debug \
Andrew Overholt c9ccf4
  org.eclipse.jdt.junit \
Andrew Overholt c9ccf4
  org.eclipse.jdt.junit.runtime \
Andrew Overholt c9ccf4
  org.eclipse.jdt.junit4.runtime \
Andrew Overholt c9ccf4
  org.eclipse.jdt.launching \
Andrew Overholt c9ccf4
  org.eclipse.jdt.ui \
255430
  org.eclipse.jdt.doc.user \
Andrew Overholt 27a26e
  org.hamcrest.core \
Andrew Overholt c9ccf4
  org.junit \
255430
  org.junit4 ; do
Andrew Overholt c9ccf4
  mv $sdkDir/plugins/${plugin}_* plugins
Andrew Overholt c9ccf4
done
Andrew Overholt c9ccf4
popd
Andrew Overholt c9ccf4
Andrew Overholt 8a2c6f
# Debugging?  Add -debug and -consolelog
Andrew Overholt 8a2c6f
# Provision with director
Andrew Overholt ce22a2
java \
22b175
-Declipse.p2.data.area=file:$provisionDir/p2 \
255430
-Declipse.p2.MD5Check=false \
Andrew Overholt ce22a2
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt ce22a2
org.eclipse.core.launcher.Main \
Andrew Overholt d5b203
-application \
22b175
org.eclipse.equinox.p2.director \
255430
-debug -consolelog \
Andrew Overholt d5b203
-flavor tooling \
Andrew Overholt 2d49d8
-installIU "Eclipse Platform" \
Andrew Overholt d5b203
-p2.os linux \
Andrew Overholt d5b203
-p2.ws gtk \
Andrew Overholt d5b203
-p2.arch %{eclipse_arch} \
Andrew Overholt d5b203
-roaming \
Andrew Overholt f869e6
-profile $profileId \
Andrew Overholt d5b203
-profileProperties org.eclipse.update.install.features=true \
Andrew Overholt d5b203
-metadataRepository file:$metadataDir \
Andrew Overholt d5b203
-artifactRepository file:$metadataDir \
Andrew Overholt 0994b9
-destination $provisionDir \
1de464
-bundlepool $provisionDir
Andrew Overholt 8a2c6f
Andrew Overholt 0994b9
# Stuff in JDT, PDE, SDK
Andrew Overholt c9ccf4
for f in about.html about_files \.eclipseproduct epl-v10.html notice.html readme; do
Andrew Overholt b360db
    if [ -e $installDir/$f ]; then
Andrew Overholt c9ccf4
      mv $installDir/$f $provisionDir
Andrew Overholt c9ccf4
    fi
Andrew Overholt 8a2c6f
done
Andrew Overholt 7889e5
# FIXME:  should add artifacts.xml here
Andrew Overholt c9ccf4
dropins=$provisionDir/dropins
Andrew Overholt 7889e5
mkdir -p $dropins/jdt $dropins/sdk
Andrew Overholt 7889e5
mv $jdtDir/features $dropins/jdt
Andrew Overholt 7889e5
mv $jdtDir/plugins $dropins/jdt
Andrew Overholt c9ccf4
Andrew Overholt 7889e5
mv $sdkDir/features $dropins/sdk
Andrew Overholt 7889e5
mv $sdkDir/plugins $dropins/sdk
Andrew Overholt c9ccf4
rm -rf $metadataDir $jdtDir $sdkDir $installDir
22b175
Andrew Overholt 0994b9
mv $provisionDir $sdkDir
Andrew Overholt 8a2c6f
Andrew Overholt 0994b9
# Fix paths in p2 data
Andrew Overholt 0994b9
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt 0994b9
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
Andrew Overholt 2d49d8
sed -i "s|file\:$provisionDir/\ -\ bundle\ pool|Eclipse Platform|g" \
Andrew Overholt 0994b9
  $sdkDir/artifacts.xml
Andrew Overholt 0994b9
profileDir=$sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry
Andrew Overholt 0994b9
pushd $profileDir
Andrew Overholt 0994b9
  sed -i "s|$provisionDir|%{_libdir}/%{name}|g" \
Andrew Overholt 0994b9
    PlatformProfile.profile/*
Andrew Overholt 0994b9
  sed -i "s|$RPM_BUILD_ROOT||g" PlatformProfile.profile/*
22b175
  sed -i "s|eclipse-Platform|eclipse|g" PlatformProfile.profile/*
Andrew Overholt 8a2c6f
popd
Ben Konrath c3ae08
22b175
sed --in-place "s|SDKProfile|PlatformProfile|" \
22b175
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
22b175
Andrew Overholt d5b203
# Add a compatibility symlink to startup.jar
Andrew Overholt 0994b9
pushd $sdkDir
Andrew Overholt d5b203
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
Andrew Overholt d5b203
ln -s plugins/$LAUNCHERNAME startup.jar
Andrew Overholt d5b203
popd
Ben Konrath d563cf
Andrew Overholt b5482d
# Remove the unnecessary configuration data
Andrew Overholt b5482d
rm -r $sdkDir/configuration/org.eclipse.update
Andrew Overholt b5482d
Andrew Overholt b5482d
%if %{initialize}
Ben Konrath 158e04
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt 65c016
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt 65c016
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt 65c016
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt 65c016
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt e6ab17
#
Andrew Overholt fd64f0
# Extract .so files
Andrew Overholt fd64f0
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 32f425
pushd $RPM_BUILD_ROOT
Andrew Overholt b5482d
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins  $RPM_BUILD_ROOT/dropins
Andrew Overholt b5482d
mkdir $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt 32f425
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
cdbf01
java -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT$libdir_path/configuration \
cdbf01
     -cp $libdir_path/startup.jar \
Ben Konrath 158e04
     org.eclipse.core.launcher.Main \
255430
     -debug -consolelog \
22b175
     -metadataRepository file:$metadataDir \
Andrew Overholt 27a26e
     -artifactRepository file:$metadataDir \
Andrew Overholt 32f425
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 158e04
     -fileInitializer %{SOURCE19}
9ef820
popd
Andrew Overholt b5482d
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt b5482d
mv $RPM_BUILD_ROOT/dropins $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt b5482d
Andrew Overholt b5482d
# Do this again after we've run the file initializer
Andrew Overholt b5482d
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt b5482d
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
303b3e
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
1c43f0
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry/PlatformProfile.profile/.data/.settings
Andrew Overholt b5482d
pushd $profileDir
Andrew Overholt b5482d
  sed -i "s|$RPM_BUILD_ROOT||g" *.profile/*
Andrew Overholt b5482d
popd
9ef820
Andrew Overholt d5b203
# Remove the unnecessary configuration data
Andrew Overholt 0994b9
rm -r $sdkDir/configuration/org.eclipse.core.runtime
Andrew Overholt 0994b9
rm -r $sdkDir/configuration/org.eclipse.equinox.app
Andrew Overholt c9ccf4
rm -rf $sdkDir/configuration/*.log
Andrew Overholt 0994b9
dataDirs=$(find $sdkDir/configuration \
Andrew Overholt f869e6
  -type d -name data)
Andrew Overholt f869e6
for dataDir in $dataDirs; do
Andrew Overholt f869e6
    rm -rf `dirname $dataDir`
Andrew Overholt f869e6
done
Andrew Overholt f869e6
Andrew Overholt 0061dd
pushd $sdkDir
Andrew Overholt b5482d
# Create file listings for the extracted shared libraries
Andrew Overholt b5482d
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt b5482d
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Andrew Overholt b5482d
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Andrew Overholt b5482d
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{name}-swt.install;
Andrew Overholt b5482d
  else
Andrew Overholt b5482d
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt b5482d
  fi
Andrew Overholt e6ab17
done
Andrew Overholt b5482d
popd
Andrew Overholt b5482d
Andrew Overholt b5482d
# Install symlinks to the SWT JNI shared libraries in %%{_libdir}/eclipse
Andrew Overholt b5482d
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt e6ab17
for lib in $(find configuration -name libswt\*.so); do
Andrew Overholt b5482d
  ln -s $lib `basename $lib`
Andrew Overholt b5482d
done
937744
popd
Andrew Overholt b5482d
Andrew Overholt b5482d
# Ensure the shared libraries have the correct permissions
Andrew Overholt e6ab17
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt b5482d
for lib in `find configuration -name \*.so`; do
Andrew Overholt b5482d
   chmod 755 $lib
Andrew Overholt b5482d
done
Andrew Overholt f869e6
popd
Andrew Overholt b5482d
%endif
cvsdist df631d
8cf5b9
cp -p eclipse.ini-real \
c0b31d
  $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
22b175
c0b31d
sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
Andrew Overholt bfd4e0
Andrew Overholt b360db
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
c0b31d
sed -i "s|-Xms40m|-Xms128m|g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
sed -i "s|-Xmx256m|-Xmx512m|g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d
echo "-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
Andrew Overholt b360db
57bee4
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/links
Andrew Overholt c2c49f
# FIXME:  We can probably get rid of the links file when we ensure all
Andrew Overholt c2c49f
# plugins are installing into dropins (either in libdir or datadir).
Andrew Overholt 269d30
# Set up an extension location and a link file for the arch-independent dir
96a1f3
echo "path:%{_datadir}" > \
Andrew Overholt c2c49f
  $sdkDir/links/datadir.link
Andrew Overholt 269d30
Andrew Overholt d5b203
# Ensure the launcher binary has the correct permissions
Andrew Overholt e7563e
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{name}
Andrew Overholt 5fd187
Ben Konrath 121ec8
# Install the SWT jar symlinks in libdir
c0b31d
SWTJARVERSION=$(grep %{version} build/eclipse-%{version}-src/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
Ben Konrath c3ae08
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt c9ccf4
ln -s plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2987a9
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
Andrew Overholt 690cc2
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar
Andrew Overholt 690cc2
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
cvsdist 38d0d0
popd
cvsdist 38d0d0
Andrew Overholt e6ab17
# Install the efj wrapper script
Ben Konrath 0b073c
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Andrew Overholt d5b203
sed --in-place "s:startup.jar:%{_libdir}/%{name}/startup.jar:" \
Andrew Overholt e6ab17
  $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath 0b073c
22b175
rm -rf $installDir
22b175
cvsdist 38d0d0
# A sanity check.
57d54c
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0
cvsdist 38d0d0
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0
# eclipse platform.
8b0c1f
cp -p pdebuild/eclipse-copy-platform.sh copy-platform
cvsdist 38d0d0
(
Andrew Overholt d5b203
  cd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 079a00
  ls -d * | egrep -v '^(plugins|features|about_files|dropins)$'
Andrew Overholt c9ccf4
  ls -d plugins/* features/*
cvsdist 38d0d0
) |
e906bd
sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
Andrew Overholt d5b203
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
c3c925
mv copy-platform $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
Andrew Overholt c9ccf4
copyPlatform=$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/copy-platform
Andrew Overholt c9ccf4
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 7889e5
for p in $(ls -d dropins/jdt/plugins/*); do
Andrew Overholt c9ccf4
    plugin=$(basename $p)
Andrew Overholt c9ccf4
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt c9ccf4
done
Andrew Overholt 7889e5
for p in $(ls -d dropins/sdk/plugins/*); do
Andrew Overholt c9ccf4
    plugin=$(basename $p)
Andrew Overholt c9ccf4
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt c9ccf4
done
Andrew Overholt c9ccf4
popd
Ben Konrath 435496
014df7
sed --in-place "s|file\\\:$RPM_BUILD_ROOT%{_libdir}/eclipse-Platform/p2|@config.dir/../p2/|" \
22b175
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
22b175
Andrew Overholt 8b3726
# Install the PDE Build wrapper script.
8b0c1f
install -p -D -m0755 pdebuild/eclipse-pdebuild.sh \
Andrew Overholt d5b203
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt 7889e5
PDEBUILDVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/sdk/plugins \
Andrew Overholt c9ccf4
  | grep org.eclipse.pde.build_ | \
Andrew Overholt c9ccf4
  sed 's/org.eclipse.pde.build_//')
Andrew Overholt c9ccf4
sed -i "s/@PDEBUILDVERSION@/$PDEBUILDVERSION/g" \
Andrew Overholt c9ccf4
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt d5b203
113c72
%if ! %{bootstrap}
Andrew Overholt d5b203
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 39363d
Andrew Overholt 7889e5
pushd dropins/jdt
014df7
build-jar-repository -s -p plugins/org.junit_3* junit
Andrew Overholt bfd4e0
014df7
JUNIT4VERSION=$(ls plugins | grep org.junit_4 | sed 's/org.junit_//')
014df7
rm plugins/org.junit_$JUNIT4VERSION/junit.jar
014df7
ln -s %{_javadir}/junit4.jar plugins/org.junit_$JUNIT4VERSION/junit.jar
Andrew Overholt c9ccf4
popd
Ben Konrath 619a6b
Ben Konrath 82b907
# link to the icu4j stuff
0fefd1
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
0fefd1
rm plugins/com.ibm.icu_*.jar
Ben Konrath 82b907
Andrew Overholt 27a26e
SAT4JVERSION=$(ls plugins | grep org.sat4j.core_ | \
Andrew Overholt 27a26e
  sed 's/org.sat4j.core_//')
Andrew Overholt 27a26e
rm plugins/org.sat4j*
Andrew Overholt 27a26e
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_$SAT4JVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_$SAT4JVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
ASMPLUGINVERSION=$(ls dropins/sdk/plugins | grep org.objectweb.asm_ | \
Andrew Overholt 27a26e
  sed 's/org.objectweb.asm_//')
Andrew Overholt 27a26e
rm dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
Andrew Overholt 27a26e
  dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# Duplicate junit4
Andrew Overholt 27a26e
rm -rf dropins/sdk/plugins/org.junit4
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to hamcrest-core
Andrew Overholt 27a26e
HAMCRESTCOREVERSION=$(ls dropins/jdt/plugins | grep org.hamcrest.core_ | \
Andrew Overholt 27a26e
  sed 's/org.hamcrest.core_//')
Andrew Overholt 27a26e
rm dropins/jdt/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/hamcrest/core.jar \
Andrew Overholt 27a26e
  dropins/jdt/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty.server_6 | sed 's/org.mortbay.jetty.server_//')
Andrew Overholt 27a26e
rm plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
4d3c24
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
JETTYUTILVERSION=$(ls plugins | grep org.mortbay.jetty.util_6 | sed 's/org.mortbay.jetty.util_//')
Andrew Overholt 27a26e
rm plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
4d3c24
ln -s %{_javadir}/jetty/jetty-util.jar plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | sed 's/com.jcraft.jsch_//')
Andrew Overholt 27a26e
rm plugins/com.jcraft.jsch_$JSCHVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to lucene
Andrew Overholt 27a26e
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
Andrew Overholt 27a26e
  sed 's/org.apache.lucene_//')
Andrew Overholt 27a26e
rm plugins/org.apache.lucene_*
Andrew Overholt 27a26e
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
Andrew Overholt 27a26e
rm plugins/org.apache.lucene.analysis_*
Andrew Overholt 27a26e
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
Andrew Overholt 27a26e
  plugins/org.apache.lucene.analysis_$LUCENEVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to commons-logging
Andrew Overholt 27a26e
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
Andrew Overholt 27a26e
  sed 's/org.apache.commons.logging_//')
Andrew Overholt 27a26e
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/commons-logging.jar \
Andrew Overholt 27a26e
  plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to commons-el
Andrew Overholt 27a26e
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
Andrew Overholt 27a26e
  sed 's/org.apache.commons.el_//')
Andrew Overholt 27a26e
rm plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/commons-el.jar \
Andrew Overholt 27a26e
  plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to commons-codec
Andrew Overholt 27a26e
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
Andrew Overholt 27a26e
  sed 's/org.apache.commons.codec_//')
Andrew Overholt 27a26e
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/commons-codec.jar \
Andrew Overholt 27a26e
  plugins/org.apache.commons.codec_$COMMONSCODECVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to commons-httpclient
Andrew Overholt 27a26e
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
Andrew Overholt 27a26e
  sed 's/org.apache.commons.httpclient_//')
Andrew Overholt 27a26e
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
Andrew Overholt 27a26e
ln -s %{_javadir}/commons-httpclient.jar \
Andrew Overholt 27a26e
  plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to servlet-api
Andrew Overholt 27a26e
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
Andrew Overholt 27a26e
  sed 's/javax.servlet_//')
Andrew Overholt 27a26e
rm plugins/javax.servlet_*
90707c
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
Andrew Overholt 27a26e
  plugins/javax.servlet_$SERVLETAPIVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
# link to jsp-api
Andrew Overholt 27a26e
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
Andrew Overholt 27a26e
  sed 's/javax.servlet.jsp_//')
Andrew Overholt 27a26e
rm plugins/javax.servlet.jsp_*
4d3c24
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
Andrew Overholt 27a26e
  plugins/javax.servlet.jsp_$JSPAPIVERSION
Andrew Overholt 27a26e
Andrew Overholt 27a26e
## BEGIN ANT ##
Andrew Overholt 27a26e
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
Andrew Overholt 27a26e
rm $ANTDIR/lib/*
Andrew Overholt 27a26e
ANTDIR=$ANTDIR/lib
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
Andrew Overholt 27a26e
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
Andrew Overholt 27a26e
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
Andrew Overholt 27a26e
## END ANT ##
Andrew Overholt 27a26e
Ben Konrath 82b907
popd
113c72
%endif
Ben Konrath 82b907
c0b31d
# Be sure that we have a symlink to /etc/eclipse.ini
c0b31d
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
c0b31d
rm -f eclipse.ini
c0b31d
ln -s %{_sysconfdir}/eclipse.ini
c0b31d
popd
c0b31d
Andrew Overholt bfd4e0
%clean
Andrew Overholt bfd4e0
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 25abe4
Andrew Overholt 921a57
%post platform
fcae09
touch --no-create %{_datadir}/icons/hicolor
b29583
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c3
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae09
fi
cvsdist 38d0d0
Andrew Overholt 0665d4
%postun platform
fcae09
touch --no-create %{_datadir}/icons/hicolor
b29583
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c3
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae09
fi
Ben Konrath 07ad63
Andrew Overholt b5482d
%if %{initialize}
Andrew Overholt d5b203
%files swt -f %{name}-swt.install
Andrew Overholt b5482d
%else
Andrew Overholt b5482d
%files swt
Andrew Overholt b5482d
%endif
Ben Konrath 5037e9
%defattr(-,root,root)
Ben Konrath 2ce933
%dir %{_libdir}/%{name}
Ben Konrath 158e04
%dir %{_libdir}/%{name}/plugins
Andrew Overholt b5482d
%if %{initialize}
Andrew Overholt b5482d
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 158e04
%dir %{_libdir}/%{name}/configuration
Ben Konrath 158e04
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 158e04
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Andrew Overholt b5482d
%endif
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 158e04
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath c3ae08
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt 690cc2
%{_libdir}/%{name}/swt.jar
Andrew Overholt 690cc2
%{_libdir}/java/swt.jar
cvsdist 38d0d0
Ben Konrath 9dbdca
%files rcp
Ben Konrath 5037e9
%defattr(-,root,root)
Ben Konrath 556f63
%dir %{_libdir}/%{name}/features
Andrew Overholt 269d30
%dir %{_datadir}/%{name}
Andrew Overholt 269d30
%dir %{_datadir}/%{name}/features
Andrew Overholt 269d30
%dir %{_datadir}/%{name}/plugins
Andrew Overholt b5482d
%if %{initialize}
Ben Konrath 158e04
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 158e04
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 158e04
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 158e04
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt b5482d
%endif
113c72
%if %{bootstrap}
113c72
%{_libdir}/%{name}/plugins/com.ibm.icu_*
113c72
%endif
255430
%config %{_libdir}/%{name}/configuration
Andrew Overholt 8a2c6f
%config %{_libdir}/%{name}/configuration/config.ini
Andrew Overholt 8a2c6f
%config %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Andrew Overholt 8a2c6f
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator
Andrew Overholt d5b203
%{_libdir}/%{name}/notice.html
Andrew Overholt d5b203
%{_libdir}/%{name}/epl-v10.html
Andrew Overholt 269d30
%{_libdir}/%{name}/links
e11e24
%ifnarch ppc ppc64
Andrew Overholt d5b203
%{_libdir}/%{name}/about.html
Andrew Overholt 9aec0f
%endif
Andrew Overholt 7f97be
%ifarch x86_64
Andrew Overholt d5b203
%{_libdir}/%{name}/about_files
Andrew Overholt 7f97be
%endif
Andrew Overholt d5b203
%{_libdir}/%{name}/readme
Andrew Overholt d5b203
%{_libdir}/%{name}/startup.jar
Ben Konrath d563cf
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.observable_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.property_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.ds_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 4c0ee0
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.util_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.help_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.osgi_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
Ben Konrath 4c0ee0
Andrew Overholt b5482d
%if %{initialize}
Andrew Overholt 921a57
%files platform -f %{name}-platform.install
Andrew Overholt b5482d
%else
Andrew Overholt b5482d
%files platform
Andrew Overholt b5482d
%endif
Ben Konrath 5037e9
%defattr(-,root,root)
Ben Konrath 158e04
%attr(0755,root,root) %{_bindir}/%{name}
Andrew Overholt 0f27cf
%config %{_libdir}/%{name}/eclipse.ini
c0b31d
%config %{_sysconfdir}/eclipse.ini
e11e24
%ifnarch ppc ppc64
22b175
%{_libdir}/%{name}/about_files
60484c
%endif
Ben Konrath 9dbdca
%{_datadir}/applications/*
Ben Konrath 9dbdca
%{_datadir}/pixmaps/*
Ben Konrath 9dbdca
%{_datadir}/icons/*/*/apps/*
Andrew Overholt d5b203
%{_libdir}/%{name}/eclipse
Andrew Overholt c9ccf4
%dir %{_libdir}/%{name}/dropins
Andrew Overholt c2c49f
%dir %{_datadir}/%{name}/dropins
Andrew Overholt d5b203
%{_libdir}/%{name}/features/org.eclipse.platform_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/javax.servlet_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.ant_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.commons.el_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.commons.logging_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.lucene_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.lucene.analysis_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.compare.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.boot_*
014df7
%{_libdir}/%{name}/plugins/org.eclipse.core.externaltools_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath 158e04
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.net_*
Andrew Overholt fc7e41
%ifarch %{ix86}
Andrew Overholt 7f97be
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.x86_*
69c0ea
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Andrew Overholt fc7e41
%endif
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.core.variables_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.debug.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.debug.ui_*
014df7
%{_libdir}/%{name}/plugins/org.eclipse.equinox.event_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.help.appserver_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 4c0ee0
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.jface.text_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.jsch.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.jsch.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.osgi.services_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.osgi.util_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.platform_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.search_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.team.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.team.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.text_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.browser_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.console_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.editors_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.forms_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.net_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.update.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.update.scheduler_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.update.ui_*
255430
%{_libdir}/%{name}/plugins/org.mortbay.jetty.util_*
255430
%{_libdir}/%{name}/plugins/org.mortbay.jetty.server_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.cvs_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/features/org.eclipse.cvs_*
Andrew Overholt d5b203
%{_libdir}/%{name}/features/org.eclipse.help_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.apache.jasper_*
Andrew Overholt 7f652c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
Andrew Overholt 7f652c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
Andrew Overholt 7f652c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
Andrew Overholt d5b203
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.user.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.engine_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.jarprocessor_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.repository_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.artifact.repository_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.console_*
014df7
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ql_*
014df7
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.operations_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository.tools_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.generator_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatesite_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security.ui_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.extensionlocation_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director.app_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient_*
255430
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.ssl_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf.ssl_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf.filetransfer_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.eclipse.ecf.identity_*
255430
%{_libdir}/%{name}/plugins/org.apache.commons.codec_*
255430
%{_libdir}/%{name}/plugins/org.apache.commons.httpclient_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.sat4j.core_*
Andrew Overholt d5b203
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
Andrew Overholt 7f652c
# Put this in -platform since we're putting the p2 stuff here
Andrew Overholt 7f652c
%{_libdir}/%{name}/artifacts.xml
Andrew Overholt c9ccf4
# FIXME: should we ship content.xml for the platform?
Andrew Overholt 8a2c6f
#%{_libdir}/%{name}/metadata
Andrew Overholt 0994b9
%{_libdir}/%{name}/p2
Andrew Overholt 7f652c
Andrew Overholt 7f652c
%files jdt
Andrew Overholt 7f652c
%defattr(-,root,root)
Andrew Overholt 7f652c
%{_bindir}/efj
255430
%{_libdir}/%{name}/dropins/jdt
Ben Konrath 9dbdca
Ben Konrath 9dbdca
%files pde
Ben Konrath 9dbdca
%defattr(-,root,root)
Andrew Overholt d5b203
%{_libdir}/%{name}/buildscripts
Andrew Overholt c9ccf4
%{_libdir}/%{name}/dropins/sdk
Andrew Overholt d5b203
# FIXME:  where should this go?
21a504
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
Ben Konrath 9dbdca
Andrew Overholt bfd4e0
%changelog
014df7
* Fri Jul 9 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.6.0-1
014df7
- Update to 3.6.0.
014df7
- Based on eclipse-build 0.6.1 RC0.
014df7
a569aa
* Thu Jul 08 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-10
a569aa
- Rebuild for new jetty.
a569aa
4d3c24
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-9
4d3c24
- Fix typo in symlinking.
4d3c24
8b6be8
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-8
8b6be8
- No need to link jasper.
8b6be8
90707c
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-7
90707c
- Fix servlet and jsp apis symlinks.
90707c
afff09
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-6
afff09
- Fix jetty symlinks.
afff09
Andrew Overholt 27a26e
* Thu Jun 10 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.2-5
Andrew Overholt 27a26e
- Move hamcrest to dropins/jdt (rhbz#601059).
Andrew Overholt 27a26e
- Re-symlink after provisioning (rhbz#602865).
Andrew Overholt 27a26e
Andrew Overholt 7cafa9
* Mon Apr 12 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.2-4
Andrew Overholt 7cafa9
- Rebuild to pick up new xulrunner.
Andrew Overholt 7cafa9
a2572c
* Fri Mar 19 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-3
a2572c
- Use eclipse-build 0.5.0 release.
a2572c
2d5d13
* Mon Mar 8 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-2
2d5d13
- Fix multilib install.
2d5d13
c0b31d
* Sun Mar 7 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-1
c0b31d
- Update to 3.5.2.
c0b31d
Andrew Overholt ebb010
* Thu Jan 07 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.1-28
Andrew Overholt ebb010
- Version Provides for "eclipse" and "eclipse-sdk" (-pde).
Andrew Overholt ebb010
Andrew Overholt 594763
* Tue Dec 22 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-27
Andrew Overholt 594763
- Fix patch application.
Andrew Overholt 594763
Andrew Overholt 3a233c
* Tue Dec 22 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-26
Andrew Overholt 3a233c
- Backport eclipse-build patch for e.o#291128.
Andrew Overholt 3a233c
8b058b
* Tue Dec 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-25
8b058b
- Fix o.e.jdt.junit dropins issue. RHBZ#538803 (Thanks to Patrick Higgins).
8b058b
51a855
* Fri Dec 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-24
51a855
- Replace gecko BR/Rs with xulrunner.
51a855
- Drop xulrunner-devel-unstable now that it's merged in xulrunner-devel.
51a855
02041b
* Thu Dec 3 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-23
02041b
- Remove old manipulations to bundles.info.
02041b
- Update to eclipse-build 0.4 release.
02041b
Andrew Overholt 6b47bb
* Mon Nov 30 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-22
Andrew Overholt 6b47bb
- Move ant-nodeps out of bootstrap.
Andrew Overholt 6b47bb
Andrew Overholt a5ece4
* Tue Nov 17 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-21
Andrew Overholt a5ece4
- Fix typo in memory settings.
Andrew Overholt a5ece4
f2bbfb
* Tue Nov 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-20
f2bbfb
- Fix ppc64 swt jar version.
f2bbfb
Andrew Overholt b360db
* Mon Nov 16 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-19
Andrew Overholt b360db
- Temporarily patch for e.o#294877.
Andrew Overholt b360db
- Fix some whitespace.
Andrew Overholt b360db
e11e24
* Fri Nov 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-18
e11e24
- No about files on ppc64 too.
e11e24
5f04af
* Wed Nov 11 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-17
5f04af
- Update to eclipse-build 0.4 RC4 (fixes pdebuild escaping).
5f04af
eda4fc
* Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-16
eda4fc
- Specify -DbuildArch when running ant applyPatches.
eda4fc
18a7d8
* Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-15
18a7d8
- Update to eclipse-build 0.4 RC3.
18a7d8
80c7ec
* Fri Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-14
80c7ec
- Fix build with commons-codec 1.4.
80c7ec
Andrew Overholt 9e6b7f
* Fri Oct 30 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-13
Andrew Overholt 9e6b7f
- Make /usr/bin/eclipse a wrapper script due to rhbz#531675 (e.o#290395).
Andrew Overholt 9e6b7f
Andrew Overholt 6b4e0e
* Mon Oct 26 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-12
Andrew Overholt 6b4e0e
- Remove old TODO items.
Andrew Overholt 6b4e0e
57d54c
* Fri Oct 23 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-12
57d54c
- No need to invoke desktop-file-install, it's handled by e-b install now. 
57d54c
0557b4
* Thu Oct 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-11
0557b4
- Remove ppc64 files copying and sedding. Supported by eclipse-build now.
0557b4
1a6826
* Tue Oct 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-10
1a6826
- Remove old/not needed BR/Rs.
1a6826
3d176f
* Mon Oct 19 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-9
3d176f
- New e-b snapshot that contains fragments for ppc64.
3d176f
113c72
* Thu Oct 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-8
113c72
- Add bootstrap flag.
113c72
41dd0d
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-7
41dd0d
- Put back JAVA_HOME.
41dd0d
8b0c1f
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-6
8b0c1f
- New eclipse-build snapshot. Pdebuild and ecf compilation are part of it.
8b0c1f
dc18c1
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-5
dc18c1
- Fix install call.
dc18c1
8cf5b9
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-4
8cf5b9
- New eclipse-build snapshot. Remove parts included in it.
8cf5b9
Andrew Overholt 9a4cec
* Wed Oct 07 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-3
Andrew Overholt 9a4cec
- Add patch for bugs.eclipse.org/287307
Andrew Overholt 9a4cec
23b604
* Mon Oct 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-2
23b604
- Add /usr/share/eclipse/dropins to dropins locations.
23b604
448d56
* Fri Oct 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-1
448d56
- Update to 3.5.1.
448d56
6f49db
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-4
21e448
- Symlink to unversioned jetty jars.
21e448
fa9c55
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-3
fa9c55
- Build with eclipse-build 0.4.0 RC0.
fa9c55
Andrew Overholt 4d2531
* Wed Sep 23 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-2
Andrew Overholt 4d2531
- Move jakarta-commons-codec requirement from jdt to platform.
Andrew Overholt 4d2531
88b21e
* Tue Sep 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-1
88b21e
- Fix help toolbar jsp problem.
88b21e
49310c
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.13
49310c
- Update ecf-filetransfer and build it.
49310c
49310c
* Tue Sep 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.12
3dfaaa
- Build with system jetty.
3dfaaa
Andrew Overholt 5c8679
* Mon Sep 14 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.11
Andrew Overholt 5c8679
- Add /usr/share/eclipse/dropins to list of dropins locations
Andrew Overholt 5c8679
  (rhbz#522117).
Andrew Overholt 5c8679
Andrew Overholt 88a225
* Wed Sep 09 2009 Mat Booth <fedora@matbooth.co.uk> 1:3.5.0-0.10
Andrew Overholt 88a225
- Patch the target platform templates so they find all the required
Andrew Overholt 88a225
  source bundles (see RHBZ # 521969).
Andrew Overholt 88a225
b1b2bb
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.9
b1b2bb
- Remove all testframework sources, patches, build and etc.
b1b2bb
1de464
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.8
1de464
- Use system hamcrest.
1de464
2c626f
* Mon Aug 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.7
2c626f
- Use o.e.equinox.initializer from SOURCE1 instead of separate one.
2c626f
2b59e1
* Fri Aug 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.6
2b59e1
- Do not use the provided eclipse.ini but the one from build.
2b59e1
344dbc
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.5
344dbc
- Add epoch to icu4j Requires/BuildRequires.
344dbc
0fefd1
* Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.4.0
0fefd1
- Fix sources url.
0fefd1
- Make it use system icu4j and sat4j.
0fefd1
b26d85
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.35
b26d85
- Another missing ppc64 fragment.
b26d85
bb632b
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.34
bb632b
- Fix missing fragment on ppc64.
bb632b
f72ded
* Thu Aug 6 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.33
f72ded
- Fix missing launcher for ppc64.
f72ded
f39692
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.32
f39692
- Manually enable o.e.core.runtime and o.e.equinox.ds because it's not enabled on ppc64.
f39692
cdbf01
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.31
cdbf01
- Revert initialize call path changes.
cdbf01
a7f738
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.30
a7f738
- Additional output to debug ppc64 build failures.
a7f738
8c0fe8
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.29
8c0fe8
- Reenable initialize.
8c0fe8
- Fix paths in initializer call.
8c0fe8
e39e8c
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.28
e39e8c
- Disable initialize.
e39e8c
92cf8c
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.27
92cf8c
- No need to copy eclipse.ini for secondary archs.
92cf8c
60484c
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.26
60484c
- eclipse/about_files are not installed on ppc for some reason.
60484c
22b175
* Mon Aug 3 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.25
22b175
- Swith to eclipse-build for building.
22b175
2a03a0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.5.0-0.3.9
2a03a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2a03a0
19177b
* Wed Jun 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.9
19177b
- Fix package-build template to add target for -Dconfigs.
19177b
Andrew Overholt 2d49d8
* Tue May 19 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.8
Andrew Overholt 2d49d8
- Remove Fedora branding.
Andrew Overholt 2d49d8
Andrew Overholt c2338e
* Thu May 7 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.7
1de464
- Update patch to tests' library.xml to allow for easy debugging of tests.
Andrew Overholt c2338e
e8e1c4
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.6
e8e1c4
- Fix initializer run (sed again).
e8e1c4
366e2f
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.5
366e2f
- Bump tomcat6 BR.
366e2f
- Fix director run to not require sed on bundles.info.
366e2f
72fb36
* Wed Apr 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.4
72fb36
- Update to newer I-build.
72fb36
- Update fedora customization.
72fb36
- Bump dependencies minimal versions.
72fb36
- Fix update site functionality.
72fb36
- Simplify jdt %%files section.
72fb36
8bb07b
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.3
8bb07b
- Rediff patch30.
8bb07b
774997
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.2
774997
- Fix version of source bundles.
774997
99afe2
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.1
99afe2
- Create org.eclipse.swt.gtk.linux.* based on the ppc version.
99afe2
bd30f3
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2
bd30f3
- Remove patches for the ecj package and others already applied upstream.
bd30f3
- Rediff some ppc64 patches.
bd30f3
69c0ea
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.12
69c0ea
- o.e.update.core.linux is x86 only.
69c0ea
1c43f0
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.11
1c43f0
- Remove more p2 generated files.
1c43f0
303b3e
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.10
303b3e
- Do not install p2 generatad file.
303b3e
a466bb
* Fri Apr 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.9
a466bb
- BR/R jakarta-commons-codec and jakarta-commons-httpclient.
a466bb
43ecf6
* Thu Apr 9 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.8
43ecf6
- Add patch for xulrunner compilation.
43ecf6
6a5869
* Tue Apr 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.7
6a5869
- Fix patch name.
6a5869
255430
* Thu Apr 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.6
255430
- First try for 3.5 build.