Andrew Overholt d5b2034
# TODO:
Andrew Overholt d5b2034
# - look at startup script and launcher patches
Andrew Overholt 7959f75
# - get Ganymede update site pre-configured (https://bugs.eclipse.org/249133)
Andrew Overholt 7f652ce
# - investigate bi-arch requirements
Andrew Overholt 079a00b
# - see why about.html isn't being copied on ppc
07c3123
# - fix ant libs
Ben Konrath 8342665
Epoch:  1
cvsdist 38d0d0c
cvsdist 38d0d0c
%define eclipse_major   3
255430c
%define eclipse_minor   5
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
255430c
%define eclipse_micro   0
22b175f
%define swtver          3.5.0.v3550
8c0fe8b
%define initialize      1
0fefd1a
%global download_url    http://download.eclipse.org/technology/linuxtools/eclipse-build/
cvsdist 38d0d0c
Andrew Overholt 65c016b
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
Andrew Overholt f2593e9
%ifarch %{ix86}
Andrew Overholt f2593e9
%define eclipse_arch    x86
Andrew Overholt f2593e9
%else
Andrew Overholt f2593e9
%define eclipse_arch   %{_arch}
Andrew Overholt f2593e9
%endif
Andrew Overholt f2593e9
Andrew Overholt 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}
b1b2bbc
Release:        0.9%{?dist}
eec3b54
License:        EPL
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
0fefd1a
Source0:        %{download_url}eclipse-build-R0_3_0.tar.gz
0fefd1a
Source1:        %{download_url}eclipse-I20090611-1540-fetched-src.tar.bz2
cvsdist 38d0d0c
Source2:        %{name}.desktop
Ben Konrath 56f70b7
Source16:       %{name}-copy-platform.sh
Ben Konrath 2987a9c
Source17:       efj.sh.in
Andrew Overholt 65c016b
# This file contains the types of files we'd like to extract from the jars
Andrew Overholt 65c016b
# when using the FileInitializer
Andrew Overholt fd64f0d
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 0077196
# Script to wrap PDE Build calls for bundle builds
Andrew Overholt 0077196
Source21:       %{name}-pdebuild.sh
Andrew Overholt d5b2034
# config.ini to run the director for provisioning the installation
Andrew Overholt d5b2034
Source22:       %{name}-config.ini.director
Andrew Overholt d5b2034
Source24:       fetch-ecf.sh
Andrew Overholt d5b2034
# This was fetched using the above script.
Andrew Overholt d5b2034
# We will eventually have an eclipse-ecf package but since the ECF
Andrew Overholt d5b2034
# filetransfer bits that are part of the SDK actually require the SDK >=
Andrew Overholt d5b2034
# 3.4 to build, I'm going to build them here and have them be owned by
Andrew Overholt d5b2034
# the SDK packages for now. -- overholt, 2008-07-07
Andrew Overholt d5b2034
Source25:       ecf-filetransfer-v20080611-1715.tar.bz2
Andrew Overholt d5b2034
# Create a simple feature for building ECF's filetransfer plugins
Andrew Overholt d5b2034
Source26:       ecf-filetransfer-feature.xml
Andrew Overholt d5b2034
Source27:       ecf-filetransfer-build.properties
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 9be454c
# Build swttools.jar before generation on 64-bit platforms.
Andrew Overholt 9be454c
# Build SWT native libraries
Andrew Overholt a1ebed4
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Andrew Overholt 9be454c
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=221908
Andrew Overholt 9be454c
# https://bugs.eclipse.org/bugs/attachment.cgi?id=105593
Andrew Overholt 9be454c
Patch4:         %{name}-buildswtnatives.patch
Andrew Overholt 9be454c
Patch32:        %{name}-compilelibs.patch
Andrew Overholt 9be454c
Andrew Overholt 65c016b
# This does two things:
Andrew Overholt 65c016b
# 1. allows the launcher to be in /usr/bin and
Andrew Overholt 65c016b
# 2. ensures that the OSGi configuration directory
Andrew Overholt 65c016b
#    (which contains the JNI .sos) is in %{_libdir}
Andrew Overholt 65c016b
# We should investigate whether or not this can go upstream
Andrew Overholt d5b2034
#Patch12:        %{name}-launcher-set-install-dir-and-shared-config.patch
Ben Konrath 5037e9d
# generic releng plugins that can be used to build plugins
Andrew Overholt e6ab17d
# see this thread for details:
Ben Konrath 5037e9d
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Ben Konrath 8342665
Patch15:        %{name}-pde.build-add-package-build.patch
Andrew Overholt 4fd0cfa
Patch24:        %{name}-add-ppc64-sparc64-s390-s390x.patch
Andrew Overholt 4fd0cfa
Patch28:        %{name}-add-ppc64-sparc64-s390-s390x-2.patch
Andrew Overholt 4fd0cfa
Patch30:        %{name}-addfragmentsforotherplatforms.patch
Andrew Overholt c9ccf4f
Patch38:        %{name}-addrootfiles.patch
Ben Konrath da1b743
#FIXME: file a bug upstream
Ben Konrath da1b743
Patch26:        %{name}-launcher-fix-java-home.patch
Andrew Overholt d5b2034
# Default max heap size too low for lots of people.  Bump to 512 MB.
Andrew Overholt 1836a47
# Max perm size:
Andrew Overholt a3c9ae6
# https://bugzilla.redhat.com/show_bug.cgi?id=352361
Andrew Overholt 1836a47
# JVM crash:
Andrew Overholt 1836a47
# http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
Andrew Overholt 1836a47
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092
Michal Nowak db03349
# https://bugzilla.redhat.com/show_bug.cgi?id=461860 (mnowak)
Andrew Overholt 1836a47
Patch29:        %{name}-memorypermsizeandjvmcrash.patch
Andrew Overholt 65c016b
6a5869b
Patch31:	%{name}-ia64-packaging.patch
Andrew Overholt d5b2034
Andrew Overholt d5b2034
# Make ECF bundles have the same qualifier as they do upstream
Andrew Overholt d5b2034
Patch35:	%{name}-ecf-qualifier.patch
Andrew Overholt d5b2034
Andrew Overholt d5b2034
# Don't pack the icu4j source bundle.  Can go away when we re-build
Andrew Overholt d5b2034
# icu4j against a 3.4 SDK.
Andrew Overholt d5b2034
Patch36:	%{name}-dontpackicu4jsource.patch
Andrew Overholt d5b2034
Andrew Overholt d5b2034
# Our dependent JARs have different signatures than the ones included
Andrew Overholt d5b2034
# upstream so remove the signatures in the manifests
Andrew Overholt d5b2034
Patch37:	%{name}-nojarsignatures.patch
Andrew Overholt 3503180
Andrew Overholt 7889e5c
## Back-port patches from 3.4.x stream.  These will be in 3.4.1.
Andrew Overholt 7889e5c
## https://bugs.eclipse.org/bugs/show_bug.cgi?id=242632
Andrew Overholt 7889e5c
#Patch39:        %{name}-profilesync-e.o242632.patch
Andrew Overholt 7889e5c
#Patch40:        %{name}-profilesync-e.o242632-2.patch
Andrew Overholt 7889e5c
07c3123
Patch43:		%{name}-osgi-classpath.patch
34e7cc1
Patch44:		%{name}-fix-javahome64.patch
07c3123
255430c
# TODO fix customBuildCallback
255430c
Patch47:        %{name}-jdt_launch-customBuild.patch
255430c
43ecf62
# Since we're building against XULRunner, build using XR flags
43ecf62
# https://bugs.eclipse.org/226356
43ecf62
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131059
43ecf62
# At present, libxul.pc contains -lxpcomglue_s.  Chris Aillon and myself think
43ecf62
# it should perhaps be -lxpcomglue.  This patch uses that instead but will
43ecf62
# be replaced with the former when libxul.pc is fixed.
43ecf62
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131060
43ecf62
Patch48:        %{name}-swt-buildagainstxulrunner.patch
43ecf62
b26d853
Patch49:        %{name}-add-ppc64-filesystem.patch
b26d853
Andrew Overholt 65c016b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt daae71c
BuildRequires:  gnome-vfs2-devel
Andrew Overholt daae71c
BuildRequires:  gtk2-devel
Andrew Overholt daae71c
BuildRequires:  glib2-devel
Andrew Overholt 2b55017
BuildRequires:  libgnome-devel
Andrew Overholt 2b55017
BuildRequires:  libgnomeui-devel
Andrew Overholt 935fcc1
BuildRequires:  gcc-c++
9e10751
BuildRequires:  gecko-devel >= 1.9
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
344dbc0
BuildRequires:  icu4j-eclipse >= 1:4.0.1-3
72fb36f
BuildRequires:  tomcat5-jasper-eclipse >= 5.5.27-6.3
366e2f7
BuildRequires:  tomcat6-servlet-2.5-api >= 6.0.18-9.2
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
22b175f
BuildRequires:  xulrunner-devel-unstable
cvsdist 38d0d0c
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 7d8b6e1
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
255430c
BuildRequires: jsch >= 0:0.1.41
Andrew Overholt afd8c47
BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
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
Andrew Overholt 8572c32
BuildRequires: mx4j >= 2.1
Andrew Overholt 11c643d
BuildRequires: jetty >= 5.1.14-1.6
Andrew Overholt 7889e5c
BuildRequires: lucene >= 2.3.1-3.4
Andrew Overholt 7889e5c
BuildRequires: lucene-contrib >= 2.3.1-3.4
Andrew Overholt e6ab17d
BuildRequires: regexp
Ben Konrath bfdd96b
BuildRequires: junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
BuildRequires: junit4
1de4643
BuildRequires: hamcrest >= 0:1.1-9.2
0fefd1a
BuildRequires: sat4j >= 2.1.0-1
Andrew Overholt d5b2034
BuildRequires: objectweb-asm
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
9e10751
Requires:       gecko-libs >= 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}
Andrew Overholt d5b2034
# FIXME:  investigate.  Can we just add a %{arch} to the above?
Andrew Overholt d5b2034
## This file-level requirement is for the bi-arch multilib case
Andrew Overholt d5b2034
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
344dbc0
Requires:       icu4j-eclipse >= 1:4.0.1-3
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}
Andrew Overholt d5b2034
# FIXME:  investigate.  Can we just add a %{arch} to the above?
Andrew Overholt d5b2034
## This file-level requirement is for the bi-arch multilib case
Andrew Overholt d5b2034
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
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 afd8c47
Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
Andrew Overholt 2f978e0
Requires: jakarta-commons-el >= 1.0-9
Andrew Overholt afd8c47
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
Andrew Overholt 8572c32
Requires: mx4j >= 2.1
72fb36f
Requires: tomcat5-jasper-eclipse >= 5.5.27-6.3
366e2f7
Requires: tomcat6-servlet-2.5-api >= 6.0.18-9.2
Andrew Overholt 11c643d
Requires: jetty >= 5.1.14-1.6
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
Ben Konrath b6b8fb1
Requires: regexp
0fefd1a
Requires: sat4j >= 2.1.0-1
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}
9ef820f
Requires:       junit >= 3.8.1-3jpp
Ben Konrath 619a6b2
Requires:       junit4
a466bbe
Requires:       jakarta-commons-codec
a466bbe
Requires:       jakarta-commons-httpclient
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 bdc1e10
Provides:	eclipse
Ben Konrath fd17240
Provides:	eclipse-sdk
Ben Konrath e420f1f
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 921a570
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Andrew Overholt d5b2034
Requires:       objectweb-asm
1de4643
Requires:       hamcrest >= 0:1.1-9.2
Andrew Overholt 0077196
# For PDE Build wrapper script
Andrew Overholt 0077196
Requires:       bash
Andrew Overholt c9ccf4f
Provides:       %{name}-pde-runtime = 1:%{version}-%{release}
Andrew Overholt c9ccf4f
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
Andrew Overholt c9ccf4f
# but I want to leave some room in case we need to do an F9 update.
Andrew Overholt c9ccf4f
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
0fefd1a
%setup -q -n eclipse-build-R0_3_0
22b175f
cp %{SOURCE1} .
22b175f
sed --in-place "s/<target name=\"build\" depends=\"applyPatches,bootstrap,compilelibs\">/<target name=\"build\" depends=\"bootstrap,compilelibs\">/" build.xml
1de4643
ant -DbuildId=I20090611-1540 applyPatches
22b175f
pushd build/eclipse-I20090611-1540-fetched-src
22b175f
22b175f
#sed --in-place "s/java5.home/java.home/" build.xml
22b175f
#sed --in-place "s|JavaSE-1.6=|JavaSE-1.6=%{java_home}|" build.xml
Andrew Overholt 9be454c
# Build swttools.jar and native libraries
22b175f
#%patch4 -p0
22b175f
#%patch32 -p0
Ben Konrath 2987a9c
Ben Konrath cb417cd
# liblocalfile fixes
Ben Konrath cb417cd
sed --in-place "s/JAVA_HOME =/#JAVA_HOME =/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath cb417cd
sed --in-place "s/OPT_FLAGS=-O/OPT_FLAGS=-O2 -g/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
Ben Konrath cb417cd
Ben Konrath 4c0ee09
# launcher patches
Ben Konrath 4c0ee09
rm plugins/org.eclipse.platform/launchersrc.zip
Ben Konrath 4c0ee09
pushd features/org.eclipse.equinox.executable
Andrew Overholt d5b2034
#%patch12 -p0
Ben Konrath da1b743
%patch26 -p0
Andrew Overholt d5b2034
# FIXME:  deal with this
Andrew Overholt d5b2034
## put the configuration directory in an arch-specific location
Andrew Overholt d5b2034
#sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Andrew Overholt e6ab17d
## make the eclipse binary relocatable
Andrew Overholt d5b2034
#sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 4c0ee09
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
Andrew Overholt 99b55e9
popd
255430c
#-e "s|-breakiterator|;../org.eclipse.equinox.util/@dot\n;../org.eclipse.ecf_3.0.0.v20090302-0803.jar\n-breakiterator|" \
1de4643
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
Ben Konrath 5037e9d
pushd plugins/org.eclipse.pde.build
Andrew Overholt 65c016b
%patch15
Andrew Overholt d5b2034
sed --in-place "s:/usr/share/eclipse:%{_libdir}/%{name}:" templates/package-build/build.properties
Ben Konrath 5037e9d
popd
Ben Konrath 5037e9d
255430c
# TODO check whether it is needed
255430c
#%patch36
255430c
# TODO rebase
255430c
#%patch37
Andrew Overholt d5b2034
Andrew Overholt 7889e5c
#pushd plugins/org.eclipse.equinox.p2.reconciler.dropins
Andrew Overholt 7889e5c
#%patch39
Andrew Overholt 7889e5c
#popd
Andrew Overholt 7889e5c
#
Andrew Overholt 7889e5c
#pushd plugins/org.eclipse.equinox.p2.touchpoint.eclipse
Andrew Overholt 7889e5c
#%patch40
Andrew Overholt 7889e5c
#popd
Andrew Overholt 7889e5c
6f3d1c8
#pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"
6f3d1c8
#%patch45 -p3
6f3d1c8
#popd
Andrew Overholt 908669e
Andrew Overholt d5b2034
# Remove signatures for JARs
Andrew Overholt d5b2034
find -iname \*.sf | xargs rm
Andrew Overholt d5b2034
find -iname \*.rsa | xargs rm
Andrew Overholt d5b2034
Ben Konrath 2987a9c
# all output should be directed to stdout
Andrew Overholt 65c016b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
Ben Konrath 2987a9c
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2987a9c
Ben Konrath 619a6b2
# Remove existing .sos and binary launcher
Ben Konrath 5037e9d
find -name \*.so | xargs rm
Ben Konrath 619a6b2
find features/org.eclipse.equinox.executable -type f -name eclipse | xargs rm
Andrew Overholt bfd4e0b
Andrew Overholt ede0f41
# FIXME:  do this as part of Linux distros project
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:")
255430c
sed --in-place "s|$swt_frag_ver_s390x|$swt_frag_ver|g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
1de4643
                                                      plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF
Andrew Overholt 4fd0cfa
Andrew Overholt 4fd0cfa
# Nasty hack to get suppport for ppc64, sparc{,64} and alpha
22b175f
%ifarch ppc64
Andrew Overholt 4fd0cfa
%patch24 -p1
bd30f33
%patch28
b26d853
%patch49
22b175f
%endif
22b175f
#%patch30
Andrew Overholt 4fd0cfa
%patch31 -p1
Andrew Overholt c9ccf4f
%patch38
Andrew Overholt 4fd0cfa
Andrew Overholt e6ab17d
# Copy all of the s390x directories and files to ppc64 or sparc{,64} or alpha dirs and replace
Andrew Overholt ede0f41
# the s390x strings with ppc64, etc.
Andrew Overholt 9be454c
%ifnarch %{ix86} x86_64
Andrew Overholt 5dde140
  cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
Andrew Overholt 9be454c
%endif
255430c
%ifarch ppc64 sparc sparcv9 sparc64 alpha
22b175f
  for f in $(find -name \*s390x\* ); do
Andrew Overholt ede0f41
    tofile=$(echo $f | sed "s/s390x/%{_arch}/")
Andrew Overholt 2232d2c
    cp -rp $f $tofile
Andrew Overholt 2232d2c
    for g in $(find $tofile -type f); do
Andrew Overholt 2232d2c
	sed -i "s/s390x/%{_arch}/g" $g
Andrew Overholt ede0f41
    done
Andrew Overholt 4fd0cfa
  done
22b175f
  mv buildConfigs/eclipse-build-config/build.properties buildConfigs/eclipse-build-config/build.properties.java
Andrew Overholt 4fd0cfa
  OLDIFS=$IFS
Andrew Overholt 4fd0cfa
IFS='
Andrew Overholt 4fd0cfa
'
Andrew Overholt 4fd0cfa
  for f in $(find -type f ! -name \*.java -a ! -name feature.xml -a ! -name \*.gif \
Andrew Overholt 4fd0cfa
  -a ! -name \*.png -a ! -name \*.htm* -a ! -name \*.jar -a ! -name \
22b175f
  \*.exe -a ! -name \*.pm -a ! -name \*.jpg  -a ! -name \*win32\* | grep -v win32); do
Andrew Overholt ede0f41
   sed -i -e "s/s390x/%{_arch}/g" $f
Andrew Overholt 4fd0cfa
  done
Andrew Overholt 4fd0cfa
  IFS=$OLDIFS
22b175f
22b175f
  mv buildConfigs/eclipse-build-config/build.properties.java buildConfigs/eclipse-build-config/build.properties
f72ded9
  sed -i -e "s|contributed/gtk/linux/ppc64|bin/gtk/linux/ppc64|g" buildConfigs/eclipse-build-config/productFiles/rcpConfig/build.properties
bb632b3
  sed -i -e "s|s390x|%{_arch}|" features/org.eclipse.rcp/feature.xml
22b175f
  sed -i -e "s/%{_arch}/s390x/g" plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF
22b175f
  sed -i -e "s/%{_arch}/s390x/g" plugins/org.eclipse.equinox.launcher.gtk.linux.s390x/META-INF/MANIFEST.MF
Andrew Overholt 4fd0cfa
%endif
Andrew Overholt 4fd0cfa
Andrew Overholt 4fd0cfa
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
Andrew Overholt 4fd0cfa
IFS='
Andrew Overholt 4fd0cfa
'
Andrew Overholt e1cff00
  # Fragments for these arches
Andrew Overholt e1cff00
  rm -rf plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
22b175f
  cp -R plugins/org.eclipse.equinox.launcher.gtk.linux.{ppc,%{_arch}}
Andrew Overholt 4fd0cfa
  pushd plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
Andrew Overholt 4fd0cfa
    for f in $(find -type f); do
Andrew Overholt 4fd0cfa
      sed -i -e "s/ppc/%{_arch}/g" $f
Andrew Overholt e1cff00
      tofile=$(echo $f | sed "s/ppc/%{_arch}/")
Andrew Overholt e1cff00
      if [ $tofile != $f ]; then
Andrew Overholt e1cff00
        cp -rp $f $tofile
Andrew Overholt e1cff00
      fi
Andrew Overholt 4fd0cfa
    done
Andrew Overholt 4fd0cfa
  popd
Andrew Overholt e1cff00
  rm -rf plugins/org.eclipse.core.filesystem.linux.%{_arch}
22b175f
  cp -R plugins/org.eclipse.core.filesystem.linux.{ppc,%{_arch}}
Andrew Overholt 4fd0cfa
  pushd plugins/org.eclipse.core.filesystem.linux.%{_arch}
Andrew Overholt 4fd0cfa
    for f in $(find -type f); do
Andrew Overholt 4fd0cfa
      sed -i -e "s/ppc/%{_arch}/g" $f
Andrew Overholt e1cff00
      tofile=$(echo $f | sed "s/ppc/%{_arch}/")
Andrew Overholt e1cff00
      if [ $tofile != $f ]; then
Andrew Overholt e1cff00
        cp -rp $f $tofile
Andrew Overholt e1cff00
      fi
Andrew Overholt 4fd0cfa
    done
Andrew Overholt 4fd0cfa
  popd
99afe2d
  rm -rf plugins/org.eclipse.swt.gtk.linux.%{_arch}
22b175f
  cp -R plugins/org.eclipse.swt.gtk.linux.{ppc,%{_arch}}
797e6ce
  pushd plugins/org.eclipse.swt.gtk.linux.%{_arch}
99afe2d
    for f in $(find -type f); do
99afe2d
      sed -i -e "s/ppc/%{_arch}/g" $f
99afe2d
      tofile=$(echo $f | sed "s/ppc/%{_arch}/")
99afe2d
      if [ $tofile != $f ]; then
99afe2d
        cp -rp $f $tofile
99afe2d
      fi
99afe2d
    done
99afe2d
  popd
Andrew Overholt 4fd0cfa
  IFS=$OLDIFS
1de4643
Andrew Overholt e6ab17d
%endif
Andrew Overholt a30d16a
Andrew Overholt a30d16a
arches=$(grep "antfile=\"build.xml\" dir=\".*gtk\.linux\.*" \
Andrew Overholt a30d16a
  features/org.eclipse.rcp/build.xml | awk '{ print $3 }' | awk -F . \
Andrew Overholt a30d16a
  '{ print $NF }' | sort -u | tr -d '"' | tr "\n" " ")
Andrew Overholt a30d16a
Andrew Overholt 5dde140
arches=$(echo $arches | sed s/%{eclipse_arch}//)
Andrew Overholt a30d16a
Andrew Overholt a30d16a
# Don't build for arches other than the one on which we're building
Andrew Overholt a30d16a
pushd features
Andrew Overholt a30d16a
for f in */build.xml; do
Andrew Overholt a30d16a
    for arch in $arches; do
Andrew Overholt 5dde140
      sed -i "/<ant antfile=\"build.xml\" dir=.*$arch\" target=\"/,/<\/ant>/ d" $f
Andrew Overholt 5dde140
      sed -i "/idReplacer/ s/org.eclipse\.\([a-z0-9A-Z_]\+\.\)\+$arch:0.0.0,[0-9I\.vf\-]\+,//g" $f
Andrew Overholt a30d16a
    done
Andrew Overholt a30d16a
done
Andrew Overholt a30d16a
popd
Andrew Overholt ede0f41
Andrew Overholt bfd4e0b
# Symlinks
0fefd1a
rm plugins/org.sat4j*
0fefd1a
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090520.jar
0fefd1a
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090520.jar
Andrew Overholt d5b2034
Andrew Overholt d5b2034
ASMPLUGINVERSION=$(ls plugins | grep org.objectweb.asm_ | \
Andrew Overholt d5b2034
  sed 's/org.objectweb.asm_//')
Andrew Overholt d5b2034
rm plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
Andrew Overholt d5b2034
  plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt bfd4e0b
255430c
# BEGIN ANT ##
Andrew Overholt d5b2034
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
Andrew Overholt d5b2034
rm $ANTDIR/lib/*
Andrew Overholt d5b2034
ANTDIR=$ANTDIR/lib
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
Andrew Overholt 56ebf50
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
Andrew Overholt 56ebf50
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
255430c
# END ANT ##
Andrew Overholt 65c016b
255430c
#JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
255430c
# TODO fix jetty
255430c
#rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
255430c
#ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
Ben Konrath 4c0ee09
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
Ben Konrath 4c0ee09
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
9ef820f
Ben Konrath 619a6b2
rm plugins/org.junit4/junit.jar
Ben Konrath 619a6b2
ln -s %{_javadir}/junit4.jar plugins/org.junit4/junit.jar
Ben Konrath 619a6b2
Ben Konrath 4c0ee09
# link to the jsch jar
Andrew Overholt d5b2034
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | \
Andrew Overholt d5b2034
  sed 's/com.jcraft.jsch_//')
Andrew Overholt d5b2034
rm plugins/com.jcraft.jsch_*.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
Ben Konrath 48553a3
Ben Konrath 4c0ee09
# link to the icu4j stuff
0fefd1a
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
0fefd1a
rm plugins/com.ibm.icu_*.jar
0fefd1a
ln -s %{_libdir}/eclipse/plugins/com.ibm.icu_*.jar plugins/com.ibm.icu_$ICUVERSION
Ben Konrath 5b61247
Ben Konrath bc52b62
# link to lucene
Andrew Overholt d5b2034
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.lucene_//')
Andrew Overholt d5b2034
rm plugins/org.apache.lucene_*
Andrew Overholt d5b2034
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
Andrew Overholt d5b2034
rm plugins/org.apache.lucene.analysis_*
Andrew Overholt d5b2034
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
Andrew Overholt d5b2034
  plugins/org.apache.lucene.analysis_$LUCENEVERSION
Ben Konrath f449bd8
Ben Konrath f449bd8
# link to commons-logging
Andrew Overholt d5b2034
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.commons.logging_//')
Andrew Overholt d5b2034
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/commons-logging.jar \
Andrew Overholt d5b2034
  plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Ben Konrath bc52b62
Ben Konrath 491b3aa
# link to commons-el
Andrew Overholt d5b2034
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.commons.el_//')
Andrew Overholt d5b2034
rm plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/commons-el.jar \
Andrew Overholt d5b2034
  plugins/org.apache.commons.el_$COMMONSELVERSION
1de4643
255430c
# link to commons-codec
255430c
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
255430c
  sed 's/org.apache.commons.codec_//')
255430c
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
255430c
ln -s %{_javadir}/commons-codec.jar \
255430c
  plugins/org.apache.commons.codec_$COMMONSCODECVERSION
1de4643
6a5869b
# link to commons-httpclient
255430c
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
255430c
  sed 's/org.apache.commons.httpclient_//')
255430c
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
255430c
ln -s %{_javadir}/commons-httpclient.jar \
255430c
  plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
Ben Konrath 491b3aa
1de4643
# link to hamcrest-core
1de4643
HAMCRESTCOREVERSION=$(ls plugins | grep org.hamcrest.core_ | \
1de4643
  sed 's/org.hamcrest.core_//')
1de4643
rm plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
1de4643
ln -s %{_javadir}/hamcrest/core.jar \
1de4643
  plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
1de4643
Ben Konrath 556f63a
# link to jasper
Andrew Overholt d5b2034
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.jasper_//')
Andrew Overholt d5b2034
rm plugins/org.apache.jasper_*.jar
Andrew Overholt d5b2034
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
Andrew Overholt d5b2034
   plugins/org.apache.jasper_$JASPERVERSION
Ben Konrath 556f63a
Andrew Overholt afd8c47
# link to servlet-api
22b175f
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_2.4 | \
22b175f
  sed 's/javax.servlet_2.4//')
22b175f
rm plugins/javax.servlet_2.4*
255430c
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
22b175f
  plugins/javax.servlet_2.4$SERVLETAPIVERSION
22b175f
22b175f
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_2.5 | \
22b175f
  sed 's/javax.servlet_2.5//')
22b175f
rm plugins/javax.servlet_2.5*
22b175f
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
22b175f
  plugins/javax.servlet_2.5$SERVLETAPIVERSION
1de4643
255430c
#
Ben Konrath 556f63a
# link to jsp-api
Andrew Overholt d5b2034
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
Andrew Overholt d5b2034
  sed 's/javax.servlet.jsp_//')
Andrew Overholt d5b2034
rm plugins/javax.servlet.jsp_*
Andrew Overholt d5b2034
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
Andrew Overholt d5b2034
  plugins/javax.servlet.jsp_$JSPAPIVERSION
Ben Konrath 556f63a
Ben Konrath 5b61247
# delete included jars
Ben Konrath ec33055
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
255430c
rm plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath 4c0ee09
   plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
1de4643
   plugins/org.eclipse.osgi/osgi/osgi.core.jar
Ben Konrath 5b61247
Andrew Overholt d5b2034
# FIXME:  figure out a way to symlink to something.  Alternatively,
Andrew Overholt d5b2034
# patch out of package.org.eclipse.sdk*.xml.
Andrew Overholt d5b2034
# Delete unnecessary-for-build source JARs
Andrew Overholt d5b2034
#rm plugins/*.source_*.jar
Andrew Overholt d5b2034
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
Ben Konrath 5037e9d
Andrew Overholt d5b2034
# ECF filetransfer plugins
255430c
# TODO Enable with correct ecf
255430c
#tar jxf %{SOURCE25}
255430c
#pushd org.eclipse.ecf
255430c
#%patch35
255430c
#mkdir -p features/org.eclipse.ecf.filetransfer-feature
255430c
#pushd features/org.eclipse.ecf.filetransfer-feature
255430c
#cp -p %{SOURCE26} feature.xml
255430c
#cp -p %{SOURCE27} build.properties
255430c
#popd
255430c
#popd
Andrew Overholt 8db956b
07c3123
%patch43
34e7cc1
%patch44
255430c
%patch47
255430c
22b175f
#pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"
22b175f
#%patch48 -p3
22b175f
#popd
43ecf62
255430c
sed -i -e 's|org.eclipse.ecf;bundle-version="1.2.0",|org.eclipse.ecf;bundle-version="[3.0.0,4.0.0)",|' \
255430c
	-e 's|org.eclipse.ecf.filetransfer;bundle-version="2.0.0",|org.eclipse.ecf.filetransfer;bundle-version="[3.0.0,4.0.0)",|' \
255430c
	plugins/org.eclipse.equinox.p2.metadata.repository/META-INF/MANIFEST.MF
255430c
22b175f
popd
07c3123
Andrew Overholt 602cb9d
%build
Andrew Overholt 602cb9d
ORIGCLASSPATH=$CLASSPATH
Ben Konrath 5037e9d
export JAVA_HOME=%{java_home}
22b175f
./build.sh
Andrew Overholt e6ab17d
22b175f
SDK=$(cd build/eclipse-I20090611-1540-fetched-src/installation && pwd)
Ben Konrath 06b780e
LAUNCHERVERSION=$(ls $SDK/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
2c626f0
pushd build/eclipse-I20090611-1540-fetched-src/plugins/org.eclipse.equinox.initializer
Ben Konrath 4c0ee09
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Ben Konrath 4c0ee09
      org.eclipse.core.launcher.Main \
Ben Konrath d0ce538
     -application org.eclipse.ant.core.antRunner       \
Ben Konrath aa30cb9
     -f build.xml build.update.jar
2c626f0
cp org.eclipse.equinox.initializer*.jar $SDK/plugins
Ben Konrath aa30cb9
popd
Ben Konrath 2987a9c
22b175f
#
Andrew Overholt d5b2034
# Build the ECF filetransfer plugins
255430c
# TODO reenable with correct ecf
255430c
#pushd org.eclipse.ecf
255430c
#mkdir -p build
255430c
#
255430c
#java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
255430c
#     -Duser.home=$homedir                              \
255430c
#      org.eclipse.core.launcher.Main \
255430c
#     -application org.eclipse.ant.core.antRunner       \
255430c
#     -Dtype=feature                                    \
255430c
#     -Did=org.eclipse.ecf.filetransfer_feature                   \
255430c
#     -DsourceDirectory=$(pwd)                          \
255430c
#     -DbaseLocation=$SDK \
255430c
#     -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build  \
255430c
#     -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
255430c
#
255430c
#popd
Andrew Overholt d5b2034
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 65c016b
# Get swt version
22b175f
SWT_MAJ_VER=$(grep maj_ver build/eclipse-I20090611-1540-fetched-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
22b175f
SWT_MIN_VER=$(grep min_ver build/eclipse-I20090611-1540-fetched-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236b
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath bc6236b
Andrew Overholt 65c016b
# Some directories we need
Andrew Overholt 0994b94
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 0994b94
install -d -m 755 $sdkDir
Andrew Overholt 0994b94
install -d -m 755 $sdkDir/plugins
Andrew Overholt 0994b94
install -d -m 755 $sdkDir/features
Andrew Overholt c2c49f8
# FIXME:  We can probably get rid of the links directory (for the
Andrew Overholt c2c49f8
# datadir.link file) when we ensure all plugins are installing into
Andrew Overholt c2c49f8
# dropins (either in libdir or datadir).
Andrew Overholt 690cc24
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
Andrew Overholt 269d301
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt c2c49f8
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/dropins
Andrew Overholt c2c49f8
Andrew Overholt c2c49f8
# FIXME:  Please don't install stuff to these directories.  They're only
Andrew Overholt c2c49f8
# still here for legacy plugins (which probably won't function in 3.4).
Andrew Overholt c2c49f8
# We'll remove these later.
Andrew Overholt 269d301
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/features
Andrew Overholt 269d301
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
Andrew Overholt 65c016b
Andrew Overholt 65c016b
# Explode the resulting SDK tarball
22b175f
cp -R build/eclipse-I20090611-1540-fetched-src/installation/* $RPM_BUILD_ROOT%{_libdir}/eclipse
22b175f
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/p2
Andrew Overholt d5b2034
# ECF filetransfer plugins we built
255430c
#rm $sdkDir/plugins/org.eclipse.ecf*.jar
255430c
#unzip -d $RPM_BUILD_ROOT%{_libdir} \
255430c
#  org.eclipse.ecf/build/rpmBuild/org.eclipse.ecf.filetransfer_feature.zip
Andrew Overholt d5b2034
# Remove the feature we used for building
255430c
#rm -rf \
255430c
#  $sdkDir/features/org.eclipse.ecf.filetransfer_feature_*
Ben Konrath 06b780e
Andrew Overholt 0994b94
LAUNCHERVERSION=$(ls $sdkDir/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
Ben Konrath 4c0ee09
Andrew Overholt 0994b94
installDir=$sdkDir-Platform
Andrew Overholt 0994b94
metadataDir=$installDir/metadata-Platform
Andrew Overholt 0994b94
provisionDir=$installDir-provisioned
Andrew Overholt 0994b94
profileId=PlatformProfile
Andrew Overholt 8a2c6f4
Andrew Overholt 0994b94
# Copy just the platform
Andrew Overholt 0994b94
mkdir $installDir
Andrew Overholt 0994b94
pushd $installDir
Andrew Overholt 0994b94
sh %{SOURCE28} $sdkDir
Andrew Overholt c9ccf4f
mv plugins/*.source* $sdkDir/plugins
Andrew Overholt 8a2c6f4
popd
Andrew Overholt 8a2c6f4
Andrew Overholt 0994b94
# Generate metadata for the platform
Andrew Overholt d5b2034
java \
Andrew Overholt d5b2034
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt d5b2034
org.eclipse.core.launcher.Main \
Andrew Overholt d5b2034
-application \
Andrew Overholt d5b2034
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
Andrew Overholt d5b2034
-metadataRepository file:$metadataDir \
Andrew Overholt d5b2034
-artifactRepository file:$metadataDir \
Andrew Overholt d5b2034
-source $installDir \
Andrew Overholt 2d49d8c
-root "Eclipse Platform" \
Andrew Overholt 8a2c6f4
-rootVersion %{version} \
Andrew Overholt d5b2034
-flavor tooling \
Andrew Overholt d5b2034
-publishArtifacts \
Andrew Overholt d5b2034
-append \
Andrew Overholt 2d49d8c
-artifactRepositoryName "Eclipse Platform" \
Andrew Overholt 2d49d8c
-metadataRepositoryName "Eclipse Platform"
Andrew Overholt d5b2034
Andrew Overholt c9ccf4f
# JDT
Andrew Overholt c9ccf4f
jdtDir=$sdkDir-JDT
Andrew Overholt c9ccf4f
jdtMetadata=$jdtDir/metadata-JDT
Andrew Overholt c9ccf4f
Andrew Overholt c9ccf4f
mkdir $jdtDir
Andrew Overholt c9ccf4f
pushd $jdtDir
Andrew Overholt c9ccf4f
mkdir features plugins
Andrew Overholt c9ccf4f
mv $sdkDir/features/org.eclipse.jdt_* features
Andrew Overholt c9ccf4f
for plugin in org.eclipse.jdt \
Andrew Overholt c9ccf4f
  org.eclipse.ant.ui \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.apt.core \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.apt.ui \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.apt.pluggable.core \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.compiler.apt \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.compiler.tool \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.core \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.core.manipulation \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.debug.ui \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.debug \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.junit \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.junit.runtime \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.junit4.runtime \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.launching \
Andrew Overholt c9ccf4f
  org.eclipse.jdt.ui \
255430c
  org.eclipse.jdt.doc.user \
Andrew Overholt c9ccf4f
  org.junit \
255430c
  org.junit4 ; do
Andrew Overholt c9ccf4f
  mv $sdkDir/plugins/${plugin}_* plugins
Andrew Overholt c9ccf4f
done
Andrew Overholt c9ccf4f
popd
Andrew Overholt c9ccf4f
Andrew Overholt 8a2c6f4
# Debugging?  Add -debug and -consolelog
Andrew Overholt 8a2c6f4
# Provision with director
Andrew Overholt ce22a23
java \
22b175f
-Declipse.p2.data.area=file:$provisionDir/p2 \
255430c
-Declipse.p2.MD5Check=false \
Andrew Overholt ce22a23
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
Andrew Overholt ce22a23
org.eclipse.core.launcher.Main \
Andrew Overholt d5b2034
-application \
22b175f
org.eclipse.equinox.p2.director \
255430c
-debug -consolelog \
Andrew Overholt d5b2034
-flavor tooling \
Andrew Overholt 2d49d8c
-installIU "Eclipse Platform" \
Andrew Overholt d5b2034
-p2.os linux \
Andrew Overholt d5b2034
-p2.ws gtk \
Andrew Overholt d5b2034
-p2.arch %{eclipse_arch} \
Andrew Overholt d5b2034
-roaming \
Andrew Overholt f869e64
-profile $profileId \
Andrew Overholt d5b2034
-profileProperties org.eclipse.update.install.features=true \
Andrew Overholt d5b2034
-metadataRepository file:$metadataDir \
Andrew Overholt d5b2034
-artifactRepository file:$metadataDir \
Andrew Overholt 0994b94
-destination $provisionDir \
1de4643
-bundlepool $provisionDir
Andrew Overholt 8a2c6f4
Andrew Overholt 0994b94
# Stuff in JDT, PDE, SDK
Andrew Overholt c9ccf4f
for f in about.html about_files \.eclipseproduct epl-v10.html notice.html readme; do
Andrew Overholt c9ccf4f
    if 	[ -e $installDir/$f ]; then
Andrew Overholt c9ccf4f
      mv $installDir/$f $provisionDir
Andrew Overholt c9ccf4f
    fi
Andrew Overholt 8a2c6f4
done
Andrew Overholt 7889e5c
# FIXME:  should add artifacts.xml here
Andrew Overholt c9ccf4f
dropins=$provisionDir/dropins
Andrew Overholt 7889e5c
mkdir -p $dropins/jdt $dropins/sdk
Andrew Overholt 7889e5c
mv $jdtDir/features $dropins/jdt
Andrew Overholt 7889e5c
mv $jdtDir/plugins $dropins/jdt
Andrew Overholt c9ccf4f
Andrew Overholt 7889e5c
mv $sdkDir/features $dropins/sdk
Andrew Overholt 7889e5c
mv $sdkDir/plugins $dropins/sdk
Andrew Overholt c9ccf4f
rm -rf $metadataDir $jdtDir $sdkDir $installDir
22b175f
Andrew Overholt 0994b94
mv $provisionDir $sdkDir
Andrew Overholt 8a2c6f4
Andrew Overholt 0994b94
# Fix paths in p2 data
Andrew Overholt 0994b94
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt 0994b94
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
Andrew Overholt 2d49d8c
sed -i "s|file\:$provisionDir/\ -\ bundle\ pool|Eclipse Platform|g" \
Andrew Overholt 0994b94
  $sdkDir/artifacts.xml
Andrew Overholt 0994b94
profileDir=$sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry
Andrew Overholt 0994b94
pushd $profileDir
Andrew Overholt 0994b94
  sed -i "s|$provisionDir|%{_libdir}/%{name}|g" \
Andrew Overholt 0994b94
    PlatformProfile.profile/*
Andrew Overholt 0994b94
  sed -i "s|$RPM_BUILD_ROOT||g" PlatformProfile.profile/*
22b175f
  sed -i "s|eclipse-Platform|eclipse|g" PlatformProfile.profile/*
Andrew Overholt 8a2c6f4
popd
Ben Konrath c3ae080
22b175f
sed --in-place "s|SDKProfile|PlatformProfile|" \
22b175f
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
22b175f
Andrew Overholt d5b2034
# Add a compatibility symlink to startup.jar
Andrew Overholt 0994b94
pushd $sdkDir
Andrew Overholt d5b2034
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
Andrew Overholt d5b2034
ln -s plugins/$LAUNCHERNAME startup.jar
Andrew Overholt d5b2034
popd
Ben Konrath d563cf5
Andrew Overholt b5482d5
# Remove the unnecessary configuration data
Andrew Overholt b5482d5
rm -r $sdkDir/configuration/org.eclipse.update
Andrew Overholt b5482d5
Andrew Overholt b5482d5
%if %{initialize}
f39692a
#Find better way to fix this
f39692a
sed --in-place "s|org.eclipse.core.runtime,3.5.0.v20090525,plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar,4,false|org.eclipse.core.runtime,3.5.0.v20090525,plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar,4,true|" \
f39692a
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
f39692a
sed --in-place "s|org.eclipse.equinox.ds,1.1.0.v20090601,plugins/org.eclipse.equinox.ds_1.1.0.v20090601.jar,4,false|org.eclipse.equinox.ds,1.1.0.v20090601,plugins/org.eclipse.equinox.ds_1.1.0.v20090601.jar,4,true|" \
f39692a
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
a7f7382
# dump bundles.info and config.ini to check what's wrong with ppc64 build
b21d8c6
cat  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
b21d8c6
cat  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Ben Konrath 158e040
# FIXME: investigate why it doesn't work to set this -- configuration data is
Andrew Overholt 65c016b
# always written to /usr/share/eclipse/configuration, even with
Andrew Overholt 65c016b
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
Andrew Overholt 65c016b
# Note (2006-12-05):  upon looking at this again, we (bkonrath, overholt) don't
Andrew Overholt 65c016b
# know what we're doing with $libdir_path :)  It requires some investigation.
Andrew Overholt e6ab17d
#
Andrew Overholt fd64f0d
# Extract .so files
Andrew Overholt fd64f0d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt 32f425f
pushd $RPM_BUILD_ROOT
Andrew Overholt b5482d5
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins  $RPM_BUILD_ROOT/dropins
Andrew Overholt b5482d5
mkdir $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt 32f425f
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
cdbf018
java -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT$libdir_path/configuration \
cdbf018
     -cp $libdir_path/startup.jar \
Ben Konrath 158e040
     org.eclipse.core.launcher.Main \
255430c
     -debug -consolelog \
22b175f
     -metadataRepository file:$metadataDir \
22b175f
-artifactRepository file:$metadataDir \
Andrew Overholt 32f425f
     -application org.eclipse.equinox.initializer.configInitializer \
Ben Konrath 158e040
     -fileInitializer %{SOURCE19}
9ef820f
popd
Andrew Overholt b5482d5
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt b5482d5
mv $RPM_BUILD_ROOT/dropins $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
Andrew Overholt b5482d5
Andrew Overholt b5482d5
# Do this again after we've run the file initializer
Andrew Overholt b5482d5
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
Andrew Overholt b5482d5
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
303b3e2
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
1c43f0e
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry/PlatformProfile.profile/.data/.settings
Andrew Overholt b5482d5
pushd $profileDir
Andrew Overholt b5482d5
  sed -i "s|$RPM_BUILD_ROOT||g" *.profile/*
Andrew Overholt b5482d5
popd
9ef820f
Andrew Overholt d5b2034
# Remove the unnecessary configuration data
Andrew Overholt 0994b94
rm -r $sdkDir/configuration/org.eclipse.core.runtime
Andrew Overholt 0994b94
rm -r $sdkDir/configuration/org.eclipse.equinox.app
Andrew Overholt c9ccf4f
rm -rf $sdkDir/configuration/*.log
Andrew Overholt 0994b94
dataDirs=$(find $sdkDir/configuration \
Andrew Overholt f869e64
  -type d -name data)
Andrew Overholt f869e64
for dataDir in $dataDirs; do
Andrew Overholt f869e64
    rm -rf `dirname $dataDir`
Andrew Overholt f869e64
done
Andrew Overholt f869e64
Andrew Overholt 0061dd6
pushd $sdkDir
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 b5482d5
# Install 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 b5482d5
# Ensure the shared libraries have the correct permissions
Andrew Overholt e6ab17d
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt b5482d5
for lib in `find configuration -name \*.so`; do
Andrew Overholt b5482d5
   chmod 755 $lib
Andrew Overholt b5482d5
done
Andrew Overholt f869e64
popd
Andrew Overholt b5482d5
%endif
cvsdist df631d8
2b59e19
cp -p build/eclipse-I20090611-1540-fetched-src/installation/eclipse.ini \
22b175f
  $sdkDir/eclipse.ini
22b175f
# We have /usr/share/eclipse/dropins in eclipse.ini
22b175f
sed -i "s|/usr/share|%{_datadir}|" $sdkDir/eclipse.ini
22b175f
255430c
sed --in-place "s/osgi.ws=gtk/osgi.ws=gtk\norg.eclipse.update.reconcile=false/" \
255430c
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
255430c
sed --in-place "s|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,false|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,true|" \
255430c
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Andrew Overholt b94d72f
Ben Konrath 4c0ee09
# Install the Eclipse binary wrapper
Andrew Overholt bfd4e0b
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt d5b2034
ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
255430c
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt d5b2034
#cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt d5b2034
#sed --in-place "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt d5b2034
#ECLIPSELIBSUFFIX=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux*/*.so | sed "s/.*.launcher.gtk.linux.//")
Andrew Overholt d5b2034
#sed --in-place "s|@ECLIPSELIBSUFFIX@|$ECLIPSELIBSUFFIX|" $RPM_BUILD_ROOT%{_bindir}/eclipse
Andrew Overholt bfd4e0b
57bee49
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/links
Andrew Overholt c2c49f8
# FIXME:  We can probably get rid of the links file when we ensure all
Andrew Overholt c2c49f8
# plugins are installing into dropins (either in libdir or datadir).
Andrew Overholt 269d301
# Set up an extension location and a link file for the arch-independent dir
96a1f37
echo "path:%{_datadir}" > \
Andrew Overholt c2c49f8
  $sdkDir/links/datadir.link
Andrew Overholt 269d301
Andrew Overholt d5b2034
# Ensure the launcher binary has the correct permissions
Andrew Overholt e7563e0
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{name}
Andrew Overholt 5fd1871
Ben Konrath 121ec8f
# Install the SWT jar symlinks in libdir
22b175f
SWTJARVERSION=$(grep v$SWT_VERSION build/eclipse-I20090611-1540-fetched-src/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
Ben Konrath c3ae080
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt c9ccf4f
ln -s plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2987a9c
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
Andrew Overholt 690cc24
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar
Andrew Overholt 690cc24
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Andrew Overholt 65c016b
# Icons
Andrew Overholt 2d49d8c
PLATFORMVERSION=$(ls $sdkDir/plugins | grep org.eclipse.platform_ | sed 's/org.eclipse.platform_//')
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
Andrew Overholt 2d49d8c
ln -s %{_libdir}/%{name}/plugins/org.eclipse.platform_$PLATFORMVERSION/eclipse48.png \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt 2d49d8c
ln -s %{_libdir}/%{name}/plugins/org.eclipse.platform_$PLATFORMVERSION/eclipse32.png \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt 2d49d8c
ln -s %{_libdir}/%{name}/plugins/org.eclipse.platform_$PLATFORMVERSION/eclipse.png \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt 65c016b
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
Ben Konrath de36359
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
cvsdist df631d8
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
22b175f
rm -rf $installDir
22b175f
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
Andrew Overholt 7959f75
desktop-file-install --vendor="fedora" \
Andrew Overholt 7959f75
--dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt d5b2034
cp -p %{SOURCE16} 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
22b175f
sed --in-place "s|$RPM_BUILD_ROOT%{_libdir}/eclipse-Platform/p2/|%{_libdir}/eclipse/p2/|" \
22b175f
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
22b175f
sed --in-place "s|file\\\:%{_libdir}/eclipse/p2/|@config.dir/../p2/|" \
22b175f
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
22b175f
Andrew Overholt 8b3726e
# Install the PDE Build wrapper script.
Andrew Overholt 8b3726e
install -p -D -m0755 %{SOURCE21} \
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 d5b2034
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
0fefd1a
rm plugins/org.sat4j*
0fefd1a
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090520.jar
0fefd1a
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090520.jar
Andrew Overholt d5b2034
Andrew Overholt 7889e5c
ASMPLUGINVERSION=$(ls dropins/sdk/plugins | grep org.objectweb.asm_ | \
Andrew Overholt d5b2034
  sed 's/org.objectweb.asm_//')
Andrew Overholt 7889e5c
rm dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
Andrew Overholt 7889e5c
  dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
Andrew Overholt 8b3726e
1de4643
# link to hamcrest-core
1de4643
HAMCRESTCOREVERSION=$(ls dropins/sdk/plugins | grep org.hamcrest.core_ | \
1de4643
  sed 's/org.hamcrest.core_//')
1de4643
rm dropins/sdk/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
1de4643
ln -s %{_javadir}/hamcrest/core.jar \
1de4643
  dropins/sdk/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
1de4643
Andrew Overholt bfd4e0b
## BEGIN ANT ##
Andrew Overholt d5b2034
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
Andrew Overholt d5b2034
rm $ANTDIR/lib/*
Andrew Overholt d5b2034
ANTDIR=$ANTDIR/lib
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
Andrew Overholt 56ebf50
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
Andrew Overholt 56ebf50
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
Andrew Overholt d5b2034
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
Andrew Overholt bfd4e0b
## END ANT ##
Andrew Overholt 65c016b
255430c
#JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
255430c
#rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
255430c
#ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
Andrew Overholt 39363de
Andrew Overholt 7889e5c
pushd dropins/jdt
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt bfd4e0b
Andrew Overholt d5b2034
JUNIT4VERSION=$(ls plugins | grep org.junit4_ | sed 's/org.junit4_//')
Andrew Overholt d5b2034
rm plugins/org.junit4_$JUNIT4VERSION/junit.jar
Andrew Overholt d5b2034
ln -s %{_javadir}/junit4.jar plugins/org.junit4_$JUNIT4VERSION/junit.jar
Andrew Overholt c9ccf4f
popd
Ben Konrath 619a6b2
Andrew Overholt d5b2034
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | sed 's/com.jcraft.jsch_//')
Andrew Overholt d5b2034
rm plugins/com.jcraft.jsch_$JSCHVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
Ben Konrath f23231d
Ben Konrath 82b9077
# link to the icu4j stuff
0fefd1a
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
0fefd1a
rm plugins/com.ibm.icu_*.jar
Ben Konrath 82b9077
Ben Konrath bc52b62
# link to lucene
Andrew Overholt d5b2034
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.lucene_//')
Andrew Overholt d5b2034
rm plugins/org.apache.lucene_*
Andrew Overholt d5b2034
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
Andrew Overholt d5b2034
rm plugins/org.apache.lucene.analysis_*
Andrew Overholt d5b2034
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
Andrew Overholt d5b2034
  plugins/org.apache.lucene.analysis_$LUCENEVERSION
Ben Konrath f449bd8
Ben Konrath f449bd8
# link to commons-logging
Andrew Overholt d5b2034
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.commons.logging_//')
Andrew Overholt d5b2034
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/commons-logging.jar \
Andrew Overholt d5b2034
  plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
Ben Konrath bc52b62
Ben Konrath 491b3aa
# link to commons-el
Andrew Overholt d5b2034
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.commons.el_//')
Andrew Overholt d5b2034
rm plugins/org.apache.commons.el_$COMMONSELVERSION
Andrew Overholt d5b2034
ln -s %{_javadir}/commons-el.jar \
Andrew Overholt d5b2034
  plugins/org.apache.commons.el_$COMMONSELVERSION
1de4643
255430c
# link to commons-el
255430c
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
255430c
  sed 's/org.apache.commons.codec_//')
255430c
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
255430c
ln -s %{_javadir}/commons-codec.jar \
255430c
  plugins/org.apache.commons.codec_$COMMONSCODECVERSION
1de4643
255430c
# link to commons-el
255430c
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
255430c
  sed 's/org.apache.commons.httpclient_//')
255430c
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
255430c
ln -s %{_javadir}/commons-httpclient.jar \
255430c
  plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
Ben Konrath 491b3aa
Ben Konrath 556f63a
# link to jasper
Andrew Overholt d5b2034
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
Andrew Overholt d5b2034
  sed 's/org.apache.jasper_//')
Andrew Overholt d5b2034
rm plugins/org.apache.jasper_*.jar
Andrew Overholt d5b2034
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
Andrew Overholt d5b2034
   plugins/org.apache.jasper_$JASPERVERSION
Ben Konrath 556f63a
Andrew Overholt d5b2034
# link to servlet-api
Andrew Overholt d5b2034
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
Andrew Overholt d5b2034
  sed 's/javax.servlet_//')
Andrew Overholt d5b2034
rm plugins/javax.servlet_*
255430c
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
Andrew Overholt d5b2034
  plugins/javax.servlet_$SERVLETAPIVERSION
Ben Konrath 556f63a
Ben Konrath 556f63a
# link to jsp-api
Andrew Overholt d5b2034
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
Andrew Overholt d5b2034
  sed 's/javax.servlet.jsp_//')
Andrew Overholt d5b2034
rm plugins/javax.servlet.jsp_*
Andrew Overholt d5b2034
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
Andrew Overholt d5b2034
  plugins/javax.servlet.jsp_$JSPAPIVERSION
Ben Konrath 556f63a
Ben Konrath 82b9077
popd
Ben Konrath 82b9077
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 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 269d301
%dir %{_datadir}/%{name}/features
Andrew Overholt 269d301
%dir %{_datadir}/%{name}/plugins
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
255430c
%config %{_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
Andrew Overholt d5b2034
%{_libdir}/%{name}/notice.html
Andrew Overholt d5b2034
%{_libdir}/%{name}/epl-v10.html
Andrew Overholt 269d301
%{_libdir}/%{name}/links
255430c
%ifnarch ppc
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 0f27cf8
%config %{_libdir}/%{name}/eclipse.ini
22b175f
#%{_libdir}/%{name}/.eclipseproduct
Andrew Overholt 0994b94
%{_libdir}/%{name}/configuration/config.ini
60484c1
%ifnarch ppc
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_*
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_*
Andrew Overholt fc7e41d
%ifarch %{ix86}
Andrew Overholt 7f97beb
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.x86_*
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.resources.compatibility_*
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_*
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.ssh_*
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.exemplarysetup_*
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_*
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 d5b2034
# FIXME:  where should this go?
21a5042
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
Ben Konrath 9dbdca5
Andrew Overholt bfd4e0b
%changelog
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.