Andrew Overholt 357a573
Epoch:	1
cvsdist 38d0d0c
Ben Konrath 02a0b82
%define fedora		1
Ben Konrath 02a0b82
%define redhat		0
Ben Konrath 02a0b82
%if %{fedora}
Andrew Overholt 5f25d4d
%define gcj_support 	1
Ben Konrath 02a0b82
%else
Ben Konrath 02a0b82
%define gcj_support 	0
Ben Konrath 02a0b82
%endif
Andrew Overholt f335515
%define tomcatsharedir 	%{_datadir}/tomcat5
Andrew Overholt f335515
%define tomcatlibdir 	%{_var}/lib/tomcat5
Andrew Overholt 357a573
%define pkg_summary     An open, extensible IDE
cvsdist 38d0d0c
%define section         free
cvsdist 38d0d0c
%define eclipse_major   3
Ben Konrath 02a0b82
%define eclipse_minor   2
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
Ben Konrath 02a0b82
%define eclipse_micro   0
cvsdist 38d0d0c
%define libname         libswt3
cvsdist 38d0d0c
Andrew Overholt c6ac089
# All arches line up except i386 -> x86
Andrew Overholt c6ac089
%ifarch %{ix86}
Andrew Overholt c6ac089
%define eclipse_arch    x86
Andrew Overholt c6ac089
%else
Andrew Overholt c6ac089
%define eclipse_arch   %{_arch}
Andrew Overholt c6ac089
%endif
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 63a39ce
%ifarch %{ix86} x86_64 ppc
Andrew Overholt 011d0ec
%define native_ecj   1
Andrew Overholt 011d0ec
%else
Andrew Overholt 011d0ec
%define native_ecj   0
Andrew Overholt 011d0ec
%endif
Ben Konrath 02a0b82
%else
Ben Konrath 02a0b82
%define native_ecj   0
Ben Konrath 02a0b82
%endif
Andrew Overholt c6ac089
cvsdist 38d0d0c
Summary:        %{pkg_summary}
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 2ea3ea7
Version:        %{eclipse_majmin}.%{eclipse_micro}
Ben Konrath 6ebb2cd
Release:        0jpp_0fc.3.2RC7.3
Ben Konrath bd6a7ae
License:        EPL
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
Ben Konrath d7c0cf4
Source0:	http://download.eclipse.org/eclipse/downloads/drops/S-3.2RC7-200606021317/eclipse-sourceBuild-srcIncluded-3.2RC7.zip
cvsdist 38d0d0c
Source2:        %{name}.desktop
cvsdist 38d0d0c
Source5:        %{name}-48.png
cvsdist 38d0d0c
Source6:        %{name}.conf
Ben Konrath 3ab757b
%if %{fedora}
Ben Konrath f583873
Source11:	%{name}-fedora-splash-3.2rc7.png
Ben Konrath 3ab757b
%endif
Ben Konrath 02a0b82
%if %{redhat}
Ben Konrath 3ab757b
Source11:	%{name}-redhat-splash.png
Ben Konrath 02a0b82
%endif
Ben Konrath 3ab757b
Source16:       %{name}-copy-platform.sh
Ben Konrath 2f9a66d
Source17:       efj.sh.in
Andrew Overholt c18750b
Source19:       %{name}-filenamepatterns.txt
Andrew Overholt 21b8036
Source20:	ecj.sh.in
Andrew Overholt 322dc08
Source21:	rebuild-sdk-features
Andrew Overholt 357a573
Ben Konrath 3ab757b
Ben Konrath 3ab757b
Ben Konrath 3ab757b
Andrew Overholt 1b72b0d
# Build libswt-mozilla and libswt-cairo and use O2
Andrew Overholt 29362a4
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637
Andrew Overholt 1b72b0d
Patch0:         %{name}-libswt-enableallandO2.patch
Andrew Overholt 357a573
# Build JNI libs
Andrew Overholt 357a573
# FIXME:  these should be built by upstream build method
d941e6a
# http://www.bagu.org/eclipse/plugin-source-drops.html
Andrew Overholt 29362a4
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637
Andrew Overholt c18750b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
Andrew Overholt c18750b
# GNU XML issue identified by Michael Koch
Andrew Overholt 357a573
Patch2:		%{name}-build.patch
Andrew Overholt 357a573
Patch4:		%{name}-libupdatebuild.patch
Andrew Overholt 357a573
Patch5:		%{name}-libupdatebuild2.patch
Andrew Overholt 066aed0
# Build swttools.jar
Andrew Overholt 066aed0
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Andrew Overholt 066aed0
Patch18: 	%{name}-swttools.patch
Andrew Overholt 5f25d4d
# GNU-style JDT formatter
Andrew Overholt 5f25d4d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=91770
Andrew Overholt 5432caa
#Patch20: 	%{name}-gnuformatterjdt.patch
Andrew Overholt 5432caa
#Patch21: 	%{name}-gnuformatterjdtui.patch
Andrew Overholt 1b72b0d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=114001
Andrew Overholt 1b72b0d
Patch38:	%{name}-helpindexbuilder.patch
Andrew Overholt 2932746
Patch40:	%{name}-usebuiltlauncher.patch
Ben Konrath 02a0b82
## Build cairo native libs
Ben Konrath 02a0b82
#Patch43:	%{name}-libswt-cairo1.0-3.patch
Ben Konrath 2f9a66d
Patch45:	%{name}-webapp-jasper-classpath.patch
Andrew Overholt 55eecce
Patch46:	%{name}-libswt-xpcomgcc4.patch
Andrew Overholt 8a98f70
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=79592
Andrew Overholt 8a98f70
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168726
Andrew Overholt 8a98f70
Patch47:	%{name}-launcher-link.patch
Andrew Overholt 00d1a07
# Don't attempt to link to Sun's javadocs
Andrew Overholt e593052
Patch48:	%{name}-javadoclinks.patch
Ben Konrath 02a0b82
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=126648
Ben Konrath 02a0b82
Patch52:	%{name}-libswt-mozilla2.patch
Andrew Overholt 832063d
# Always generate debug info when building RPMs (Andrew Haley)
Andrew Overholt 832063d
Patch49:	%{name}-ecj-rpmdebuginfo.patch
Ben Konrath 02a0b82
# generic releng plugins that can be used to build plugins
Ben Konrath 02a0b82
# see this thread for deails: 
Ben Konrath 02a0b82
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Ben Konrath 02a0b82
Patch53:	%{name}-pde.build-add-package-build.patch
Ben Konrath 3ab757b
# We need to disable junit4 and apt until GCJ can handle Java5 code
Ben Konrath 3ab757b
Patch55: 	%{name}-disable-junit4-apt.patch
Ben Konrath 3ab757b
Ben Konrath 3ab757b
# these patches need to go upstream
Ben Konrath 3ab757b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
Ben Konrath 3ab757b
#Patch28: 	%{name}-tomcat5.patch
Ben Konrath 3ab757b
#Patch29: 	%{name}-tomcat5-build.patch
Ben Konrath 3ab757b
#Patch30: 	%{name}-tomcat5-build.2.patch
Ben Konrath 3ab757b
#Patch50:        %{name}-tomcat5-build.3.patch
Ben Konrath 3ab757b
#Patch31: 	%{name}-webapp-tomcat5.patch
Ben Konrath 3ab757b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98707 
Ben Konrath 3ab757b
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178726
Ben Konrath 3ab757b
Patch33:        %{name}-compare-create-api.patch
Ben Konrath 3ab757b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Ben Konrath 3ab757b
Patch24: 	%{name}-fileinitializer.patch
Ben Konrath 02a0b82
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191536
Ben Konrath 02a0b82
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=142861
Ben Konrath 02a0b82
Patch54:	%{name}-swt-rm-ON_TOP.patch
Ben Konrath 3ab757b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90630
Ben Konrath 3ab757b
Patch22: 	%{name}-updatehomedir.patch
Ben Konrath 2f9a66d
# JPackage []s in names of symlinks ...
Ben Konrath 2f9a66d
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177
Ben Konrath 2f9a66d
Patch34:	%{name}-bz162177.patch
Ben Konrath 02a0b82
Ben Konrath f583873
# these patches should be in 3.2 final
Ben Konrath 3ab757b
Patch100:	customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
Ben Konrath 3ab757b
Patch101:	org.eclipse.platform.doc.isv-rm-org.eclipse.ui.workbench-Eclipse-UI-Components.patch
Ben Konrath f583873
Ben Konrath f583873
cvsdist 38d0d0c
Andrew Overholt e7bc735
%if %{gcj_support}
Andrew Overholt e7bc735
%else
Andrew Overholt 743b0ab
ExclusiveArch: %{ix86} x86_64 ppc ia64
Andrew Overholt e7bc735
%endif
cvsdist 38d0d0c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  perl
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt 7c41ca3
BuildRequires:  gnome-vfs2-devel
Andrew Overholt 7c41ca3
BuildRequires:  gtk2-devel
Andrew Overholt 7c41ca3
BuildRequires:  glib2-devel
Andrew Overholt 376a964
BuildRequires:  libgnome-devel
Andrew Overholt 376a964
BuildRequires:  libgnomeui-devel
Andrew Overholt b735554
BuildRequires:  gcc-c++
Andrew Overholt 9771134
BuildRequires:  mozilla = 37:1.7.13
Andrew Overholt 9771134
BuildRequires:  mozilla-devel = 37:1.7.13
Andrew Overholt 6c22b1e
BuildRequires:  nspr-devel
Andrew Overholt 45bd4ee
BuildRequires:  libXtst-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGL-devel
Ben Konrath 02a0b82
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 1b72b0d
BuildRequires:  cairo >= 1.0
e416a0a
BuildRequires:  unzip
Andrew Overholt 832063d
BuildRequires:  java-javadoc
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 35d1d6c
BuildRequires:	gcc-java >= 4.0.2
Andrew Overholt e8eac40
BuildRequires:	java-gcj-compat-devel >= 1.0.43
Ben Konrath fe9df1e
BuildRequires:  dos2unix
Andrew Overholt 5f25d4d
%else
Andrew Overholt 5f25d4d
BuildRequires:	java-devel >= 1.4.2
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Ben Konrath 6ebb2cd
#BuildRequires: ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Ben Konrath 6ebb2cd
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt f05b563
#BuildRequires: ant-commons-net
Andrew Overholt 1cc05a0
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 3ab757b
BuildRequires: jsch >= 0:0.1.28-1jpp
Ben Konrath 6ebb2cd
#FIXME
Ben Konrath 6ebb2cd
%ifnarch ppc64 s390 s390x
Andrew Overholt f335515
BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
Andrew Overholt f335515
BuildRequires: mx4j >= 2.1
Ben Konrath 02a0b82
BuildRequires: tomcat5 >= 5.5.15
Ben Konrath 02a0b82
BuildRequires: tomcat5-jasper >= 5.5.15
Ben Konrath 02a0b82
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.15
Ben Konrath 6ebb2cd
%endif
Ben Konrath 02a0b82
BuildRequires: lucene
Ben Konrath 22a1ac6
BuildRequires: regexp 
Ben Konrath 41ba94d
BuildRequires: junit >= 3.8.1-3jpp
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 5f25d4d
%endif
cvsdist df631d8
cvsdist df631d8
%description
cvsdist df631d8
The Eclipse Platform is designed for building integrated development
cvsdist df631d8
environments (IDEs) that can be used to create applications as diverse
cvsdist 38d0d0c
as web sites, embedded Java(tm) programs, C++ programs, and Enterprise
cvsdist 38d0d0c
JavaBeans(tm).
cvsdist 38d0d0c
Andrew Overholt b818870
%package        ecj
Andrew Overholt b818870
Summary:        Eclipse Compiler for Java
Andrew Overholt b818870
Group:          Development/Languages
Andrew Overholt b818870
Obsoletes:	ecj
Andrew Overholt a1ea6b3
Provides:	ecj
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires(post):	java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 5f25d4d
%else
Andrew Overholt 5f25d4d
Requires:	java >= 1.4.2
Andrew Overholt 5f25d4d
%endif
Andrew Overholt b818870
Andrew Overholt b818870
%description    ecj
Andrew Overholt b818870
Eclipse compiler for Java.
Andrew Overholt b818870
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt bd9eed8
Provides:       %{name} = %{epoch}:%{version}-%{release}
Andrew Overholt f335515
Obsoletes:	%{name}-sdk %{name}-ui %{name}-gtk2 %{name}-scripts eclipse
Andrew Overholt 357a573
Provides:	%{name}-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Provides:       %{name}-ui = %{epoch}:%{version}-%{release}
Andrew Overholt f335515
Provides:       %{name}-scripts = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Provides:       %{name}-gtk2 = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires:	java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 5f25d4d
%else
Andrew Overholt 5f25d4d
Requires:	java >= 1.4.2
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 3d64690
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Requires:       %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4d
Requires:       /usr/bin/perl
Andrew Overholt 357a573
Requires:       /usr/bin/mozilla
Andrew Overholt af1c2d2
Andrew Overholt 5a259a5
BuildRequires:    gtk2 >= 2.6
Andrew Overholt 5a259a5
Requires:         gtk2 >= 2.6
Andrew Overholt 357a573
Ben Konrath 6ebb2cd
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Ben Konrath 6ebb2cd
#Requires: ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt f05b563
#Requires: ant-commons-net
Andrew Overholt 1cc05a0
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 6ebb2cd
#FIXME
Ben Konrath 6ebb2cd
%ifnarch ppc64 s390 s390x
Andrew Overholt f335515
Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
Andrew Overholt f335515
Requires: mx4j >= 2.1
Ben Konrath 02a0b82
Requires: tomcat5 >= 5.5.15
Ben Konrath 02a0b82
Requires: tomcat5-jasper >= 5.5.15
Ben Konrath 02a0b82
Requires: tomcat5-servlet-2.4-api >= 5.5.15
Ben Konrath 6ebb2cd
%endif
Ben Konrath 02a0b82
Requires: lucene 
Ben Konrath 22a1ac6
Requires: regexp
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Andrew Overholt 357a573
Eclipse platform common files.  This package now contains the GTK2 UI (the
Andrew Overholt 357a573
former eclipse-gtk2 package).
cvsdist 38d0d0c
Andrew Overholt 357a573
%package        platform-devel
Andrew Overholt 357a573
Summary:        Eclipse platform Source
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a94
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 322dc08
Requires:       %{name}-rcp-devel = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires:       java-javadoc
cvsdist 38d0d0c
Andrew Overholt 357a573
%description    platform-devel
Andrew Overholt 357a573
Source for Eclipse platform for use within Eclipse.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        jdt
cvsdist 38d0d0c
Summary:        Eclipse Java development tools
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 76e1a94
Requires:       %{name}-ecj = %{epoch}:%{version}-%{release}
d941e6a
Requires:       junit >= 3.8.1-3jpp
Andrew Overholt 00fc6fa
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
cvsdist 38d0d0c
Eclipse Java developments tools.
cvsdist 38d0d0c
Andrew Overholt 357a573
%package        jdt-devel
Andrew Overholt 357a573
Summary:        Eclipse JDT Source
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires:       java-javadoc
cvsdist 38d0d0c
Andrew Overholt 357a573
%description    jdt-devel
Andrew Overholt 357a573
Source for JDT for use within Eclipse.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package        pde
cvsdist 38d0d0c
Summary:        Eclipse PDE
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 76e1a94
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires:       %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Requires:       %{name}-platform-devel = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 357a573
Andrew Overholt 00fc6fa
%description    pde
Ben Konrath 02a0b82
Eclipse Plug-in Development Environment.
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%package        pde-runtime
Ben Konrath 02a0b82
Summary:        Eclipse PDE runtime plugin.
Ben Konrath 02a0b82
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 02a0b82
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires:       %{name}-platform-devel = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 02a0b82
Requires:	libgcj >= 4.0.2
Ben Konrath 02a0b82
Requires(post):   java-gcj-compat >= 1.0.43
Ben Konrath 02a0b82
Requires(postun): java-gcj-compat >= 1.0.43
Ben Konrath 02a0b82
%endif
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%description    pde-runtime
Ben Konrath 02a0b82
Eclipse Plug-in Development Environment runtime plugin (org.eclipse.pde.runtime).
Andrew Overholt 00fc6fa
Andrew Overholt 357a573
%package        pde-devel
Andrew Overholt 357a573
Summary:        Eclipse PDE Source
Andrew Overholt 357a573
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 357a573
Requires:       %{name}-pde = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Requires:       %{name}-jdt-devel = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(post):   %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 00fc6fa
Requires(postun): %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Obsoletes:	%{name}-source
Andrew Overholt 357a573
Provides:       %{name}-source = %{epoch}:%{version}-%{release}
Andrew Overholt 357a573
Andrew Overholt 357a573
%description    pde-devel
Ben Konrath 02a0b82
Source for Eclipse Plug-in Development Environment for use within Eclipse.
cvsdist 38d0d0c
cvsdist 38d0d0c
%package     -n %{libname}-gtk2
cvsdist 38d0d0c
Summary:        SWT Library for GTK2
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 2c6e6e1
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt 2c6e6e1
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description -n %{libname}-gtk2
cvsdist 38d0d0c
SWT Library for GTK2.
cvsdist 50a0222
Andrew Overholt c18750b
%package        rcp
Andrew Overholt c18750b
Summary:        Eclipse Rich Client Platform
Andrew Overholt c18750b
Group:          Development/Languages
Andrew Overholt c18750b
%if %{gcj_support}
Andrew Overholt e8eac40
Requires:	libgcj >= 4.0.2
Andrew Overholt e8eac40
Requires(post):   java-gcj-compat >= 1.0.43
Andrew Overholt e8eac40
Requires(postun): java-gcj-compat >= 1.0.43
Andrew Overholt c18750b
%else
Andrew Overholt c18750b
Requires:	java >= 1.4.2
Andrew Overholt c18750b
%endif
Andrew Overholt c18750b
Andrew Overholt c18750b
%description    rcp
Andrew Overholt c18750b
Eclipse Rich Client Platform
Andrew Overholt c18750b
Andrew Overholt c18750b
%package        rcp-devel
Andrew Overholt c18750b
Summary:        Eclipse RCP Source
Andrew Overholt c18750b
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt c18750b
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt c18750b
Requires:       %{name}-jdt-devel = %{epoch}:%{version}-%{release}
Andrew Overholt c18750b
Andrew Overholt c18750b
%description    rcp-devel
Andrew Overholt c18750b
Source for RCP for use within Eclipse.
Andrew Overholt c18750b
cvsdist df631d8
%prep
cvsdist 3a48756
%setup -q -c
Andrew Overholt 357a573
Ben Konrath f583873
pushd plugins/org.eclipse.platform.doc.isv
Ben Konrath 3ab757b
%patch100 -p0
Ben Konrath 3ab757b
%patch101 -p0 
Ben Konrath f583873
popd 
Ben Konrath f583873
pushd plugins/org.eclipse.platform.doc.user
Ben Konrath 3ab757b
%patch100 -p0
Ben Konrath f583873
popd
Ben Konrath f583873
Andrew Overholt 357a573
# I hate spaces in paths with patch!
Andrew Overholt 357a573
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
cvsdist 38d0d0c
%patch0 -p0
Ben Konrath 02a0b82
%patch52 -p0
cvsdist 38d0d0c
popd
Andrew Overholt 357a573
%patch2 -p0
Andrew Overholt 357a573
%patch4 -p0
Andrew Overholt 357a573
%patch5 -p0
d941e6a
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
Andrew Overholt 066aed0
%patch18 -p0
Andrew Overholt 066aed0
popd
Andrew Overholt 5f25d4d
%patch22 -p0
d941e6a
pushd plugins/org.eclipse.core.runtime
Ben Konrath 2531848
%patch24 -p0
Ben Konrath 2531848
popd
Ben Konrath 2f9a66d
Ben Konrath 2f9a66d
# tomcat patches
Andrew Overholt f335515
pushd plugins/org.eclipse.tomcat
Ben Konrath 02a0b82
#%patch28 -p0
Ben Konrath 02a0b82
#%patch29 -p0
Andrew Overholt b8b5c79
popd
Ben Konrath 02a0b82
#%patch30 -p0
Ben Konrath 02a0b82
#%patch50 -p1
Ben Konrath 02a0b82
#pushd plugins/org.eclipse.help.webapp
Ben Konrath 02a0b82
#%patch31 -p0
Ben Konrath 02a0b82
#popd
Andrew Overholt b8b5c79
pushd plugins/org.eclipse.compare
Ben Konrath 02a0b82
#%patch33 -p0
Ben Konrath 02a0b82
popd
Ben Konrath 02a0b82
pushd plugins/org.eclipse.jdt.core
Ben Konrath 02a0b82
%patch34 -p0
Andrew Overholt b8b5c79
popd
Andrew Overholt 2ea3ea7
%patch38 -p0
Andrew Overholt 2932746
%patch40 -p0
Ben Konrath 02a0b82
#%patch43
Ben Konrath 2f9a66d
%patch45
Andrew Overholt 07b6dd5
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ Mozilla/common/library
Andrew Overholt 07b6dd5
%patch46
Andrew Overholt 07b6dd5
popd
cvsdist 38d0d0c
Andrew Overholt 0700394
# Because the launcher source is zipped up, we need to unzip, patch, and re-pack
Andrew Overholt 0700394
mkdir launchertmp
Ben Konrath 2f9a66d
unzip -qq -d launchertmp plugins/org.eclipse.platform/launchersrc.zip
Andrew Overholt 0700394
pushd launchertmp
Andrew Overholt 8a98f70
%patch47 -p1
Ben Konrath 2f9a66d
zip -q -9 -r ../launchersrc.zip *
Andrew Overholt 0700394
popd
Andrew Overholt 0700394
mv launchersrc.zip plugins/org.eclipse.platform
Andrew Overholt 0700394
rm -rf launchertmp
Andrew Overholt 0700394
Andrew Overholt 0700394
pushd features/org.eclipse.platform.launchers
Andrew Overholt 8a98f70
%patch47 -p1
Andrew Overholt 0700394
popd
Andrew Overholt 832063d
# Link against our system-installed javadocs
Andrew Overholt c0e2828
%patch48 -p0
Ben Konrath 02a0b82
sed --in-place "s:/usr/share/:%{_datadir}/:g"           \
Ben Konrath 02a0b82
	plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt  \
Ben Konrath 02a0b82
	plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
Ben Konrath 02a0b82
	plugins/org.eclipse.pde.doc.user/pdeOptions     \
Ben Konrath 02a0b82
	plugins/org.eclipse.platform.doc.isv/platformOptions.txt 
Andrew Overholt 832063d
%patch49 -p0
Igor Foox b068b04
pwd
Andrew Overholt 0700394
Ben Konrath 02a0b82
pushd plugins/org.eclipse.pde.build
Ben Konrath 02a0b82
%patch53
Ben Konrath 02a0b82
sed --in-place "s:@eclipse_base@:%{_datadir}/%{name}:" templates/package-build/build.properties
Ben Konrath 02a0b82
popd
Ben Konrath 02a0b82
Ben Konrath 02a0b82
pushd plugins/org.eclipse.swt/Eclipse\ SWT
Ben Konrath 02a0b82
%patch54 
Ben Konrath 02a0b82
popd
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%patch55 -p1
Ben Konrath 02a0b82
rm plugins/org.junit4/junit-4.1.jar
Ben Konrath 02a0b82
Ben Konrath 3ab757b
pushd plugins/org.eclipse.platform
Ben Konrath 3ab757b
cp %{SOURCE11} splash.bmp
Ben Konrath 3ab757b
popd
cvsdist 38d0d0c
Ben Konrath 2f9a66d
# FIXME this should be patched upstream with a flag to turn on and off 
Ben Konrath 2f9a66d
# all output should be directed to stdout
Ben Konrath 2f9a66d
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2f9a66d
Andrew Overholt 357a573
# Remove existing .sos
Ben Konrath 02a0b82
find -name \*.so | xargs rm
Andrew Overholt 357a573
Andrew Overholt 357a573
# Symlinks
Andrew Overholt 357a573
Andrew Overholt 357a573
## BEGIN ANT ##
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-antlr.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-antlrsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-bcel.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-bcelsrc.zip
Ben Konrath 6ebb2cd
#rm plugins/org.apache.ant/lib/ant-apache-bsf.jar
Ben Konrath 6ebb2cd
#rm plugins/org.apache.ant/lib/ant-apache-bsfsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-log4jsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-orosrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-regexpsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-apache-resolversrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-commons-logging.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-commons-loggingsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-commons-net.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-commons-netsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-icontract.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-icontractsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jai.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jaisrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/antsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-javamail.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-javamailsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jdepend.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jdependsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jmf.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jmfsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jsch.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-jschsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-junit.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-junitsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-launcher.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-launchersrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-netrexx.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-netrexxsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-nodeps.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-nodepssrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-starteam.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-starteamsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-stylebook.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-stylebooksrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-swing.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-swingsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-trax.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-traxsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-vaj.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-vajsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-weblogic.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-weblogicsrc.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-xalan1.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-xalan1src.zip
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-xslp.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant/lib/ant-xslpsrc.zip
Ben Konrath 02a0b82
# FIXME use build-jar-repository
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant/lib/ant-antlr.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant/lib/ant-apache-bcel.jar
Ben Konrath 6ebb2cd
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant/lib/ant-commons-logging.jar
Andrew Overholt 3a10512
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 02a0b82
# the symlinks that are commented out are not currently shipped on Fedora
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant/lib/ant-commons-net.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant/lib/ant-icontract.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant/lib/ant-jai.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant.jar plugins/org.apache.ant/lib/ant.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant/lib/ant-javamail.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant/lib/ant-jdepend.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant/lib/ant-jmf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant/lib/ant-jsch.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant/lib/ant-junit.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant/lib/ant-launcher.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant/lib/ant-netrexx.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant/lib/ant-nodeps.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant/lib/ant-starteam.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant/lib/ant-stylebook.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant/lib/ant-swing.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant/lib/ant-trax.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant/lib/ant-vaj.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant/lib/ant-weblogic.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant/lib/ant-xalan1.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant/lib/ant-xslp.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt b8b5c79
# BEGIN LUCENE ##
Ben Konrath 02a0b82
rm plugins/org.apache.lucene/lucene-1.4.3.jar
Andrew Overholt 3db7111
# FIXME:  Remove this zip until we have a lucene-devel package containing it.
Andrew Overholt 3db7111
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170343
Ben Konrath 02a0b82
rm plugins/org.apache.lucene/lucene-1.4.3-src.zip
Ben Konrath 02a0b82
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene/lucene-1.4.3.jar
Andrew Overholt b8b5c79
# END LUCENE ##
Ben Konrath 6ebb2cd
Ben Konrath 6ebb2cd
# setup the jsch plugin build
Ben Konrath 3ab757b
rm plugins/org.eclipse.team.cvs.ssh2/com.jcraft.jsch_*.jar
Ben Konrath 6ebb2cd
# FIXME remove version number
Ben Konrath 3ab757b
pushd baseLocation/plugins
Ben Konrath 6ebb2cd
unzip -qq -o -d com.jcraft.jsch_0.1.28.jar-build com.jcraft.jsch_*.jar -x com\*
Ben Konrath 3ab757b
rm com.jcraft.jsch_*.jar
Ben Konrath 3ab757b
popd
Ben Konrath 6ebb2cd
Andrew Overholt f335515
## BEGIN TOMCAT ##
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/commons-beanutils.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/commons-collections.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/commons-digester.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/commons-logging-api.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/commons-modeler.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/servlet.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/servlets-manager.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/naming-common.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/servlets-common.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath 02a0b82
#ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/bootstrap.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat/catalina.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat/catalina-optional.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-beanutils.jar plugins/org.eclipse.tomcat/jakarta-commons-beanutils.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-collections.jar plugins/org.eclipse.tomcat/jakarta-commons-collections.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-dbcp.jar plugins/org.eclipse.tomcat/jakarta-commons-dbcp.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-digester.jar plugins/org.eclipse.tomcat/jakarta-commons-digester.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-digester-rss.jar plugins/org.eclipse.tomcat/jakarta-commons-digester-rss.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-el.jar plugins/org.eclipse.tomcat/jakarta-commons-el.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-fileupload.jar plugins/org.eclipse.tomcat/jakarta-commons-fileupload.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-launcher.jar plugins/org.eclipse.tomcat/jakarta-commons-launcher.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-logging.jar plugins/org.eclipse.tomcat/jakarta-commons-logging.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-modeler.jar plugins/org.eclipse.tomcat/jakarta-commons-modeler.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-pool.jar plugins/org.eclipse.tomcat/jakarta-commons-pool.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jasper5-compiler.jar  plugins/org.eclipse.tomcat/jasper-compiler.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/jasper-runtime.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jspapi.jar plugins/org.eclipse.tomcat/jspapi.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/mx4j.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/mx4j-impl.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/mx4j-jmx.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-common.jar plugins/org.eclipse.tomcat/naming-common.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat/naming-factory.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat/naming-resources.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/regexp.jar plugins/org.eclipse.tomcat/regexp.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/servletapi5.jar plugins/org.eclipse.tomcat/servletapi5.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-common.jar plugins/org.eclipse.tomcat/servlets-common.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat/servlets-default.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat/servlets-invoker.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat/tomcat-coyote.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-http11.jar plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat/tomcat-util.jar
Andrew Overholt f335515
## END TOMCAT ##
Ben Konrath 02a0b82
rm plugins/org.junit/junit.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/junit.jar plugins/org.junit/junit.jar
d941e6a
Andrew Overholt 669d044
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
d941e6a
# /usr/lib -> /usr/lib64
d941e6a
sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh
Andrew Overholt 2932746
sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak
Andrew Overholt 669d044
popd
Ben Konrath 2f9a66d
Ben Konrath 2f9a66d
# FIXME: figure out what's going on with build.index on ppc64 and s390x   
Ben Konrath 2f9a66d
%ifarch ppc64 s390x
Ben Konrath 2f9a66d
  find plugins -name \*.xml -exec sed --in-place "s/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
Ben Konrath 2f9a66d
%endif
Ben Konrath 2f9a66d
Ben Konrath 2f9a66d
# nasty hack to get suppport for pcc64 and s390(x)
Ben Konrath 2f9a66d
# move all of the ia64 directories to ppc64 or s390(x) dirs and replace the ia64 # strings with ppc64 or s390(x)
Ben Konrath 6ebb2cd
%ifarch ppc64 s390 s390x
Ben Konrath 6ebb2cd
  # there is only partial support for ppc64 in 3.2 so we have to remove this 
Ben Konrath 6ebb2cd
  # partial support to get the replacemnt hack to work
Ben Konrath 2f9a66d
  find -name \*ppc64\* | xargs rm -r
Ben Konrath 6ebb2cd
  
Ben Konrath 6ebb2cd
  # remove remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 6ebb2cd
  # replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
Ben Konrath 2f9a66d
  find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \;
Ben Konrath 6ebb2cd
  # remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq
Ben Konrath 2f9a66d
  sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 6ebb2cd
  # replace final occurances with an existing arch
Ben Konrath 2f9a66d
  sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 6ebb2cd
Ben Konrath 6ebb2cd
  # remove remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 2f9a66d
  mv features/org.eclipse.platform.source/feature.xml features/org.eclipse.platform.source/feature.xml.orig
Ben Konrath 2f9a66d
  grep -v ppc64 features/org.eclipse.platform.source/feature.xml.orig > features/org.eclipse.platform.source/feature.xml	
Ben Konrath 6ebb2cd
Ben Konrath 6ebb2cd
  # finally the replacement hack
Ben Konrath 6ebb2cd
  for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do 
Ben Konrath 6ebb2cd
    mv $f $(echo $f | sed "s/ia64/%{_arch}/")
Ben Konrath 6ebb2cd
  done
Ben Konrath 6ebb2cd
  find -type f -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \;
Ben Konrath 6ebb2cd
  find -type f -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \;
Ben Konrath 6ebb2cd
  find -type f -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \;
Ben Konrath 6ebb2cd
%endif 
Andrew Overholt 669d044
Ben Konrath 2f9a66d
Ben Konrath 02a0b82
# make sure there are no jars left
Ben Konrath 6ebb2cd
JARS=""
Ben Konrath 6ebb2cd
for j in $(find -name \*.jar); do
Ben Konrath 6ebb2cd
  if [ ! -L $j ]; then
Ben Konrath 6ebb2cd
    JARS="$JARS $j"
Ben Konrath 6ebb2cd
  fi
Ben Konrath 6ebb2cd
done
Ben Konrath 6ebb2cd
if [ ! -z "$JARS" ]; then
Ben Konrath 6ebb2cd
    echo "These jar should be deleted and syslinked to system jars: $JARS"
Ben Konrath 2f9a66d
   #FIXME: enable  exit 1
Ben Konrath 6ebb2cd
fi
Ben Konrath 02a0b82
Andrew Overholt 29362a4
%build
Andrew Overholt 63a39ce
env
Andrew Overholt 29362a4
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 29362a4
Ben Konrath 6ebb2cd
# finish the jsch plugin build
Ben Konrath 6ebb2cd
#FIXME remove version numbers
Ben Konrath 6ebb2cd
pushd baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
Ben Konrath 6ebb2cd
unzip -qq %{_javadir}/jsch.jar -x META-INF\*
Ben Konrath 6ebb2cd
sed --in-place "s/$(grep Created-By: META-INF/MANIFEST.MF)/Created-By: $(jar -V | head -1)/" META-INF/MANIFEST.MF
Ben Konrath 6ebb2cd
jar -cf ../com.jcraft.jsch_0.1.28.jar *
Ben Konrath 6ebb2cd
popd
Ben Konrath 6ebb2cd
rm -r baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
Ben Konrath f583873
Ben Konrath 02a0b82
# Bootstrapping is 3 parts:
Ben Konrath 02a0b82
# 1. Build ecj with gcj -C -- only necessary until gcjx/ecj lands in gcc
Ben Konrath 02a0b82
# 2. Build ecj with gcj-built ecj ("javac")
Ben Konrath 02a0b82
# 3. Re-build ecj with output of 2.
Ben Konrath 02a0b82
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 7289f98
  # Unzip the "stable compiler" source into a temp dir and build it.
Andrew Overholt 7289f98
  # Note:  we don't want to build the CompilerAdapter.
Andrew Overholt 7289f98
  mkdir ecj-bootstrap-tmp
d941e6a
  unzip -qq -d ecj-bootstrap-tmp jdtcoresrc/src/ecj.zip
Andrew Overholt 7289f98
  rm -f ecj-bootstrap-tmp/org/eclipse/jdt/core/JDTCompilerAdapter.java
Andrew Overholt 7289f98
  
Andrew Overholt 7289f98
  # 1a. Build ecj with gcj -C
Andrew Overholt 7289f98
  pushd ecj-bootstrap-tmp
Andrew Overholt 7289f98
  for f in `find -name '*.java' | cut -c 3-`; do
Andrew Overholt 7289f98
      gcj -Wno-deprecated -C $f
Andrew Overholt 7289f98
  done
Andrew Overholt 7289f98
  find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\
Andrew Overholt 7289f98
      xargs jar cf ../ecj-bootstrap.jar
Andrew Overholt 7289f98
  popd
Andrew Overholt 7289f98
  
d941e6a
  # Delete our modified ecj and restore the backup
Andrew Overholt 7289f98
  rm -rf ecj-bootstrap-tmp
Andrew Overholt 7289f98
  
Andrew Overholt 011d0ec
%if %{native_ecj}
Ben Konrath 02a0b82
    # 1b. Natively-compile it
Ben Konrath 02a0b82
    gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Ben Konrath 02a0b82
      -o ecj-bootstrap.jar.so ecj-bootstrap.jar
Andrew Overholt 5343c52
   
Ben Konrath 02a0b82
    gcj-dbtool -n ecj-bootstrap.db 30000
Ben Konrath 02a0b82
    gcj-dbtool -a ecj-bootstrap.db ecj-bootstrap.jar{,.so}
Andrew Overholt 011d0ec
%endif
Andrew Overholt 70f581f
  
Andrew Overholt 5343c52
  # 2a. Build ecj
Andrew Overholt 7289f98
  export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH
Andrew Overholt 011d0ec
%if %{native_ecj}
Andrew Overholt 5343c52
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db"
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 011d0ec
%endif
Andrew Overholt 29362a4
ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 29362a4
Andrew Overholt 011d0ec
%if %{native_ecj}
Andrew Overholt 5343c52
  # 2b. Natively-compile ecj
Andrew Overholt 5343c52
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c52
    -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
Andrew Overholt 5343c52
   
Andrew Overholt 5343c52
  gcj-dbtool -n jdtcoresrc/ecj.db 30000
Andrew Overholt 5343c52
  gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
Andrew Overholt 3a10512
Andrew Overholt 5343c52
  # Remove our gcj-built ecj
Andrew Overholt 5343c52
  rm ecj-bootstrap.db ecj-bootstrap.jar{,.so}
Andrew Overholt 5343c52
Andrew Overholt 80e172b
  # To enSURE we're not using any pre-compiled ecj on the build system, set this
Andrew Overholt 5343c52
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 29362a4
Andrew Overholt 29362a4
# 3. Use this ecj to rebuild itself
d941e6a
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Andrew Overholt 29362a4
ant -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 29362a4
Andrew Overholt 011d0ec
%if %{native_ecj}
Andrew Overholt 5343c52
  # Natively-compile it
Andrew Overholt 5343c52
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt 5343c52
    -o ecj.jar.so ecj.jar
Andrew Overholt 5343c52
  gcj-dbtool -n ecj.db 30000
Andrew Overholt 5343c52
  gcj-dbtool -a ecj.db ecj.jar{,.so}
Andrew Overholt 5343c52
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
Andrew Overholt 707e455
  
Andrew Overholt 707e455
  # Remove old native bits
Andrew Overholt 5343c52
  rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
Andrew Overholt 7289f98
%endif
Andrew Overholt 29362a4
Andrew Overholt 29362a4
# Build the rest of Eclipse
d941e6a
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 02a0b82
export JAVA_HOME=%{java_home}
Andrew Overholt 357a573
ant \
Andrew Overholt 357a573
  -Dnobootstrap=true \
Andrew Overholt c6ac089
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Andrew Overholt 357a573
  -Dlibsconfig=true
Andrew Overholt 76e1a94
d941e6a
# Hack to get the -debuginfo source code references
d941e6a
# to be pointing to the right place:
d941e6a
# Hardlink all the org.* source we can find
d941e6a
# Presumably, all the zipped source gets unzipped before compilation?
d941e6a
#src_root=$PWD/plugins
d941e6a
#pushd result
d941e6a
#mkdir -p eclipse/org
d941e6a
#collected_src_dir=$PWD/eclipse
d941e6a
#cat >copyallsrc <<-EOF
d941e6a
#	#! /bin/bash -peu
d941e6a
#	cd "\$1"
d941e6a
#	echo "Copying all .java source files from \$1 to $collected_src_dir..."
d941e6a
#	find . -type f -name '*.java' -print0 \
d941e6a
#	| xargs -0 -r cp -l --parents --target-directory=$collected_src_dir/org
d941e6a
#EOF
d941e6a
#chmod u+x copyallsrc
d941e6a
## Special case logic for SWT - only copy linux-gtk source
d941e6a
#find $src_root -type d -a \( -name org.eclipse.swt -prune -o -name org -print0 \) | xargs -l -0 ./copyallsrc
d941e6a
#./copyallsrc $src_root/org.eclipse.swt/Eclipse\ SWT/gtk/org
d941e6a
#popd
d941e6a
Ben Konrath 2f9a66d
# FIXME: document this properly
Ben Konrath 2f9a66d
# re-pack all zips. we need to do this to work around the multilib problem 
Ben Konrath 2f9a66d
for zip in $(find -type f -name \*.zip); do
Ben Konrath 2f9a66d
  mkdir $zip-repack
Ben Konrath 2f9a66d
  pushd $zip-repack
Ben Konrath 2f9a66d
  zipfile=../$(echo $zip | sed "s:./.*/::")
Ben Konrath 2f9a66d
  unzip -qq $zipfile
Ben Konrath 2f9a66d
  rm $zipfile
Ben Konrath 2f9a66d
  find -type f -exec touch --date=1/1/1970 "{}" \; 
Ben Konrath 2f9a66d
  zip -q -X -9 -r $zipfile .
Ben Konrath 2f9a66d
  popd
Ben Konrath 2f9a66d
  rm -r $zip-repack
Ben Konrath 2f9a66d
done
Ben Konrath 2f9a66d
Ben Konrath 2f9a66d
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
cvsdist df631d8
Ben Konrath d7c0cf4
# get swt version
Ben Konrath d7c0cf4
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath d7c0cf4
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath d7c0cf4
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
cvsdist df631d8
Andrew Overholt 357a573
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf \
Andrew Overholt c18750b
  result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
cvsdist df631d8
d941e6a
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt c18750b
Andrew Overholt c18750b
# Extract .so files
Andrew Overholt c18750b
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Andrew Overholt c18750b
java -cp startup.jar org.eclipse.core.launcher.Main -consolelog -application org.eclipse.core.runtime.initializer -fileInitializer %{SOURCE19}
d941e6a
popd
d941e6a
Andrew Overholt 357a573
# Binaries, libraries, and natively-built shared libraries
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
cvsdist df631d8
Andrew Overholt 357a573
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 357a573
Andrew Overholt 357a573
# Eclipse binary
Andrew Overholt 357a573
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse \
Andrew Overholt 357a573
  $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse
cvsdist df631d8
cvsdist 38d0d0c
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 02a0b82
ln -s %{_libdir}/%{name}/eclipse eclipse
cvsdist df631d8
Andrew Overholt c18750b
# Symlink JNI libraries
Andrew Overholt c18750b
for l in `find configuration -name \*.so`; do
Andrew Overholt c18750b
    mv $l $RPM_BUILD_ROOT%{_libdir}/%{name};
Andrew Overholt c18750b
    pushd `dirname $l`;
Ben Konrath 02a0b82
      ln -s %{_libdir}/%{name}/`basename $l`;
Andrew Overholt f2fd8cf
    popd;
Andrew Overholt 475b7e8
    # SWT bundle stuff should go in libswt3-gtk
Andrew Overholt 475b7e8
    # Contents of other bundles should go in eclipse-platform
Ben Konrath d7c0cf4
    if [ "`basename $l`" = "libswt-gtk-$SWT_VERSION.so" ]
Andrew Overholt f2fd8cf
    then
Andrew Overholt f2fd8cf
        pushd `dirname $l`;
Andrew Overholt a79176b
          cd ../..;
Andrew Overholt a79176b
          currentDir=`pwd`;
Andrew Overholt f2fd8cf
          # Add this directory to the files list for libswt
Andrew Overholt a79176b
          # This topmostDirs hack is needed due to differences in directory
Andrew Overholt a79176b
          # layout between the build system and regular machines
Andrew Overholt a79176b
          topmostDirs=`echo $currentDir | gawk -F '/' '{ print $2"-"$3 }'`;
Andrew Overholt a79176b
          if [ "$topmostDirs" = "var-tmp" ]; then
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$5"/"$6"/"$7"/"$8"/"$9"/"$10"/"$11"/"$12 }' > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Andrew Overholt a79176b
          else
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$7"/"$8"/"$9"/"$10"/"$11"/"$12"/"$13"/"$14 }' > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Andrew Overholt a79176b
          fi
Andrew Overholt f2fd8cf
        popd
Ben Konrath 02a0b82
    elif [ "`basename $l`" = "liblocalfile_1_0_0.so" ]; then
Andrew Overholt 9e0469c
        pushd `dirname $l`;
Andrew Overholt a79176b
          cd ../../../../..;
Andrew Overholt a79176b
          currentDir=`pwd`;
Andrew Overholt a79176b
          # Add this directory to the files list for eclipse-platform
Andrew Overholt a79176b
          # This topmostDirs hack is needed due to differences in directory
Andrew Overholt a79176b
          # layout between the build system and regular machines
Andrew Overholt b8b5c79
          topmostDirs=`echo $currentDir | gawk -F '/' '{ print $2"-"$3 }'`;
Andrew Overholt a79176b
          if [ "$topmostDirs" = "var-tmp" ]; then
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$5"/"$6"/"$7"/"$8"/"$9"/"$10"/"$11"/"$12 }' >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt a79176b
          else
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$7"/"$8"/"$9"/"$10"/"$11"/"$12"/"$13"/"$14 }' >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt a79176b
          fi
Andrew Overholt a79176b
        popd
Andrew Overholt a79176b
    elif [ "`basename $l`" = "libupdate.so" ]; then
Andrew Overholt a79176b
        pushd `dirname $l`;
Andrew Overholt a79176b
          cd ../../../../..;
Andrew Overholt a79176b
          currentDir=`pwd`;
Andrew Overholt a79176b
          # Add this directory to the files list for eclipse-platform
Andrew Overholt a79176b
          # This topmostDirs hack is needed due to differences in directory
Andrew Overholt a79176b
          # layout between the build system and regular machines
Andrew Overholt b8b5c79
          topmostDirs=`echo $currentDir | gawk -F '/' '{ print $2"-"$3 }'`;
Andrew Overholt a79176b
          if [ "$topmostDirs" = "var-tmp" ]; then
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$5"/"$6"/"$7"/"$8"/"$9"/"$10"/"$11"/"$12 }' >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt a79176b
          else
Andrew Overholt a79176b
            echo $currentDir | gawk -F '/' '{ print "/"$7"/"$8"/"$9"/"$10"/"$11"/"$12"/"$13"/"$14 }' >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Andrew Overholt a79176b
          fi
Andrew Overholt 9e0469c
        popd
Andrew Overholt f2fd8cf
    fi
Andrew Overholt c18750b
done
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Andrew Overholt 357a573
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
Andrew Overholt 357a573
chmod -R 755 eclipse *.so
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Andrew Overholt c18750b
### begin libswt-gtk2 symlinks
Andrew Overholt c18750b
pushd $RPM_BUILD_ROOT%{_libdir}
Ben Konrath 02a0b82
for base in awt-gtk atk-gtk cairo-gtk mozilla-gtk gnome-gtk gtk pi-gtk glx-gtk; do
Ben Konrath 2f9a66d
  ln -s %{_libdir}/%{name}/libswt-${base}-$SWT_VERSION.so libswt-${base}-$SWT_VERSION.so
Andrew Overholt c18750b
done
Andrew Overholt c18750b
popd
Andrew Overholt 357a573
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
Andrew Overholt 357a573
pushd $RPM_BUILD_ROOT%{_javadir}
Ben Konrath 2f9a66d
ln -s %{_datadir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{eclipse_majmin}.%{eclipse_micro}.v$SWT_VERSION*.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2f9a66d
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
### end libswt-gtk2 symlinks
cvsdist 38d0d0c
Ben Konrath 2f9a66d
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
Ben Konrath 2f9a66d
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
Ben Konrath 2f9a66d
popd
Ben Konrath 2f9a66d
cvsdist 38d0d0c
mkdir -p $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 8a98f70
pushd $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 8a98f70
ln -s %{_datadir}/%{name}/%{name}
Andrew Overholt 8a98f70
popd
cvsdist 38d0d0c
cvsdist 38d0d0c
# Default config
cvsdist 38d0d0c
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
cvsdist 38d0d0c
perl -pe 's|/usr/lib/eclipse/|%{_datadir}/%{name}/|g' \
cvsdist 38d0d0c
  %{SOURCE6} > $RPM_BUILD_ROOT%{_sysconfdir}/eclipse.conf
cvsdist 38d0d0c
cvsdist 38d0d0c
# rh/freedesktop.org icons
cvsdist 38d0d0c
install -p -D -m0644 %{SOURCE5} \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
cvsdist 38d0d0c
install -d -m0755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
cvsdist 38d0d0c
ln -s ../icons/hicolor/48x48/apps/%{name}.png \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/pixmaps
Andrew Overholt 7289f98
install -d -m0755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt 7289f98
ln -s ../../../../%{name}/plugins/org.eclipse.platform_%{eclipse_majmin}.%{eclipse_micro}/eclipse32.gif \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt 7289f98
install -d -m0755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt 7289f98
ln -s ../../../../%{name}/plugins/org.eclipse.platform_%{eclipse_majmin}.%{eclipse_micro}/eclipse.gif \
Andrew Overholt 7289f98
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt 7289f98
# Remove unused icon.xpm
Andrew Overholt 7289f98
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
cvsdist df631d8
Ben Konrath bd6a7ae
# install the efj wrapper script and change the Eclipse installation dir
Ben Konrath bd6a7ae
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath bd6a7ae
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
Ben Konrath bd6a7ae
  $RPM_BUILD_ROOT%{_bindir}/efj 
Ben Konrath bd6a7ae
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
cvsdist 38d0d0c
install -p -D -m0644 %{SOURCE2} \
cvsdist 38d0d0c
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0c
cvsdist 38d0d0c
cat >> $RPM_BUILD_ROOT%{_datadir}/%{name}/.eclipseproduct << EOF
cvsdist 38d0d0c
name=Eclipse Platform
cvsdist 38d0d0c
id=org.eclipse.platform
cvsdist 38d0d0c
version=%{eclipse_majmin}.%{eclipse_micro}
cvsdist 38d0d0c
EOF
cvsdist 38d0d0c
Ben Konrath 02a0b82
%if %{fedora}
Andrew Overholt 1b72b0d
# Put Fedora Core version into about.mappings of org.eclipse.sdk to show it in
Andrew Overholt 1b72b0d
# Eclipse about dialog.  (courtesy Debian Eclipse packagers)
Ben Konrath 02a0b82
# FIXME use the third id
Ben Konrath 02a0b82
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_%{eclipse_majmin}.%{eclipse_micro}.*
Andrew Overholt 1b72b0d
FEDORA_VERSION=`cat /etc/fedora-release`
Andrew Overholt 1b72b0d
sed -e "s/\(0=.*\)/\1 ($FEDORA_VERSION)/" < about.mappings > about.mappings.tmp
Andrew Overholt 1b72b0d
mv about.mappings.tmp about.mappings
Andrew Overholt 1b72b0d
popd
Ben Konrath 02a0b82
%endif
Andrew Overholt 1b72b0d
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt 357a573
cp %{SOURCE16} copy-platform
cvsdist 38d0d0c
(
cvsdist 38d0d0c
  cd $RPM_BUILD_ROOT%{_datadir}/%{name}
cvsdist 38d0d0c
  ls -d * | egrep -v '^(plugins|features)$'
cvsdist 38d0d0c
  ls -d plugins/* features/*
cvsdist 38d0d0c
) |
cvsdist 38d0d0c
sed -e's/^\(.*\)$/\1 \1/' -e's,^,ln -s $eclipse/,' >> copy-platform
cvsdist 38d0d0c
Andrew Overholt 357a573
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
cvsdist 38d0d0c
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath 02a0b82
install -p -D -m755 %{SOURCE21} $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts/rebuild-sdk-features
Ben Konrath 02a0b82
sdk_version=$(basename `find $RPM_BUILD_ROOT%{_datadir}/%{name}/features \
Ben Konrath 02a0b82
  -type d -name \*sdk_%{version}\*` | sed -e 's/org.eclipse.sdk_//')
Ben Konrath 02a0b82
sed --in-place "s:@SDK_VERSION@:$sdk_version:" \
Andrew Overholt 322dc08
  $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts/rebuild-sdk-features 
Andrew Overholt 322dc08
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" \
Andrew Overholt 322dc08
  $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts/rebuild-sdk-features 
Ben Konrath 02a0b82
chmod a+x $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts/rebuild-sdk-features
cvsdist 38d0d0c
Andrew Overholt 357a573
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt 357a573
## BEGIN ANT ##
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-antlr.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-bcel.jar
Ben Konrath 6ebb2cd
#rm plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-commons-logging.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-commons-net.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-icontract.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-jai.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-javamail.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-jdepend.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-jmf.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-jsch.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-junit.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-launcher.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-netrexx.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-nodeps.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-starteam.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-stylebook.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-swing.jar
Ben Konrath 02a0b82
rm plugins/org.apache.ant_*/lib/ant-trax.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-vaj.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-weblogic.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-xalan1.jar
Ben Konrath 02a0b82
#rm plugins/org.apache.ant_*/lib/ant-xslp.jar
Ben Konrath 02a0b82
# FIXME use build-jar-repository
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.6.5/lib/ant-antlr.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bcel.jar
Ben Konrath 6ebb2cd
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bsf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-log4j.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-oro.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-regexp.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-resolver.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-logging.jar
Ben Konrath 02a0b82
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 02a0b82
# the symlinks that are commented out are not currently shipped on Fedora
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-net.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant_1.6.5/lib/ant-icontract.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.6.5/lib/ant-jai.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.6.5/lib/ant.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.6.5/lib/ant-javamail.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.6.5/lib/ant-jdepend.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.6.5/lib/ant-jmf.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.6.5/lib/ant-jsch.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.6.5/lib/ant-junit.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.6.5/lib/ant-netrexx.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.6.5/lib/ant-nodeps.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.6.5/lib/ant-starteam.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.6.5/lib/ant-stylebook.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.6.5/lib/ant-swing.jar
Ben Konrath 02a0b82
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.6.5/lib/ant-trax.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant_1.6.5/lib/ant-vaj.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.6.5/lib/ant-weblogic.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant_1.6.5/lib/ant-xalan1.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant_1.6.5/lib/ant-xslp.jar
Andrew Overholt 357a573
## END ANT ##
Andrew Overholt 70f581f
# BEGIN LUCENE ##
Ben Konrath d7c0cf4
# FIXME: rm -f in ln
Ben Konrath d7c0cf4
#rm plugins/org.apache.lucene_*/lucene-1.4.3.jar
Ben Konrath d7c0cf4
ln -sf %{_javadir}/lucene.jar plugins/org.apache.lucene_*/lucene-1.4.3.jar
Andrew Overholt 70f581f
# END LUCENE ##
Ben Konrath 02a0b82
# FIXME
Ben Konrath 02a0b82
#rm plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar
Andrew Overholt f335515
## BEGIN TOMCAT ##
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/commons-beanutils.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/commons-collections.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/commons-digester.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/commons-logging-api.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/commons-modeler.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/jakarta-regexp-1.3.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/servlet.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/servlets-manager.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/naming-common.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/servlets-common.jar
Ben Konrath 02a0b82
#rm plugins/org.eclipse.tomcat_*/tomcat-http11.jar
Ben Konrath 02a0b82
#ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_*/bootstrap.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat_*/catalina.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat_*/catalina-optional.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-beanutils.jar plugins/org.eclipse.tomcat_*/jakarta-commons-beanutils.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-collections.jar plugins/org.eclipse.tomcat_*/jakarta-commons-collections.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-dbcp.jar plugins/org.eclipse.tomcat_*/jakarta-commons-dbcp.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-digester.jar plugins/org.eclipse.tomcat_*/jakarta-commons-digester.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-digester-rss.jar plugins/org.eclipse.tomcat_*/jakarta-commons-digester-rss.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-el.jar plugins/org.eclipse.tomcat_*/jakarta-commons-el.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-fileupload.jar plugins/org.eclipse.tomcat_*/jakarta-commons-fileupload.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-launcher.jar plugins/org.eclipse.tomcat_*/jakarta-commons-launcher.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-logging.jar plugins/org.eclipse.tomcat_*/jakarta-commons-logging.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-modeler.jar plugins/org.eclipse.tomcat_*/jakarta-commons-modeler.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jakarta-commons-pool.jar plugins/org.eclipse.tomcat_*/jakarta-commons-pool.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jasper5-compiler.jar  plugins/org.eclipse.tomcat_*/jasper-compiler.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_*/jasper-runtime.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/jspapi.jar plugins/org.eclipse.tomcat_*/jspapi.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_*/mx4j.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_*/mx4j-impl.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_*/mx4j-jmx.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-common.jar plugins/org.eclipse.tomcat_*/naming-common.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat_*/naming-factory.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat_*/naming-resources.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/regexp.jar plugins/org.eclipse.tomcat_*/regexp.jar
Ben Konrath 02a0b82
#ln -s %{_javadir}/servletapi5.jar plugins/org.eclipse.tomcat_*/servletapi5.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-common.jar plugins/org.eclipse.tomcat_*/servlets-common.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat_*/servlets-default.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat_*/servlets-invoker.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat_*/tomcat-coyote.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-http11.jar plugins/org.eclipse.tomcat_*/tomcat-http11.jar
Ben Konrath 02a0b82
#ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat_*/tomcat-util.jar
Andrew Overholt f335515
## END TOMCAT ##
Ben Konrath d7c0cf4
# FIXME rm -f in ln
Ben Konrath d7c0cf4
#rm plugins/org.junit_*/junit.jar
Ben Konrath d7c0cf4
ln -sf %{_javadir}/junit.jar plugins/org.junit_*/junit.jar
Andrew Overholt 357a573
Andrew Overholt b6db7d1
# Symlink org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}.jar in
Andrew Overholt f335515
# %{_datadir}/java/eclipse-ecj.jar for java-1.4.2-gcj-compat's "javac"
Andrew Overholt 29362a4
mkdir -p $RPM_BUILD_ROOT%{_datadir}/java
Andrew Overholt 3b7f759
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_%{eclipse_majmin}.%{eclipse_micro}*.jar \
Andrew Overholt b6db7d1
  $RPM_BUILD_ROOT%{_datadir}/java/eclipse-ecj.jar
Ben Konrath 02a0b82
ln -s %{_datadir}/java/eclipse-ecj.jar \
Ben Konrath 02a0b82
  $RPM_BUILD_ROOT%{_datadir}/java/jdtcore.jar
Andrew Overholt 4aa52c0
Andrew Overholt 0347458
# FIXME:  due to aot-compile-rpm smarts, the required resource bundles aren't
Andrew Overholt 0347458
# being compiled so this truly native ecj binary isn't possible
Andrew Overholt 0347458
#%if %{native_ecj}
Andrew Overholt 0347458
# # Build and install ecj binary
Andrew Overholt 0347458
# pushd $RPM_BUILD_ROOT%{_libdir}/gcj/%{name}
Andrew Overholt 0347458
#   gcj -g -O2 --main=org.eclipse.jdt.internal.compiler.batch.Main \
Andrew Overholt 0347458
#     -Wl,-R,%{_libdir}/gcj/%{name} \
Andrew Overholt 0347458
#     org.eclipse.jdt.core_3.1.2.jar.so -o \
Andrew Overholt 0347458
#     $RPM_BUILD_ROOT%{_bindir}/ecj
Andrew Overholt 0347458
# popd
Andrew Overholt 0347458
# chmod a+x $RPM_BUILD_ROOT%{_bindir}/ecj
Andrew Overholt 0347458
#%else
Andrew Overholt 0347458
# Install /usr/bin/ecj script
Andrew Overholt 0347458
sed 's:@JAVADIR@:%{_javadir}:g' < %{SOURCE20} > ecj
Andrew Overholt 0347458
install -m755 ecj $RPM_BUILD_ROOT%{_bindir}
Andrew Overholt 0347458
rm ecj
Ben Konrath 02a0b82
# Remove log file(s) we don't want to ship
Ben Konrath 02a0b82
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration
Ben Konrath 02a0b82
rm *.log
Ben Konrath 02a0b82
popd
Andrew Overholt 011d0ec
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 3ab757b
%ifarch ia64
Ben Konrath 3ab757b
# FIXME: auto get version number; tweak aot-compile-rpm to fix this
Ben Konrath ee3072a
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_3.2.0.I200606011710.jar
Ben Konrath 3ab757b
%else
Ben Konrath 02a0b82
aot-compile-rpm
Andrew Overholt 5f25d4d
%endif
Ben Konrath 3ab757b
%endif
Andrew Overholt 4aa52c0
Andrew Overholt 357a573
%clean
Andrew Overholt 357a573
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 4aa52c0
Andrew Overholt 76e1a94
%post ecj
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Andrew Overholt 76e1a94
Andrew Overholt 76e1a94
%post jdt
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 322dc08
Andrew Overholt 322dc08
%post jdt-devel
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 76e1a94
Andrew Overholt 76e1a94
%post pde
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 322dc08
Ben Konrath 02a0b82
%post pde-runtime
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 02a0b82
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Ben Konrath 02a0b82
Andrew Overholt 322dc08
%post pde-devel
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 4aa52c0
Andrew Overholt c18750b
%post rcp
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Andrew Overholt c18750b
Andrew Overholt 322dc08
%post rcp-devel
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 322dc08
Andrew Overholt 5f25d4d
%post -n %{libname}-gtk2
Ben Konrath 02a0b82
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 5f25d4d
Andrew Overholt 76e1a94
%post platform
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
cvsdist 38d0d0c
Andrew Overholt 322dc08
%post platform-devel
Andrew Overholt 322dc08
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 322dc08
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 322dc08
fi
Andrew Overholt 322dc08
Andrew Overholt 75af349
%postun ecj
Andrew Overholt 00fc6fa
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 00fc6fa
%endif
Andrew Overholt 75af349
Andrew Overholt 75af349
%postun jdt
Andrew Overholt 00fc6fa
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 00fc6fa
%endif
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt 00fc6fa
Andrew Overholt 00fc6fa
%postun jdt-devel
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt 75af349
Andrew Overholt 75af349
%postun pde
Andrew Overholt 00fc6fa
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 00fc6fa
%endif
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt 00fc6fa
Ben Konrath 02a0b82
%postun pde-runtime
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 02a0b82
%{_bindir}/rebuild-gcj-db
Ben Konrath 02a0b82
%endif
Ben Konrath 02a0b82
Andrew Overholt 00fc6fa
%postun pde-devel
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt 75af349
Andrew Overholt c18750b
%postun rcp
Andrew Overholt 00fc6fa
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 00fc6fa
%endif
Andrew Overholt 00fc6fa
Andrew Overholt 00fc6fa
%postun rcp-devel
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt c18750b
Andrew Overholt 5f25d4d
%postun -n %{libname}-gtk2
Andrew Overholt 00fc6fa
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 5f25d4d
%endif
Andrew Overholt 5f25d4d
Andrew Overholt 75af349
%postun platform
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 8fdd632
%{_bindir}/rebuild-gcj-db
Andrew Overholt 5f25d4d
%endif
d0643db
touch --no-create %{_datadir}/icons/hicolor
0fc7960
if [ -x /usr/bin/gtk-update-icon-cache ]; then
341fe9a
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
d0643db
fi
Andrew Overholt 75af349
Andrew Overholt 00fc6fa
%postun platform-devel
Andrew Overholt 00fc6fa
if [ -x %{_datadir}/%{name}/buildscripts/rebuild-sdk-features ]; then
Andrew Overholt 00fc6fa
  %{_datadir}/%{name}/buildscripts/rebuild-sdk-features > /dev/null
Andrew Overholt 00fc6fa
fi
Andrew Overholt 00fc6fa
Andrew Overholt 4aa52c0
%files ecj
Ben Konrath 02a0b82
%defattr(-,root,root)
Andrew Overholt 4aa52c0
%dir %{_datadir}/%{name}
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/plugins
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/features
Andrew Overholt a79176b
%dir %{_datadir}/%{name}/configuration
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 02a0b82
%{_javadir}/eclipse-ecj.jar
Ben Konrath 02a0b82
%{_javadir}/jdtcore.jar
Ben Konrath 02a0b82
%{_bindir}/ecj
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 76e1a94
# Native bits
Andrew Overholt 8fdd632
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Andrew Overholt 29362a4
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.swt*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/plugins
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/features
Andrew Overholt 7289f98
%dir %{_datadir}/%{name}/configuration
Andrew Overholt 7a85de2
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi
Andrew Overholt 7a85de2
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi/bundles
Andrew Overholt f2fd8cf
# %{_datadir}/%{name}/configuration/org.eclipse.osgi/bundles/%{swt_bundle_id} is
Andrew Overholt f2fd8cf
# in libswt3-gtk2.install
Andrew Overholt c18750b
%{_libdir}/%{name}/libswt-*.so
Andrew Overholt c18750b
%{_libdir}/libswt-*.so
Andrew Overholt 357a573
%{_javadir}/swt-gtk*.jar
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 75af349
# Native bits
Andrew Overholt 8fdd632
%dir %{_libdir}/gcj/%{name}
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Ben Konrath 02a0b82
%files jdt
Ben Konrath 02a0b82
%defattr(-,root,root)
Andrew Overholt 7289f98
%{_bindir}/efj
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.junit_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.jdt_*
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 76e1a94
# Native bits
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/junitruntime.jar.*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/junitsupport.jar.*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/jdimodel.jar.*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/jdi.jar.*
Andrew Overholt 5f25d4d
%endif
cvsdist 38d0d0c
Andrew Overholt 357a573
%files jdt-devel
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%files pde
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 2f9a66d
%{_datadir}/%{name}/plugins/org.eclipse.pde.build*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.pde_*
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 76e1a94
# Native bits
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/pdebuild.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
Ben Konrath 02a0b82
%endif
Ben Konrath 02a0b82
Ben Konrath 02a0b82
%files pde-runtime
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
Andrew Overholt 5f25d4d
%endif
cvsdist df631d8
Andrew Overholt 357a573
%files pde-devel
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
Andrew Overholt 357a573
Andrew Overholt c18750b
%files rcp
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.rcp_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 02a0b82
%if %{gcj_support}
Ben Konrath 02a0b82
# Native bits
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
Ben Konrath 02a0b82
%endif
Andrew Overholt c18750b
Andrew Overholt c18750b
%files rcp-devel
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/com.ibm.icu.source_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
Andrew Overholt c18750b
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source.linux*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
Andrew Overholt c18750b
Andrew Overholt 76e1a94
%files platform -f %{name}-platform.install
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/eclipse.ini
Ben Konrath 02a0b82
%{_datadir}/%{name}/epl-v10.html
Ben Konrath 02a0b82
%{_datadir}/%{name}/notice.html
Ben Konrath 02a0b82
%{_datadir}/%{name}/readme
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.apache.ant_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.apache.lucene_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath b276f36
%ifarch %{ix86} x86_64
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem.linux*
Ben Konrath f0960c8
%endif
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.help_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.search_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.text_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations*_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/com.ibm.icu_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.platform_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.sdk_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
Andrew Overholt ca5ed57
%ifarch %{ix86} x86_64
Andrew Overholt c441ee6
%{_datadir}/%{name}/about.html
Ben Konrath f84328b
%endif
Ben Konrath f84328b
%ifarch x86_64
Andrew Overholt c441ee6
%{_datadir}/%{name}/about_files
Andrew Overholt c441ee6
%endif
Andrew Overholt 76e1a94
%{_datadir}/%{name}/.eclipseproduct
Andrew Overholt 76e1a94
%{_datadir}/%{name}/startup.jar
Andrew Overholt 7289f98
%{_datadir}/%{name}/buildscripts
Andrew Overholt 7289f98
%{_libdir}/%{name}/eclipse
Andrew Overholt c18750b
%{_libdir}/%{name}/libupdate*
Ben Konrath b276f36
%ifarch %{ix86} x86_64
Ben Konrath 02a0b82
%{_libdir}/%{name}/liblocalfile*
Ben Konrath f0960c8
%endif
Andrew Overholt 475b7e8
# This is all from our FileInitializer extraction of .sos
Andrew Overholt 475b7e8
# all extracted bundles other than SWT will be in eclipse-platform.install
Andrew Overholt 9e0469c
%dir %{_datadir}/%{name}/configuration
Andrew Overholt 7a85de2
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi
Andrew Overholt 7a85de2
%dir %{_datadir}/%{name}/configuration/org.eclipse.osgi/bundles
Andrew Overholt 475b7e8
%{_datadir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Andrew Overholt 475b7e8
%{_datadir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Andrew Overholt 475b7e8
%{_datadir}/%{name}/configuration/org.eclipse.osgi/.manager
Andrew Overholt 475b7e8
%{_datadir}/%{name}/configuration/org.eclipse.osgi/.state*
Andrew Overholt 9e0469c
%{_datadir}/%{name}/configuration/config.ini
Andrew Overholt 9e0469c
%{_datadir}/%{name}/configuration/org.eclipse.core.runtime
Andrew Overholt 9e0469c
%{_datadir}/%{name}/configuration/org.eclipse.update
Andrew Overholt 76e1a94
%{_datadir}/%{name}/eclipse
Ben Konrath 02a0b82
%attr(0755,root,root) %{_bindir}/eclipse
Andrew Overholt 76e1a94
%{_datadir}/applications/*
Andrew Overholt 76e1a94
%{_datadir}/pixmaps/*
Andrew Overholt 76e1a94
%{_datadir}/icons/*/*/apps/*
Andrew Overholt 357a573
%config(noreplace) %{_sysconfdir}/eclipse.conf
Andrew Overholt 5f25d4d
%if %{gcj_support}
Andrew Overholt 76e1a94
# Native bits
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/startup.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/com.jcraft.jsch_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.help_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/servlets.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/webapp.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/tomcatwrapper.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/universal.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.ide_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/compatibility.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/platform.jar*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
Ben Konrath f0960c8
# FIXME: work around aot-compile-rpm problem
Ben Konrath f0960c8
%ifnarch ia64
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
Ben Konrath f0960c8
%endif
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.search_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/org.eclipse.text_*
Ben Konrath 02a0b82
%{_libdir}/gcj/%{name}/com.ibm.icu_*
Ben Konrath d7c0cf4
# FIXME: take this out when the tomcat patch is updated
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/ant-apache-bsf.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/bootstrap.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/catalina.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/commons-beanutils.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/commons-collections.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/commons-digester.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/commons-logging-api.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/commons-modeler.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/jakarta-regexp-1.3.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/jasper-compiler.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/jasper-runtime.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/jsp.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/mx4j-jmx.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/naming-common.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/naming-factory.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/naming-resources.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/parser.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/servlet.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/servlets-common.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/servlets-default.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/servlets-invoker.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/servlets-manager.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/tomcat-coyote.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/tomcat-http11.jar*
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/tomcat-util.jar*
Andrew Overholt 5f25d4d
%endif
Andrew Overholt a1ea6b3
Andrew Overholt 357a573
%files platform-devel
Ben Konrath 02a0b82
%defattr(-,root,root)
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.platform.source_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
Ben Konrath 02a0b82
%{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*
Ben Konrath 2f9a66d
%if %{gcj_support}
Ben Konrath 2f9a66d
# Native bits 
Ben Konrath 2f9a66d
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
Ben Konrath 2f9a66d
%endif
Andrew Overholt 4aa52c0
Andrew Overholt 357a573
%changelog
Ben Konrath 6ebb2cd
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2f9a66d
- Enable ppc64, s390 and s390x.
Ben Konrath 2f9a66d
- Add check for jars at the end of prep.
Ben Konrath 2f9a66d
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2f9a66d
- Fix swt symlinks rh #194500.
Ben Konrath 2f9a66d
- Add versionless pde.build symlink.
Ben Konrath 2f9a66d
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2f9a66d
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2f9a66d
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 6ebb2cd
Andrew Overholt 3b7f759
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3b7f759
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3b7f759
Ben Konrath 3ab757b
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 3ab757b
- 3.2RC7.
Ben Konrath 3ab757b
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Ben Konrath 3ab757b
  jsch.jar. 
Ben Konrath 3ab757b
- Work around ia64 compile problem in aot-compile-rpm. 
Ben Konrath 3ab757b
Ben Konrath 02a0b82
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 02a0b82
- 3.2RC6.
Ben Konrath 02a0b82
Ben Konrath 02a0b82
* Tue May 30 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_15fc
Ben Konrath 02a0b82
- Add pde.build-add-package-build.patch to add generic releng scripts.
Ben Konrath 02a0b82
- Move doc.isv plugins to devel packages and require java-javadoc on devel
Ben Konrath 02a0b82
  packages.
Ben Konrath 02a0b82
- Add pde-runtime subpackage - needed for PHPeclipse package.
Ben Konrath 02a0b82
- Update libswt mozilla patch for mozilla 1.7.13.
Ben Konrath 02a0b82
- Add swt patch to fix rh#191536, e.o#98371.
Ben Konrath 02a0b82
Andrew Overholt 9771134
* Mon May 15 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_14fc
Andrew Overholt 9771134
- Bump mozilla requirement to match rawhide.
Andrew Overholt 9771134
Andrew Overholt bac61fd
* Tue Mar 07 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_13fc
Andrew Overholt bac61fd
- One more small help fix (include tomcatwrapper.jar o.e.tomcat manifest).
Andrew Overholt bac61fd
Andrew Overholt 011d0ec
* Fri Mar 03 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_12fc
Andrew Overholt 011d0ec
- Only build with a native ecj on x86{,_64}
Andrew Overholt 011d0ec
Andrew Overholt a8d726d
* Tue Feb 28 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_12fc
Andrew Overholt 5a259a5
- Update to tomcat 5.5 (e.o#98371).
Andrew Overholt 743b0ab
- Don't build on ppc64 until we get the tomcat situation straightened out.
Andrew Overholt 5a259a5
Igor Foox b068b04
* Fri Feb 17 2006 Igor Foox <ifoox@redhat.com> - 1:3.1.2-1jpp_10fc
Igor Foox b068b04
- Added patch for ppc64.
Igor Foox b068b04
Igor Foox e51753a
* Fri Feb 17 2006 Igor Foox <ifoox@redhat.com> - 1:3.1.2-1jpp_9fc
Igor Foox e51753a
- Try build on ppc64.
Igor Foox e51753a
Andrew Overholt 50cecb1
* Fri Feb 17 2006 Andrew Overholt <overholt@redhat.com> - 1:3.1.2-1jpp_8fc
Andrew Overholt 50cecb1
- Try build on ppc64 (rh#172172, rh#181846).
Andrew Overholt 50cecb1
34fac49
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.1.2-1jpp_7fc
34fac49
- bump again for double-long bug on ppc(64)
34fac49
Ben Konrath 9cf1fcb
* Fri Feb 10 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_6fc
Andrew Overholt 3a10512
- Update the rebuild-sdk-features script to use the 3.1 updatesite (rh#180387, rh#180768).
Ben Konrath 672b07f
- Make platform/feature.xml reference the tomcat5 plugin.
Ben Konrath 9cf1fcb
Andrew Overholt 832063d
* Tue Feb 07 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_5fc
Andrew Overholt 832063d
- Use new java-1.4.2-gcj-compat-javadoc package.
Andrew Overholt 832063d
- Always generate debug info when building RPMs (Andrew Haley).
Andrew Overholt 0663181
- Slightly modify swt-gtk symlinks (rh#180000).
Andrew Overholt 832063d
Andrew Overholt 2932746
* Mon Feb 06 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_4fc
Andrew Overholt 2932746
- Add an swt-gtk.jar and fix symlink to point to correct jar (rh#180000).
Andrew Overholt 2932746
- Link against generic libjawt.so (rh#158755).
Andrew Overholt 2932746
- Re-add patch to use built launcher.
Andrew Overholt 2932746
Ben Konrath a75020c
* Sat Feb 4 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_3fc
Ben Konrath a75020c
- Update efj patches to match what has been committed to HEAD.
Ben Konrath a75020c
Andrew Overholt aaa1359
* Fri Feb 3 2006 Igor Foox <ifoox@redhat.com> 3.1.2-1jpp_2fc
Igor Foox c0ff652
- Updated launcher script.
Igor Foox c0ff652
Andrew Overholt 8291bcf
* Tue Jan 31 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_1fc
Andrew Overholt 8291bcf
- 3.1.2.
Andrew Overholt 8291bcf
- Remove unnecessary patches.
Andrew Overholt 8291bcf
e416a0a
* Tue Jan 31 2006 Karsten Hopp <karsten@redhat.de>
e416a0a
- BuildRequire: unzip
e416a0a
Andrew Overholt 395e964
* Wed Jan 25 2006 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_16fc
Andrew Overholt 395e964
- Rebuild against latest gcc to see if this fixes rh#178156.
Andrew Overholt 395e964
Andrew Overholt 5703812
* Wed Jan 04 2006 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_15fc
Andrew Overholt 5343c52
- Update s390{,x} patches.
Andrew Overholt 5343c52
- Use natively-compiled ecj during build.
Andrew Overholt 7c5eb40
- Attempt build on ia64.
Andrew Overholt ca5ed57
- Change about_files to be i386 and x86_64 only (will patch file upstream).
Andrew Overholt 5343c52
Andrew Overholt df57e66
* Fri Dec 23 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_14fc
Andrew Overholt df57e66
- Rebuild again.
Andrew Overholt df57e66
Andrew Overholt 0214cb7
* Wed Dec 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_13fc
Andrew Overholt 0214cb7
- Rebuild with new gcc (gcc#25121).
Andrew Overholt 0214cb7
Andrew Overholt 93762b3
* Mon Dec 19 2005 Igor Foox <ifoox@redhat.com> 3.1.1-1jpp_12fc
Andrew Overholt 93762b3
- New version of launcher path (rh#175454).
Andrew Overholt 93762b3
Andrew Overholt 00d1a07
* Mon Dec 19 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_11fc
Andrew Overholt 00d1a07
- Update patch for offline javadoc linking.
Andrew Overholt efdb727
- Rebuild with new gjdoc (rh#161147).
Andrew Overholt 00d1a07
Andrew Overholt c0e2828
* Tue Dec 13 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt c0e2828
- Add patch for offline javadoc building/linking.
Andrew Overholt c0e2828
Andrew Overholt d922583
* Mon Dec 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt f1bc572
- Use ecj from 3.1.1 (rh#175380).
Andrew Overholt f1bc572
- Remove ecj options patch as it is in ecj from 3.1.1.
Andrew Overholt f1bc572
- New version of launcher patch (rh#175454) - ifoox.
Andrew Overholt f1bc572
Andrew Overholt b667c89
* Sun Dec 11 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt b667c89
- Build with gcc 4.1.
Andrew Overholt b667c89
Ben Konrath 94efe1b
* Fri Dec 09 2005 Ben Konrath <bkonrath@redhat.com> 3.1.1-1jpp_10fc
Ben Konrath 94efe1b
- update updatehomedir-core.patch to remove unused code
Ben Konrath 94efe1b
Andrew Overholt 8a98f70
* Wed Dec 07 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_9fc
Andrew Overholt 8a98f70
- Add patch for launcher following symlinks (rh#168726, e.o#79592) - ifoox.
Andrew Overholt 8a98f70
- Remove launcher script.
Andrew Overholt 8a98f70
Andrew Overholt 322dc08
* Mon Dec 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_8fc
Andrew Overholt 322dc08
- Add eclipse-rcp-devel as a requirement of eclipse-platform-devel
Andrew Overholt 322dc08
  (rh#161267).
Andrew Overholt 322dc08
- Updated splash screen (thanks to Diana Fong) (rh#170580).
Andrew Overholt 322dc08
- Include and use rebuild-sdk-features (rh#173589).
Andrew Overholt 322dc08
Andrew Overholt 322dc08
* Fri Dec 02 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_8fc
Andrew Overholt 322dc08
- Update EFJ patch (e.o#75333).
Andrew Overholt 322dc08
- Update update-site-in-home-dir patch (e.o#90630) - bkonrath.
Andrew Overholt 322dc08
Andrew Overholt 32e1a8e
* Tue Nov 15 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_7fc
Andrew Overholt 32e1a8e
- Disable ia64 and ppc64 for now (these seem to be upstream issues).
Andrew Overholt d3b9283
Andrew Overholt cca342a
* Thu Nov 10 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_7fc
Andrew Overholt cca342a
- Build on ppc64 and ia64.
Andrew Overholt 07b6dd5
- Add patch for mozilla code with gcc 4:
Andrew Overholt 07b6dd5
http://debian-ppc64.alioth.debian.org/gcc4/patches-old/swt-gtk_3.1-1.0.0.1.gcc4.patch
Andrew Overholt cca342a
Andrew Overholt 1b72b0d
* Fri Nov 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_6fc
Andrew Overholt 1b72b0d
- Patch org.eclipse.help.webapp jasper classpath.
Andrew Overholt 1b72b0d
Andrew Overholt 1b72b0d
* Thu Nov 03 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_5fc
Andrew Overholt 1b72b0d
- Import work done by Debian Eclipse packagers:
Andrew Overholt 1b72b0d
  - Add Fedora version in Eclipse about dialog.
Andrew Overholt 1b72b0d
  - Update eclipse-javadoc.patch to match Debian's disable-filelog patch.
Andrew Overholt 1b72b0d
  - Remove buildDoc patches and add helpindexbuilder patch (e.o#114001).
Andrew Overholt 1b72b0d
  - Add patches to build Cairo SWT bindings.
Andrew Overholt 1b72b0d
Andrew Overholt 79dab85
* Tue Nov 01 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt 79dab85
- Temporarily exclude ia64 and ppc64 (rh#172174).
Andrew Overholt 79dab85
Andrew Overholt 6c22b1e
* Mon Oct 31 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt 6c22b1e
- Bump mozilla requirement.
Andrew Overholt 6c22b1e
- Use libXtst-devel instead of xorg-x11-devel.
Andrew Overholt 6c22b1e
Andrew Overholt 0700394
* Thu Oct 27 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt 0700394
- Really fix browser issue on x86_64 (rh#168040).
Andrew Overholt 0700394
- Attempt to build on ia64 and ppc64 (include swt-mozilla on the latter).
Andrew Overholt 376a964
- Add BuildRequires for libgnome{,ui}-devel (rh#171532).
Andrew Overholt 0700394
Andrew Overholt 3f309e0
* Tue Oct 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_3fc
Andrew Overholt 3f309e0
- Make non-gcj builds not noarch (rh#171711).
Andrew Overholt 3f309e0
Andrew Overholt 821c644
* Wed Oct 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_2fc
Andrew Overholt 821c644
- Add JavaModelCache overflow patch (e.o#111299).
Andrew Overholt 821c644
Andrew Overholt 2ea3ea7
* Tue Oct 11 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_1fc
Andrew Overholt 2ea3ea7
- 3.1.1.
Andrew Overholt 2ea3ea7
- Patch around gij failing for the doc plug-in generation.
Andrew Overholt 2ea3ea7
- Make /usr/bin/ecj a script (allows all jvms to call it).
Andrew Overholt 2ea3ea7
Andrew Overholt 707e455
* Sat Oct 08 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-15
Andrew Overholt 707e455
- Bump mozilla requirement.
Andrew Overholt 707e455
- Re-enable org.eclipse.ui.forms_3.1.0.jar.so, org.eclipse.osgi_3.1.0.jar.so,
Andrew Overholt 707e455
  and org.eclipse.ui.workbench_3.1.0.jar.so (rh#146463, rh#158137, rh#151919)
Andrew Overholt 707e455
- Add patch for /etc/gre64.conf (for 64-bit systems, rh#168040, e.o#109253).
Andrew Overholt 29489a0
- Remove MOZILLA_FIVE_HOME magic from eclipse.script.
Andrew Overholt e8eac40
- Remove jdtCompilerAdapter.jar due to aot-compile-rpm smarts.
Andrew Overholt e8eac40
- Bump gcc and java-gcj-compat requirements.
Andrew Overholt 3db7111
- Remove lucene-1.4.3-src.zip (rh#170343).
Andrew Overholt 29489a0
Andrew Overholt 18778b9
* Wed Aug 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-14
Andrew Overholt 18778b9
- /usr/lib -> %{_libdir} in eclipse.script (rh#159031).
Andrew Overholt 18778b9
Andrew Overholt 80e172b
* Tue Aug 23 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-13
Andrew Overholt 80e172b
- Bump mozilla requirement.
Andrew Overholt 80e172b
gbenson d8a9577
* Thu Jul 28 2005 Gary Benson <gbenson@redhat.com> 3.1.0_fc-12
gbenson 12aa2a8
- Allow leading separators in classpaths (e.o#105430).
gbenson 12aa2a8
- Clear away ant-jmf entirely.
gbenson 12aa2a8
gbenson d8a9577
* Wed Jul 27 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-11
gbenson d8a9577
- Bump release for FC4 update.
gbenson d8a9577
Andrew Overholt c013fd5
* Mon Jul 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-10
Andrew Overholt 9fa7582
- Change mozilla BuildRequirement to be equals and not greater-than or equals
Andrew Overholt 9fa7582
  since we need the exact version for our patches.
Andrew Overholt 9fa7582
- Bump mozilla requirements and patches to 1.7.10.
Andrew Overholt c013fd5
- Bump release due to FC4 update still not being released.
Andrew Overholt 1448ec0
- Add ant-jmf to exclude list.
Andrew Overholt 9fa7582
Andrew Overholt 1cc05a0
* Tue Jul 19 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-7
Andrew Overholt 1cc05a0
- Remove ant-jmf symlinking and requirement.
Andrew Overholt 1cc05a0
- Update to use java-gcj-compat and not java-1.4.2-gcj-compat.
Andrew Overholt 1cc05a0
Andrew Overholt 293a395
* Tue Jul 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-6
Andrew Overholt 293a395
- Bump release to build against new gcc.
Andrew Overholt 293a395
- Bump gcc requirement to gcc 4.0.1.
Andrew Overholt e7bc735
- Add back BuildArch until we get bootstrapping sorted out.
Andrew Overholt 8fdd632
- Bump required version of java-gcj-compat to the latest (-40jpp_37rh).
Andrew Overholt 8fdd632
- Remove lots of jiggery-pokery with native compilation and use gbenson's new
Andrew Overholt 8fdd632
  aot-compile.
Andrew Overholt 8fdd632
- Re-work files sections appropriately.
Andrew Overholt 8fdd632
- Change mozilla-nspr-devel -> nspr-devel due to change in mozilla packaging.
Andrew Overholt 8fdd632
- Update patch for mozilla build as per above.
Andrew Overholt 1c5760a
- Add org.eclipse.osgi_3.1.0.jar to exclude.
Andrew Overholt 293a395
Andrew Overholt f05b563
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-5
Andrew Overholt f05b563
- Revert ecj_bootstrap patch since it won't work.
Andrew Overholt f05b563
- Keep mozilla requirement off ppc64.
Andrew Overholt f05b563
- Add ant-apache-bsf requirement since we have that in FC5.
Andrew Overholt f05b563
Andrew Overholt b703f6f
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-4
Andrew Overholt b703f6f
- Add ecj_bootstrap patch from Gary Benson to bootstrap new architectures.
Andrew Overholt f93b50b
- Remove ExclusiveArch.
Andrew Overholt b703f6f
Andrew Overholt c9c88df
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-3
Andrew Overholt c9c88df
- Bump release for FC4 update.
Andrew Overholt c9c88df
Andrew Overholt 70f581f
* Mon Jul 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-2
Andrew Overholt 70f581f
- Remove remaining pre-built ant jars (but don't symlink to ant.jar until we
Andrew Overholt 70f581f
  have ant 1.6.5 - rh#162444).
Andrew Overholt c9c88df
- Bump requirement on gcc to get fixes for rh#158614 and gcc#21637.
Andrew Overholt 70f581f
- Add patch to not try to link to external javadocs and include the javadoc
Andrew Overholt 70f581f
  output in the build output.
Andrew Overholt 70f581f
- Add build and runtime requirement on ant-javamail (I'm not sure how we missed
Andrew Overholt 70f581f
  this previously).
Andrew Overholt 70f581f
gbenson 892abe8
* Mon Jul  4 2005 Gary Benson <gbenson@redhat.com> 3.1.0_fc-2
gbenson 892abe8
- Disable classpath access rules introduced in e.o#92398 (rh#162177).
gbenson 892abe8
Andrew Overholt ec5788c
* Tue Jun 28 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-1
Andrew Overholt ec5788c
- Import 3.1.
Andrew Overholt ec5788c
- Update splash screen.
Andrew Overholt ec5788c
Andrew Overholt b8b5c79
* Sun Jun 26 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC4.1
Andrew Overholt b8b5c79
- Import 3.1 RC4.
Andrew Overholt b8b5c79
- Remove activeHelpSample.jar building patch as it's now fixed upstream.
Andrew Overholt b8b5c79
- Add patch to remove references to cairo since we don't have it in FC4.
Andrew Overholt c441ee6
- Add about.html and about_files to eclipse-platform.install (x86 & x86_64).
Andrew Overholt b8b5c79
- Add patch to create public compare API (jpound - e.o#98707).
Andrew Overholt b8b5c79
- Add patch from Robin Green to not look for firefox libxpcom.so (rh#161658).
Andrew Overholt b8b5c79
- Symlink lucene jars (rh#159939).
Andrew Overholt b8b5c79
Andrew Overholt 3d64690
* Fri Jun 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.3
Andrew Overholt 3d64690
- Add rcp requirement for platform (rh#161267).
Andrew Overholt 7a85de2
- Add un-owned osgi directories to libswt and platform.
Andrew Overholt 3d64690
Andrew Overholt f2fd8cf
* Tue Jun 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.2
Andrew Overholt a79176b
- Use SWT bundle ID for SWT %files list (determine in %%install).
Andrew Overholt f2fd8cf
Andrew Overholt c18750b
* Mon Jun 20 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.1
Andrew Overholt c18750b
- Import 3.1RC3.
Andrew Overholt c18750b
- Use FileInitializer (e.o#90535) - this should eliminate .sos in ~/.eclipse.
Andrew Overholt c18750b
- Add eclipse-filenamepatterns.txt ("*.so" currently) for above.
Andrew Overholt c18750b
- Symlink JNI libraries.
Andrew Overholt c18750b
Andrew Overholt c18750b
* Fri Jun 17 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC2.2
Andrew Overholt c18750b
- Update to new naming scheme for resulting gzipped tarball.
Andrew Overholt c18750b
- Add patch to not generate help indices (it seems to hang).
Andrew Overholt c18750b
Andrew Overholt c18750b
* Thu Jun 16 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC2.1
Andrew Overholt c18750b
- Import 3.1RC2.
Andrew Overholt c18750b
- Add RCP sub-package.  Unsure about its dependencies ATM.
Andrew Overholt c18750b
Andrew Overholt f335515
* Tue Jun 14 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.9
Andrew Overholt f335515
- Add tomcat5 patch and symlinks.
Andrew Overholt f335515
Andrew Overholt 13d3195
* Thu May 26 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.8
Andrew Overholt 13d3195
- Fix ant jar removal (gbenson).
Andrew Overholt 13d3195
Andrew Overholt af1c2d2
* Wed May 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.7
Andrew Overholt b6db7d1
- Fix ecj symlink in /usr/share/java (rh#158734).
Andrew Overholt b6db7d1
d941e6a
* Sun May 22 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.4
d941e6a
- Remove compilation of jdt.ui jar.so on ppc.
Ben Konrath fcca000
d941e6a
* Sat May 21 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.3
Ben Konrath fe9df1e
- Add ecj-options patch to bootstrap source.
Ben Konrath fe9df1e
- Make embedded browser widget work (Robin Green).
d941e6a
- Bump required version of java-gcj-compat to the latest (-40jpp_24rh).
d941e6a
- Use -lgcjawt when building with gcj.
d941e6a
d941e6a
* Wed May 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.2
d941e6a
- Disable org.eclipse.osgi_3.1.0.jar.so.
d941e6a
- Add ecj-options patch, remove ecj-extdirs patch.
d941e6a
d941e6a
* Wed May 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.1
d941e6a
- Update to 3.1M7.
d941e6a
- Add file initializer patch.
d941e6a
- Temporarily remove s390{,x} patches.
d941e6a
- Update GNU formatter ui patch.
d941e6a
- Add ECJ ext dirs patch.
Ben Konrath e1c946a
Andrew Overholt bd9eed8
* Tue May 17 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.19
Andrew Overholt bd9eed8
- Add Epoch on eclipse-platform.
Andrew Overholt bd9eed8
- Use %%{_bindir} in post and postun scripts.
Andrew Overholt bd9eed8
Ben Konrath c2da25d
* Tue May 17 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.18
Ben Konrath c2da25d
- Add Epoch to jsch requires.
Ben Konrath c2da25d
Ben Konrath ab165ad
* Mon May 16 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.17
Ben Konrath ab165ad
- Update libswt-mozilla patches and require mozilla 1.7.8.
Ben Konrath ab165ad
 
Ben Konrath c2da25d
* Fri May 13 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 9a9dc1f
- Use %%{ix86} macro in ExclusiveArch rather than i386 (jorton).
Andrew Overholt 9a9dc1f
Ben Konrath c2da25d
* Wed May 11 2005 Ben Konrath <bkonrath@redhat.com>
Ben Konrath 41ba94d
- Add jsch >= 0.1.18-1jpp.
Ben Konrath 41ba94d
- Remove Fedora specific part of junit version.
Ben Konrath 41ba94d
- Temporarily disable org.eclipse.ui.forms_3.1.0.jar.so (rh#146463).
Ben Konrath 41ba94d
Ben Konrath 22a1ac6
* Mon May 09 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.16
Ben Konrath 22a1ac6
- Add Requires junit >= 3.8.1-3jpp_4fc to JDT.
Ben Konrath 50ec5e9
- Add -g to gcj calls.
Ben Konrath 22a1ac6
Andrew Overholt 9db3367
* Thu May 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.15
Andrew Overholt 9db3367
- Rebuild with new gjdoc (rh#152049).
Andrew Overholt 9db3367
Andrew Overholt 9db3367
* Wed May 4 2005 Ben Konrath <bkonrath@redhat.com>
Ben Konrath 832c52f
- Re-enable jdt.ui/jdt.jar.so and require gcj 4.0.0-2 (rh#151296).
Ben Konrath 832c52f
Ben Konrath 36d82f2
* Mon May 2 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.14
Ben Konrath 36d82f2
- Replace temporary patch to debug.ui with upstream patch to swt (rh#155853).
Ben Konrath 36d82f2
Andrew Overholt 5abd1e6
* Sat Apr 30 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.13
Ben Konrath 2531848
- Add patch to temporarily stop an NPE in debug.ui (rh#155853).
Ben Konrath 2531848
Andrew Overholt 5abd1e6
* Thu Apr 28 2005 Phil Muldoon <pmuldoon@redhat.com>
7e1a9df
- Allow multiple optional arguments in eclipse-copy-platform.sh 
7e1a9df
Andrew Overholt 5abd1e6
* Wed Apr 27 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 8de50d3
- Include epoch in mozilla BuildRequires.
Andrew Overholt 8de50d3
- Remove last remaining gij-specific option from eclipse.script.
Andrew Overholt 8de50d3
341fe9a
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> 3.1.0_fc-0.M6.12
341fe9a
- silence %%post
341fe9a
Andrew Overholt b735554
* Sun Apr 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.11
Andrew Overholt b735554
- Re-add osgi.jar.so since gcj fix is in our gcc RPMs.
Andrew Overholt b735554
- Bump gcc requirements accordingly.
Andrew Overholt b735554
- Add gcc-c++ to BuildRequires (for SWT Mozilla).
Andrew Overholt b735554
- Add specific java-1.4.2-gcj-compat nvr requirement (rh#151866).
Andrew Overholt b735554
aluchko 588985e
* Fri Apr 22 2005 Aaron Luchko <aluchko@redhat.com> 3.1.0_fc-0.M6.10
aluchko 588985e
- Import archived projects (e.o#82988)
aluchko 588985e
Andrew Overholt 82fc3d0
* Fri Apr 22 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 2c6e6e1
- Add Requires(post,postun): java-1.4.2-gcj-compat for each sub-package and use
Andrew Overholt 2c6e6e1
  full path (Joe Orton).
Andrew Overholt 82fc3d0
- Make /usr/bin/eclipse executable again (rh#155715).
Andrew Overholt 6bf0e82
- Bump jsch version.
Andrew Overholt 2c6e6e1
Andrew Overholt 7289f98
* Thu Apr 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.9
Andrew Overholt 7289f98
- Use upstream icons (not RHDS ones) (rh#146484).
Andrew Overholt 7289f98
- Add plugin directories to %files sections.
Andrew Overholt 7289f98
- Rework %files sections a bit.
Andrew Overholt 7289f98
- Fix SWT symlink (bkonrath).
Andrew Overholt 7289f98
- Temporarily remove jdt.ui/jdt.jar.so.
Andrew Overholt 7289f98
Ben Konrath 92ddd1f
* Thu Apr 21 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.8
Ben Konrath 48ff123
- Fix updatesite patch.
Ben Konrath 92ddd1f
- Temporarily remove org.eclipse.ui.workbench_3.1.0.jar.so (r.c#151919)
Ben Konrath 48ff123
Andrew Overholt 5f25d4d
* Mon Apr 18 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.7
Andrew Overholt 7289f98
- Add %if %%{gcj_support} blocks.
Andrew Overholt 7289f98
- Add %%{_libdir}/%%{name}/plugins to native %files section of each sub-rpm.
Andrew Overholt 5f25d4d
- Add GNU-style JDT code formatting option (e.o#91770).
Andrew Overholt 5f25d4d
- Add patch to install plugins from update site in home dir (e.o#90630).
Andrew Overholt 5f25d4d
- Change gcc-java requirements to libgcj as gcj-dbtool is now in the latter.
Andrew Overholt 5f25d4d
Ben Konrath 46145ab
* Mon Apr 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.6
Ben Konrath 46145ab
- Bump version number. 
Ben Konrath 46145ab
Ben Konrath 46145ab
* Mon Apr 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.5
Ben Konrath 46145ab
- Update mozilla patch.
Ben Konrath bfe980c
Ben Konrath bd6a7ae
* Sat Apr 16 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.4
Ben Konrath bd6a7ae
- Update to 3.1M6.
Ben Konrath bd6a7ae
- Change bootstrap procedure to match the upstream method.
Ben Konrath bd6a7ae
- Remove patches that were fixed upstream. 
Ben Konrath bd6a7ae
- Add efj wrapper script.
Ben Konrath bd6a7ae
Ben Konrath a6eaae0
* Wed Apr 13 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M5.20
Ben Konrath a6eaae0
- Fix the bootstrap patch (the ecj jar was missing some files).
Ben Konrath a6eaae0
Andrew Overholt 8325780
* Tue Apr 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.19
Andrew Overholt 8325780
- Add Requires(post,postun): java-1.4.2-gcj-compat for rebuild-gcj-db (Joe
Andrew Overholt 8325780
  Orton).
Andrew Overholt 8325780
- Add ecj binary.
Andrew Overholt 8325780
Andrew Overholt 066aed0
* Wed Apr 06 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.18
Andrew Overholt 066aed0
- Fix typo in gcj db building loops.
Andrew Overholt 066aed0
- Add -O1 to x86_64 jar.so compilation.
Andrew Overholt 066aed0
- Add EFJ (Eclipse Formatter for Java) patches (bkonrath) (e.o#75333).
Andrew Overholt 066aed0
- Add patch to build swttools.jar (e.o#90364).
Andrew Overholt 26f87c4
- Symlink out to ant-jsch now that we have that.
Andrew Overholt 066aed0
Andrew Overholt 531fabe
* Mon Apr 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.17
Andrew Overholt 531fabe
- Actually insert .jar-.jar.so combinations into sub-dbs.
Andrew Overholt 531fabe
Andrew Overholt e60f88d
* Thu Mar 31 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.16
Andrew Overholt e60f88d
- Fix eclipse.script to not leave a sh process around (Joe Orton)
Andrew Overholt e60f88d
- Use proper sub-dbs.
Andrew Overholt e60f88d
- Don't compile jars that are symlinked from elsewhere.
Andrew Overholt e60f88d
- Add jar-so combinations to .db based on .jar.so existence (not .jar).
Andrew Overholt e60f88d
- Rename sub-dbs to be eclipse-*.db.
Andrew Overholt e60f88d
- Use rebuild-gcj-db script.
Andrew Overholt e60f88d
0fc7960
* Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
0fc7960
- rebuilt
0fc7960
d0643db
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 3.1.0_fc-0.M5.14
d0643db
- Update the GTK+ theme icon cache on (un)install
d0643db
Andrew Overholt 29362a4
* Fri Mar 18 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.13
Andrew Overholt 8fe34fc
- Re-add compilation of resources.jar.
Andrew Overholt 29362a4
- Backport bootstrapping patch.
Andrew Overholt 29362a4
- Add Requires: java-1.4.2-gcj-compat.
Andrew Overholt 29362a4
- Modified find patch courtesy Ziga Mahkovec (RH#149927#).
Andrew Overholt 29362a4
- Compile with -O2 on ppc as well.
Andrew Overholt 29362a4
- Add jsch, jakarta-commons-modeler, and mx4j symlinking.
Andrew Overholt 29362a4
- Make use of gcj-dbtool -f to create databases in install.
Andrew Overholt 29362a4
- Use system-wide classmap.db.
Andrew Overholt 29362a4
- Remove *.jarswithnativelibs from files sections.
Andrew Overholt 29362a4
- Update mozilla dependency.
Andrew Overholt 8fe34fc
Ben Konrath c9f8678
* Mon Mar 07 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M5.12
Ben Konrath 7c7a271
- Add activeHelpSample.jar patch.
Andrew Overholt c6ac089
- Change to Fedora M-build splash screen.
Andrew Overholt c6ac089
- Add find patch courtesy Ziga Mahkovec (RH#149927#)
Andrew Overholt c6ac089
- Build native stuff with -O2 on i386.
Ben Konrath 7c7a271
Andrew Overholt 971d998
* Mon Mar 07 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.11
Andrew Overholt 971d998
- Add s390 and s390x patches.
Andrew Overholt c6ac089
- Don't build for them, though, due to gcc bug and Eclipse building issue.
Andrew Overholt 5201aaf
- Add xorg-x11-devel BuildRequires.
Andrew Overholt 971d998
Andrew Overholt df125ff
* Fri Mar 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.10
Andrew Overholt df125ff
- Add proper mozilla version.
Andrew Overholt df125ff
- Don't build eclipseAdaptor.jar.so in order to work around plugin building
Andrew Overholt df125ff
  problems.
Andrew Overholt df125ff
Andrew Overholt 669d044
* Thu Mar 03 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.9
Andrew Overholt 669d044
- Add patch to build libswt-mozilla.
Andrew Overholt 669d044
- Build libswt-awt.
Andrew Overholt 669d044
- Add 64-bit swt lib list.
Andrew Overholt 669d044
Andrew Overholt ffec764
* Tue Mar 01 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.8
Andrew Overholt 58991c1
- Add ppc.
Andrew Overholt ffec764
- Add patch to copy over icon for unsupported (upstream) platforms but don't
Andrew Overholt ffec764
  include the source for the launcher.
Andrew Overholt ffec764
- gcc4 -> gcc changes.
Andrew Overholt 2c099de
- Add swt-cairo to 64-bit platforms' %files.
Andrew Overholt ffec764
Andrew Overholt 58cdb1f
* Fri Feb 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.7
Andrew Overholt 58cdb1f
- Add tar args patch (e.o #86571).
Andrew Overholt 58cdb1f
- New build bootstrapping patches.
Andrew Overholt 58cdb1f
Andrew Overholt 75af349
* Fri Feb 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.6
Andrew Overholt 75af349
- Re-work how we do the gcj-dbtool magic.
Andrew Overholt 75af349
- Don't remove ant-netrexx (need to find an RPM if we can).
Andrew Overholt 75af349
Andrew Overholt d466dca
* Sun Feb 20 2005 Andrew Overholt <overholt@redhat.com> 1:3.1_fc-0.M5.5
Andrew Overholt 27336c3
- Build for just i386 and x86_64 for now due to upstream gcc bugs.
Andrew Overholt 9620c14
Andrew Overholt 357a573
* Sun Feb 20 2005 Andrew Overholt <overholt@redhat.com> 1:3.1_fc-0.M5.1
Andrew Overholt 357a573
- New 3.1M5a build using upstream build method.
Andrew Overholt 357a573
- Re-organize sub-packages (ecj, platform, platform-devel, jdt, jdt-devel, pde,
Andrew Overholt 357a573
  pde-devel, fold gtk2 package into platform).
Andrew Overholt 357a573
- Move jface and org.eclipse.text into libswt3-gtk2.
Andrew Overholt 357a573
- Bring in JPackage symlinks for packages we have in Fedora (David Walluck) and
Andrew Overholt 357a573
  put in %%prep.
Andrew Overholt 357a573
- Work around x86_64 filename differences.
Andrew Overholt 357a573
- Remove xerces, xalan, and xml-commons-apis requirement (and LD_PRELOAD from
Andrew Overholt 357a573
  script).
Andrew Overholt 357a573
- Bootstrap build.