Andrew Overholt 16c113b
# TODO:
Andrew Overholt 16c113b
#   - migrate compare API patch (patch33) to 3.2 final
Andrew Overholt 16c113b
#   - migrate cairo patch (patch43) to 3.2 final
Andrew Overholt 16c113b
#   - migrate GNU formatter patches (patch20, patch21) to 3.2 final
Andrew Overholt 26a17ea
#   - comment on this bug:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=126648
Andrew Overholt 16c113b
Andrew Overholt bfd4e0b
Epoch:	1
cvsdist 38d0d0c
Ben Konrath 5037e9d
%define fedora		1
Ben Konrath 5037e9d
%define redhat		0
Ben Konrath 5037e9d
%if %{fedora}
Andrew Overholt 33dd0d6
%define gcj_support 	1
Ben Konrath 5037e9d
%else
Ben Konrath 5037e9d
%define gcj_support 	0
Ben Konrath 5037e9d
%endif
Andrew Overholt 8572c32
%define tomcatsharedir 	%{_datadir}/tomcat5
Andrew Overholt 8572c32
%define tomcatlibdir 	%{_var}/lib/tomcat5
cvsdist 38d0d0c
%define section         free
cvsdist 38d0d0c
%define eclipse_major   3
Ben Konrath 5037e9d
%define eclipse_minor   2
cvsdist 38d0d0c
%define eclipse_majmin  %{eclipse_major}.%{eclipse_minor}
Ben Konrath 5b61247
%define eclipse_micro   1
cvsdist 38d0d0c
%define libname         libswt3
cvsdist 38d0d0c
Andrew Overholt f2593e9
# All arches line up except i386 -> x86
Andrew Overholt f2593e9
%ifarch %{ix86}
Andrew Overholt f2593e9
%define eclipse_arch    x86
Andrew Overholt f2593e9
%else
Andrew Overholt f2593e9
%define eclipse_arch   %{_arch}
Andrew Overholt f2593e9
%endif
Andrew Overholt f2593e9
Andrew Overholt fad60dc
Summary:        An open, extensible IDE
cvsdist 38d0d0c
Name:           eclipse
Andrew Overholt 8273c16
Version:        %{eclipse_majmin}.%{eclipse_micro}
Ben Konrath 7d37f4e
Release:        9%{?dist} 
Ben Konrath 0b073c2
License:        EPL
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
cvsdist 38d0d0c
URL:            http://www.eclipse.org/
Ben Konrath a5675d5
Source0:	http://download.eclipse.org/eclipse/downloads/drops/R-3.2.1-200609210945/eclipse-sourceBuild-srcIncluded-3.2.1.zip
cvsdist 38d0d0c
Source2:        %{name}.desktop
cvsdist 38d0d0c
Source5:        %{name}-48.png
Ben Konrath 5b61247
# FIXME: this should be in its own package
Ben Konrath 5b61247
Source7: 	ftp://ftp.software.ibm.com/software/globalization/icu/icu4j/3.4.5/icu4jsrc_3_4_5.jar
Ben Konrath 56f70b7
%if %{fedora}
Andrew Overholt 16c113b
Source11:	%{name}-fedora-splash-3.2.png
Ben Konrath 56f70b7
%endif
Ben Konrath 5037e9d
%if %{redhat}
Ben Konrath 681f7e5
Source11:	%{name}-redhat-splash-3.2.png
Ben Konrath 5037e9d
%endif
Ben Konrath 56f70b7
Source16:       %{name}-copy-platform.sh
Ben Konrath 2987a9c
Source17:       efj.sh.in
Ben Konrath 9dbdca5
Source18:	ecj.sh.in
Andrew Overholt fd64f0d
Source19:       %{name}-filenamepatterns.txt
Ben Konrath 9dbdca5
Andrew Overholt bfd4e0b
Andrew Overholt 2104416
# Build libswt-mozilla and libswt-cairo and use O2
Andrew Overholt 602cb9d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637
Andrew Overholt 2104416
Patch0:         %{name}-libswt-enableallandO2.patch
Andrew Overholt bfd4e0b
# Build JNI libs
Andrew Overholt bfd4e0b
# FIXME:  these should be built by upstream build method
9ef820f
# http://www.bagu.org/eclipse/plugin-source-drops.html
Andrew Overholt 602cb9d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=71637
Andrew Overholt fd64f0d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=86848
Andrew Overholt fd64f0d
# GNU XML issue identified by Michael Koch
Andrew Overholt bfd4e0b
Patch2:		%{name}-build.patch
Ben Konrath 5b61247
Patch3:		%{name}-icu4j-build-files.patch
Andrew Overholt bfd4e0b
Patch4:		%{name}-libupdatebuild.patch
Andrew Overholt bfd4e0b
Patch5:		%{name}-libupdatebuild2.patch
Andrew Overholt a1ebed4
# Build swttools.jar
Andrew Overholt a1ebed4
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
Andrew Overholt a1ebed4
Patch18: 	%{name}-swttools.patch
Andrew Overholt 33dd0d6
# GNU-style JDT formatter
Andrew Overholt 33dd0d6
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=91770
Andrew Overholt 2ccc9bd
#Patch20: 	%{name}-gnuformatterjdt.patch
Andrew Overholt 2ccc9bd
#Patch21: 	%{name}-gnuformatterjdtui.patch
Andrew Overholt 2104416
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=114001
Andrew Overholt 2104416
Patch38:	%{name}-helpindexbuilder.patch
Andrew Overholt a9c56bb
Patch40:	%{name}-usebuiltlauncher.patch
Ben Konrath 5037e9d
## Build cairo native libs
Ben Konrath 5037e9d
#Patch43:	%{name}-libswt-cairo1.0-3.patch
Andrew Overholt 6719f55
Patch46:	%{name}-libswt-xpcomgcc4.patch
Ben Konrath 158e040
Patch47:	%{name}-launcher-set-install-dir-and-shared-config.patch
Andrew Overholt b740010
# Don't attempt to link to Sun's javadocs
Andrew Overholt 6ccbfa5
Patch48:	%{name}-javadoclinks.patch
Andrew Overholt 6f1b538
# Always generate debug info when building RPMs (Andrew Haley)
Andrew Overholt 6f1b538
Patch49:	%{name}-ecj-rpmdebuginfo.patch
Ben Konrath 5037e9d
# generic releng plugins that can be used to build plugins
Ben Konrath 5037e9d
# see this thread for deails: 
Ben Konrath 5037e9d
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
Ben Konrath 5037e9d
Patch53:	%{name}-pde.build-add-package-build.patch
Ben Konrath 56f70b7
# We need to disable junit4 and apt until GCJ can handle Java5 code
Ben Konrath 56f70b7
Patch55: 	%{name}-disable-junit4-apt.patch
Ben Konrath 56f70b7
Andrew Overholt 16c113b
# These patches need to go upstream
Ben Konrath 56f70b7
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98371
Andrew Overholt 16c113b
Patch28: 	%{name}-tomcat55.patch
Andrew Overholt 16c113b
Patch29: 	%{name}-tomcat55-build.patch
Andrew Overholt 16c113b
Patch31: 	%{name}-webapp-tomcat55.patch
Ben Konrath 56f70b7
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=98707 
Ben Konrath 56f70b7
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178726
Ben Konrath 56f70b7
Patch33:        %{name}-compare-create-api.patch
Ben Konrath 56f70b7
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Ben Konrath 56f70b7
Patch24: 	%{name}-fileinitializer.patch
Ben Konrath 5037e9d
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=191536
Ben Konrath 5037e9d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=142861
Ben Konrath 5037e9d
Patch54:	%{name}-swt-rm-ON_TOP.patch
Ben Konrath 56f70b7
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90630
Ben Konrath 56f70b7
Patch22: 	%{name}-updatehomedir.patch
Ben Konrath 2987a9c
# JPackage []s in names of symlinks ...
Ben Konrath 2987a9c
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162177
Ben Konrath 158e040
Patch34:	%{name}-ecj-square-bracket-classpath.patch
Andrew Overholt 0e12cd7
# Use ecj for gcj
Ben Konrath 158e040
Patch57:	%{name}-ecj-gcj.patch
Andrew Overholt 26a17ea
# Build against firefox:
Andrew Overholt 26a17ea
#  - fix swt profile include path
Andrew Overholt 9e34e99
#  - don't compile the mozilla 1.7 / firefox profile library -- build it inline
Andrew Overholt 26a17ea
#  - don't use symbols not in our firefox builds
Andrew Overholt 26a17ea
# FIXME:  add reference(s) to discussion(s) and bug(s)
Andrew Overholt 26a17ea
# Note:  I made this patch from within Eclipse and then did the following to
Andrew Overholt 26a17ea
#        it due to spaces in the paths:
Andrew Overholt 26a17ea
#  sed --in-place "s/Eclipse\ SWT\ Mozilla/Eclipse_SWT_Mozilla/g" eclipse-swt-firefox.patch
Andrew Overholt 26a17ea
#  sed --in-place "s/Eclipse\ SWT\ PI/Eclipse_SWT_PI/g" eclipse-swt-firefox.patch
Ben Konrath ac5dce0
Patch59:	%{name}-swt-firefox.patch
Ben Konrath 2af8a7e
Patch60:	%{name}-swt-firefox.2.patch
Ben Konrath 681f7e5
Patch100:       customBuildCallbacks.xml-add-pre.gather.bin.parts.patch
Ben Konrath 5037e9d
Ben Konrath 158e040
Andrew Overholt dd0fb50
%if %{gcj_support}
Andrew Overholt dd0fb50
%else
Ben Konrath ddc911f
ExclusiveArch: %{ix86} x86_64 ppc ia64 sparc sparc64
Andrew Overholt dd0fb50
%endif
cvsdist 38d0d0c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist 38d0d0c
BuildRequires:  ant
cvsdist 38d0d0c
BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
Andrew Overholt daae71c
BuildRequires:  gnome-vfs2-devel
Andrew Overholt daae71c
BuildRequires:  gtk2-devel
Andrew Overholt daae71c
BuildRequires:  glib2-devel
Andrew Overholt 2b55017
BuildRequires:  libgnome-devel
Andrew Overholt 2b55017
BuildRequires:  libgnomeui-devel
Andrew Overholt 935fcc1
BuildRequires:  gcc-c++
Andrew Overholt 87cd1a4
BuildRequires:  firefox-devel
Andrew Overholt 4ee0006
BuildRequires:  nspr-devel
Andrew Overholt 923a30c
BuildRequires:  libXtst-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGL-devel
Ben Konrath 5037e9d
BuildRequires:  mesa-libGLU-devel
Andrew Overholt 2104416
BuildRequires:  cairo >= 1.0
0c750f7
BuildRequires:  unzip
Andrew Overholt 6f1b538
BuildRequires:  java-javadoc
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 9465580
BuildRequires:	gcc-java >= 4.0.2
Ben Konrath 0186614
BuildRequires:	java-gcj-compat-devel >= 1.0.64
Ben Konrath ed3cf19
BuildRequires:  dos2unix
Andrew Overholt 33dd0d6
%else
Andrew Overholt 33dd0d6
BuildRequires:	java-devel >= 1.4.2
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Ben Konrath 55460d9
#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 55460d9
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Andrew Overholt 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt 703265f
#BuildRequires: ant-commons-net
Andrew Overholt 7d8b6e1
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Ben Konrath 56f70b7
BuildRequires: jsch >= 0:0.1.28-1jpp
Andrew Overholt 8572c32
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 8572c32
BuildRequires: mx4j >= 2.1
Andrew Overholt 9c8f04f
BuildRequires: tomcat5 >= 5.5.17
Andrew Overholt 9c8f04f
BuildRequires: tomcat5-jasper >= 5.5.17
Andrew Overholt 9c8f04f
BuildRequires: tomcat5-servlet-2.4-api >= 5.5.17
Ben Konrath 5037e9d
BuildRequires: lucene
Ben Konrath b6b8fb1
BuildRequires: regexp 
Ben Konrath bfdd96b
BuildRequires: junit >= 3.8.1-3jpp
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%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 5203712
%package        ecj
Andrew Overholt 5203712
Summary:        Eclipse Compiler for Java
Andrew Overholt 5203712
Group:          Development/Languages
Andrew Overholt 5203712
Obsoletes:	ecj
Andrew Overholt f6fa193
Provides:	ecj
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 7065429
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%else
Andrew Overholt 33dd0d6
Requires:	java >= 1.4.2
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 5203712
Andrew Overholt 5203712
%description    ecj
Andrew Overholt 5203712
Eclipse compiler for Java.
Andrew Overholt 5203712
Ben Konrath 9dbdca5
%package     -n %{libname}-gtk2
Ben Konrath 9dbdca5
Summary:        SWT Library for GTK2
Ben Konrath 9dbdca5
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Ben Konrath 9dbdca5
%endif
Ben Konrath ce0351e
Requires:       firefox
Ben Konrath ce0351e
Conflicts:     	mozilla
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%description -n %{libname}-gtk2
Ben Konrath 9dbdca5
SWT Library for GTK2.
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%package        rcp
Ben Konrath 9dbdca5
Summary:        Eclipse Rich Client Platform
Ben Konrath 9dbdca5
Group:          Development/Languages
Ben Konrath 9dbdca5
Requires:       %{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{libname}-gtk2 = %{epoch}:%{version}-%{release}
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Ben Konrath 9dbdca5
%else
Ben Konrath 9dbdca5
Requires:	java >= 1.4.2
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%description    rcp
Ben Konrath 9dbdca5
Eclipse Rich Client Platform
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%package        rcp-sdk
Ben Konrath 9dbdca5
Summary:        Eclipse RCP Source
Ben Konrath 9dbdca5
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 9dbdca5
# FIXME: these Provides and Obsoletes can be removed when FC-5 goes into legacy
Ben Konrath 9dbdca5
Provides:	%{name}-rcp-devel
Ben Konrath 9dbdca5
Obsoletes:	%{name}-rcp-devel
Ben Konrath 9dbdca5
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
#FIXME: fix description to include docs
Ben Konrath 9dbdca5
%description    rcp-sdk
Ben Konrath 9dbdca5
Source for RCP for use within Eclipse.
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
cvsdist 38d0d0c
%package        platform
cvsdist 38d0d0c
Summary:        Eclipse platform common files
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 7065429
Requires:	libgcj >= 4.0.2
Ben Konrath 0186614
Requires:	java-gcj-compat >= 1.0.64
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%else
Andrew Overholt 33dd0d6
Requires:	java >= 1.4.2
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 48e8e3b
Requires:       %{name}-rcp = %{epoch}:%{version}-%{release}
Ben Konrath 8131cf7
Requires(post,postun): 	%{name}-rcp = %{epoch}:%{version}-%{release}
Andrew Overholt 185a712
BuildRequires:    gtk2 >= 2.6
Andrew Overholt 185a712
Requires:         gtk2 >= 2.6
Ben Konrath 55460d9
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
Ben Konrath 55460d9
#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 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Andrew Overholt 703265f
#Requires: ant-commons-net
Andrew Overholt 7d8b6e1
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
Andrew Overholt 8572c32
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 8572c32
Requires: mx4j >= 2.1
Andrew Overholt 9c8f04f
Requires: tomcat5 >= 5.5.17
Andrew Overholt 9c8f04f
Requires: tomcat5-jasper >= 5.5.17
Andrew Overholt 9c8f04f
Requires: tomcat5-servlet-2.4-api >= 5.5.17
Ben Konrath 5037e9d
Requires: lucene 
Ben Konrath b6b8fb1
Requires: regexp
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    platform
Ben Konrath 158e040
Eclipse platform common files. This package now contains the GTK2 UI (the
Andrew Overholt bfd4e0b
former eclipse-gtk2 package).
cvsdist 38d0d0c
Ben Konrath 9c1c163
%package        platform-sdk
Andrew Overholt bfd4e0b
Summary:        Eclipse platform Source
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 681f7e5
# FIXME: these Provides and Obsoletes can be removed when FC-5 goes into legacy
Ben Konrath 681f7e5
Provides:	%{name}-platform-devel
Ben Konrath 681f7e5
Obsoletes:	%{name}-platform-devel
Andrew Overholt 921a570
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 9c1c163
Requires:       %{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-rcp-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
Requires:       java-javadoc
cvsdist 38d0d0c
Ben Konrath 9c1c163
#FIXME: fix description to include docs
Ben Konrath 9c1c163
%description    platform-sdk
Andrew Overholt bfd4e0b
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 bfd4e0b
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Andrew Overholt 921a570
Requires:       %{name}-ecj = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-ecj = %{epoch}:%{version}-%{release}
9ef820f
Requires:       junit >= 3.8.1-3jpp
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 7065429
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
cvsdist 38d0d0c
%description    jdt
cvsdist 38d0d0c
Eclipse Java developments tools.
cvsdist 38d0d0c
Ben Konrath 9c1c163
%package        jdt-sdk
Andrew Overholt bfd4e0b
Summary:        Eclipse JDT Source
cvsdist 38d0d0c
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 681f7e5
# FIXME: these Provides and Obsoletes can be removed when FC-5 goes into legacy
Ben Konrath 681f7e5
Provides:	%{name}-jdt-devel
Ben Konrath 681f7e5
Obsoletes:	%{name}-jdt-devel
Andrew Overholt bfd4e0b
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 9dbdca5
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
Requires:       java-javadoc
cvsdist 38d0d0c
Ben Konrath 9c1c163
Ben Konrath 9c1c163
#FIXME: fix description to include docs
Ben Konrath 9c1c163
%description    jdt-sdk
Andrew Overholt bfd4e0b
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 921a570
Requires:       %{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
Requires:       %{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 9c1c163
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-jdt = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-pde-runtime = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform-sdk = %{epoch}:%{version}-%{release}
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 7065429
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Andrew Overholt 33dd0d6
%endif
Andrew Overholt bfd4e0b
Andrew Overholt 3e3ec31
%description    pde
Ben Konrath 5037e9d
Eclipse Plug-in Development Environment.
Ben Konrath 5037e9d
Ben Konrath 5037e9d
%package        pde-runtime
Ben Konrath 5037e9d
Summary:        Eclipse PDE runtime plugin.
Ben Konrath 5037e9d
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 9dbdca5
Requires:       %{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform = %{epoch}:%{version}-%{release}
Ben Konrath 5037e9d
%if %{gcj_support}
Ben Konrath 5037e9d
Requires:	libgcj >= 4.0.2
Ben Konrath 0186614
Requires(post):   java-gcj-compat >= 1.0.64
Ben Konrath 0186614
Requires(postun): java-gcj-compat >= 1.0.64
Ben Konrath 5037e9d
%endif
Ben Konrath 5037e9d
Ben Konrath 5037e9d
%description    pde-runtime
Ben Konrath 5037e9d
Eclipse Plug-in Development Environment runtime plugin (org.eclipse.pde.runtime).
Andrew Overholt 3e3ec31
Ben Konrath 9c1c163
%package        pde-sdk
Andrew Overholt bfd4e0b
Summary:        Eclipse PDE Source
Andrew Overholt bfd4e0b
Group:          Text Editors/Integrated Development Environments (IDE)
Andrew Overholt bfd4e0b
Requires:       %{name}-pde = %{epoch}:%{version}-%{release}
Ben Konrath 9c1c163
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-pde = %{epoch}:%{version}-%{release}
Andrew Overholt bfd4e0b
Ben Konrath 9c1c163
#FIXME: fix description to include docs
Ben Konrath 9c1c163
%description    pde-sdk
Ben Konrath 5037e9d
Source for Eclipse Plug-in Development Environment for use within Eclipse.
cvsdist 38d0d0c
Ben Konrath 9dbdca5
%package        sdk
Ben Konrath 9dbdca5
Summary:        Eclipse PDE Source
Andrew Overholt fd64f0d
Group:          Text Editors/Integrated Development Environments (IDE)
Ben Konrath 681f7e5
# FIXME: these Provides and Obsoletes can be removed when FC-5 goes into legacy
Ben Konrath 9dbdca5
Provides:	%{name}-pde-devel
Ben Konrath 9dbdca5
Obsoletes:	%{name}-pde-devel
Ben Konrath 9dbdca5
Requires:       %{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9c1c163
Requires:       %{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 9dbdca5
Requires:       %{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-platform-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-pde-sdk = %{epoch}:%{version}-%{release}
Ben Konrath 158e040
Requires(post,postun): 	%{name}-jdt-sdk = %{epoch}:%{version}-%{release}
Ben Konrath bf09ec2
%if %{gcj_support}
Ben Konrath bf09ec2
Requires:	libgcj >= 4.0.2
Ben Konrath 158e040
Requires(post,postun):   java-gcj-compat >= 1.0.64
Ben Konrath bf09ec2
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
#FIXME: fix description to be better
Ben Konrath 9dbdca5
%description    sdk
Ben Konrath 9dbdca5
The Eclipse Plug-in Development Environment SDK. This package allows you 
Ben Konrath 9dbdca5
to create an IDE based on Eclipse.
Andrew Overholt fd64f0d
Andrew Overholt fd64f0d
cvsdist df631d8
%prep
cvsdist 3a48756
%setup -q -c
Andrew Overholt bfd4e0b
Andrew Overholt bfd4e0b
# I hate spaces in paths with patch!
Andrew Overholt bfd4e0b
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
cvsdist 38d0d0c
%patch0 -p0
Ben Konrath 5b61247
popd
Ben Konrath 5b61247
Andrew Overholt bfd4e0b
%patch2 -p0
Andrew Overholt bfd4e0b
%patch4 -p0
Andrew Overholt bfd4e0b
%patch5 -p0
9ef820f
pushd plugins/org.eclipse.swt.gtk.linux.x86_64
Andrew Overholt a1ebed4
%patch18 -p0
Andrew Overholt a1ebed4
popd
Andrew Overholt 33dd0d6
%patch22 -p0
9ef820f
pushd plugins/org.eclipse.core.runtime
Ben Konrath 8d7cf61
%patch24 -p0
Ben Konrath 8d7cf61
popd
Ben Konrath 2987a9c
Ben Konrath 2987a9c
# tomcat patches
Andrew Overholt 8572c32
pushd plugins/org.eclipse.tomcat
Andrew Overholt 16c113b
%patch28 -p0
Andrew Overholt 16c113b
%patch29 -p0
Andrew Overholt 16c113b
popd
Ben Konrath e1c9923
sed --in-place "s/4.1.130/5.5.17/"                      \
Ben Konrath e1c9923
                features/org.eclipse.platform/build.xml \
Ben Konrath e1c9923
                plugins/org.eclipse.tomcat/build.xml    \
Ben Konrath e1c9923
                assemble.*.xml
Andrew Overholt 16c113b
pushd plugins/org.eclipse.help.webapp
Andrew Overholt 16c113b
%patch31 -p0
Andrew Overholt 1e7b77f
popd
Andrew Overholt 1e7b77f
pushd plugins/org.eclipse.compare
Ben Konrath 5037e9d
#%patch33 -p0
Ben Konrath 5037e9d
popd
Ben Konrath 5037e9d
pushd plugins/org.eclipse.jdt.core
Ben Konrath 5037e9d
%patch34 -p0
Andrew Overholt 0e12cd7
%patch57 -p0
Andrew Overholt 1e7b77f
popd
Andrew Overholt 8273c16
%patch38 -p0
Andrew Overholt a9c56bb
%patch40 -p0
Ben Konrath 5037e9d
#%patch43
Andrew Overholt dffd49c
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ Mozilla/common/library
Andrew Overholt dffd49c
%patch46
Andrew Overholt dffd49c
popd
cvsdist 38d0d0c
Andrew Overholt 99b55e9
# Because the launcher source is zipped up, we need to unzip, patch, and re-pack
Ben Konrath 158e040
# FIXME: figure out why we need to patch and sed twice and fix upstream
Andrew Overholt 99b55e9
mkdir launchertmp
Ben Konrath 2987a9c
unzip -qq -d launchertmp plugins/org.eclipse.platform/launchersrc.zip
Andrew Overholt 99b55e9
pushd launchertmp
Ben Konrath 158e040
%patch47 -p0
Ben Konrath 158e040
# put the configuration directory in an arch specific location
Ben Konrath 158e040
sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
Ben Konrath 158e040
# make the eclipse install relocatable 
Ben Konrath 158e040
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Ben Konrath 2987a9c
zip -q -9 -r ../launchersrc.zip *
Andrew Overholt 99b55e9
popd
Andrew Overholt 99b55e9
mv launchersrc.zip plugins/org.eclipse.platform
Andrew Overholt 99b55e9
rm -rf launchertmp
Andrew Overholt 99b55e9
pushd features/org.eclipse.platform.launchers
Ben Konrath 158e040
%patch47 -p0
Ben Konrath 158e040
# put the configuration directory in an arch specific location
Ben Konrath 158e040
sed --in-place "s:/usr/lib/eclipse:%{_libdir}/%{name}:" library/eclipse.c
Ben Konrath 158e040
# make the eclipse install relocatable 
Ben Konrath 158e040
sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
Andrew Overholt 99b55e9
popd
Ben Konrath 158e040
Andrew Overholt 6f1b538
# Link against our system-installed javadocs
Andrew Overholt 858aba7
%patch48 -p0
Ben Konrath 5037e9d
sed --in-place "s:/usr/share/:%{_datadir}/:g"           \
Ben Konrath 5037e9d
	plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt  \
Ben Konrath 5037e9d
	plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
Ben Konrath 5037e9d
	plugins/org.eclipse.pde.doc.user/pdeOptions     \
Ben Konrath 5037e9d
	plugins/org.eclipse.platform.doc.isv/platformOptions.txt 
Andrew Overholt 6f1b538
%patch49 -p0
Igor Foox 1c24280
pwd
Andrew Overholt 99b55e9
Ben Konrath 5037e9d
pushd plugins/org.eclipse.pde.build
Ben Konrath 5037e9d
%patch53
Ben Konrath 5037e9d
sed --in-place "s:@eclipse_base@:%{_datadir}/%{name}:" templates/package-build/build.properties
Ben Konrath 5037e9d
popd
Ben Konrath 5037e9d
Ben Konrath 5037e9d
pushd plugins/org.eclipse.swt/Eclipse\ SWT
Ben Konrath 5037e9d
%patch54 
Ben Konrath 5037e9d
popd
Ben Konrath 5037e9d
Andrew Overholt 16c113b
%patch55 -p0
Ben Konrath 5037e9d
rm plugins/org.junit4/junit-4.1.jar
Ben Konrath 5037e9d
Andrew Overholt 26a17ea
# I love directories with spaces in their names
Andrew Overholt 26a17ea
pushd plugins/org.eclipse.swt
Ben Konrath 2af8a7e
mv "Eclipse SWT Mozilla" Eclipse_SWT_Mozilla
Ben Konrath 2af8a7e
mv "Eclipse SWT PI" Eclipse_SWT_PI
Ben Konrath ac5dce0
%patch59
Ben Konrath 2af8a7e
mv Eclipse_SWT_Mozilla "Eclipse SWT Mozilla"
Ben Konrath 2af8a7e
mv Eclipse_SWT_PI "Eclipse SWT PI"
Andrew Overholt 26a17ea
popd
Ben Konrath 2af8a7e
pushd plugins/org.eclipse.swt.tools
Ben Konrath 2af8a7e
mv "JNI Generation" JNI_Generation 
Ben Konrath 2af8a7e
%patch60
Ben Konrath 2af8a7e
mv JNI_Generation "JNI Generation"
Ben Konrath 2af8a7e
popd
Ben Konrath 2af8a7e
 
Ben Konrath 681f7e5
# FIXME check if this has been applied upstream
Ben Konrath 681f7e5
pushd plugins/org.eclipse.platform.doc.isv
Ben Konrath 681f7e5
%patch100 -p0
Ben Konrath 681f7e5
popd
Ben Konrath 681f7e5
pushd plugins/org.eclipse.platform.doc.user
Ben Konrath 681f7e5
%patch100 -p0
Ben Konrath 681f7e5
popd
Ben Konrath 681f7e5
Ben Konrath 56f70b7
pushd plugins/org.eclipse.platform
Ben Konrath 56f70b7
cp %{SOURCE11} splash.bmp
Ben Konrath 56f70b7
popd
cvsdist 38d0d0c
Ben Konrath 2987a9c
# FIXME this should be patched upstream with a flag to turn on and off 
Ben Konrath 2987a9c
# all output should be directed to stdout
Ben Konrath 2987a9c
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
Ben Konrath 2987a9c
Andrew Overholt bfd4e0b
# Remove existing .sos
Ben Konrath 5037e9d
find -name \*.so | xargs rm
Andrew Overholt bfd4e0b
Andrew Overholt bfd4e0b
# Symlinks
Andrew Overholt bfd4e0b
Andrew Overholt bfd4e0b
## BEGIN ANT ##
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-antlr.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-antlrsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-bcel.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-bcelsrc.zip
Ben Konrath 55460d9
#rm plugins/org.apache.ant/lib/ant-apache-bsf.jar
Ben Konrath 55460d9
#rm plugins/org.apache.ant/lib/ant-apache-bsfsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-log4j.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-log4jsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-oro.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-orosrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-regexp.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-regexpsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-resolver.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-apache-resolversrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-commons-logging.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-commons-loggingsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-commons-net.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-commons-netsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-icontract.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-icontractsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jai.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jaisrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/antsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-javamail.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-javamailsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jdepend.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jdependsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jmf.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jmfsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jsch.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-jschsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-junit.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-junitsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-launcher.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-launchersrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-netrexx.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-netrexxsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-nodeps.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-nodepssrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-starteam.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-starteamsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-stylebook.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-stylebooksrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-swing.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-swingsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-trax.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-traxsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-vaj.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-vajsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-weblogic.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-weblogicsrc.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-xalan1.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-xalan1src.zip
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-xslp.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant/lib/ant-xslpsrc.zip
Ben Konrath 5037e9d
# FIXME use build-jar-repository
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant/lib/ant-antlr.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant/lib/ant-apache-bcel.jar
Ben Konrath 55460d9
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant/lib/ant-apache-log4j.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant/lib/ant-apache-oro.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant/lib/ant-apache-regexp.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant/lib/ant-apache-resolver.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant/lib/ant-commons-logging.jar
Andrew Overholt 8581d1e
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 5037e9d
# the symlinks that are commented out are not currently shipped on Fedora
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant/lib/ant-commons-net.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant/lib/ant-icontract.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant/lib/ant-jai.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant.jar plugins/org.apache.ant/lib/ant.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant/lib/ant-javamail.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant/lib/ant-jdepend.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant/lib/ant-jmf.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant/lib/ant-jsch.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant/lib/ant-junit.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant/lib/ant-launcher.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant/lib/ant-netrexx.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant/lib/ant-nodeps.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant/lib/ant-starteam.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant/lib/ant-stylebook.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant/lib/ant-swing.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant/lib/ant-trax.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant/lib/ant-vaj.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant/lib/ant-weblogic.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant/lib/ant-xalan1.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant/lib/ant-xslp.jar
Andrew Overholt bfd4e0b
## END ANT ##
Andrew Overholt 1e7b77f
# BEGIN LUCENE ##
Ben Konrath 5037e9d
rm plugins/org.apache.lucene/lucene-1.4.3.jar
Andrew Overholt c12c12b
# FIXME:  Remove this zip until we have a lucene-devel package containing it.
Andrew Overholt c12c12b
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170343
Ben Konrath 5037e9d
rm plugins/org.apache.lucene/lucene-1.4.3-src.zip
Ben Konrath 5037e9d
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene/lucene-1.4.3.jar
Andrew Overholt 1e7b77f
# END LUCENE ##
Ben Konrath 55460d9
Ben Konrath 55460d9
Andrew Overholt 8572c32
## BEGIN TOMCAT ##
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-beanutils.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-collections.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-digester.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-logging-api.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/commons-modeler.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/jakarta-regexp-1.3.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlet.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlets-manager.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/naming-common.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/servlets-common.jar
Andrew Overholt 16c113b
rm plugins/org.eclipse.tomcat/tomcat-http11.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/bootstrap.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/catalina.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/jasper-compiler.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/jasper-runtime.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/mx4j-jmx.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/naming-resources.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/naming-factory.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/servlets-default.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/servlets-invoker.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/tomcat-coyote.jar
Ben Konrath 1fca076
rm plugins/org.eclipse.tomcat/tomcat-util.jar
Ben Konrath 1fca076
mkdir -p plugins/org.eclipse.tomcat/lib
Andrew Overholt e940817
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/lib/bootstrap.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat/lib/catalina.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat/lib/catalina-optional.jar
Andrew Overholt e940817
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat/lib/jasper-compiler.jar
Andrew Overholt e940817
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat/lib/jasper-runtime.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat/lib/mx4j.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat/lib/mx4j-impl.jar
Andrew Overholt e940817
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat/lib/mx4j-jmx.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat/lib/naming-factory.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat/lib/naming-resources.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat/lib/servlets-default.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat/lib/servlets-invoker.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat/lib/tomcat-coyote.jar
Andrew Overholt e2d44f9
ln -s %{tomcatlibdir}/server/lib/tomcat-http.jar plugins/org.eclipse.tomcat/lib/tomcat-http.jar
Andrew Overholt e940817
ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat/lib/tomcat-util.jar
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-beanutils
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-collections
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-dbcp
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-digester-rss
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-el
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-fileupload
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-launcher
Andrew Overholt 8ff44ba
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-logging-api
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-modeler
Andrew Overholt 9f2631f
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib commons-pool
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib jspapi
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib regexp
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.eclipse.tomcat/lib servletapi5
Andrew Overholt 8572c32
## END TOMCAT ##
Ben Konrath 19e4982
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.junit junit
9ef820f
Andrew Overholt ad7296c
pushd plugins/org.eclipse.swt/Eclipse\ SWT\ PI/gtk/library
9ef820f
# /usr/lib -> /usr/lib64
9ef820f
sed --in-place "s:/usr/lib/:%{_libdir}/:g" build.sh
Andrew Overholt a9c56bb
sed --in-place "s:-L\$(AWT_LIB_PATH):-L%{_jvmdir}/java/jre/lib/%{_arch}:" make_linux.mak
Andrew Overholt ad7296c
popd
Ben Konrath 2987a9c
Ben Konrath 8b6e80f
# FIXME: figure out what's going on with build.index on ppc64, s390x and i386   
Ben Konrath 591a1a7
%ifarch ppc64 s390 s390x i386 ia64
Ben Konrath 5e83817
  find plugins -type f -name \*.xml -exec sed --in-place "s/\(<antcall target=\"build.index\".*\/>\)/<\!-- \1 -->/" "{}" \;
Ben Konrath 2987a9c
%endif
Ben Konrath 2987a9c
Ben Konrath cccd621
# the swt version is set to HEAD on ia64 but shouldn't be
Ben Konrath cccd621
# FIXME: file a bug about this
Ben Konrath cccd621
# get swt version
Ben Konrath cccd621
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath cccd621
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath cccd621
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath cccd621
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath cccd621
swt_frag_ver_ia64=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Ben Konrath cccd621
sed --in-place "s/$swt_frag_ver_ia64/$swt_frag_ver/g" plugins/org.eclipse.swt.gtk.linux.ia64/build.xml \
Ben Konrath cccd621
						      assemble.org.eclipse.sdk.linux.gtk.ia64.xml \
Ben Konrath cccd621
						      features/org.eclipse.rcp/build.xml
Ben Konrath cccd621
Ben Konrath ddc911f
# nasty hack to get suppport for ppc64, s390(x) and sparc(64)
Ben Konrath ddc911f
# move all of the ia64 directories to ppc64 or s390(x) or sparc(64) dirs and replace 
Ben Konrath ddc911f
# the ia64 strings with ppc64 or s390(x)
Ben Konrath ddc911f
%ifarch ppc64 s390 s390x sparc sparc64
Ben Konrath 55460d9
  # there is only partial support for ppc64 in 3.2 so we have to remove this 
Ben Konrath 55460d9
  # partial support to get the replacemnt hack to work
Ben Konrath 2987a9c
  find -name \*ppc64\* | xargs rm -r
Ben Konrath 55460d9
  
Ben Konrath 55460d9
  # remove remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 55460d9
  # replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
Ben Konrath 2987a9c
  find -type f -name \*.xml -exec sed --in-place "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" "{}" \;
Ben Konrath 55460d9
  # remove org.eclipse.platform.source.linux.gtk.ppc64,3.2.0.v20060602-0010-gszCh-8eOaU1uKq
Ben Konrath 2987a9c
  sed --in-place "s/,.\{38\}ppc64.*macosx/,org.eclipse.platform.source.macosx/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 55460d9
  # replace final occurances with an existing arch
Ben Konrath 2987a9c
  sed --in-place "s/ppc64/x86_64/g" features/org.eclipse.platform.source/build.xml
Ben Konrath 55460d9
Ben Konrath 55460d9
  # remove remove ppc64 support from features/org.eclipse.platform.source/feature.xml
Ben Konrath 2987a9c
  mv features/org.eclipse.platform.source/feature.xml features/org.eclipse.platform.source/feature.xml.orig
Ben Konrath 2987a9c
  grep -v ppc64 features/org.eclipse.platform.source/feature.xml.orig > features/org.eclipse.platform.source/feature.xml	
Ben Konrath 55460d9
Ben Konrath 55460d9
  # finally the replacement hack
Ben Konrath 55460d9
  for f in $(find -name \*ia64\* | grep -v motif | grep -v ia64_32); do 
Ben Konrath 55460d9
    mv $f $(echo $f | sed "s/ia64/%{_arch}/")
Ben Konrath 55460d9
  done
Ben Konrath 55460d9
  find -type f -exec sed --in-place "s/ia64_32/@eye-eh-64_32@/g" "{}" \;
Ben Konrath 55460d9
  find -type f -exec sed --in-place "s/ia64/%{_arch}/g" "{}" \;
Ben Konrath 55460d9
  find -type f -exec sed --in-place "s/@eye-eh-64_32@/ia64_32/g" "{}" \;
Ben Konrath 55460d9
%endif 
Andrew Overholt ad7296c
Andrew Overholt 30d65b3
# gjdoc can't handle Mac-encoded files
Andrew Overholt 30d65b3
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29167
Andrew Overholt 30d65b3
pushd plugins
Andrew Overholt 30d65b3
for f in `find .. -name \*.java`; do
Andrew Overholt 30d65b3
  file $f | grep "CR line" > /dev/null && mac2unix $f
Andrew Overholt 30d65b3
done
Andrew Overholt 30d65b3
popd
Ben Konrath 2987a9c
Ben Konrath 5b61247
# setup the jsch plugin build
Ben Konrath 5b61247
rm plugins/org.eclipse.team.cvs.ssh2/com.jcraft.jsch_*.jar
Ben Konrath 5b61247
# FIXME remove version number, file a bug about this
Ben Konrath 5b61247
pushd baseLocation/plugins
Ben Konrath 5b61247
# get the Manifest file
Ben Konrath 5b61247
unzip -qq -o -d com.jcraft.jsch_0.1.28.jar-build com.jcraft.jsch_*.jar -x com\*
Ben Konrath 5b61247
rm com.jcraft.jsch_*.jar
Ben Konrath 5b61247
popd
Ben Konrath 5b61247
Ben Konrath 5b61247
# setup with the icu4j plugins for building
Ben Konrath 7d37f4e
pushd baseLocation/plugins
Ben Konrath 7d37f4e
rm com.ibm.icu.base_3.4.5.jar \
Ben Konrath 7d37f4e
   com.ibm.icu_3.4.5.jar \
Ben Konrath 7d37f4e
   com.ibm.icu.base.source_3.4.5/src/com.ibm.icu.base_3.4.5/src.zip \
Ben Konrath 7d37f4e
   com.ibm.icu.source_3.4.5/src/com.ibm.icu_3.4.5/src.zip
Ben Konrath 7d37f4e
mkdir -p icu4j-build-temp
Ben Konrath 7d37f4e
Ben Konrath 7d37f4e
pushd icu4j-build-temp
Ben Konrath 7d37f4e
unzip -qq %{SOURCE7} 
Ben Konrath 7d37f4e
sed --in-place "s/ .*bootclasspath=.*//g" build.xml
Ben Konrath 7d37f4e
ant eclipseProjects
Ben Konrath 7d37f4e
popd
Ben Konrath 5b61247
Ben Konrath 7d37f4e
mkdir -p icu4j-build
Ben Konrath 7d37f4e
mv icu4j-build-temp/eclipseProjects/com.ibm.icu icu4j-build
Ben Konrath 7d37f4e
mv icu4j-build-temp/eclipseProjects/com.ibm.icu.base icu4j-build
Ben Konrath 7d37f4e
rm -r icu4j-build-temp
Ben Konrath 5b61247
Ben Konrath 5b61247
# add build.xml patches
Ben Konrath 7d37f4e
pushd icu4j-build
Ben Konrath 7d37f4e
%patch3 -p1
Ben Konrath 7d37f4e
popd 
Ben Konrath 5b61247
Ben Konrath 7d37f4e
popd
Ben Konrath 5b61247
Ben Konrath 5b61247
# delete included jars
Ben Konrath 5b61247
# FIXME: file a bug about these
Ben Konrath 5b61247
rm plugins/org.eclipse.swt.win32.win32.x86/swt.jar \
Ben Konrath 5b61247
   plugins/org.eclipse.swt/extra_jars/exceptions.jar \
Ben Konrath 5b61247
   plugins/org.eclipse.swt.tools/swttools.jar \
Ben Konrath 5b61247
   features/org.eclipse.platform.launchers/bin/startup.jar
Ben Konrath 5b61247
Ben Konrath 5037e9d
# make sure there are no jars left
Ben Konrath 55460d9
JARS=""
Ben Konrath 55460d9
for j in $(find -name \*.jar); do
Ben Konrath 55460d9
  if [ ! -L $j ]; then
Ben Konrath 55460d9
    JARS="$JARS $j"
Ben Konrath 55460d9
  fi
Ben Konrath 55460d9
done
Ben Konrath 55460d9
if [ ! -z "$JARS" ]; then
Ben Konrath 1fca076
    echo "These jar should be deleted and symlinked to system jars: $JARS"
Ben Konrath 2987a9c
   #FIXME: enable  exit 1
Ben Konrath 55460d9
fi
Ben Konrath 5037e9d
Andrew Overholt 602cb9d
%build
Andrew Overholt 907e15b
env
Andrew Overholt 602cb9d
ORIGCLASSPATH=$CLASSPATH
Andrew Overholt 602cb9d
Ben Konrath 55460d9
# finish the jsch plugin build
Ben Konrath 681f7e5
# FIXME remove version numbers
Ben Konrath 681f7e5
# FIXME jar -V does not work for proprietary VMs 
Ben Konrath 55460d9
pushd baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
Ben Konrath 55460d9
unzip -qq %{_javadir}/jsch.jar -x META-INF\*
Ben Konrath 55460d9
sed --in-place "s/$(grep Created-By: META-INF/MANIFEST.MF)/Created-By: $(jar -V | head -1)/" META-INF/MANIFEST.MF
Ben Konrath e1ec979
jar -Mcf ../com.jcraft.jsch_0.1.28.jar *
Ben Konrath 55460d9
popd
Ben Konrath 5b61247
# FXIME don't delete this, do what icu4j does
Ben Konrath 55460d9
rm -r baseLocation/plugins/com.jcraft.jsch_0.1.28.jar-build
Ben Konrath e17f27b
Ben Konrath 5b61247
# finish the icu4j build
Ben Konrath 7d37f4e
pushd baseLocation/plugins
Ben Konrath 5b61247
Ben Konrath 5b61247
# build the icu.base plugin
Ben Konrath 7d37f4e
zipfile=$PWD/com.ibm.icu.base.source_3.4.5/src/com.ibm.icu.base_3.4.5/src.zip
Ben Konrath 7d37f4e
pushd icu4j-build/com.ibm.icu.base/src
Ben Konrath 7d37f4e
find -name \*.java | xargs touch --date=1/1/1970
Ben Konrath 7d37f4e
zip -X -9 -r $zipfile . -i \*.java
Ben Konrath 7d37f4e
popd
Ben Konrath 7d37f4e
pushd icu4j-build/com.ibm.icu.base
Ben Konrath 7d37f4e
ant build.update.jar
Ben Konrath 7d37f4e
popd
Ben Konrath 7d37f4e
mv icu4j-build/com.ibm.icu.base/com.ibm.icu.base_3.4.5.jar .
Ben Konrath 5b61247
Ben Konrath 5b61247
# build the icu plugin
Ben Konrath 7d37f4e
zipfile=$PWD/com.ibm.icu.source_3.4.5/src/com.ibm.icu_3.4.5/src.zip
Ben Konrath 7d37f4e
pushd icu4j-build/com.ibm.icu/src
Ben Konrath 7d37f4e
find -name \*.java | xargs touch --date=1/1/1970
Ben Konrath 7d37f4e
zip -X -9 -r $zipfile . -i \*.java
Ben Konrath 7d37f4e
popd
Ben Konrath 7d37f4e
pushd icu4j-build/com.ibm.icu
Ben Konrath 7d37f4e
ant build.update.jar
Ben Konrath 7d37f4e
popd
Ben Konrath 7d37f4e
mv icu4j-build/com.ibm.icu/com.ibm.icu_3.4.5.jar .
Ben Konrath 5b61247
Ben Konrath 7d37f4e
popd
Ben Konrath 5b61247
Ben Konrath 5037e9d
# Bootstrapping is 3 parts:
Ben Konrath 5037e9d
# 1. Build ecj with gcj -C -- only necessary until gcjx/ecj lands in gcc
Ben Konrath 5037e9d
# 2. Build ecj with gcj-built ecj ("javac")
Ben Konrath 5037e9d
# 3. Re-build ecj with output of 2.
Ben Konrath 5037e9d
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 349c5a6
  # Unzip the "stable compiler" source into a temp dir and build it.
Andrew Overholt 349c5a6
  # Note:  we don't want to build the CompilerAdapter.
Andrew Overholt 349c5a6
  mkdir ecj-bootstrap-tmp
9ef820f
  unzip -qq -d ecj-bootstrap-tmp jdtcoresrc/src/ecj.zip
Andrew Overholt 349c5a6
  rm -f ecj-bootstrap-tmp/org/eclipse/jdt/core/JDTCompilerAdapter.java
Andrew Overholt 349c5a6
  
Andrew Overholt 349c5a6
  # 1a. Build ecj with gcj -C
Andrew Overholt 349c5a6
  pushd ecj-bootstrap-tmp
Andrew Overholt 349c5a6
  for f in `find -name '*.java' | cut -c 3-`; do
Andrew Overholt 349c5a6
      gcj -Wno-deprecated -C $f
Andrew Overholt 349c5a6
  done
Andrew Overholt 349c5a6
  find -name '*.class' -or -name '*.properties' -or -name '*.rsc' |\
Andrew Overholt 349c5a6
      xargs jar cf ../ecj-bootstrap.jar
Andrew Overholt 349c5a6
  popd
Andrew Overholt 349c5a6
  
9ef820f
  # Delete our modified ecj and restore the backup
Andrew Overholt 349c5a6
  rm -rf ecj-bootstrap-tmp
Andrew Overholt 349c5a6
  
Ben Konrath 681f7e5
  # 1b. Natively-compile it
Ben Konrath 681f7e5
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Ben Konrath 681f7e5
    -o ecj-bootstrap.jar.so ecj-bootstrap.jar
Ben Konrath 681f7e5
Ben Konrath 681f7e5
  gcj-dbtool -n ecj-bootstrap.db 30000
Ben Konrath 681f7e5
  gcj-dbtool -a ecj-bootstrap.db ecj-bootstrap.jar{,.so}
Andrew Overholt fcfd08f
  
Andrew Overholt f3d35a6
  # 2a. Build ecj
Andrew Overholt 349c5a6
  export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH
Andrew Overholt f3d35a6
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db"
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 602cb9d
ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
Andrew Overholt 602cb9d
Ben Konrath 681f7e5
%if %{gcj_support}
Andrew Overholt f3d35a6
  # 2b. Natively-compile ecj
Andrew Overholt f3d35a6
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt f3d35a6
    -o jdtcoresrc/ecj.jar.so jdtcoresrc/ecj.jar
Andrew Overholt f3d35a6
   
Andrew Overholt f3d35a6
  gcj-dbtool -n jdtcoresrc/ecj.db 30000
Andrew Overholt f3d35a6
  gcj-dbtool -a jdtcoresrc/ecj.db jdtcoresrc/ecj.jar{,.so}
Andrew Overholt 8581d1e
Andrew Overholt f3d35a6
  # Remove our gcj-built ecj
Andrew Overholt f3d35a6
  rm ecj-bootstrap.db ecj-bootstrap.jar{,.so}
Andrew Overholt f3d35a6
Andrew Overholt a3ab712
  # To enSURE we're not using any pre-compiled ecj on the build system, set this
Andrew Overholt f3d35a6
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/jdtcoresrc/ecj.db"
Andrew Overholt 33dd0d6
%endif
Andrew Overholt 602cb9d
Andrew Overholt 602cb9d
# 3. Use this ecj to rebuild itself
9ef820f
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
Andrew Overholt 602cb9d
ant -buildfile jdtcoresrc/compilejdtcore.xml
Andrew Overholt 602cb9d
Ben Konrath 681f7e5
%if %{gcj_support}
Andrew Overholt f3d35a6
  # Natively-compile it
Andrew Overholt f3d35a6
  gcj -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
Andrew Overholt f3d35a6
    -o ecj.jar.so ecj.jar
Andrew Overholt f3d35a6
  gcj-dbtool -n ecj.db 30000
Andrew Overholt f3d35a6
  gcj-dbtool -a ecj.db ecj.jar{,.so}
Andrew Overholt f3d35a6
  export ANT_OPTS="-Dgnu.gcj.precompiled.db.path=`pwd`/ecj.db"
Andrew Overholt a5c081c
  
Andrew Overholt a5c081c
  # Remove old native bits
Andrew Overholt f3d35a6
  rm jdtcoresrc/ecj.db jdtcoresrc/ecj.jar.so
Andrew Overholt 349c5a6
%endif
Andrew Overholt 602cb9d
Andrew Overholt 602cb9d
# Build the rest of Eclipse
9ef820f
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
Ben Konrath 5037e9d
export JAVA_HOME=%{java_home}
Andrew Overholt bfd4e0b
ant \
Andrew Overholt bfd4e0b
  -Dnobootstrap=true \
Andrew Overholt f2593e9
  -DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
Andrew Overholt bfd4e0b
  -Dlibsconfig=true
Andrew Overholt 921a570
9ef820f
# Hack to get the -debuginfo source code references
9ef820f
# to be pointing to the right place:
9ef820f
# Hardlink all the org.* source we can find
9ef820f
# Presumably, all the zipped source gets unzipped before compilation?
9ef820f
#src_root=$PWD/plugins
9ef820f
#pushd result
9ef820f
#mkdir -p eclipse/org
9ef820f
#collected_src_dir=$PWD/eclipse
9ef820f
#cat >copyallsrc <<-EOF
9ef820f
#	#! /bin/bash -peu
9ef820f
#	cd "\$1"
9ef820f
#	echo "Copying all .java source files from \$1 to $collected_src_dir..."
9ef820f
#	find . -type f -name '*.java' -print0 \
9ef820f
#	| xargs -0 -r cp -l --parents --target-directory=$collected_src_dir/org
9ef820f
#EOF
9ef820f
#chmod u+x copyallsrc
9ef820f
## Special case logic for SWT - only copy linux-gtk source
9ef820f
#find $src_root -type d -a \( -name org.eclipse.swt -prune -o -name org -print0 \) | xargs -l -0 ./copyallsrc
9ef820f
#./copyallsrc $src_root/org.eclipse.swt/Eclipse\ SWT/gtk/org
9ef820f
#popd
9ef820f
Ben Konrath 2987a9c
cvsdist 38d0d0c
%install
cvsdist 38d0d0c
rm -rf $RPM_BUILD_ROOT
cvsdist df631d8
Ben Konrath bc6236b
# get swt version
Ben Konrath bc6236b
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236b
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
Ben Konrath bc6236b
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
Ben Konrath bc6236b
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath cccd621
tar -C $RPM_BUILD_ROOT%{_datadir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
cvsdist df631d8
Ben Konrath 158e040
# FIXME: investigate why it doesn't work to set this -- configuration data is
Ben Konrath 158e040
# always written to /usr/share/eclipse/configuration
Ben Konrath 158e040
#     -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration \
Andrew Overholt fd64f0d
# Extract .so files
Andrew Overholt fd64f0d
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
Ben Konrath 158e040
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Ben Konrath 158e040
java -cp startup.jar \
Ben Konrath 158e040
     org.eclipse.core.launcher.Main \
Ben Konrath 158e040
     -consolelog \
Ben Konrath 158e040
     -application org.eclipse.core.runtime.initializer \
Ben Konrath 158e040
     -fileInitializer %{SOURCE19}
9ef820f
popd
9ef820f
Ben Konrath 158e040
# Install config.ini to an arch dependant location and remomve the unnecessary
Ben Konrath 158e040
# configuration data
cvsdist 38d0d0c
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 158e040
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/configuration $RPM_BUILD_ROOT%{_libdir}/%{name}
Ben Konrath 158e040
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.update
Ben Konrath 158e040
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.core.runtime
Ben Konrath 158e040
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/*.log
cvsdist df631d8
Ben Konrath 158e040
# Set config.ini for the rcp package, the lowest package in the dependancy chain.
Ben Konrath 158e040
sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/#eclipse.product=/" \
Ben Konrath 158e040
  $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
Ben Konrath 158e040
Ben Konrath 158e040
# Install the platform specific fragments in an arch specific dir
Ben Konrath 158e040
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/links
Ben Konrath 158e040
echo "path:%{_libdir}" > $RPM_BUILD_ROOT%{_datadir}/%{name}/links/fragments.link
Ben Konrath 158e040
echo "name=Eclipse Platform" > $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath 158e040
echo "id=org.eclipse.platform" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath 158e040
echo "version=%{eclipse_majmin}.%{eclipse_micro}" >> $RPM_BUILD_ROOT%{_libdir}/%{name}/.eclipseextension
Ben Konrath 158e040
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 158e040
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/*%{eclipse_arch}* $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 158e040
Ben Konrath 158e040
# Install the Eclipse binary
Andrew Overholt bfd4e0b
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Ben Konrath 158e040
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/eclipse $RPM_BUILD_ROOT%{_bindir}/%{name}
Andrew Overholt bfd4e0b
Ben Konrath 158e040
# Ensure the shared libraries have the correct permissions
Ben Konrath 158e040
pushd $RPM_BUILD_ROOT%{_libdir}/%{name} 
Ben Konrath 158e040
for lib in `find configuration -name \*.so`; do
Ben Konrath 158e040
   chmod 755 $lib
Andrew Overholt fd64f0d
done
cvsdist 38d0d0c
Ben Konrath 158e040
# Create file listings for the extracted shared objects 
Ben Konrath 158e040
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 158e040
for id in `ls configuration/org.eclipse.osgi/bundles`; do
Ben Konrath 158e040
  if [ "Aconfiguration" = $(echo A`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
Ben Konrath 158e040
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{libname}-gtk2.install;
Ben Konrath 158e040
  else
Ben Konrath 158e040
    echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
Ben Konrath 158e040
  fi
Ben Konrath 158e040
done 
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath 158e040
# Install symlinks to the SWT JNI shared libraries in /usr/lib
Andrew Overholt fd64f0d
pushd $RPM_BUILD_ROOT%{_libdir}
Ben Konrath 158e040
for lib in $(find %{name}/configuration -name libswt\*.so); do  
Ben Konrath 158e040
  ln -s %{_libdir}/$lib `basename $lib`
Andrew Overholt fd64f0d
done
Andrew Overholt fd64f0d
popd
Ben Konrath 158e040
Andrew Overholt 86fa7c9
# Install the SWT symlinks in libdir
Andrew Overholt bfd4e0b
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
Andrew Overholt 0e12cd7
swtjarversion=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
Andrew Overholt 86fa7c9
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
Ben Konrath 158e040
ln -s %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$swtjarversion.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
Ben Konrath 2987a9c
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
cvsdist 38d0d0c
popd
cvsdist 38d0d0c
Ben Konrath 158e040
# Install the eclipse-ecj.jar symlink for java-1.4.2-gcj-compat's "javac"
Ben Konrath 158e040
JDTCORESUFFIX=$(ls $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins | grep jdt.core_ | sed "s/org.eclipse.jdt.core_//")
Andrew Overholt 86fa7c9
ln -s %{_datadir}/%{name}/plugins/org.eclipse.jdt.core_$JDTCORESUFFIX $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
Ben Konrath 158e040
ln -s %{_javadir}/eclipse-ecj.jar $RPM_BUILD_ROOT%{_javadir}/jdtcore.jar
Ben Konrath 158e040
Ben Konrath 158e040
# FIXME: get rid of this by putting logic in package build to know what version
Ben Konrath 158e040
#        of pde.build it's using
Ben Konrath 158e040
# Install a versionless pde.build
Ben Konrath 2987a9c
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
Ben Konrath 2987a9c
ln -s org.eclipse.pde.build_* org.eclipse.pde.build
Ben Konrath 2987a9c
popd
Ben Konrath 2987a9c
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 349c5a6
install -d -m0755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
Andrew Overholt 349c5a6
ln -s ../../../../%{name}/plugins/org.eclipse.platform_%{eclipse_majmin}.%{eclipse_micro}/eclipse32.gif \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
Andrew Overholt 349c5a6
install -d -m0755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
Andrew Overholt 349c5a6
ln -s ../../../../%{name}/plugins/org.eclipse.platform_%{eclipse_majmin}.%{eclipse_micro}/eclipse.gif \
Andrew Overholt 349c5a6
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
Andrew Overholt 349c5a6
# Remove unused icon.xpm
Andrew Overholt 349c5a6
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/icon.xpm
cvsdist df631d8
Ben Konrath 158e040
# install the efj wrapper script 
Ben Konrath 0b073c2
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
Ben Konrath 0b073c2
sed --in-place "s:startup.jar:%{_datadir}/%{name}/startup.jar:" \
Ben Konrath 0b073c2
  $RPM_BUILD_ROOT%{_bindir}/efj 
Ben Konrath 0b073c2
Ben Konrath 158e040
# Install the ecj wrapper script
Ben Konrath 158e040
install -p -D -m0755 %{SOURCE18} $RPM_BUILD_ROOT%{_bindir}/ecj
Ben Konrath 158e040
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj 
Ben Konrath 158e040
cvsdist 38d0d0c
# A sanity check.
cvsdist 38d0d0c
desktop-file-validate %{SOURCE2}
cvsdist 38d0d0c
cvsdist 38d0d0c
# freedesktop.org menu entry
Ben Konrath 158e040
install -p -D -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
cvsdist 38d0d0c
Ben Konrath 5037e9d
%if %{fedora}
Ben Konrath 5b61247
# Put Fedora Core version into about.mappings of org.eclipse.sdk and
Ben Konrath 5b61247
# org.eclipse.platform to show it in # Eclipse about dialog.  (courtesy Debian
Ben Konrath 5b61247
# Eclipse packagers)
Ben Konrath 5037e9d
# FIXME use the third id
Ben Konrath 5b61247
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.sdk_%{eclipse_majmin}.*
Andrew Overholt 2104416
FEDORA_VERSION=`cat /etc/fedora-release`
Andrew Overholt 2104416
sed -e "s/\(0=.*\)/\1 ($FEDORA_VERSION)/" < about.mappings > about.mappings.tmp
Andrew Overholt 2104416
mv about.mappings.tmp about.mappings
Andrew Overholt 2104416
popd
Ben Konrath 5b61247
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/org.eclipse.platform_%{eclipse_majmin}.*
Ben Konrath 5b61247
sed -e "s/\(0=.*\)/\1 ($FEDORA_VERSION)/" < about.mappings > about.mappings.tmp
Ben Konrath 5b61247
mv about.mappings.tmp about.mappings
Ben Konrath 5b61247
popd
Ben Konrath 5037e9d
%endif
Andrew Overholt 2104416
cvsdist 38d0d0c
# Create a script that can be used to make a symlink tree of the
cvsdist 38d0d0c
# eclipse platform.
Andrew Overholt bfd4e0b
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 bfd4e0b
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
cvsdist 38d0d0c
cp copy-platform $RPM_BUILD_ROOT%{_datadir}/%{name}/buildscripts
Ben Konrath 435496e
Andrew Overholt bfd4e0b
pushd $RPM_BUILD_ROOT%{_datadir}/%{name}
Andrew Overholt bfd4e0b
## BEGIN ANT ##
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-antlr.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-apache-bcel.jar
Ben Konrath 55460d9
#rm plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-apache-log4j.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-apache-oro.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-apache-regexp.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-apache-resolver.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-commons-logging.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-commons-net.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-icontract.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-jai.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-javamail.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-jdepend.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-jmf.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-jsch.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-junit.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-launcher.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-netrexx.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-nodeps.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-starteam.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-stylebook.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-swing.jar
Ben Konrath 5037e9d
rm plugins/org.apache.ant_*/lib/ant-trax.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-vaj.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-weblogic.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-xalan1.jar
Ben Konrath 5037e9d
#rm plugins/org.apache.ant_*/lib/ant-xslp.jar
Ben Konrath 5037e9d
# FIXME use build-jar-repository
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_1.6.5/lib/ant-antlr.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bcel.jar
Ben Konrath 55460d9
#ln -s %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-bsf.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-log4j.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-oro.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-regexp.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-apache-resolver.jar plugins/org.apache.ant_1.6.5/lib/ant-apache-resolver.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-commons-logging.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-logging.jar
Ben Konrath 5037e9d
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180642
Ben Konrath 5037e9d
# the symlinks that are commented out are not currently shipped on Fedora
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-commons-net.jar plugins/org.apache.ant_1.6.5/lib/ant-commons-net.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-icontract.jar plugins/org.apache.ant_1.6.5/lib/ant-icontract.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-jai.jar plugins/org.apache.ant_1.6.5/lib/ant-jai.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant.jar plugins/org.apache.ant_1.6.5/lib/ant.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-javamail.jar plugins/org.apache.ant_1.6.5/lib/ant-javamail.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-jdepend.jar plugins/org.apache.ant_1.6.5/lib/ant-jdepend.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-jmf.jar plugins/org.apache.ant_1.6.5/lib/ant-jmf.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-jsch.jar plugins/org.apache.ant_1.6.5/lib/ant-jsch.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-junit.jar plugins/org.apache.ant_1.6.5/lib/ant-junit.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant-launcher.jar plugins/org.apache.ant_1.6.5/lib/ant-launcher.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-netrexx.jar plugins/org.apache.ant_1.6.5/lib/ant-netrexx.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_1.6.5/lib/ant-nodeps.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-starteam.jar plugins/org.apache.ant_1.6.5/lib/ant-starteam.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-stylebook.jar plugins/org.apache.ant_1.6.5/lib/ant-stylebook.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_1.6.5/lib/ant-swing.jar
Ben Konrath 5037e9d
ln -s %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_1.6.5/lib/ant-trax.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-vaj.jar plugins/org.apache.ant_1.6.5/lib/ant-vaj.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-weblogic.jar plugins/org.apache.ant_1.6.5/lib/ant-weblogic.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-xalan1.jar plugins/org.apache.ant_1.6.5/lib/ant-xalan1.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/ant/ant-xslp.jar plugins/org.apache.ant_1.6.5/lib/ant-xslp.jar
Andrew Overholt bfd4e0b
## END ANT ##
Andrew Overholt fcfd08f
# BEGIN LUCENE ##
Ben Konrath bc6236b
# FIXME: rm -f in ln
Ben Konrath bc6236b
#rm plugins/org.apache.lucene_*/lucene-1.4.3.jar
Ben Konrath bc6236b
ln -sf %{_javadir}/lucene.jar plugins/org.apache.lucene_*/lucene-1.4.3.jar
Andrew Overholt fcfd08f
# END LUCENE ##
Ben Konrath 5037e9d
# FIXME
Ben Konrath 5037e9d
#rm plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar
Ben Konrath 5037e9d
#ln -s %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar
Andrew Overholt 67315b4
Andrew Overholt 8572c32
## BEGIN TOMCAT ##
Andrew Overholt d3f1131
TOMCATPLUGINVERSION=$(ls plugins | grep tomcat | sed 's/org.eclipse.tomcat_//')
Andrew Overholt d74cd2e
mkdir -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib
Andrew Overholt d74cd2e
ln -s %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/bootstrap.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/catalina-optional.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/jasper5-compiler.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-compiler.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/jasper5-runtime.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/jasper-runtime.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j-impl.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-impl.jar
Andrew Overholt d74cd2e
ln -s %{_javadir}/mx4j/mx4j-jmx.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/mx4j-jmx.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/common/lib/naming-common.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-common.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/common/lib/naming-factory.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-factory.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/common/lib/naming-resources.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/naming-resources.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/servlets-common.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-common.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/servlets-default.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-default.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/servlets-invoker.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/servlets-invoker.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/tomcat-coyote.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-coyote.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/tomcat-http.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-http.jar
Andrew Overholt d74cd2e
ln -s %{tomcatlibdir}/server/lib/tomcat-util.jar plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib/tomcat-util.jar
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-beanutils
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-collections
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-dbcp
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-digester-rss
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-el
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-fileupload
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-launcher
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-logging-api
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-modeler
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib commons-pool
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib jspapi
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib regexp
Andrew Overholt d74cd2e
build-jar-repository -s -p plugins/org.eclipse.tomcat_$TOMCATPLUGINVERSION/lib servletapi5
Andrew Overholt 8572c32
## END TOMCAT ##
Ben Konrath 19e4982
Andrew Overholt 16c113b
build-jar-repository -s -p plugins/org.junit_* junit
Andrew Overholt bfd4e0b
Andrew Overholt fa0c283
# FIXME:  due to aot-compile-rpm smarts, the required resource bundles aren't
Andrew Overholt fa0c283
# being compiled so this truly native ecj binary isn't possible
Ben Konrath 681f7e5
#%if %{gcj_support}
Andrew Overholt fa0c283
# # Build and install ecj binary
Andrew Overholt fa0c283
# pushd $RPM_BUILD_ROOT%{_libdir}/gcj/%{name}
Andrew Overholt fa0c283
#   gcj -g -O2 --main=org.eclipse.jdt.internal.compiler.batch.Main \
Andrew Overholt fa0c283
#     -Wl,-R,%{_libdir}/gcj/%{name} \
Andrew Overholt fa0c283
#     org.eclipse.jdt.core_3.1.2.jar.so -o \
Andrew Overholt fa0c283
#     $RPM_BUILD_ROOT%{_bindir}/ecj
Andrew Overholt fa0c283
# popd
Andrew Overholt fa0c283
# chmod a+x $RPM_BUILD_ROOT%{_bindir}/ecj
Andrew Overholt fa0c283
#%else
Ben Konrath 158e040
Ben Konrath 158e040
# Ensure that the zip files are the same across all builds.
Ben Konrath 158e040
# This is needed to make these package multilib compatible.
Ben Konrath 158e040
mkdir -p ${RPM_BUILD_ROOT}/tmp
Ben Konrath 158e040
for zip in `find ${RPM_BUILD_ROOT}%{_datadir}/%{name} -type f -name \*.zip`; do
Ben Konrath 158e040
  # unpack every zip, set the date of the files and directories and repack the zip
Ben Konrath 158e040
  ZIPNAME=`basename $zip`
Ben Konrath 158e040
  TMPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.tmpdir.XXXXXXXXXX` 
Ben Konrath 158e040
  ZIPDIR=`mktemp -d -p ${RPM_BUILD_ROOT}/tmp $ZIPNAME.zipdir.XXXXXXXXXX` 	
Ben Konrath 158e040
  
Ben Konrath 158e040
  pushd $TMPDIR 
Ben Konrath 158e040
  unzip -qq -o $zip
Ben Konrath 158e040
  rm -f $zip	
Ben Konrath 158e040
  # create the directories first
Ben Konrath 158e040
  for d in `find -type d | LC_ALL=C sort`; do
Ben Konrath 158e040
    mkdir -p $ZIPDIR/$d
Ben Konrath 158e040
  done 
Ben Konrath 158e040
  # move the contents over to the a new directory in order and set the times. 
Ben Konrath 158e040
  for f in `find -type f | LC_ALL=C sort`; do 
Ben Konrath 158e040
    cp $f $ZIPDIR/$f
Ben Konrath 158e040
    touch --date="1970-01-01 UTC" $ZIPDIR/$f
Ben Konrath 158e040
  done
Ben Konrath 158e040
  popd
Ben Konrath 158e040
Ben Konrath 158e040
  # Set the times of the directories.
Ben Konrath b0338ad
  touch --date="1970-01-01 UTC" `find $ZIPDIR -type d`
Ben Konrath 158e040
Ben Konrath 158e040
  # make the new zip
Ben Konrath 158e040
  pushd $ZIPDIR
Ben Konrath 158e040
  find -type f -print | LC_ALL=C sort | /usr/bin/zip -q -X -9 $zip -@
Ben Konrath 158e040
  popd
Ben Konrath 158e040
Ben Konrath 158e040
  # Cleanup.
Ben Konrath 158e040
  rm -rf $TMPDIR
Ben Konrath 158e040
  rm -rf $ZIPDIR
Ben Konrath 158e040
done
Ben Konrath 158e040
rm -rf ${RPM_BUILD_ROOT}/tmp
Andrew Overholt 6b71c48
Ben Konrath 5037e9d
%if %{gcj_support}
Ben Konrath 158e040
# exclude org.eclipse.ui.ide to work around
Ben Konrath 158e040
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175547
Ben Konrath 158e040
UIIDEPLUGINVERSION=$(ls plugins | grep ui.ide_ | sed 's/org.eclipse.ui.ide_//')
Ben Konrath 158e040
aot-compile-rpm --exclude %{_datadir}/%{name}/plugins/org.eclipse.ui.ide_$UIIDEPLUGINVERSION 
Ben Konrath 56f70b7
%endif
Andrew Overholt 25abe4e
Andrew Overholt bfd4e0b
%clean
Andrew Overholt bfd4e0b
rm -rf $RPM_BUILD_ROOT
Andrew Overholt 25abe4e
Andrew Overholt 921a570
%post platform
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%{_bindir}/rebuild-gcj-db
Andrew Overholt 33dd0d6
%endif
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
Ben Konrath 158e040
if [ -f %{_libdir}/%{name}/configuration/config.ini ]; then
Ben Konrath 71f7bf0
  sed --in-place "s/#eclipse.product=/eclipse.product=org.eclipse.platform.ide/" \
Ben Konrath 158e040
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 5b61247
fi
cvsdist 38d0d0c
Andrew Overholt 0665d48
%postun platform
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%{_bindir}/rebuild-gcj-db
Andrew Overholt 33dd0d6
%endif
fcae093
touch --no-create %{_datadir}/icons/hicolor
b295832
if [ -x /usr/bin/gtk-update-icon-cache ]; then
17c7c30
  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fcae093
fi
Ben Konrath 71f7bf0
if [ -d %{_datadir}/%{name}/features ]; then
Ben Konrath ec43790
  PLATFORMDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.platform_")
Ben Konrath 158e040
  if [ -z "$PLATFORMDIR" -a -f %{_libdir}/%{name}/configuration/config.ini ]; then
Ben Konrath 71f7bf0
    sed --in-place "s/eclipse.product=org.eclipse.platform.ide/#eclipse.product=/" \
Ben Konrath 158e040
      %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 71f7bf0
  fi
Ben Konrath 5b61247
fi
Ben Konrath 07ad637
Ben Konrath 07ad637
%post sdk 
Ben Konrath 07ad637
%if %{gcj_support}
Ben Konrath 07ad637
%{_bindir}/rebuild-gcj-db
Ben Konrath 07ad637
%endif
Ben Konrath 158e040
if [ -f %{_libdir}/%{name}/configuration/config.ini ]; then
Ben Konrath 71f7bf0
  sed --in-place "s/eclipse.product=org.eclipse.platform.ide/eclipse.product=org.eclipse.sdk.ide/" \
Ben Konrath 158e040
    %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 5b61247
fi
Ben Konrath 07ad637
Ben Konrath 07ad637
%postun sdk 
Ben Konrath 07ad637
%if %{gcj_support}
Ben Konrath 07ad637
%{_bindir}/rebuild-gcj-db
Ben Konrath 07ad637
%endif
Ben Konrath 71f7bf0
if [ -d %{_datadir}/%{name}/features ]; then
Ben Konrath ec43790
  SDKDIR=$(ls %{_datadir}/%{name}/features | grep "org\.eclipse\.sdk_")
Ben Konrath 158e040
  if [ -z "$SDKDIR" -a -f %{_libdir}/%{name}/configuration/config.ini ]; then
Ben Konrath 71f7bf0
    sed --in-place "s/eclipse.product=org.eclipse.sdk.ide/eclipse.product=org.eclipse.platform.ide/" \
Ben Konrath 158e040
      %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 71f7bf0
  fi
Ben Konrath 5b61247
fi
Andrew Overholt 0665d48
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%post ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun ecj -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun -n %{libname}-gtk2 -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun rcp -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun rcp-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun platform-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun jdt -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun jdt-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun pde -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun pde-runtime -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%post pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%postun pde-sdk -p %{_bindir}/rebuild-gcj-db
Ben Konrath 9dbdca5
%endif
Andrew Overholt 3e3ec31
Andrew Overholt 27f7937
# This is to deal with my stupidity that manifested itself as
Andrew Overholt 27f7937
# rebuild-sdk-features -- overholt
Andrew Overholt 3413d7b
%triggerpostun rcp -- eclipse-rcp < 1:3.2.1, eclipse-rcp-devel < 1:3.2.1, eclipse-pde < 1:3.2.1, eclipse-pde-devel < 1:3.2.1, eclipse-jdt < 1:3.2.1, eclipse-jdt-devel < 1:3.2.1, eclipse-platform < 1:3.2.1, eclipse-platform-devel < 1:3.2.1
Andrew Overholt 27f7937
# Remove crap from rebuild-sdk-features
Andrew Overholt 27f7937
rm -rf %{_datadir}/%{name}/features/org.eclipse.sdk_3.1.2
Andrew Overholt 27f7937
# Remove pre-configured, unnecessary platform.xml created by rebuild-sdk-features
Andrew Overholt 27f7937
rm -f %{_datadir}/%{name}/configuration/org.eclipse.update/platform.xml*
Andrew Overholt 27f7937
Andrew Overholt 25abe4e
%files ecj
Ben Konrath 5037e9d
%defattr(-,root,root)
Andrew Overholt 25abe4e
%dir %{_datadir}/%{name}
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}/plugins
Ben Konrath 5037e9d
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core_*
Ben Konrath 5037e9d
%{_javadir}/eclipse-ecj.jar
Ben Konrath 5037e9d
%{_javadir}/jdtcore.jar
Ben Konrath 5037e9d
%{_bindir}/ecj
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%dir %{_libdir}/gcj/%{name}
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core_*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Andrew Overholt 602cb9d
%files -n %{libname}-gtk2 -f %{libname}-gtk2.install
Ben Konrath 5037e9d
%defattr(-,root,root)
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}
Andrew Overholt 349c5a6
%dir %{_datadir}/%{name}/plugins
Ben Konrath 158e040
%dir %{_libdir}/%{name}/plugins
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
Ben Konrath 158e040
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.swt_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt fd64f0d
%{_libdir}/libswt-*.so
Ben Konrath 9dbdca5
# FIXME: do we need to build?
Ben Konrath 9dbdca5
#%{_libdir}/%{name}/libcairo-swt.so
Ben Konrath 9dbdca5
#%{_libdir}/libcairo-swt.so
Andrew Overholt 86fa7c9
%{_libdir}/%{name}/plugins/swt-gtk*.jar
Andrew Overholt 33dd0d6
%if %{gcj_support}
Andrew Overholt 1d8b504
%dir %{_libdir}/gcj/%{name}
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Ben Konrath 9dbdca5
%files rcp
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 9dbdca5
%dir %{_datadir}/%{name}/features
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
Ben Konrath 158e040
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
Ben Konrath 158e040
%verify(not md5 size mtime) %{_libdir}/%{name}/configuration/config.ini
Ben Konrath 158e040
%{_libdir}/%{name}/.eclipseextension
Ben Konrath 9dbdca5
%{_datadir}/%{name}/.eclipseproduct
Ben Konrath 9dbdca5
%{_datadir}/%{name}/notice.html
Ben Konrath 9dbdca5
%{_datadir}/%{name}/epl-v10.html
Ben Konrath 158e040
%{_datadir}/%{name}/links
Ben Konrath 9dbdca5
%ifarch %{ix86} x86_64
Ben Konrath 9dbdca5
%{_datadir}/%{name}/about.html
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
%{_datadir}/%{name}/startup.jar
Ben Konrath 9dbdca5
%ifarch x86_64
Ben Konrath 158e040
%{_datadir}/%{name}/about_files
Ben Konrath 9dbdca5
%endif
Ben Konrath 158e040
%{_datadir}/%{name}/readme
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.rcp_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.configurator_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.osgi_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.equinox.registry_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/com.ibm.icu_*
Ben Konrath c1c8faa
%{_datadir}/%{name}/plugins/org.eclipse.jface_*
Ben Konrath c1c8faa
%{_datadir}/%{name}/plugins/org.eclipse.jface.databinding_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.commands_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.jobs_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.equinox.preferences_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.expressions_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.equinox.common_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.contenttype_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.rcp_*
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.configurator_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.osgi_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.registry_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/com.ibm.icu_*
Ben Konrath c1c8faa
%{_libdir}/gcj/%{name}/org.eclipse.jface_*
Ben Konrath c1c8faa
%{_libdir}/gcj/%{name}/org.eclipse.jface.databinding_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.commands_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility.auth_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.jobs_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.preferences_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.expressions_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.equinox.common_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.help_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.contenttype_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/startup.jar*
Andrew Overholt 33dd0d6
%endif
cvsdist 38d0d0c
Ben Konrath 9dbdca5
%files rcp-sdk
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 5037e9d
%{_datadir}/%{name}/features/org.eclipse.rcp.source_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.rcp.source.linux.gtk.%{eclipse_arch}*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.rcp.source_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/com.ibm.icu.source_*
Andrew Overholt fd64f0d
Andrew Overholt 921a570
%files platform -f %{name}-platform.install
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 158e040
%attr(0755,root,root) %{_bindir}/%{name}
Ben Konrath 9dbdca5
%{_datadir}/%{name}/eclipse.ini
Ben Konrath 9dbdca5
%{_datadir}/applications/*
Ben Konrath 9dbdca5
%{_datadir}/pixmaps/*
Ben Konrath 9dbdca5
%{_datadir}/icons/*/*/apps/*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.platform_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.navigator_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.forms_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.debug.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.resources_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jface.text_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.ide_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/com.jcraft.jsch_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ant.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help.appserver_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.browser_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.core.linux_*
Ben Konrath 9dbdca5
%ifarch %{ix86} x86_64
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.variables_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help.base_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.compare_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.osgi.util_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.osgi.services_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.console_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.platform_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help.webapp_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.views_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.boot_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.apache.ant_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.externaltools_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.apache.lucene_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.update.scheduler_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.debug.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.help.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.editors_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.filesystem_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.tomcat_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.filebuffers_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.user_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.text_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.search_*
Andrew Overholt 33dd0d6
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator.resources_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.navigator_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.forms_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ltk.core.refactoring_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.debug.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.resources_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jface.text_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.intro_*
Ben Konrath 158e040
#%{_libdir}/gcj/%{name}/org.eclipse.ui.ide_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/com.jcraft.jsch_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.cheatsheets_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.ant.core_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.help.appserver_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.ui.browser_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.ui.presentations.r21_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.team.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.variables_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.help.base_*
Ben Konrath 2987a9c
%{_libdir}/gcj/%{name}/org.eclipse.ui.views.properties.tabbed_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.compare_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.team.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.osgi.util_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.osgi.services_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.console_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.runtime.compatibility_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.views_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.resources.compatibility_*
Ben Konrath 2987a9c
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh2_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.externaltools_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.team.cvs.ssh_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.update.scheduler_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.debug.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.help.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.editors_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.filesystem_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.core.filebuffers_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ltk.ui.refactoring_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ui.workbench.texteditor_*
Ben Konrath 5037e9d
%{_libdir}/gcj/%{name}/org.eclipse.text_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.search_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/universal.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/webapp.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/tomcatwrapper.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/compatibility.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/platform.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/runtime_registry_compatibility.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/servlets.jar*
Andrew Overholt d74cd2e
# FIXME:  we need to symlink these
Ben Konrath 2987a9c
%{_libdir}/gcj/%{name}/ant-apache-bsf.jar*
Andrew Overholt d74cd2e
%{_libdir}/gcj/%{name}/jsp.jar*
Andrew Overholt d74cd2e
%{_libdir}/gcj/%{name}/parser.jar*
Andrew Overholt 8ff44ba
%endif
Andrew Overholt f6fa193
Ben Konrath 9c1c163
%files platform-sdk
Ben Konrath 5037e9d
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.platform.source_*
Ben Konrath 158e040
%{_libdir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.%{eclipse_arch}_*
Ben Konrath 5037e9d
%{_datadir}/%{name}/plugins/org.eclipse.platform.doc.isv_*
Ben Konrath 5037e9d
%{_datadir}/%{name}/plugins/org.eclipse.platform.source_*
Ben Konrath 2987a9c
%if %{gcj_support}
Ben Konrath 2987a9c
%{_libdir}/gcj/%{name}/org.eclipse.platform.doc.isv_*
Ben Konrath 2987a9c
%endif
Andrew Overholt 25abe4e
Ben Konrath 9dbdca5
%files jdt
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_bindir}/efj
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.jdt_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.ant.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.junit_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.user_*
Ben Konrath 9dbdca5
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug_*
Ben Konrath 9dbdca5
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 9dbdca5
#%{_datadir}/%{name}/plugins/org.junit4_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.launching_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.core.manipulation_*
Ben Konrath 9dbdca5
#%{_datadir}/%{name}/plugins/org.eclipse.jdt.apt.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.junit.runtime_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.debug.ui_*
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.ant.ui_*
Ben Konrath 9dbdca5
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.ui_*
Ben Konrath 9dbdca5
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.junit4.runtime_*
Ben Konrath 9dbdca5
#%{_libdir}/gcj/%{name}/org.junit4_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.launching_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.core.manipulation_*
Ben Konrath 9dbdca5
#%{_libdir}/gcj/%{name}/org.eclipse.jdt.apt.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.jdt.debug.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/junitruntime.jar.*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/junitsupport.jar.*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/jdimodel.jar.*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/jdi.jar.*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files jdt-sdk
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.jdt.source_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.doc.isv_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.jdt.source_*
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.pde_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.doc.user_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.build_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.build
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.core_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.junit.runtime_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.ui_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/buildscripts
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.core_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.junit.runtime_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.ui_*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/pdebuild.jar*
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/pdebuild-ant.jar*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde-runtime
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.runtime_*
Ben Konrath 9dbdca5
%if %{gcj_support}
Ben Konrath 9dbdca5
%{_libdir}/gcj/%{name}/org.eclipse.pde.runtime_*
Ben Konrath 9dbdca5
%endif
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files pde-sdk
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.pde.source_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.pde.source_*
Ben Konrath 9dbdca5
Ben Konrath 9dbdca5
%files sdk
Ben Konrath 9dbdca5
%defattr(-,root,root)
Ben Konrath 9dbdca5
%{_datadir}/%{name}/features/org.eclipse.sdk_*
Ben Konrath 9dbdca5
%{_datadir}/%{name}/plugins/org.eclipse.sdk_*
Ben Konrath 9dbdca5
Andrew Overholt bfd4e0b
%changelog
Ben Konrath 7d37f4e
* Tue Oct 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-9
Ben Konrath 7d37f4e
- Re-enable building of the icu4j plugins.
Ben Konrath 7d37f4e
Ben Konrath 625c370
* Mon Oct 30 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-8
Ben Konrath 625c370
- Temporarily disable building of icu4j plugin.
Ben Konrath 625c370
Andrew Overholt 86fa7c9
* Mon Oct 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-8
Andrew Overholt 86fa7c9
- Fix eclipse-ecj symlink to point to correct location.
Andrew Overholt 86fa7c9
- Put SWT symlinks in %%{_libdir} instead of %%{_datadir} as they're
Andrew Overholt 86fa7c9
  target-dependent.
Andrew Overholt 86fa7c9
Ben Konrath 3a712c4
* Sat Oct 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-7
Ben Konrath 158e040
- Add patch for ecj [] classpath problem.
Ben Konrath 158e040
- Remove configuration files from rcp files list. 
Ben Konrath 158e040
- Add patch set bindir and shared config patch to allow the eclipse binary
Ben Konrath 158e040
  to sit in %%{_bindir} and remove the symlinks. This patch also allows us to
Ben Konrath 158e040
  set osgi.sharedConfiguration.area config on a per build basis so that the
Ben Konrath 158e040
  configuration directory can be arch dependant.
Ben Konrath 158e040
- Remove launcher link patch as the bindir patch removes the requirement for
Ben Konrath 158e040
  this patch.
Ben Konrath 158e040
- Don't aot-compile org.eclipse.ui.ide to work around rh bug # 175547.
Ben Konrath 158e040
- Add Requies(post,postun) to all packages to ensure that no files are left
Ben Konrath 158e040
  behind when eclipse is un-installed.
Ben Konrath 158e040
- Many spec file clean ups.
Ben Konrath 158e040
- Resolves: #199961, #202585, #210764, #207016.
Ben Konrath 158e040
- Related: #175547.
Ben Konrath 158e040
Andrew Overholt cc64339
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt 4ae3c59
- Remove unneeded tomcat symlinks.
Andrew Overholt 4ae3c59
Andrew Overholt 4ae3c59
* Mon Oct 16 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-6
Andrew Overholt cc64339
- Remove unnecessary bits of configuration.
Andrew Overholt cc64339
- Resolves: #210764, #202585.
Andrew Overholt cc64339
Ben Konrath bf09ec2
* Tue Oct 10 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-5
Ben Konrath bf09ec2
- Remove perl dependancy.
Ben Konrath bf09ec2
- Fix offsets in libswt-enableallandO2 patch.
Ben Konrath bf09ec2
- Add Requires(post,postun) java-gcj-compat to sdk to avoid errors when
Ben Konrath bf09ec2
  uninstalling the java stack.
Ben Konrath c1c8faa
- Move jface and jface.databinding from libswt3-gtk2 to rcp because these
Ben Konrath c1c8faa
  plugins have dependancies on some plugins in rcp.
Ben Konrath bf09ec2
Andrew Overholt 3413d7b
* Sun Oct 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-4
Andrew Overholt 3413d7b
- Fix triggerpostun to include epoch of previous releases.
Andrew Overholt 3413d7b
Ben Konrath 8131cf7
* Fri Sep 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-3
Ben Konrath 8131cf7
- Add Requires(post,postun) to platform and sdk sub-packages so that post and
Ben Konrath 8131cf7
  postun scripts work correctly.
Ben Konrath 8131cf7
Andrew Overholt 27f7937
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-3
Andrew Overholt ac8064a
- Add triggerpostun to deal with old rebuild-sdk-features postun crap
Andrew Overholt ac8064a
  (rh#207442, rh#207013).
Andrew Overholt 27f7937
Andrew Overholt 9e34e99
* Fri Sep 29 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-2
Andrew Overholt ac8064a
- Fix swt-firefox patch to not create DSOs with undefined symbols (rh#201778).
Andrew Overholt 9e34e99
Ben Konrath a5675d5
* Thu Sep 28 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-1
Ben Konrath a5675d5
- 3.2.1 final.
Ben Konrath a5675d5
Ben Konrath a5675d5
* Thu Sep 28 2006 Andrew Overholt <overholt@redhat.com> 3.2.1-1
Andrew Overholt 26a17ea
- Use new swt-firefox patch and consolidate others into one.
Andrew Overholt 26a17ea
Ben Konrath ec43790
* Wed Sep 27 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.3
Ben Konrath ec43790
- Fix typo in %postun of -sdk and -platform.
Ben Konrath 591a1a7
- Disable help index generation on ia64.
Ben Konrath ec43790
Ben Konrath 71f7bf0
* Tue Sep 26 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.2
Ben Konrath 71f7bf0
- Don't set eclipse.product incorrectly in %postun of -sdk and -platform.
Ben Konrath 71f7bf0
Ben Konrath 5b61247
* Mon Sep 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.1-0.RC.1 
Ben Konrath 5b61247
- M20060921-0945 (3.2.1 pre-release).
Ben Konrath 5b61247
- Upadate patches to 3.2.1.
Ben Konrath 5b61247
- Add icu4j 3.4.5 sources.
Ben Konrath 5b61247
- Add Fedora version to platform about.mappings as well as sdk.
Ben Konrath 5b61247
Andrew Overholt 6b5e6d1
* Mon Sep 25 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-8
Andrew Overholt 6b5e6d1
- Remove unused eclipse.conf.
Andrew Overholt 6b5e6d1
- Remove unused gre64.conf patch (applied upstream).
Andrew Overholt 6b5e6d1
Ben Konrath cccd621
* Thu Sep 21 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-7
Ben Konrath cccd621
- Use real SWT version on ia64, ppc64, s390 and s390x.
Ben Konrath cccd621
- Remove the swt native libs from the rcp sub-package because they are 
Ben Konrath cccd621
  already in the libswt-gtk2 sub-package and rcp requires libswt-gtk2.
Ben Konrath cccd621
- Set correct eclipse.product in post and postun of sdk and platform
Ben Konrath cccd621
  sub-packages (rh bug # 207442)
Ben Konrath cccd621
- Don't set the .eclipseproduct twice.
Ben Konrath ce0351e
- Add Conflicts: mozilla to libswt3-gtk2 (rh bug # 207626).
Ben Konrath ce0351e
- Move Requires: firefox to libswt3-gtk2.
Ben Konrath cccd621
Andrew Overholt 30d65b3
* Thu Sep 21 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-7
Andrew Overholt d3f1131
- Add workaround for gjdoc Mac-encoded bug (gcc#29167) to make javadocs build.
Andrew Overholt d3f1131
- Fix tomcat symlinking in %%install to make help work (rh#199453).
Andrew Overholt 30d65b3
Ben Konrath 9dbdca5
* Mon Sep 11 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-6
Ben Konrath 9dbdca5
- Update swt-firefox patch and remove libswt-xpcom patch (rh bug # 200929).
Ben Konrath 9dbdca5
- Re-work files list to match upstream and remove rebuild-sdk-features 
Ben Konrath 9dbdca5
  (rh bug # 205933).
Ben Konrath 9dbdca5
Ben Konrath ac5dce0
* Thu Sep 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-5
Ben Konrath ac5dce0
- Add swt-firefox patch; moves SWT to NS_InitXPCOM3() from NS_InitEmbedding().
Ben Konrath 5e83817
- Add sparc support (Dennis Gilmore <dennis@ausil.us>).
Ben Konrath 5e83817
- Disable help index generation on s390.
Ben Konrath ac5dce0
Ben Konrath 681f7e5
* Wed Sep 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-4
Ben Konrath 681f7e5
- Re-add customBuildCallbacks.xml-add-pre.gather.bin.parts.patch because
Ben Konrath 681f7e5
  it has not been applied upstream.
Ben Konrath 681f7e5
- Minor spec file clean ups.
Ben Konrath 681f7e5
- Add %{name} to the -devel package Provides so that upgrading from 
Ben Konrath 681f7e5
  FC-5 to FC-6 works.
Ben Konrath 681f7e5
- Re-enable natively compiling the ant.ui plugin.
Ben Konrath 681f7e5
- Re-enable natively compiling the team.cvs.core plugin on ia64.
Ben Konrath 681f7e5
Ben Konrath 19e4982
* Fri Sep 01 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-3
Ben Konrath 19e4982
- Use the system tomcat on ppc64 and s390x.
Ben Konrath 19e4982
Andrew Overholt fad60dc
* Wed Aug 30 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-3
Andrew Overholt fad60dc
- Don't use pkg_summary.
Andrew Overholt fad60dc
Ben Konrath e1ec979
* Tue Aug 29 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-2
Ben Konrath e1ec979
- Remove double Manifest file in com.jcraft.jsch_0.1.28.jar.
Ben Konrath 0186614
- Require java-gcj-compat >= 1.0.64.
Ben Konrath e1ec979
Andrew Overholt 4b28c69
* Thu Aug 17 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_12fc
Andrew Overholt 4b28c69
- Fix tomcat55 patch to not conflict with wst.ws (commons-logging visibility).
Andrew Overholt 4b28c69
Andrew Overholt ccfdd35
* Thu Aug 10 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_11fc
Andrew Overholt 6852bd1
- Fix eclipse-tomcat55.patch and eclipse-tomcat55-build.patch to not reference
Andrew Overholt 6852bd1
  jars that don't exist.
Andrew Overholt 6852bd1
- Fix rebuild-sdk-features to work with 3.2.x feature versions.
Andrew Overholt 6852bd1
Andrew Overholt 87cd1a4
* Tue Aug 01 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_10fc
Andrew Overholt 87cd1a4
- Use firefox-devel instead of mozilla-devel.
Andrew Overholt 87cd1a4
- Add patch for rh#200929 (include embed_base in xpcom's pkgconfig -I flags).
Andrew Overholt 87cd1a4
Ben Konrath e1c9923
* Tue Jul 25 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_9fc
Ben Konrath e1c9923
- Use sed instead of patches for tomcat version numbers.
Ben Konrath e1c9923
Ben Konrath 5e48fcb
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_8fc
Ben Konrath 8b6e80f
- Disable build.index doc generation on i386.
Ben Konrath 5e48fcb
Ben Konrath 5e48fcb
* Sun Jul 23 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_7fc
Andrew Overholt 0093cfb
- Remove org.eclipse.ant.ui* from %%files.
Andrew Overholt 0093cfb
Ben Konrath 0d5df32
* Sun Jul 23 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_7fc
Ben Konrath a183478
- Exclude org.eclipse.ant.ui_3.2.0.v20060531.jar from aot-compile-rpm.
Ben Konrath 0d5df32
cac7e63
* Sat Jul 22 2006 Jakub Jelinek <jakub@redhat.com> 3.2.0-1jpp_6fc
cac7e63
- Rebuilt
cac7e63
Andrew Overholt 86783a6
* Thu Jul 20 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_5fc
Andrew Overholt 86783a6
- New splash screen from Diana Fong (rh#199456).
Andrew Overholt 86783a6
Andrew Overholt 0e12cd7
* Tue Jul 18 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_4fc
Andrew Overholt 0e12cd7
- Add patch from Tom Tromey for ecj-gcj branch of gcj.
Andrew Overholt 0e12cd7
- Fix SWT symlinks.
Andrew Overholt 0e12cd7
Igor Foox 0b07fea
* Tue Jul 18 2006 Igor Foox <ifoox@redhat.com> 3.2.0-1jpp_3fc
Igor Foox 0b07fea
- Rebuild.
Igor Foox 0b07fea
Ben Konrath 32beac9
* Mon Jul 17 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_2fc
Ben Konrath 32beac9
- Rebuild.
Ben Konrath 32beac9
Andrew Overholt dd2887c
* Thu Jul 06 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 242f8fc
- Temporarily add webapp patch for ppc64 and s390x.
Andrew Overholt 9c8f04f
- Bump tomcat5 to 5.5.17 both in BR/R and in patches.
Andrew Overholt dd2887c
Andrew Overholt 67315b4
* Wed Jul 05 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 67315b4
- Don't require tomcat on ppc64, s390, or s390x until we've got it there.
Andrew Overholt e940817
- org.eclipse.tomcat -> org.eclipse.tomcat/lib.
Andrew Overholt 9f2631f
- Update webapp build patch.
Andrew Overholt 9f2631f
- Use commons-* instead of jakarta-commons-*.
Andrew Overholt 0b6d8c0
- Don't delete jars in %%install.
Andrew Overholt f143021
- Don't apply tomcat and webapp patches on ppc64, s390, and s390x (for now).
Andrew Overholt d74cd2e
- Don't include tomcat jars in %%files for ix86, ppc, x86_64, ia64.
Andrew Overholt d74cd2e
- Use tomcat plugin version instead of org.eclipse.tomcat_*.
Andrew Overholt 67315b4
Ben Konrath 1fca076
* Tue Jul 04 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-1jpp_1fc
Ben Konrath 1fca076
- Fix tomcat symlinks. 
Ben Konrath 1fca076
Andrew Overholt 16c113b
* Tue Jul 04 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-1jpp_1fc
Andrew Overholt 16c113b
- 3.2.0.
Andrew Overholt 16c113b
- Remove Provides:  eclipse-sdk from eclipse-platform.
Andrew Overholt 16c113b
- Use build-jar-repository where appropriate.
Andrew Overholt 16c113b
Ben Konrath 9c1c163
* Tue Jun 13 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.7
Ben Konrath 9c1c163
- Rename -devel packages to -sdk to match upstream names.
Ben Konrath 9c1c163
- Add Provides eclipse-sdk to platform-sdk. 
Ben Konrath 9c1c163
- Remove zip re-pack code.
Ben Konrath 9c1c163
Ben Konrath eb5abdb
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.6
Ben Konrath eb5abdb
- Bump release again.
Ben Konrath eb5abdb
Ben Konrath 5270836
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.5
Ben Konrath 5270836
- Bump release.
Ben Konrath 5270836
Ben Konrath 48ff589
* Mon Jun 12 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.4
Ben Konrath 48ff589
- Require java-gcj-compat 1.0.52.
Ben Konrath 48ff589
- Don't use '*' to set the quatifier name in the eclipse-ecj symlink.
Ben Konrath 48ff589
- Really fix swt symlinks rh #194500.
Ben Konrath 48ff589
Ben Konrath 55460d9
* Wed Jun 07 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.3
Ben Konrath 2987a9c
- Enable ppc64, s390 and s390x.
Ben Konrath 2987a9c
- Add check for jars at the end of prep.
Ben Konrath 2987a9c
- Fix patch for rh #162177 (square brackets patch).
Ben Konrath 2987a9c
- Fix swt symlinks rh #194500.
Ben Konrath 2987a9c
- Add versionless pde.build symlink.
Ben Konrath 2987a9c
- Rename efj-wrapper.sh to efj.sh.in.
Ben Konrath 2987a9c
- Re-pack all zips after the build to ensure that zips have the same md5sum
Ben Konrath 2987a9c
  across arch re-builds. This is needed to avoid multilib conflicts.
Ben Konrath 55460d9
Andrew Overholt 3321426
* Wed Jun 07 2006 Andrew Overholt <overholt@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.2
Andrew Overholt 3321426
- Fix eclipse-ecj.jar symlink to include qualifier.
Andrew Overholt 3321426
Ben Konrath 56f70b7
* Tue Jun 06 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC7.1
Ben Konrath 56f70b7
- 3.2RC7.
Ben Konrath 56f70b7
- Remove com.jcraft.jsch_0.1.28.jar and repackage with classes from the system
Ben Konrath 56f70b7
  jsch.jar. 
Ben Konrath 56f70b7
- Work around ia64 compile problem in aot-compile-rpm. 
Ben Konrath 56f70b7
Ben Konrath 5037e9d
* Wed May 31 2006 Ben Konrath <bkonrath@redhat.com> 3.2.0-0jpp_0fc.3.2RC6
Ben Konrath 5037e9d
- 3.2RC6.
Ben Konrath 5037e9d
Ben Konrath 5037e9d
* Tue May 30 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_15fc
Ben Konrath 5037e9d
- Add pde.build-add-package-build.patch to add generic releng scripts.
Ben Konrath 5037e9d
- Move doc.isv plugins to devel packages and require java-javadoc on devel
Ben Konrath 5037e9d
  packages.
Ben Konrath 5037e9d
- Add pde-runtime subpackage - needed for PHPeclipse package.
Ben Konrath 5037e9d
- Update libswt mozilla patch for mozilla 1.7.13.
Ben Konrath 5037e9d
- Add swt patch to fix rh#191536, e.o#98371.
Ben Konrath 5037e9d
Andrew Overholt 287601a
* Mon May 15 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_14fc
Andrew Overholt 287601a
- Bump mozilla requirement to match rawhide.
Andrew Overholt 287601a
Andrew Overholt 3c57be5
* Tue Mar 07 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_13fc
Andrew Overholt 3c57be5
- One more small help fix (include tomcatwrapper.jar o.e.tomcat manifest).
Andrew Overholt 3c57be5
Andrew Overholt 6b71c48
* Fri Mar 03 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_12fc
Andrew Overholt 6b71c48
- Only build with a native ecj on x86{,_64}
Andrew Overholt 6b71c48
Andrew Overholt e41b8fb
* Tue Feb 28 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_12fc
Andrew Overholt 185a712
- Update to tomcat 5.5 (e.o#98371).
Andrew Overholt eebe9ab
- Don't build on ppc64 until we get the tomcat situation straightened out.
Andrew Overholt 185a712
Igor Foox 1c24280
* Fri Feb 17 2006 Igor Foox <ifoox@redhat.com> - 1:3.1.2-1jpp_10fc
Igor Foox 1c24280
- Added patch for ppc64.
Igor Foox 1c24280
Igor Foox 1943e6e
* Fri Feb 17 2006 Igor Foox <ifoox@redhat.com> - 1:3.1.2-1jpp_9fc
Igor Foox 1943e6e
- Try build on ppc64.
Igor Foox 1943e6e
Andrew Overholt 2a94d05
* Fri Feb 17 2006 Andrew Overholt <overholt@redhat.com> - 1:3.1.2-1jpp_8fc
Andrew Overholt 2a94d05
- Try build on ppc64 (rh#172172, rh#181846).
Andrew Overholt 2a94d05
a39d92a
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:3.1.2-1jpp_7fc
a39d92a
- bump again for double-long bug on ppc(64)
a39d92a
Ben Konrath b722cbf
* Fri Feb 10 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_6fc
Andrew Overholt 8581d1e
- Update the rebuild-sdk-features script to use the 3.1 updatesite (rh#180387, rh#180768).
Ben Konrath e1fa383
- Make platform/feature.xml reference the tomcat5 plugin.
Ben Konrath b722cbf
Andrew Overholt 6f1b538
* Tue Feb 07 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_5fc
Andrew Overholt 6f1b538
- Use new java-1.4.2-gcj-compat-javadoc package.
Andrew Overholt 6f1b538
- Always generate debug info when building RPMs (Andrew Haley).
Andrew Overholt 4e0b390
- Slightly modify swt-gtk symlinks (rh#180000).
Andrew Overholt 6f1b538
Andrew Overholt a9c56bb
* Mon Feb 06 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_4fc
Andrew Overholt a9c56bb
- Add an swt-gtk.jar and fix symlink to point to correct jar (rh#180000).
Andrew Overholt a9c56bb
- Link against generic libjawt.so (rh#158755).
Andrew Overholt a9c56bb
- Re-add patch to use built launcher.
Andrew Overholt a9c56bb
Ben Konrath 92782fa
* Sat Feb 4 2006 Ben Konrath <bkonrath@redhat.com> 3.1.2-1jpp_3fc
Ben Konrath 92782fa
- Update efj patches to match what has been committed to HEAD.
Ben Konrath 92782fa
Andrew Overholt 753f606
* Fri Feb 3 2006 Igor Foox <ifoox@redhat.com> 3.1.2-1jpp_2fc
Igor Foox ab01297
- Updated launcher script.
Igor Foox ab01297
Andrew Overholt 2eefb66
* Tue Jan 31 2006 Andrew Overholt <overholt@redhat.com> 3.1.2-1jpp_1fc
Andrew Overholt 2eefb66
- 3.1.2.
Andrew Overholt 2eefb66
- Remove unnecessary patches.
Andrew Overholt 2eefb66
0c750f7
* Tue Jan 31 2006 Karsten Hopp <karsten@redhat.de>
0c750f7
- BuildRequire: unzip
0c750f7
Andrew Overholt e6d5628
* Wed Jan 25 2006 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_16fc
Andrew Overholt e6d5628
- Rebuild against latest gcc to see if this fixes rh#178156.
Andrew Overholt e6d5628
Andrew Overholt 48b06c3
* Wed Jan 04 2006 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_15fc
Andrew Overholt f3d35a6
- Update s390{,x} patches.
Andrew Overholt f3d35a6
- Use natively-compiled ecj during build.
Andrew Overholt f97a8ea
- Attempt build on ia64.
Andrew Overholt bc5718f
- Change about_files to be i386 and x86_64 only (will patch file upstream).
Andrew Overholt f3d35a6
Andrew Overholt 9ab2866
* Fri Dec 23 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_14fc
Andrew Overholt 9ab2866
- Rebuild again.
Andrew Overholt 9ab2866
Andrew Overholt 191980d
* Wed Dec 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_13fc
Andrew Overholt 191980d
- Rebuild with new gcc (gcc#25121).
Andrew Overholt 191980d
Andrew Overholt 4525500
* Mon Dec 19 2005 Igor Foox <ifoox@redhat.com> 3.1.1-1jpp_12fc
Andrew Overholt 4525500
- New version of launcher path (rh#175454).
Andrew Overholt 4525500
Andrew Overholt b740010
* Mon Dec 19 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_11fc
Andrew Overholt b740010
- Update patch for offline javadoc linking.
Andrew Overholt 7b81ce3
- Rebuild with new gjdoc (rh#161147).
Andrew Overholt b740010
Andrew Overholt 858aba7
* Tue Dec 13 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt 858aba7
- Add patch for offline javadoc building/linking.
Andrew Overholt 858aba7
Andrew Overholt 36ed754
* Mon Dec 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt 80b044f
- Use ecj from 3.1.1 (rh#175380).
Andrew Overholt 80b044f
- Remove ecj options patch as it is in ecj from 3.1.1.
Andrew Overholt 80b044f
- New version of launcher patch (rh#175454) - ifoox.
Andrew Overholt 80b044f
Andrew Overholt a727782
* Sun Dec 11 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_10fc
Andrew Overholt a727782
- Build with gcc 4.1.
Andrew Overholt a727782
Ben Konrath 917eecc
* Fri Dec 09 2005 Ben Konrath <bkonrath@redhat.com> 3.1.1-1jpp_10fc
Ben Konrath 917eecc
- update updatehomedir-core.patch to remove unused code
Ben Konrath 917eecc
Andrew Overholt 3ca8dd8
* Wed Dec 07 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_9fc
Andrew Overholt 3ca8dd8
- Add patch for launcher following symlinks (rh#168726, e.o#79592) - ifoox.
Andrew Overholt 3ca8dd8
- Remove launcher script.
Andrew Overholt 3ca8dd8
Andrew Overholt 53a8732
* Mon Dec 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_8fc
Andrew Overholt 53a8732
- Add eclipse-rcp-devel as a requirement of eclipse-platform-devel
Andrew Overholt 53a8732
  (rh#161267).
Andrew Overholt 53a8732
- Updated splash screen (thanks to Diana Fong) (rh#170580).
Andrew Overholt 53a8732
- Include and use rebuild-sdk-features (rh#173589).
Andrew Overholt 53a8732
Andrew Overholt 53a8732
* Fri Dec 02 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_8fc
Andrew Overholt 53a8732
- Update EFJ patch (e.o#75333).
Andrew Overholt 53a8732
- Update update-site-in-home-dir patch (e.o#90630) - bkonrath.
Andrew Overholt 53a8732
Andrew Overholt d279140
* Tue Nov 15 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_7fc
Andrew Overholt d279140
- Disable ia64 and ppc64 for now (these seem to be upstream issues).
Andrew Overholt 00c57ed
Andrew Overholt 960a409
* Thu Nov 10 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_7fc
Andrew Overholt 960a409
- Build on ppc64 and ia64.
Andrew Overholt dffd49c
- Add patch for mozilla code with gcc 4:
Andrew Overholt dffd49c
http://debian-ppc64.alioth.debian.org/gcc4/patches-old/swt-gtk_3.1-1.0.0.1.gcc4.patch
Andrew Overholt 960a409
Andrew Overholt 2104416
* Fri Nov 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_6fc
Andrew Overholt 2104416
- Patch org.eclipse.help.webapp jasper classpath.
Andrew Overholt 2104416
Andrew Overholt 2104416
* Thu Nov 03 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_5fc
Andrew Overholt 2104416
- Import work done by Debian Eclipse packagers:
Andrew Overholt 2104416
  - Add Fedora version in Eclipse about dialog.
Andrew Overholt 2104416
  - Update eclipse-javadoc.patch to match Debian's disable-filelog patch.
Andrew Overholt 2104416
  - Remove buildDoc patches and add helpindexbuilder patch (e.o#114001).
Andrew Overholt 2104416
  - Add patches to build Cairo SWT bindings.
Andrew Overholt 2104416
Andrew Overholt a6f2bdd
* Tue Nov 01 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt a6f2bdd
- Temporarily exclude ia64 and ppc64 (rh#172174).
Andrew Overholt a6f2bdd
Andrew Overholt 4ee0006
* Mon Oct 31 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt 4ee0006
- Bump mozilla requirement.
Andrew Overholt 4ee0006
- Use libXtst-devel instead of xorg-x11-devel.
Andrew Overholt 4ee0006
Andrew Overholt 99b55e9
* Thu Oct 27 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_4fc
Andrew Overholt 99b55e9
- Really fix browser issue on x86_64 (rh#168040).
Andrew Overholt 99b55e9
- Attempt to build on ia64 and ppc64 (include swt-mozilla on the latter).
Andrew Overholt 2b55017
- Add BuildRequires for libgnome{,ui}-devel (rh#171532).
Andrew Overholt 99b55e9
Andrew Overholt 2568534
* Tue Oct 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_3fc
Andrew Overholt 2568534
- Make non-gcj builds not noarch (rh#171711).
Andrew Overholt 2568534
Andrew Overholt 600c9c3
* Wed Oct 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_2fc
Andrew Overholt 600c9c3
- Add JavaModelCache overflow patch (e.o#111299).
Andrew Overholt 600c9c3
Andrew Overholt 8273c16
* Tue Oct 11 2005 Andrew Overholt <overholt@redhat.com> 3.1.1-1jpp_1fc
Andrew Overholt 8273c16
- 3.1.1.
Andrew Overholt 8273c16
- Patch around gij failing for the doc plug-in generation.
Andrew Overholt 8273c16
- Make /usr/bin/ecj a script (allows all jvms to call it).
Andrew Overholt 8273c16
Andrew Overholt a5c081c
* Sat Oct 08 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-15
Andrew Overholt a5c081c
- Bump mozilla requirement.
Andrew Overholt a5c081c
- Re-enable org.eclipse.ui.forms_3.1.0.jar.so, org.eclipse.osgi_3.1.0.jar.so,
Andrew Overholt a5c081c
  and org.eclipse.ui.workbench_3.1.0.jar.so (rh#146463, rh#158137, rh#151919)
Andrew Overholt a5c081c
- Add patch for /etc/gre64.conf (for 64-bit systems, rh#168040, e.o#109253).
Andrew Overholt fd0432d
- Remove MOZILLA_FIVE_HOME magic from eclipse.script.
Andrew Overholt 7065429
- Remove jdtCompilerAdapter.jar due to aot-compile-rpm smarts.
Andrew Overholt 7065429
- Bump gcc and java-gcj-compat requirements.
Andrew Overholt c12c12b
- Remove lucene-1.4.3-src.zip (rh#170343).
Andrew Overholt fd0432d
Andrew Overholt ee97f8c
* Wed Aug 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-14
Andrew Overholt ee97f8c
- /usr/lib -> %{_libdir} in eclipse.script (rh#159031).
Andrew Overholt ee97f8c
Andrew Overholt a3ab712
* Tue Aug 23 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-13
Andrew Overholt a3ab712
- Bump mozilla requirement.
Andrew Overholt a3ab712
gbenson 72ccdb5
* Thu Jul 28 2005 Gary Benson <gbenson@redhat.com> 3.1.0_fc-12
gbenson fe022bf
- Allow leading separators in classpaths (e.o#105430).
gbenson fe022bf
- Clear away ant-jmf entirely.
gbenson fe022bf
gbenson 72ccdb5
* Wed Jul 27 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-11
gbenson 72ccdb5
- Bump release for FC4 update.
gbenson 72ccdb5
Andrew Overholt b0776ca
* Mon Jul 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-10
Andrew Overholt f5556bc
- Change mozilla BuildRequirement to be equals and not greater-than or equals
Andrew Overholt f5556bc
  since we need the exact version for our patches.
Andrew Overholt f5556bc
- Bump mozilla requirements and patches to 1.7.10.
Andrew Overholt b0776ca
- Bump release due to FC4 update still not being released.
Andrew Overholt ab4036a
- Add ant-jmf to exclude list.
Andrew Overholt f5556bc
Andrew Overholt 7d8b6e1
* Tue Jul 19 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-7
Andrew Overholt 7d8b6e1
- Remove ant-jmf symlinking and requirement.
Andrew Overholt 7d8b6e1
- Update to use java-gcj-compat and not java-1.4.2-gcj-compat.
Andrew Overholt 7d8b6e1
Andrew Overholt 7bbeb7e
* Tue Jul 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-6
Andrew Overholt 7bbeb7e
- Bump release to build against new gcc.
Andrew Overholt 7bbeb7e
- Bump gcc requirement to gcc 4.0.1.
Andrew Overholt dd0fb50
- Add back BuildArch until we get bootstrapping sorted out.
Andrew Overholt 1d8b504
- Bump required version of java-gcj-compat to the latest (-40jpp_37rh).
Andrew Overholt 1d8b504
- Remove lots of jiggery-pokery with native compilation and use gbenson's new
Andrew Overholt 1d8b504
  aot-compile.
Andrew Overholt 1d8b504
- Re-work files sections appropriately.
Andrew Overholt 1d8b504
- Change mozilla-nspr-devel -> nspr-devel due to change in mozilla packaging.
Andrew Overholt 1d8b504
- Update patch for mozilla build as per above.
Andrew Overholt 5bd2780
- Add org.eclipse.osgi_3.1.0.jar to exclude.
Andrew Overholt 7bbeb7e
Andrew Overholt 703265f
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-5
Andrew Overholt 703265f
- Revert ecj_bootstrap patch since it won't work.
Andrew Overholt 703265f
- Keep mozilla requirement off ppc64.
Andrew Overholt 703265f
- Add ant-apache-bsf requirement since we have that in FC5.
Andrew Overholt 703265f
Andrew Overholt 59d5579
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-4
Andrew Overholt 59d5579
- Add ecj_bootstrap patch from Gary Benson to bootstrap new architectures.
Andrew Overholt f244842
- Remove ExclusiveArch.
Andrew Overholt 59d5579
Andrew Overholt 3bd28b3
* Tue Jul 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-3
Andrew Overholt 3bd28b3
- Bump release for FC4 update.
Andrew Overholt 3bd28b3
Andrew Overholt fcfd08f
* Mon Jul 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-2
Andrew Overholt fcfd08f
- Remove remaining pre-built ant jars (but don't symlink to ant.jar until we
Andrew Overholt fcfd08f
  have ant 1.6.5 - rh#162444).
Andrew Overholt 3bd28b3
- Bump requirement on gcc to get fixes for rh#158614 and gcc#21637.
Andrew Overholt fcfd08f
- Add patch to not try to link to external javadocs and include the javadoc
Andrew Overholt fcfd08f
  output in the build output.
Andrew Overholt fcfd08f
- Add build and runtime requirement on ant-javamail (I'm not sure how we missed
Andrew Overholt fcfd08f
  this previously).
Andrew Overholt fcfd08f
gbenson 3c81193
* Mon Jul  4 2005 Gary Benson <gbenson@redhat.com> 3.1.0_fc-2
gbenson 3c81193
- Disable classpath access rules introduced in e.o#92398 (rh#162177).
gbenson 3c81193
Andrew Overholt cce4ee5
* Tue Jun 28 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-1
Andrew Overholt cce4ee5
- Import 3.1.
Andrew Overholt cce4ee5
- Update splash screen.
Andrew Overholt cce4ee5
Andrew Overholt 1e7b77f
* Sun Jun 26 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC4.1
Andrew Overholt 1e7b77f
- Import 3.1 RC4.
Andrew Overholt 1e7b77f
- Remove activeHelpSample.jar building patch as it's now fixed upstream.
Andrew Overholt 1e7b77f
- Add patch to remove references to cairo since we don't have it in FC4.
Andrew Overholt 7b5a7b9
- Add about.html and about_files to eclipse-platform.install (x86 & x86_64).
Andrew Overholt 1e7b77f
- Add patch to create public compare API (jpound - e.o#98707).
Andrew Overholt 1e7b77f
- Add patch from Robin Green to not look for firefox libxpcom.so (rh#161658).
Andrew Overholt 1e7b77f
- Symlink lucene jars (rh#159939).
Andrew Overholt 1e7b77f
Andrew Overholt 48e8e3b
* Fri Jun 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.3
Andrew Overholt 48e8e3b
- Add rcp requirement for platform (rh#161267).
Andrew Overholt e1908be
- Add un-owned osgi directories to libswt and platform.
Andrew Overholt 48e8e3b
Andrew Overholt aa75130
* Tue Jun 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.2
Andrew Overholt 9e08db6
- Use SWT bundle ID for SWT %files list (determine in %%install).
Andrew Overholt aa75130
Andrew Overholt fd64f0d
* Mon Jun 20 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC3.1
Andrew Overholt fd64f0d
- Import 3.1RC3.
Andrew Overholt fd64f0d
- Use FileInitializer (e.o#90535) - this should eliminate .sos in ~/.eclipse.
Andrew Overholt fd64f0d
- Add eclipse-filenamepatterns.txt ("*.so" currently) for above.
Andrew Overholt fd64f0d
- Symlink JNI libraries.
Andrew Overholt fd64f0d
Andrew Overholt fd64f0d
* Fri Jun 17 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC2.2
Andrew Overholt fd64f0d
- Update to new naming scheme for resulting gzipped tarball.
Andrew Overholt fd64f0d
- Add patch to not generate help indices (it seems to hang).
Andrew Overholt fd64f0d
Andrew Overholt fd64f0d
* Thu Jun 16 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.RC2.1
Andrew Overholt fd64f0d
- Import 3.1RC2.
Andrew Overholt fd64f0d
- Add RCP sub-package.  Unsure about its dependencies ATM.
Andrew Overholt fd64f0d
Andrew Overholt 8572c32
* Tue Jun 14 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.9
Andrew Overholt 8572c32
- Add tomcat5 patch and symlinks.
Andrew Overholt 8572c32
Andrew Overholt 5a36041
* Thu May 26 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.8
Andrew Overholt 5a36041
- Fix ant jar removal (gbenson).
Andrew Overholt 5a36041
Andrew Overholt 348cc62
* Wed May 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.7
Andrew Overholt aff92a5
- Fix ecj symlink in /usr/share/java (rh#158734).
Andrew Overholt aff92a5
9ef820f
* Sun May 22 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M7.4
9ef820f
- Remove compilation of jdt.ui jar.so on ppc.
Ben Konrath 38192f6
9ef820f
* Sat May 21 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.3
Ben Konrath ed3cf19
- Add ecj-options patch to bootstrap source.
Ben Konrath ed3cf19
- Make embedded browser widget work (Robin Green).
9ef820f
- Bump required version of java-gcj-compat to the latest (-40jpp_24rh).
9ef820f
- Use -lgcjawt when building with gcj.
9ef820f
9ef820f
* Wed May 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.2
9ef820f
- Disable org.eclipse.osgi_3.1.0.jar.so.
9ef820f
- Add ecj-options patch, remove ecj-extdirs patch.
9ef820f
9ef820f
* Wed May 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M7.1
9ef820f
- Update to 3.1M7.
9ef820f
- Add file initializer patch.
9ef820f
- Temporarily remove s390{,x} patches.
9ef820f
- Update GNU formatter ui patch.
9ef820f
- Add ECJ ext dirs patch.
Ben Konrath 7adf8f3
Andrew Overholt 1c4b780
* Tue May 17 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.19
Andrew Overholt 1c4b780
- Add Epoch on eclipse-platform.
Andrew Overholt 1c4b780
- Use %%{_bindir} in post and postun scripts.
Andrew Overholt 1c4b780
Ben Konrath 68cbacc
* Tue May 17 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.18
Ben Konrath 68cbacc
- Add Epoch to jsch requires.
Ben Konrath 68cbacc
Ben Konrath 6e274d1
* Mon May 16 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.17
Ben Konrath 6e274d1
- Update libswt-mozilla patches and require mozilla 1.7.8.
Ben Konrath 6e274d1
 
Ben Konrath 68cbacc
* Fri May 13 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 6e49ec3
- Use %%{ix86} macro in ExclusiveArch rather than i386 (jorton).
Andrew Overholt 6e49ec3
Ben Konrath 68cbacc
* Wed May 11 2005 Ben Konrath <bkonrath@redhat.com>
Ben Konrath bfdd96b
- Add jsch >= 0.1.18-1jpp.
Ben Konrath bfdd96b
- Remove Fedora specific part of junit version.
Ben Konrath bfdd96b
- Temporarily disable org.eclipse.ui.forms_3.1.0.jar.so (rh#146463).
Ben Konrath bfdd96b
Ben Konrath b6b8fb1
* Mon May 09 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.16
Ben Konrath b6b8fb1
- Add Requires junit >= 3.8.1-3jpp_4fc to JDT.
Ben Konrath e71a24a
- Add -g to gcj calls.
Ben Konrath b6b8fb1
Andrew Overholt b8fa0c4
* Thu May 05 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.15
Andrew Overholt b8fa0c4
- Rebuild with new gjdoc (rh#152049).
Andrew Overholt b8fa0c4
Andrew Overholt b8fa0c4
* Wed May 4 2005 Ben Konrath <bkonrath@redhat.com>
Ben Konrath f7ace1f
- Re-enable jdt.ui/jdt.jar.so and require gcj 4.0.0-2 (rh#151296).
Ben Konrath f7ace1f
Ben Konrath 518aafd
* Mon May 2 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.14
Ben Konrath 518aafd
- Replace temporary patch to debug.ui with upstream patch to swt (rh#155853).
Ben Konrath 518aafd
Andrew Overholt 44567ea
* Sat Apr 30 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.13
Ben Konrath 8d7cf61
- Add patch to temporarily stop an NPE in debug.ui (rh#155853).
Ben Konrath 8d7cf61
Andrew Overholt 44567ea
* Thu Apr 28 2005 Phil Muldoon <pmuldoon@redhat.com>
bbd9a49
- Allow multiple optional arguments in eclipse-copy-platform.sh 
bbd9a49
Andrew Overholt 44567ea
* Wed Apr 27 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 5ca4497
- Include epoch in mozilla BuildRequires.
Andrew Overholt 5ca4497
- Remove last remaining gij-specific option from eclipse.script.
Andrew Overholt 5ca4497
17c7c30
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> 3.1.0_fc-0.M6.12
17c7c30
- silence %%post
17c7c30
Andrew Overholt 935fcc1
* Sun Apr 24 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.11
Andrew Overholt 935fcc1
- Re-add osgi.jar.so since gcj fix is in our gcc RPMs.
Andrew Overholt 935fcc1
- Bump gcc requirements accordingly.
Andrew Overholt 935fcc1
- Add gcc-c++ to BuildRequires (for SWT Mozilla).
Andrew Overholt 935fcc1
- Add specific java-1.4.2-gcj-compat nvr requirement (rh#151866).
Andrew Overholt 935fcc1
aluchko 1aaee68
* Fri Apr 22 2005 Aaron Luchko <aluchko@redhat.com> 3.1.0_fc-0.M6.10
aluchko 1aaee68
- Import archived projects (e.o#82988)
aluchko 1aaee68
Andrew Overholt 4b35301
* Fri Apr 22 2005 Andrew Overholt <overholt@redhat.com>
Andrew Overholt 51bfbb4
- Add Requires(post,postun): java-1.4.2-gcj-compat for each sub-package and use
Andrew Overholt 51bfbb4
  full path (Joe Orton).
Andrew Overholt 4b35301
- Make /usr/bin/eclipse executable again (rh#155715).
Andrew Overholt 79c2c32
- Bump jsch version.
Andrew Overholt 51bfbb4
Andrew Overholt 349c5a6
* Thu Apr 21 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.9
Andrew Overholt 349c5a6
- Use upstream icons (not RHDS ones) (rh#146484).
Andrew Overholt 349c5a6
- Add plugin directories to %files sections.
Andrew Overholt 349c5a6
- Rework %files sections a bit.
Andrew Overholt 349c5a6
- Fix SWT symlink (bkonrath).
Andrew Overholt 349c5a6
- Temporarily remove jdt.ui/jdt.jar.so.
Andrew Overholt 349c5a6
Ben Konrath 2238980
* Thu Apr 21 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.8
Ben Konrath 4bcf195
- Fix updatesite patch.
Ben Konrath 2238980
- Temporarily remove org.eclipse.ui.workbench_3.1.0.jar.so (r.c#151919)
Ben Konrath 4bcf195
Andrew Overholt 33dd0d6
* Mon Apr 18 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M6.7
Andrew Overholt 349c5a6
- Add %if %%{gcj_support} blocks.
Andrew Overholt 349c5a6
- Add %%{_libdir}/%%{name}/plugins to native %files section of each sub-rpm.
Andrew Overholt 33dd0d6
- Add GNU-style JDT code formatting option (e.o#91770).
Andrew Overholt 33dd0d6
- Add patch to install plugins from update site in home dir (e.o#90630).
Andrew Overholt 33dd0d6
- Change gcc-java requirements to libgcj as gcj-dbtool is now in the latter.
Andrew Overholt 33dd0d6
Ben Konrath 4306daf
* Mon Apr 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.6
Ben Konrath 4306daf
- Bump version number. 
Ben Konrath 4306daf
Ben Konrath 4306daf
* Mon Apr 18 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.5
Ben Konrath 4306daf
- Update mozilla patch.
Ben Konrath 4347720
Ben Konrath 0b073c2
* Sat Apr 16 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M6.4
Ben Konrath 0b073c2
- Update to 3.1M6.
Ben Konrath 0b073c2
- Change bootstrap procedure to match the upstream method.
Ben Konrath 0b073c2
- Remove patches that were fixed upstream. 
Ben Konrath 0b073c2
- Add efj wrapper script.
Ben Konrath 0b073c2
Ben Konrath acc2a8e
* Wed Apr 13 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M5.20
Ben Konrath acc2a8e
- Fix the bootstrap patch (the ecj jar was missing some files).
Ben Konrath acc2a8e
Andrew Overholt 8902647
* Tue Apr 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.19
Andrew Overholt 8902647
- Add Requires(post,postun): java-1.4.2-gcj-compat for rebuild-gcj-db (Joe
Andrew Overholt 8902647
  Orton).
Andrew Overholt 8902647
- Add ecj binary.
Andrew Overholt 8902647
Andrew Overholt a1ebed4
* Wed Apr 06 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.18
Andrew Overholt a1ebed4
- Fix typo in gcj db building loops.
Andrew Overholt a1ebed4
- Add -O1 to x86_64 jar.so compilation.
Andrew Overholt a1ebed4
- Add EFJ (Eclipse Formatter for Java) patches (bkonrath) (e.o#75333).
Andrew Overholt a1ebed4
- Add patch to build swttools.jar (e.o#90364).
Andrew Overholt 11bb288
- Symlink out to ant-jsch now that we have that.
Andrew Overholt a1ebed4
Andrew Overholt 351ba52
* Mon Apr 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.17
Andrew Overholt 351ba52
- Actually insert .jar-.jar.so combinations into sub-dbs.
Andrew Overholt 351ba52
Andrew Overholt 175226f
* Thu Mar 31 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.16
Andrew Overholt 175226f
- Fix eclipse.script to not leave a sh process around (Joe Orton)
Andrew Overholt 175226f
- Use proper sub-dbs.
Andrew Overholt 175226f
- Don't compile jars that are symlinked from elsewhere.
Andrew Overholt 175226f
- Add jar-so combinations to .db based on .jar.so existence (not .jar).
Andrew Overholt 175226f
- Rename sub-dbs to be eclipse-*.db.
Andrew Overholt 175226f
- Use rebuild-gcj-db script.
Andrew Overholt 175226f
b295832
* Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
b295832
- rebuilt
b295832
fcae093
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 3.1.0_fc-0.M5.14
fcae093
- Update the GTK+ theme icon cache on (un)install
fcae093
Andrew Overholt 602cb9d
* Fri Mar 18 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.13
Andrew Overholt 9783536
- Re-add compilation of resources.jar.
Andrew Overholt 602cb9d
- Backport bootstrapping patch.
Andrew Overholt 602cb9d
- Add Requires: java-1.4.2-gcj-compat.
Andrew Overholt 602cb9d
- Modified find patch courtesy Ziga Mahkovec (RH#149927#).
Andrew Overholt 602cb9d
- Compile with -O2 on ppc as well.
Andrew Overholt 602cb9d
- Add jsch, jakarta-commons-modeler, and mx4j symlinking.
Andrew Overholt 602cb9d
- Make use of gcj-dbtool -f to create databases in install.
Andrew Overholt 602cb9d
- Use system-wide classmap.db.
Andrew Overholt 602cb9d
- Remove *.jarswithnativelibs from files sections.
Andrew Overholt 602cb9d
- Update mozilla dependency.
Andrew Overholt 9783536
Ben Konrath f604149
* Mon Mar 07 2005 Ben Konrath <bkonrath@redhat.com> 3.1.0_fc-0.M5.12
Ben Konrath ffa51f1
- Add activeHelpSample.jar patch.
Andrew Overholt f2593e9
- Change to Fedora M-build splash screen.
Andrew Overholt f2593e9
- Add find patch courtesy Ziga Mahkovec (RH#149927#)
Andrew Overholt f2593e9
- Build native stuff with -O2 on i386.
Ben Konrath ffa51f1
Andrew Overholt a34c931
* Mon Mar 07 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.11
Andrew Overholt a34c931
- Add s390 and s390x patches.
Andrew Overholt f2593e9
- Don't build for them, though, due to gcc bug and Eclipse building issue.
Andrew Overholt 107e71a
- Add xorg-x11-devel BuildRequires.
Andrew Overholt a34c931
Andrew Overholt 10600b8
* Fri Mar 04 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.10
Andrew Overholt 10600b8
- Add proper mozilla version.
Andrew Overholt 10600b8
- Don't build eclipseAdaptor.jar.so in order to work around plugin building
Andrew Overholt 10600b8
  problems.
Andrew Overholt 10600b8
Andrew Overholt ad7296c
* Thu Mar 03 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.9
Andrew Overholt ad7296c
- Add patch to build libswt-mozilla.
Andrew Overholt ad7296c
- Build libswt-awt.
Andrew Overholt ad7296c
- Add 64-bit swt lib list.
Andrew Overholt ad7296c
Andrew Overholt c2b85f7
* Tue Mar 01 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.8
Andrew Overholt 3714771
- Add ppc.
Andrew Overholt c2b85f7
- Add patch to copy over icon for unsupported (upstream) platforms but don't
Andrew Overholt c2b85f7
  include the source for the launcher.
Andrew Overholt c2b85f7
- gcc4 -> gcc changes.
Andrew Overholt 73eab6c
- Add swt-cairo to 64-bit platforms' %files.
Andrew Overholt c2b85f7
Andrew Overholt d2ef4a3
* Fri Feb 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.7
Andrew Overholt d2ef4a3
- Add tar args patch (e.o #86571).
Andrew Overholt d2ef4a3
- New build bootstrapping patches.
Andrew Overholt d2ef4a3
Andrew Overholt 0665d48
* Fri Feb 25 2005 Andrew Overholt <overholt@redhat.com> 3.1.0_fc-0.M5.6
Andrew Overholt 0665d48
- Re-work how we do the gcj-dbtool magic.
Andrew Overholt 0665d48
- Don't remove ant-netrexx (need to find an RPM if we can).
Andrew Overholt 0665d48
Andrew Overholt feb6573
* Sun Feb 20 2005 Andrew Overholt <overholt@redhat.com> 1:3.1_fc-0.M5.5
Andrew Overholt 2d95067
- Build for just i386 and x86_64 for now due to upstream gcc bugs.
Andrew Overholt 43991e1
Andrew Overholt bfd4e0b
* Sun Feb 20 2005 Andrew Overholt <overholt@redhat.com> 1:3.1_fc-0.M5.1
Andrew Overholt bfd4e0b
- New 3.1M5a build using upstream build method.
Andrew Overholt bfd4e0b
- Re-organize sub-packages (ecj, platform, platform-devel, jdt, jdt-devel, pde,
Andrew Overholt bfd4e0b
  pde-devel, fold gtk2 package into platform).
Andrew Overholt bfd4e0b
- Move jface and org.eclipse.text into libswt3-gtk2.
Andrew Overholt bfd4e0b
- Bring in JPackage symlinks for packages we have in Fedora (David Walluck) and
Andrew Overholt bfd4e0b
  put in %%prep.
Andrew Overholt bfd4e0b
- Work around x86_64 filename differences.
Andrew Overholt bfd4e0b
- Remove xerces, xalan, and xml-commons-apis requirement (and LD_PRELOAD from
Andrew Overholt bfd4e0b
  script).
Andrew Overholt bfd4e0b
- Bootstrap build.