Andrew Overholt d5b2034
# TODO:
Andrew Overholt 079a00b
# - see why about.html isn't being copied on ppc
07c3123
# - fix ant libs
Ben Konrath 8342665
Epoch:  1
cvsdist 38d0d0c
113c727
%global eclipse_major   3
014df79
%global eclipse_minor   6
113c727
%global eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
014df79
%global eclipse_micro   0
113c727
%global initialize      1
Andrew Overholt 7d39eab
%global download_url    http://www.eclipse.org/downloads/download.php?file=/technology/linuxtools/eclipse-build/3.6.x_Helios/
113c727
%global bootstrap 0
cvsdist 38d0d0c
Andrew Overholt 65c016b
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt f2593e9
%ifarch %{ix86}
014df79
%global eclipse_arch    x86
Andrew Overholt f2593e9
%else
014df79
%global eclipse_arch   %{_arch}
Andrew Overholt f2593e9
%endif
Andrew Overholt f2593e9
Andrew Overholt 7959f75
# FIXME:  update java packaging guidelines for this.  See
Andrew Overholt 7959f75
# fedora-devel-java-list discussion in September 2008.
Andrew Overholt e6ab17d
#
Andrew Overholt 7959f75
# Prevent brp-java-repack-jars from being run.
Andrew Overholt 7959f75
%define __jar_repack 0
Andrew Overholt 7959f75
Andrew Overholt fad60dc
Summary:        An open, extensible IDE
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 8273c16
Version:        %{eclipse_majmin}.%{eclipse_micro}
Andrew Overholt bbcdf58
Release:        6%{?dist}
eec3b54
License:        EPL
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
Andrew Overholt 6183cc5
Source0:        %{download_url}eclipse-build-0_6_1_RC2.tar.bz2
014df79
Source1:        %{download_url}eclipse-3.6.0-src.tar.bz2
Andrew Overholt 9e6b7f5
Source2:        eclipse.sh.in
Ben Konrath 2987a9c
Source17:       efj.sh.in
Andrew Overholt 0994b94
# This script copies the platform sub-set of the SDK for generating metadata
Andrew Overholt 0994b94
Source28:       %{name}-mv-Platform.sh
Ben Konrath 9dbdca5
Andrew Overholt 0196385
# Local copies of dependencies in lieu of system copies
Andrew Overholt 0196385
Patch0:         localdepspropertyfiles.patch
Andrew Overholt 0196385
Andrew Overholt 65c016b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Andrew Overholt 6b47bb5
BuildRequires:  ant ant-nodeps
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt daae71c
BuildRequires:  gnome-vfs2-devel
Andrew Overholt daae71c
BuildRequires:  gtk2-devel
Andrew Overholt daae71c
BuildRequires:  glib2-devel
Andrew Overholt 2b55017
BuildRequires:  libgnome-devel
Andrew Overholt 2b55017
BuildRequires:  libgnomeui-devel
Andrew Overholt 935fcc1
BuildRequires:  gcc-c++
Andrew Overholt 4ee0006
BuildRequires:  nspr-devel
Andrew Overholt 923a30c
BuildRequires:  libXtst-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGL-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 2104416
BuildRequires:  cairo >= 1.0
0c750f7
BuildRequires:  unzip
Ben Konrath 57abe09
BuildRequires:  desktop-file-utils
Ben Konrath 8e5a586
BuildRequires:  java-devel >= 1.6.0
Andrew Overholt 0dd3e8b
BuildRequires:  java-javadoc
Ben Konrath 1aa224c
BuildRequires:  libXt-devel
51a8554
BuildRequires:  xulrunner-devel
cvsdist 38d0d0c
113c727
%if !%{bootstrap}
1ca1bcf
BuildRequires:  icu4j-eclipse >= 1:4.2.1-1
113c727
BuildRequires:  tomcat5-jasper-eclipse >= 5.5.27-6.3
113c727
BuildRequires:  tomcat6-servlet-2.5-api >= 6.0.18-9.2
Andrew Overholt 56ebf50
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 6b47bb5
BuildRequires: ant-javamail ant-jdepend ant-junit ant-swing ant-trax ant-jsch
255430c
BuildRequires: jsch >= 0:0.1.41
Andrew Overholt 2f978e0
BuildRequires: jakarta-commons-el >= 1.0-9
Andrew Overholt afd8c47
BuildRequires: jakarta-commons-logging >= 1.0.4-6jpp.3
a466bbe
BuildRequires: jakarta-commons-codec
a466bbe
BuildRequires: jakarta-commons-httpclient
1ca1bcf
BuildRequires: jetty >= 6.1.24-1
Andrew Overholt 7889e5c
BuildRequires: lucene >= 2.3.1-3.4
Andrew Overholt 7889e5c
BuildRequires: lucene-contrib >= 2.3.1-3.4
Ben Konrath bfdd96b
BuildRequires: junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
BuildRequires: junit4
1de4643
BuildRequires: hamcrest >= 0:1.1-9.2
1ca1bcf
BuildRequires: sat4j >= 2.2.0-1
Andrew Overholt d5b2034
BuildRequires: objectweb-asm
113c727
%endif
cvsdist df631d8
cvsdist df631d8
%description
Andrew Overholt 4fd0cfa
The Eclipse platform is designed for building integrated development
Andrew Overholt 4fd0cfa
environments (IDEs), server-side applications, desktop applications, and
Andrew Overholt 4fd0cfa
everything in between.
cvsdist 38d0d0c
Andrew Overholt d5b2034
%package     swt
Andrew Overholt 65c016b
Summary:        SWT Library for GTK+-2.0
Ben Konrath 9dbdca5
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 7b4ca0d
# %{_libdir}/java directory owned by jpackage-utils
Andrew Overholt 7b4ca0d
Requires:       jpackage-utils
Andrew Overholt 65c016b
Requires:       gtk2
51a8554
Requires:       xulrunner >= 1.9
Ben Konrath 8342665
Conflicts:      mozilla
Andrew Overholt d5b2034
Provides:       libswt3-gtk2 = 1:%{version}-%{release}
Andrew Overholt d5b2034
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
Andrew Overholt d5b2034
# but I want to leave some room in case we need to do an F9 update.
Andrew Overholt d5b2034
Obsoletes:       libswt3-gtk2 < 1:3.3.2-20
Ben Konrath 9dbdca5
Andrew Overholt d5b2034
%description swt
Andrew Overholt 65c016b
SWT Library for GTK+-2.0.
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%package        rcp
Ben Konrath 9dbdca5
Summary:        Eclipse Rich Client Platform
Ben Konrath 9dbdca5
Group:          Development/Languages
Andrew Overholt d5b2034
Requires:       %{name}-swt = %{epoch}:%{version}-%{release}
113c727
%if ! %{bootstrap}
1ca1bcf
Requires:       icu4j-eclipse >= 1:4.2.1-1
113c727
%endif
Ben Konrath 8e5a586
Requires:       java >= 1.6.0
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%description    rcp
Ben Konrath 9dbdca5
Eclipse Rich Client Platform
Ben Konrath 9dbdca5
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 65c016b
Requires:   %{name}-rcp = %{epoch}:%{version}-%{release}
113c727
%if ! %{bootstrap}
Andrew Overholt 56ebf50
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 7d8b6e1
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 2f978e0
Requires: jakarta-commons-el >= 1.0-9
Andrew Overholt afd8c47
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
Andrew Overholt 4d25313
Requires: jakarta-commons-codec
72fb36f
Requires: tomcat5-jasper-eclipse >= 5.5.27-6.3
366e2f7
Requires: tomcat6-servlet-2.5-api >= 6.0.18-9.2
1ca1bcf
Requires: jetty >= 6.1.24-1
255430c
Requires: jsch >= 0.1.41
Andrew Overholt 7889e5c
Requires: lucene >= 2.3.1-3.4
Andrew Overholt 7889e5c
Requires: lucene-contrib >= 2.3.1-3.4
1ca1bcf
Requires: sat4j >= 2.2.0-1
113c727
%endif
Andrew Overholt d5b2034
Provides: eclipse-cvs-client = 1:%{version}-%{release}
Andrew Overholt d5b2034
Obsoletes: eclipse-cvs-client < 1:3.3.2-20
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Andrew Overholt 2d49d8c
The Eclipse Platform is the base of all IDE plugins.  This does not include the
Andrew Overholt 65c016b
Java Development Tools or the Plugin Development Environment.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        jdt
Andrew Overholt 65c016b
Summary:        Eclipse Java Development Tools
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt bfd4e0b
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 014de59
Requires:       %{name}-cvs-client = %{epoch}:%{version}-%{release}
113c727
%if ! %{bootstrap}
9ef820f
Requires:       junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
Requires:       junit4
a466bbe
Requires:       jakarta-commons-httpclient
113c727
%endif
Andrew Overholt 65c016b
Requires:       java-javadoc
Andrew Overholt bc18214
Requires:       java-devel
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
Andrew Overholt 65c016b
Eclipse Java Development Tools.  This package is required to use Eclipse for
Andrew Overholt 65c016b
developing software written in the Java programming language.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        pde
Andrew Overholt 65c016b
Summary:        Eclipse Plugin Development Environment
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt ebb0100
Provides:       eclipse = %{epoch}:%{version}-%{release}
Andrew Overholt ebb0100
Provides:       eclipse-sdk = %{epoch}:%{version}-%{release}
Ben Konrath e420f1f
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 921a570
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
113c727
%if ! %{bootstrap}
Andrew Overholt d5b2034
Requires:       objectweb-asm
1de4643
Requires:       hamcrest >= 0:1.1-9.2
113c727
%endif
Andrew Overholt 0077196
# For PDE Build wrapper script
Andrew Overholt 0077196
Requires:       bash
Andrew Overholt c9ccf4f
Provides:       %{name}-pde-runtime = 1:%{version}-%{release}
1a68264
Obsoletes:      %{name}-pde-runtime < 1:3.3.2-20
Andrew Overholt bfd4e0b
Andrew Overholt 3e3ec31
%description    pde
Andrew Overholt 65c016b
Eclipse Plugin Development Environment.  This package is required for
Andrew Overholt 65c016b
developing Eclipse plugins.
Ben Konrath 5037e9d
cvsdist df631d8
%prep
Andrew Overholt 6183cc5
%setup -q -n eclipse-build-0_6_1_RC2
Andrew Overholt 0196385
%patch0
22b175f
cp %{SOURCE1} .
eda4fcf
ant -DbuildArch=%{eclipse_arch} applyPatches
c0b31d5
pushd build/eclipse-%{version}-src
22b175f
Andrew Overholt 5dde140
# Use our system-installed javadocs, reference only what we built, and
Andrew Overholt 5dde140
# don't like to osgi.org docs (FIXME:  maybe we should package them?)
Andrew Overholt 5dde140
sed -i -e "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde140
   -e "/osgi\.org/d" \
255430c
   -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|" \
255430c
    plugins/org.eclipse.platform.doc.isv/platformOptions.txt
Andrew Overholt 5dde140
sed -i -e "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde140
   -e "s/win32.win32.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 5dde140
   plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \
Ben Konrath 658b6e7
   plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
Andrew Overholt 5dde140
sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
Andrew Overholt 5dde140
   -e "s/motif.linux.x86/gtk.linux.%{eclipse_arch}/" \
Andrew Overholt 5dde140
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
255430c
   plugins/org.eclipse.pde.doc.user/pdeOptions.txt
Ben Konrath 4c0ee09
Andrew Overholt d5b2034
Andrew Overholt 7d39eab
# FIXME:  do this as part of eclipse-build
Andrew Overholt d5b2034
#
Andrew Overholt ede0f41
# the swt version is set to HEAD on s390x but shouldn't be
Andrew Overholt 4fd0cfa
# get swt version
Andrew Overholt 4fd0cfa
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt 4fd0cfa
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Andrew Overholt 4fd0cfa
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
774997d
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
774997d
swt_frag_ver_s390x=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
014df79
#sed --in-place "s|$swt_frag_ver_s390x|$swt_frag_ver|g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
014df79
#                                                      plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF
Andrew Overholt 4fd0cfa
113c727
%if ! %{bootstrap}
Ben Konrath 5037e9d
# make sure there are no jars left
Ben Konrath 55460d9
JARS=""
Ben Konrath 55460d9
for j in $(find -name \*.jar); do
Ben Konrath 55460d9
  if [ ! -L $j ]; then
Andrew Overholt d5b2034
    JARS="$JARS `echo $j`"
Ben Konrath 55460d9
  fi
Ben Konrath 55460d9
done
Ben Konrath 55460d9
if [ ! -z "$JARS" ]; then
Andrew Overholt 65c016b
    echo "These jars should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2987a9c
   #FIXME: enable  exit 1
Ben Konrath 55460d9
fi
113c727
%endif
Ben Konrath 5037e9d
Andrew Overholt 9a4cec5
popd
Andrew Overholt 9a4cec5
Andrew Overholt 602cb9d
%build
41dd0d7
export JAVA_HOME=%{java_home}
Andrew Overholt 7d39eab
ant provision.cvs
Andrew Overholt e6ab17d
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 7d39eab
ant -DdestDir=$RPM_BUILD_ROOT -Dprefix=/usr -Dmultilib=true installSDKinDropins
Ben Konrath bc6236b
Andrew Overholt 7d39eab
# We don't need icon.xpm
Andrew Overholt 7d39eab
# https://bugs.eclipse.org/292472
Andrew Overholt 7d39eab
rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/icon.xpm
8cf5b9b
Andrew Overholt 7d39eab
# This symlink is actually provided by the icu4j-eclipse package
Andrew Overholt 7d39eab
rm $RPM_BUILD_ROOT/%{_libdir}/%{name}/plugins/com.ibm.icu_*.jar
c0b31d5
Andrew Overholt 9e6b7f5
# Set GDK_NATIVE_WINDOWS=true
Andrew Overholt 9e6b7f5
# https://bugzilla.redhat.com/531675 (https://bugs.eclipse.org/290395)
Andrew Overholt 9e6b7f5
rm $RPM_BUILD_ROOT/%{_bindir}/%{name}
Andrew Overholt 9e6b7f5
install -p -D -m0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt 9e6b7f5
sed --in-place "s:/usr/lib:%{_libdir}:" \
Andrew Overholt 9e6b7f5
  $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt b360db2
Andrew Overholt 65c016b
# Some directories we need
Andrew Overholt 690cc24
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
Andrew Overholt c2c49f8
Andrew Overholt 7d39eab
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt b5482d5
# Create file listings for the extracted shared libraries
Andrew Overholt b5482d5
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt b5482d5
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Andrew Overholt b5482d5
  if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Andrew Overholt b5482d5
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{name}-swt.install;
Andrew Overholt b5482d5
  else
Andrew Overholt b5482d5
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt b5482d5
  fi
Andrew Overholt e6ab17d
done
Andrew Overholt b5482d5
popd
Andrew Overholt b5482d5
Andrew Overholt 7d39eab
# Symlinks to the SWT JNI shared libraries in %%{_libdir}/eclipse
Andrew Overholt b5482d5
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt e6ab17d
for lib in $(find configuration -name libswt\*.so); do
Andrew Overholt b5482d5
  ln -s $lib `basename $lib`
Andrew Overholt b5482d5
done
9377446
popd
Andrew Overholt b5482d5
Andrew Overholt b360db2
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
c0b31d5
sed -i "s|-Xms40m|-Xms128m|g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
Andrew Overholt 7d39eab
sed -i "s|-Xmx384m|-Xmx512m|g" $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
c0b31d5
echo "-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles" >> $RPM_BUILD_ROOT/%{_sysconfdir}/eclipse.ini
Andrew Overholt b360db2
Andrew Overholt 7d39eab
# SWT JAR symlink in libdir
Ben Konrath c3ae080
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 690cc24
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Andrew Overholt e6ab17d
# Install the efj wrapper script
Ben Konrath 0b073c2
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Andrew Overholt d5b2034
sed --in-place "s:startup.jar:%{_libdir}/%{name}/startup.jar:" \
Andrew Overholt e6ab17d
  $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath 0b073c2
cvsdist 38d0d0c
# A sanity check.
57d54c5
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0c
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
8b0c1fa
cp -p pdebuild/eclipse-copy-platform.sh copy-platform
cvsdist 38d0d0c
(
Andrew Overholt d5b2034
  cd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 079a00b
  ls -d * | egrep -v '^(plugins|features|about_files|dropins)$'
Andrew Overholt c9ccf4f
  ls -d plugins/* features/*
cvsdist 38d0d0c
) |
e906bd4
sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
Andrew Overholt d5b2034
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
c3c925c
mv copy-platform $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
Andrew Overholt c9ccf4f
copyPlatform=$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/copy-platform
Andrew Overholt c9ccf4f
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 7889e5c
for p in $(ls -d dropins/jdt/plugins/*); do
Andrew Overholt c9ccf4f
    plugin=$(basename $p)
Andrew Overholt c9ccf4f
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt c9ccf4f
done
Andrew Overholt 7889e5c
for p in $(ls -d dropins/sdk/plugins/*); do
Andrew Overholt c9ccf4f
    plugin=$(basename $p)
Andrew Overholt c9ccf4f
    echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
Andrew Overholt c9ccf4f
done
Andrew Overholt c9ccf4f
popd
Ben Konrath 435496e
Andrew Overholt 8b3726e
# Install the PDE Build wrapper script.
8b0c1fa
install -p -D -m0755 pdebuild/eclipse-pdebuild.sh \
Andrew Overholt d5b2034
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt 7889e5c
PDEBUILDVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/sdk/plugins \
Andrew Overholt c9ccf4f
  | grep org.eclipse.pde.build_ | \
Andrew Overholt c9ccf4f
  sed 's/org.eclipse.pde.build_//')
Andrew Overholt c9ccf4f
sed -i "s/@PDEBUILDVERSION@/$PDEBUILDVERSION/g" \
Andrew Overholt c9ccf4f
  $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
Andrew Overholt d5b2034
Andrew Overholt bfd4e0b
%clean
Andrew Overholt bfd4e0b
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 25abe4e
Andrew Overholt 921a570
%post platform
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
cvsdist 38d0d0c
Andrew Overholt 0665d48
%postun platform
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
Ben Konrath 07ad637
Andrew Overholt b5482d5
%if %{initialize}
Andrew Overholt d5b2034
%files swt -f %{name}-swt.install
Andrew Overholt b5482d5
%else
Andrew Overholt b5482d5
%files swt
Andrew Overholt b5482d5
%endif
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 2ce933e
%dir %{_libdir}/%{name}
Ben Konrath 158e040
%dir %{_libdir}/%{name}/plugins
Andrew Overholt b5482d5
%if %{initialize}
Andrew Overholt b5482d5
%dir %{_libdir}/%{name}/libswt-*.so
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Andrew Overholt b5482d5
%endif
Andrew Overholt fa9fba6
%{_libdir}/%{name}/notice.html
Andrew Overholt fa9fba6
%{_libdir}/%{name}/epl-v10.html
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Ben Konrath c3ae080
%{_libdir}/%{name}/swt-gtk*.jar
Andrew Overholt 690cc24
%{_libdir}/%{name}/swt.jar
Andrew Overholt 690cc24
%{_libdir}/java/swt.jar
cvsdist 38d0d0c
Ben Konrath 9dbdca5
%files rcp
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 556f63a
%dir %{_libdir}/%{name}/features
Andrew Overholt 269d301
%dir %{_datadir}/%{name}
Andrew Overholt b5482d5
%if %{initialize}
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt b5482d5
%endif
113c727
%if %{bootstrap}
113c727
%{_libdir}/%{name}/plugins/com.ibm.icu_*
113c727
%endif
Andrew Overholt 7d39eab
%dir %{_libdir}/%{name}/configuration
Andrew Overholt 8a2c6f4
%config %{_libdir}/%{name}/configuration/config.ini
Andrew Overholt 8a2c6f4
%config %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Andrew Overholt 8a2c6f4
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator
e11e246
%ifnarch ppc ppc64
Andrew Overholt d5b2034
%{_libdir}/%{name}/about.html
Andrew Overholt 9aec0f8
%endif
Andrew Overholt 7f97beb
%ifarch x86_64
Andrew Overholt d5b2034
%{_libdir}/%{name}/about_files
Andrew Overholt 7f97beb
%endif
Andrew Overholt d5b2034
%{_libdir}/%{name}/readme
Andrew Overholt d5b2034
%{_libdir}/%{name}/startup.jar
Ben Konrath d563cf5
%{_libdir}/%{name}/features/org.eclipse.rcp_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.observable_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.property_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.ds_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
Ben Konrath 4c0ee09
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.util_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.help_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.osgi_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
Ben Konrath 4c0ee09
Andrew Overholt b5482d5
%if %{initialize}
Andrew Overholt 921a570
%files platform -f %{name}-platform.install
Andrew Overholt b5482d5
%else
Andrew Overholt b5482d5
%files platform
Andrew Overholt b5482d5
%endif
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 158e040
%attr(0755,root,root) %{_bindir}/%{name}
Andrew Overholt 7d39eab
%{_libdir}/%{name}/.eclipseproduct
Andrew Overholt 0f27cf8
%config %{_libdir}/%{name}/eclipse.ini
c0b31d5
%config %{_sysconfdir}/eclipse.ini
e11e246
%ifnarch ppc ppc64
22b175f
%{_libdir}/%{name}/about_files
60484c1
%endif
Ben Konrath 9dbdca5
%{_datadir}/applications/*
Ben Konrath 9dbdca5
%{_datadir}/pixmaps/*
Ben Konrath 9dbdca5
%{_datadir}/icons/*/*/apps/*
Andrew Overholt d5b2034
%{_libdir}/%{name}/eclipse
Andrew Overholt c9ccf4f
%dir %{_libdir}/%{name}/dropins
Andrew Overholt c2c49f8
%dir %{_datadir}/%{name}/dropins
Andrew Overholt d5b2034
%{_libdir}/%{name}/features/org.eclipse.platform_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/javax.servlet_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.ant_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.commons.el_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.commons.logging_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.lucene_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.lucene.analysis_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.compare.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.boot_*
014df79
%{_libdir}/%{name}/plugins/org.eclipse.core.externaltools_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.net_*
3d2dcb7
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.*
Andrew Overholt fc7e41d
%ifarch %{ix86}
69c0ea0
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
Andrew Overholt fc7e41d
%endif
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.core.variables_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.debug.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.debug.ui_*
014df79
%{_libdir}/%{name}/plugins/org.eclipse.equinox.event_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.help.appserver_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 4c0ee09
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.jface.text_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.jsch.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.jsch.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.osgi.services_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.osgi.util_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.platform_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.search_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.team.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.team.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.text_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.browser_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.console_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.editors_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.forms_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide.application_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.net_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.update.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.update.scheduler_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.update.ui_*
255430c
%{_libdir}/%{name}/plugins/org.mortbay.jetty.util_*
255430c
%{_libdir}/%{name}/plugins/org.mortbay.jetty.server_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.initializer_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.cvs_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/features/org.eclipse.cvs_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/features/org.eclipse.help_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.apache.jasper_*
Andrew Overholt 7f652ce
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
Andrew Overholt 7f652ce
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
Andrew Overholt 7f652ce
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.user.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.engine_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.jarprocessor_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.repository_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.artifact.repository_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.console_*
014df79
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ql_*
014df79
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.operations_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository.tools_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.generator_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatesite_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security.ui_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.extensionlocation_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director.app_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient_*
255430c
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.ssl_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf.ssl_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf.filetransfer_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.eclipse.ecf.identity_*
255430c
%{_libdir}/%{name}/plugins/org.apache.commons.codec_*
255430c
%{_libdir}/%{name}/plugins/org.apache.commons.httpclient_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.sat4j.core_*
Andrew Overholt d5b2034
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
Andrew Overholt 7f652ce
# Put this in -platform since we're putting the p2 stuff here
Andrew Overholt 7f652ce
%{_libdir}/%{name}/artifacts.xml
Andrew Overholt c9ccf4f
# FIXME: should we ship content.xml for the platform?
Andrew Overholt 8a2c6f4
#%{_libdir}/%{name}/metadata
Andrew Overholt 0994b94
%{_libdir}/%{name}/p2
Andrew Overholt 7f652ce
Andrew Overholt 7f652ce
%files jdt
Andrew Overholt 7f652ce
%defattr(-,root,root)
Andrew Overholt 7f652ce
%{_bindir}/efj
255430c
%{_libdir}/%{name}/dropins/jdt
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde
Ben Konrath 9dbdca5
%defattr(-,root,root)
Andrew Overholt d5b2034
%{_libdir}/%{name}/buildscripts
Andrew Overholt c9ccf4f
%{_libdir}/%{name}/dropins/sdk
Andrew Overholt 7d39eab
%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
Ben Konrath 9dbdca5
Andrew Overholt bfd4e0b
%changelog
Andrew Overholt 7d39eab
* Tue Aug 17 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-6
Andrew Overholt 7d39eab
- Update to eclipse-build 0.6.1RC2.
Andrew Overholt 7d39eab
- List a few files that were missing but should be installed.
Andrew Overholt 7d39eab
- Finally remove %%{_datadir}/%%{name}/{features,plugins} as nothing is
Andrew Overholt 7d39eab
  installed in there and shouldn't be.
Andrew Overholt 7d39eab
- Use new eclipse-build targets provision.sdk and installSDKinDropins.
Andrew Overholt 7d39eab
- Remove filenamepatterns.txt as it's now part of eclipse-build.
Andrew Overholt 7d39eab
- Update download URL.
Andrew Overholt 7d39eab
- Remove unused patches.
Andrew Overholt 7d39eab
Andrew Overholt 7d39eab
* Tue Aug 10 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-5
Andrew Overholt 7d39eab
- Update to eclipse-build 0.6.0 final.
Andrew Overholt 7d39eab
Andrew Overholt fa9fba6
* Fri Aug 06 2010 Andrew Overholt <overholt@redhat.com> 1:3.6.0-4
Andrew Overholt fa9fba6
- Move epl-v10.html and notice.html to SWT sub-package.
Andrew Overholt fa9fba6
1ca1bcf
* Thu Jul 15 2010 Elliott Baron <ebaron@fedoraproject.org> 1:3.6.0-3
1ca1bcf
- Increasing min versions for jetty, icu4j-eclipse and sat4j.
1ca1bcf
3d2dcb7
* Fri Jul 9 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.6.0-2
3d2dcb7
- o.e.core.net.linux is no longer x86 only.
3d2dcb7
014df79
* Fri Jul 9 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.6.0-1
014df79
- Update to 3.6.0.
014df79
- Based on eclipse-build 0.6.1 RC0.
014df79
a569aa3
* Thu Jul 08 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-10
a569aa3
- Rebuild for new jetty.
a569aa3
4d3c244
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-9
4d3c244
- Fix typo in symlinking.
4d3c244
8b6be8e
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-8
8b6be8e
- No need to link jasper.
8b6be8e
90707cd
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-7
90707cd
- Fix servlet and jsp apis symlinks.
90707cd
afff096
* Thu Jun 17 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-6
afff096
- Fix jetty symlinks.
afff096
Andrew Overholt 27a26e4
* Thu Jun 10 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.2-5
Andrew Overholt 27a26e4
- Move hamcrest to dropins/jdt (rhbz#601059).
Andrew Overholt 27a26e4
- Re-symlink after provisioning (rhbz#602865).
Andrew Overholt 27a26e4
Andrew Overholt 7cafa92
* Mon Apr 12 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.2-4
Andrew Overholt 7cafa92
- Rebuild to pick up new xulrunner.
Andrew Overholt 7cafa92
a2572ce
* Fri Mar 19 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-3
a2572ce
- Use eclipse-build 0.5.0 release.
a2572ce
2d5d132
* Mon Mar 8 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-2
2d5d132
- Fix multilib install.
2d5d132
c0b31d5
* Sun Mar 7 2010 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.2-1
c0b31d5
- Update to 3.5.2.
c0b31d5
Andrew Overholt ebb0100
* Thu Jan 07 2010 Andrew Overholt <overholt@redhat.com> 1:3.5.1-28
Andrew Overholt ebb0100
- Version Provides for "eclipse" and "eclipse-sdk" (-pde).
Andrew Overholt ebb0100
Andrew Overholt 5947632
* Tue Dec 22 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-27
Andrew Overholt 5947632
- Fix patch application.
Andrew Overholt 5947632
Andrew Overholt 3a233cb
* Tue Dec 22 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-26
Andrew Overholt 3a233cb
- Backport eclipse-build patch for e.o#291128.
Andrew Overholt 3a233cb
8b058be
* Tue Dec 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-25
8b058be
- Fix o.e.jdt.junit dropins issue. RHBZ#538803 (Thanks to Patrick Higgins).
8b058be
51a8554
* Fri Dec 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-24
51a8554
- Replace gecko BR/Rs with xulrunner.
51a8554
- Drop xulrunner-devel-unstable now that it's merged in xulrunner-devel.
51a8554
02041bd
* Thu Dec 3 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-23
02041bd
- Remove old manipulations to bundles.info.
02041bd
- Update to eclipse-build 0.4 release.
02041bd
Andrew Overholt 6b47bb5
* Mon Nov 30 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-22
Andrew Overholt 6b47bb5
- Move ant-nodeps out of bootstrap.
Andrew Overholt 6b47bb5
Andrew Overholt a5ece42
* Tue Nov 17 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-21
Andrew Overholt a5ece42
- Fix typo in memory settings.
Andrew Overholt a5ece42
f2bbfb2
* Tue Nov 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-20
f2bbfb2
- Fix ppc64 swt jar version.
f2bbfb2
Andrew Overholt b360db2
* Mon Nov 16 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-19
Andrew Overholt b360db2
- Temporarily patch for e.o#294877.
Andrew Overholt b360db2
- Fix some whitespace.
Andrew Overholt b360db2
e11e246
* Fri Nov 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-18
e11e246
- No about files on ppc64 too.
e11e246
5f04af4
* Wed Nov 11 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-17
5f04af4
- Update to eclipse-build 0.4 RC4 (fixes pdebuild escaping).
5f04af4
eda4fcf
* Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-16
eda4fcf
- Specify -DbuildArch when running ant applyPatches.
eda4fcf
18a7d81
* Tue Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-15
18a7d81
- Update to eclipse-build 0.4 RC3.
18a7d81
80c7ec6
* Fri Nov 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-14
80c7ec6
- Fix build with commons-codec 1.4.
80c7ec6
Andrew Overholt 9e6b7f5
* Fri Oct 30 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-13
Andrew Overholt 9e6b7f5
- Make /usr/bin/eclipse a wrapper script due to rhbz#531675 (e.o#290395).
Andrew Overholt 9e6b7f5
Andrew Overholt 6b4e0e7
* Mon Oct 26 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-12
Andrew Overholt 6b4e0e7
- Remove old TODO items.
Andrew Overholt 6b4e0e7
57d54c5
* Fri Oct 23 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-12
57d54c5
- No need to invoke desktop-file-install, it's handled by e-b install now. 
57d54c5
0557b4d
* Thu Oct 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-11
0557b4d
- Remove ppc64 files copying and sedding. Supported by eclipse-build now.
0557b4d
1a68264
* Tue Oct 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-10
1a68264
- Remove old/not needed BR/Rs.
1a68264
3d176fa
* Mon Oct 19 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-9
3d176fa
- New e-b snapshot that contains fragments for ppc64.
3d176fa
113c727
* Thu Oct 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-8
113c727
- Add bootstrap flag.
113c727
41dd0d7
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-7
41dd0d7
- Put back JAVA_HOME.
41dd0d7
8b0c1fa
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-6
8b0c1fa
- New eclipse-build snapshot. Pdebuild and ecf compilation are part of it.
8b0c1fa
dc18c1d
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-5
dc18c1d
- Fix install call.
dc18c1d
8cf5b9b
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-4
8cf5b9b
- New eclipse-build snapshot. Remove parts included in it.
8cf5b9b
Andrew Overholt 9a4cec5
* Wed Oct 07 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-3
Andrew Overholt 9a4cec5
- Add patch for bugs.eclipse.org/287307
Andrew Overholt 9a4cec5
23b6046
* Mon Oct 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-2
23b6046
- Add /usr/share/eclipse/dropins to dropins locations.
23b6046
448d566
* Fri Oct 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-1
448d566
- Update to 3.5.1.
448d566
6f49db3
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-4
21e448a
- Symlink to unversioned jetty jars.
21e448a
fa9c551
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-3
fa9c551
- Build with eclipse-build 0.4.0 RC0.
fa9c551
Andrew Overholt 4d25313
* Wed Sep 23 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-2
Andrew Overholt 4d25313
- Move jakarta-commons-codec requirement from jdt to platform.
Andrew Overholt 4d25313
88b21ec
* Tue Sep 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-1
88b21ec
- Fix help toolbar jsp problem.
88b21ec
49310ce
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.13
49310ce
- Update ecf-filetransfer and build it.
49310ce
49310ce
* Tue Sep 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.12
3dfaaaa
- Build with system jetty.
3dfaaaa
Andrew Overholt 5c8679b
* Mon Sep 14 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.11
Andrew Overholt 5c8679b
- Add /usr/share/eclipse/dropins to list of dropins locations
Andrew Overholt 5c8679b
  (rhbz#522117).
Andrew Overholt 5c8679b
Andrew Overholt 88a225c
* Wed Sep 09 2009 Mat Booth <fedora@matbooth.co.uk> 1:3.5.0-0.10
Andrew Overholt 88a225c
- Patch the target platform templates so they find all the required
Andrew Overholt 88a225c
  source bundles (see RHBZ # 521969).
Andrew Overholt 88a225c
b1b2bbc
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.9
b1b2bbc
- Remove all testframework sources, patches, build and etc.
b1b2bbc
1de4643
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.8
1de4643
- Use system hamcrest.
1de4643
2c626f0
* Mon Aug 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.7
2c626f0
- Use o.e.equinox.initializer from SOURCE1 instead of separate one.
2c626f0
2b59e19
* Fri Aug 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.6
2b59e19
- Do not use the provided eclipse.ini but the one from build.
2b59e19
344dbc0
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.5
344dbc0
- Add epoch to icu4j Requires/BuildRequires.
344dbc0
0fefd1a
* Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.4.0
0fefd1a
- Fix sources url.
0fefd1a
- Make it use system icu4j and sat4j.
0fefd1a
b26d853
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.35
b26d853
- Another missing ppc64 fragment.
b26d853
bb632b3
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.34
bb632b3
- Fix missing fragment on ppc64.
bb632b3
f72ded9
* Thu Aug 6 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.33
f72ded9
- Fix missing launcher for ppc64.
f72ded9
f39692a
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.32
f39692a
- Manually enable o.e.core.runtime and o.e.equinox.ds because it's not enabled on ppc64.
f39692a
cdbf018
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.31
cdbf018
- Revert initialize call path changes.
cdbf018
a7f7382
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.30
a7f7382
- Additional output to debug ppc64 build failures.
a7f7382
8c0fe8b
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.29
8c0fe8b
- Reenable initialize.
8c0fe8b
- Fix paths in initializer call.
8c0fe8b
e39e8ce
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.28
e39e8ce
- Disable initialize.
e39e8ce
92cf8c2
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.27
92cf8c2
- No need to copy eclipse.ini for secondary archs.
92cf8c2
60484c1
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.26
60484c1
- eclipse/about_files are not installed on ppc for some reason.
60484c1
22b175f
* Mon Aug 3 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.25
22b175f
- Swith to eclipse-build for building.
22b175f
2a03a05
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.5.0-0.3.9
2a03a05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2a03a05
19177bf
* Wed Jun 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.9
19177bf
- Fix package-build template to add target for -Dconfigs.
19177bf
Andrew Overholt 2d49d8c
* Tue May 19 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.8
Andrew Overholt 2d49d8c
- Remove Fedora branding.
Andrew Overholt 2d49d8c
Andrew Overholt c2338e3
* Thu May 7 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.7
1de4643
- Update patch to tests' library.xml to allow for easy debugging of tests.
Andrew Overholt c2338e3
e8e1c4f
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.6
e8e1c4f
- Fix initializer run (sed again).
e8e1c4f
366e2f7
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.5
366e2f7
- Bump tomcat6 BR.
366e2f7
- Fix director run to not require sed on bundles.info.
366e2f7
72fb36f
* Wed Apr 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.4
72fb36f
- Update to newer I-build.
72fb36f
- Update fedora customization.
72fb36f
- Bump dependencies minimal versions.
72fb36f
- Fix update site functionality.
72fb36f
- Simplify jdt %%files section.
72fb36f
8bb07bc
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.3
8bb07bc
- Rediff patch30.
8bb07bc
774997d
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.2
774997d
- Fix version of source bundles.
774997d
99afe2d
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.1
99afe2d
- Create org.eclipse.swt.gtk.linux.* based on the ppc version.
99afe2d
bd30f33
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2
bd30f33
- Remove patches for the ecj package and others already applied upstream.
bd30f33
- Rediff some ppc64 patches.
bd30f33
69c0ea0
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.12
69c0ea0
- o.e.update.core.linux is x86 only.
69c0ea0
1c43f0e
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.11
1c43f0e
- Remove more p2 generated files.
1c43f0e
303b3e2
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.10
303b3e2
- Do not install p2 generatad file.
303b3e2
a466bbe
* Fri Apr 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.9
a466bbe
- BR/R jakarta-commons-codec and jakarta-commons-httpclient.
a466bbe
43ecf62
* Thu Apr 9 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.8
43ecf62
- Add patch for xulrunner compilation.
43ecf62
6a5869b
* Tue Apr 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.7
6a5869b
- Fix patch name.
6a5869b
255430c
* Thu Apr 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.6
255430c
- First try for 3.5 build.