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
Andrew Overholt bbcdf5
%global download_url    http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build/3.6.x_Helios/
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}
Andrew Overholt bbcdf5
Release:        6%{?dist}
eec3b5
License:        EPL
cvsdist 38d0d0
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0
URL:            http://www.eclipse.org/
Andrew Overholt 947db6
Source0:        %{download_url}eclipse-build-0_6_1_RC2.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 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 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}
1ca1bc
BuildRequires:  icu4j-eclipse >= 1:4.2.1-1
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
1ca1bc
BuildRequires: jetty >= 6.1.24-1
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
1ca1bc
BuildRequires: sat4j >= 2.2.0-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}
1ca1bc
Requires:       icu4j-eclipse >= 1:4.2.1-1
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
1ca1bc
Requires: jetty >= 6.1.24-1
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
1ca1bc
Requires: sat4j >= 2.2.0-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
Andrew Overholt 947db6
%setup -q -n eclipse-build-0_6_1_RC2
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 bbcdf5
# FIXME:  do this as part of eclipse-build
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 9a4cec
popd
Andrew Overholt 9a4cec
Andrew Overholt 602cb9
%build
41dd0d
export JAVA_HOME=%{java_home}
Andrew Overholt bbcdf5
ant provision.cvs
Andrew Overholt e6ab17
cvsdist 38d0d0
%install
cvsdist 38d0d0
rm -rf $RPM_BUILD_ROOT
Andrew Overholt bbcdf5
ant -DdestDir=$RPM_BUILD_ROOT -Dprefix=/usr -Dmultilib=true installSDKinDropins
Ben Konrath bc6236
Andrew Overholt bbcdf5
# We don't need icon.xpm
Andrew Overholt bbcdf5
# https://bugs.eclipse.org/292472
Andrew Overholt bbcdf5
rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/icon.xpm
8cf5b9
Andrew Overholt bbcdf5
# This symlink is actually provided by the icu4j-eclipse package
Andrew Overholt bbcdf5
rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/com.ibm.icu_*.jar
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
Andrew Overholt 65c016
# Some directories we need
Andrew Overholt 690cc2
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
Andrew Overholt c2c49f
Andrew Overholt bbcdf5
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
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 bbcdf5
# 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 b360db
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
c0b31d
sed -i "s|-Xms40m|-Xms128m|g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
Andrew Overholt bbcdf5
sed -i "s|-Xmx384m|-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
Andrew Overholt bbcdf5
# SWT JAR symlink in libdir
Ben Konrath c3ae08
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
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
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
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
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 fa9fba
%{_libdir}/%{name}/notice.html
Andrew Overholt fa9fba
%{_libdir}/%{name}/epl-v10.html
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
Andrew Overholt bbcdf5
%dir %{_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
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 bbcdf5
%{_libdir}/%{name}/.eclipseproduct
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_*
3d2dcb
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.*
Andrew Overholt fc7e41
%ifarch %{ix86}
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 bbcdf5
%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
Ben Konrath 9dbdca
Andrew Overholt bfd4e0
%changelog
Andrew Overholt bbcdf5
* Tue Aug 17 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-6
Andrew Overholt bbcdf5
- Update to eclipse-build 0.6.1RC2.
Andrew Overholt bbcdf5
- List a few files that were missing but should be installed.
Andrew Overholt bbcdf5
- Finally remove %%{_datadir}/%%{name}/{features,plugins} as nothing is
Andrew Overholt bbcdf5
  installed in there and shouldn't be.
Andrew Overholt bbcdf5
- Use new eclipse-build targets provision.sdk and installSDKinDropins.
Andrew Overholt bbcdf5
- Remove filenamepatterns.txt as it's now part of eclipse-build.
Andrew Overholt bbcdf5
- Update download URL.
Andrew Overholt bbcdf5
- Remove unused patches.
Andrew Overholt bbcdf5
Andrew Overholt bbcdf5
* Tue Aug 10 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-5
Andrew Overholt bbcdf5
- Update to eclipse-build 0.6.0 final.
Andrew Overholt bbcdf5
Andrew Overholt fa9fba
* Fri Aug 06 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-4
Andrew Overholt fa9fba
- Move epl-v10.html and notice.html to SWT sub-package.
Andrew Overholt fa9fba
1ca1bc
* Thu Jul 15 2010 Elliott Baron <ebaron@fedoraproject.org> 1:3.6.0-3
1ca1bc
- Increasing min versions for jetty, icu4j-eclipse and sat4j.
1ca1bc
3d2dcb
* Fri Jul 9 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.6.0-2
3d2dcb
- o.e.core.net.linux is no longer x86 only.
3d2dcb
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.