2008-07-14 21:40:30 +00:00
|
|
|
# TODO:
|
|
|
|
# - look at startup script and launcher patches
|
2008-10-03 20:33:02 +00:00
|
|
|
# - get Ganymede update site pre-configured (https://bugs.eclipse.org/249133)
|
2008-07-16 15:33:03 +00:00
|
|
|
# - investigate bi-arch requirements
|
2008-07-31 00:38:20 +00:00
|
|
|
# - see why about.html isn't being copied on ppc
|
2008-10-03 14:03:03 +00:00
|
|
|
# - fix ant libs
|
2007-01-10 18:58:44 +00:00
|
|
|
Epoch: 1
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
%define eclipse_major 3
|
2009-04-02 08:12:57 +00:00
|
|
|
%define eclipse_minor 5
|
2004-09-09 04:27:27 +00:00
|
|
|
%define eclipse_majmin %{eclipse_major}.%{eclipse_minor}
|
2009-04-02 08:12:57 +00:00
|
|
|
%define eclipse_micro 0
|
|
|
|
%define swtver 3.5.0.v3538
|
2008-10-15 21:22:00 +00:00
|
|
|
%define initialize 1
|
2004-09-09 04:27:27 +00:00
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
|
2005-03-09 16:04:59 +00:00
|
|
|
%ifarch %{ix86}
|
|
|
|
%define eclipse_arch x86
|
|
|
|
%else
|
|
|
|
%define eclipse_arch %{_arch}
|
|
|
|
%endif
|
|
|
|
|
2008-10-03 20:33:02 +00:00
|
|
|
# FIXME: update java packaging guidelines for this. See
|
|
|
|
# fedora-devel-java-list discussion in September 2008.
|
2008-11-20 19:45:36 +00:00
|
|
|
#
|
2008-10-03 20:33:02 +00:00
|
|
|
# Prevent brp-java-repack-jars from being run.
|
|
|
|
%define __jar_repack 0
|
|
|
|
|
2006-08-31 18:26:31 +00:00
|
|
|
Summary: An open, extensible IDE
|
2004-09-09 04:27:27 +00:00
|
|
|
Name: eclipse
|
2005-10-11 21:21:27 +00:00
|
|
|
Version: %{eclipse_majmin}.%{eclipse_micro}
|
2009-04-09 12:39:08 +00:00
|
|
|
Release: 0.1.8%{?dist}
|
2008-07-17 15:00:36 +00:00
|
|
|
License: EPL
|
2004-09-09 04:27:27 +00:00
|
|
|
Group: Text Editors/Integrated Development Environments (IDE)
|
|
|
|
URL: http://www.eclipse.org/
|
2009-04-02 08:12:57 +00:00
|
|
|
Source0: http://download.eclipse.org/eclipse/downloads/drops/I20090401-1325/eclipse-sourceBuild-srcIncluded-I20090401-1325.zip
|
2004-09-09 04:27:27 +00:00
|
|
|
Source2: %{name}.desktop
|
2008-07-14 21:40:30 +00:00
|
|
|
#Source3: eclipse.in
|
2007-10-03 19:51:18 +00:00
|
|
|
# cvs -d :pserver:anonymous@sources.redhat.com:/cvs/eclipse export \
|
2009-02-26 16:25:25 +00:00
|
|
|
# -r fedoraeclipse-3_4_2 branding/org.fedoraproject.ide.platform
|
2007-10-03 19:51:18 +00:00
|
|
|
# cd branding
|
2009-02-26 16:25:25 +00:00
|
|
|
# zip -r org.fedoraproject.ide.platform-3.4.2.zip \
|
2007-10-03 19:51:18 +00:00
|
|
|
# org.fedoraproject.ide.platform
|
2009-04-02 08:12:57 +00:00
|
|
|
Source4: org.fedoraproject.ide.platform-3.4.2.zip
|
2007-10-05 15:49:05 +00:00
|
|
|
# cvs -d :pserver:anonymous@sources.redhat.com:/cvs/eclipse export \
|
|
|
|
# -r fedoraeclipsefeature-1_0_0 branding/org.fedoraproject.ide-feature
|
|
|
|
# cd branding
|
|
|
|
# zip -r org.fedoraproject.ide.feature-1.0.0.zip \
|
|
|
|
# org.fedoraproject.ide-feature
|
|
|
|
Source5: org.fedoraproject.ide.feature-1.0.0.zip
|
2006-06-07 04:15:28 +00:00
|
|
|
Source16: %{name}-copy-platform.sh
|
2006-06-09 22:26:43 +00:00
|
|
|
Source17: efj.sh.in
|
2006-12-06 18:20:01 +00:00
|
|
|
# This file contains the types of files we'd like to extract from the jars
|
|
|
|
# when using the FileInitializer
|
2005-06-20 21:14:00 +00:00
|
|
|
Source19: %{name}-filenamepatterns.txt
|
2006-11-02 00:55:15 +00:00
|
|
|
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
|
2008-11-20 19:45:36 +00:00
|
|
|
# tar cjf eclipse-fileinitializerapp.tar.bz2 equinox-incubator/
|
2006-11-02 00:55:15 +00:00
|
|
|
# (generated 2006-11-01 18:48 UTC)
|
|
|
|
Source20: %{name}-fileinitializerapp.tar.bz2
|
2008-03-31 18:45:06 +00:00
|
|
|
# Script to wrap PDE Build calls for bundle builds
|
|
|
|
Source21: %{name}-pdebuild.sh
|
2008-07-14 21:40:30 +00:00
|
|
|
# config.ini to run the director for provisioning the installation
|
|
|
|
Source22: %{name}-config.ini.director
|
|
|
|
Source24: fetch-ecf.sh
|
|
|
|
# This was fetched using the above script.
|
|
|
|
# We will eventually have an eclipse-ecf package but since the ECF
|
|
|
|
# filetransfer bits that are part of the SDK actually require the SDK >=
|
|
|
|
# 3.4 to build, I'm going to build them here and have them be owned by
|
|
|
|
# the SDK packages for now. -- overholt, 2008-07-07
|
|
|
|
Source25: ecf-filetransfer-v20080611-1715.tar.bz2
|
|
|
|
# Create a simple feature for building ECF's filetransfer plugins
|
|
|
|
Source26: ecf-filetransfer-feature.xml
|
|
|
|
Source27: ecf-filetransfer-build.properties
|
2008-07-18 15:14:32 +00:00
|
|
|
# This script copies the platform sub-set of the SDK for generating metadata
|
|
|
|
Source28: %{name}-mv-Platform.sh
|
2008-08-27 20:12:35 +00:00
|
|
|
# Test feature and plugins
|
|
|
|
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co equinox-incubator/org.eclipse.equinox.initializer
|
|
|
|
# mkdir %{name}-%{version}-testframework; cd %{name}-%{version}-testframework
|
|
|
|
# cvs -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse export -r R3_4 \
|
|
|
|
# org.eclipse.test \
|
|
|
|
# org.eclipse.test.performance \
|
|
|
|
# org.eclipse.test-feature \
|
|
|
|
# org.eclipse.ant.optional.junit
|
|
|
|
# tar cjf %{name}-%{version}-testframework.tar.bz2 \
|
|
|
|
# %{name}-%{version}-testframework
|
2008-10-03 14:03:03 +00:00
|
|
|
# (generated 2008-10-03)
|
2009-04-02 08:12:57 +00:00
|
|
|
Source30: %{name}-3.4.2-testframework.tar.bz2
|
2006-09-18 22:20:30 +00:00
|
|
|
|
2008-07-25 13:21:25 +00:00
|
|
|
# Build swttools.jar before generation on 64-bit platforms.
|
|
|
|
# Build SWT native libraries
|
2005-04-06 21:47:54 +00:00
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90364
|
2008-07-25 13:21:25 +00:00
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=221908
|
|
|
|
# https://bugs.eclipse.org/bugs/attachment.cgi?id=105593
|
|
|
|
Patch4: %{name}-buildswtnatives.patch
|
|
|
|
Patch32: %{name}-compilelibs.patch
|
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
# This does two things:
|
|
|
|
# 1. allows the launcher to be in /usr/bin and
|
|
|
|
# 2. ensures that the OSGi configuration directory
|
|
|
|
# (which contains the JNI .sos) is in %{_libdir}
|
|
|
|
# We should investigate whether or not this can go upstream
|
2008-07-14 21:40:30 +00:00
|
|
|
#Patch12: %{name}-launcher-set-install-dir-and-shared-config.patch
|
2006-06-02 21:46:07 +00:00
|
|
|
# generic releng plugins that can be used to build plugins
|
2008-11-20 19:45:36 +00:00
|
|
|
# see this thread for details:
|
2006-06-02 21:46:07 +00:00
|
|
|
# https://www.redhat.com/archives/fedora-devel-java-list/2006-April/msg00048.html
|
2007-01-10 18:58:44 +00:00
|
|
|
Patch15: %{name}-pde.build-add-package-build.patch
|
2008-07-22 13:04:00 +00:00
|
|
|
Patch24: %{name}-add-ppc64-sparc64-s390-s390x.patch
|
|
|
|
Patch28: %{name}-add-ppc64-sparc64-s390-s390x-2.patch
|
|
|
|
Patch30: %{name}-addfragmentsforotherplatforms.patch
|
2008-07-29 13:40:46 +00:00
|
|
|
Patch38: %{name}-addrootfiles.patch
|
2007-08-30 23:52:17 +00:00
|
|
|
#FIXME: file a bug upstream
|
|
|
|
Patch26: %{name}-launcher-fix-java-home.patch
|
2008-07-14 21:40:30 +00:00
|
|
|
# Default max heap size too low for lots of people. Bump to 512 MB.
|
2008-04-25 16:55:36 +00:00
|
|
|
# Max perm size:
|
2007-10-31 15:00:22 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=352361
|
2008-04-25 16:55:36 +00:00
|
|
|
# JVM crash:
|
|
|
|
# http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6614100
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=214092
|
2008-09-25 13:10:51 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=461860 (mnowak)
|
2008-04-25 16:55:36 +00:00
|
|
|
Patch29: %{name}-memorypermsizeandjvmcrash.patch
|
2006-12-06 18:20:01 +00:00
|
|
|
|
2009-04-07 16:07:22 +00:00
|
|
|
Patch31: %{name}-ia64-packaging.patch
|
2008-07-14 21:40:30 +00:00
|
|
|
|
|
|
|
# Make ECF bundles have the same qualifier as they do upstream
|
|
|
|
Patch35: %{name}-ecf-qualifier.patch
|
|
|
|
|
|
|
|
# Don't pack the icu4j source bundle. Can go away when we re-build
|
|
|
|
# icu4j against a 3.4 SDK.
|
|
|
|
Patch36: %{name}-dontpackicu4jsource.patch
|
|
|
|
|
|
|
|
# Our dependent JARs have different signatures than the ones included
|
|
|
|
# upstream so remove the signatures in the manifests
|
|
|
|
Patch37: %{name}-nojarsignatures.patch
|
2008-05-14 18:23:16 +00:00
|
|
|
|
2008-08-11 19:31:22 +00:00
|
|
|
## Back-port patches from 3.4.x stream. These will be in 3.4.1.
|
|
|
|
## https://bugs.eclipse.org/bugs/show_bug.cgi?id=242632
|
|
|
|
#Patch39: %{name}-profilesync-e.o242632.patch
|
|
|
|
#Patch40: %{name}-profilesync-e.o242632-2.patch
|
|
|
|
|
2008-08-27 20:12:35 +00:00
|
|
|
# Remove win32 fragment from test feature
|
|
|
|
Patch41: %{name}-nowin32testfragment.patch
|
|
|
|
|
|
|
|
# Some fixes for library.xml
|
|
|
|
# FIXME: submit upstream
|
|
|
|
Patch42: %{name}-tests-libraryXml.patch
|
|
|
|
|
2008-10-03 14:03:03 +00:00
|
|
|
Patch43: %{name}-osgi-classpath.patch
|
2008-10-15 15:27:02 +00:00
|
|
|
Patch44: %{name}-fix-javahome64.patch
|
2008-10-03 14:03:03 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO fix build.xml generation
|
|
|
|
Patch46: %{name}-platform_build.patch
|
|
|
|
# TODO fix customBuildCallback
|
|
|
|
Patch47: %{name}-jdt_launch-customBuild.patch
|
|
|
|
|
2009-04-09 12:39:08 +00:00
|
|
|
# Since we're building against XULRunner, build using XR flags
|
|
|
|
# https://bugs.eclipse.org/226356
|
|
|
|
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131059
|
|
|
|
# At present, libxul.pc contains -lxpcomglue_s. Chris Aillon and myself think
|
|
|
|
# it should perhaps be -lxpcomglue. This patch uses that instead but will
|
|
|
|
# be replaced with the former when libxul.pc is fixed.
|
|
|
|
# https://bugs.eclipse.org/bugs/attachment.cgi?id=131060
|
|
|
|
Patch48: %{name}-swt-buildagainstxulrunner.patch
|
|
|
|
# Work with changed interface in XULRunner 1.9.1
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=268651
|
|
|
|
# https://bugs.eclipse.org/bugs/attachment.cgi?id=130611
|
|
|
|
Patch49: %{name}-swt-xulrunner191.patch
|
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 04:27:27 +00:00
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: jpackage-utils >= 0:1.5, make, gcc
|
2005-01-17 19:09:19 +00:00
|
|
|
BuildRequires: gnome-vfs2-devel
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: glib2-devel
|
2005-10-27 20:20:35 +00:00
|
|
|
BuildRequires: libgnome-devel
|
|
|
|
BuildRequires: libgnomeui-devel
|
2005-04-25 22:39:24 +00:00
|
|
|
BuildRequires: gcc-c++
|
2007-12-05 09:22:49 +00:00
|
|
|
BuildRequires: gecko-devel >= 1.9
|
2005-10-31 19:48:52 +00:00
|
|
|
BuildRequires: nspr-devel
|
2006-01-04 22:32:40 +00:00
|
|
|
BuildRequires: libXtst-devel
|
2006-06-02 21:46:07 +00:00
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: mesa-libGLU-devel
|
2005-11-06 15:32:26 +00:00
|
|
|
BuildRequires: cairo >= 1.0
|
2006-01-31 11:48:09 +00:00
|
|
|
BuildRequires: unzip
|
2009-04-02 08:12:57 +00:00
|
|
|
BuildRequires: icu4j-eclipse >= 4.0.1
|
2008-07-18 16:28:23 +00:00
|
|
|
BuildRequires: tomcat5-jasper-eclipse >= 5.5.26-1.5
|
2009-04-02 08:12:57 +00:00
|
|
|
BuildRequires: tomcat6-servlet-2.5-api
|
2006-12-20 04:19:37 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2007-08-30 19:54:32 +00:00
|
|
|
BuildRequires: java-devel >= 1.6.0
|
2008-04-10 00:16:11 +00:00
|
|
|
BuildRequires: java-javadoc
|
2007-08-30 20:37:01 +00:00
|
|
|
BuildRequires: libXt-devel
|
2004-09-09 04:27:27 +00:00
|
|
|
|
2008-10-03 14:09:39 +00:00
|
|
|
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
|
2005-07-19 19:47:18 +00:00
|
|
|
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
|
2009-04-02 08:12:57 +00:00
|
|
|
BuildRequires: jsch >= 0:0.1.41
|
2007-09-05 20:28:17 +00:00
|
|
|
BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
|
2008-08-12 20:14:25 +00:00
|
|
|
BuildRequires: jakarta-commons-el >= 1.0-9
|
2007-09-05 20:28:17 +00:00
|
|
|
BuildRequires: jakarta-commons-logging >= 1.0.4-6jpp.3
|
2005-06-16 16:02:07 +00:00
|
|
|
BuildRequires: mx4j >= 2.1
|
2008-08-12 15:26:24 +00:00
|
|
|
BuildRequires: jetty >= 5.1.14-1.6
|
2008-08-11 19:31:22 +00:00
|
|
|
BuildRequires: lucene >= 2.3.1-3.4
|
|
|
|
BuildRequires: lucene-contrib >= 2.3.1-3.4
|
2008-11-20 19:45:36 +00:00
|
|
|
BuildRequires: regexp
|
2005-05-13 15:45:44 +00:00
|
|
|
BuildRequires: junit >= 3.8.1-3jpp
|
2007-08-14 18:51:17 +00:00
|
|
|
BuildRequires: junit4
|
2009-02-26 17:08:30 +00:00
|
|
|
BuildRequires: sat4j >= 2.0.3
|
2008-07-14 21:40:30 +00:00
|
|
|
BuildRequires: objectweb-asm
|
auto-import changelog data from eclipse-2.1.0-22.src.rpm
Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22
- Updated upstream sources; oprofile plugin works
Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21
- Updated upstream sources; fixes oprofile buglets, also doc updates
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20
- Backed out xalan-j requirement; it causes problems
- Updated upstream sources; pulls in new documentation
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19
- Fix for PR 104274. Set LANG in startup script.
Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18
- xalan-j required at build time and runtime; bugzilla 104513
Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17
- Bug fixes in sources
Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16
- Updated upstream sources
Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15
- Don't build eclipse with -O2 for now
Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14
- Updated eclipse sources
Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13
- g++ is build requirement
Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12
- Enable gcj build again
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11
- Updated sources to fix -vm bug
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10
- Updated sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9
- Updated upstream sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8
- Updated upstream sources
- Require gnome-vfs2-devel at build time
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7
- Use LD_ASSUME_KERNEL hack
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6
- Updated sources
Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5
- Updated upstream sources
- Removed j2sdk dependency
- Added rpm-build and gnome-utils dependencies
Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4
- Updated upstream sources
Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3
- Fixed more build buglets
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2
- Don't build .so files at all
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com>
- Require Sun JVM
Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1
- Updated to eclipse 2.1
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- From Tom Tromey <tromey@redhat.com>
- Use i386, not x86, in ExclusiveArch
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- Set executable bit for opxml since zip won't preserve it.
Wed May 14 2003 Keith Seitz <keiths@redhat.com>
- Add oprofile plugin installation requirements.
Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25
- Use ExclusiveArch, not ExcludeArch
Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24
- Exclude ppc64
Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23
- Require gdb and make
Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22
- Bumped release for new build
- Fixed bug in JDT build
Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21
- Bumped release for rebuild
Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20
- Allow builds on ppc
Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19
- Changes to use gcc-ssa compiler
- Default to gcj build; install files required for gcj
- Define and use java_bin
- Only build on x86
Wed Mar 05 2003 Tom Tromey <tromey@redhat.com>
- Use build script to create ecj, compute architecture, choose targets
- Release 18
Tue Feb 18 2003 Tom Tromey <tromey@redhat.com>
- Replaced jikes with ecj
- Release 17
Wed Feb 05 2003 Tom Tromey <tromey@redhat.com>
- Added -arch to build, code to build with gcj, code to build with jikes,
code to use Sun JDK
- Removed java_jrelib
- Now release 16
Tue Dec 10 2002 Tom Tromey <tromey@redhat.com>
- Invoke buildNative
- Now release 15
Wed Nov 27 2002 Tom Tromey <tromey@redhat.com>
- Removed "-linux" from name
- Now release 14
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Changed name to eclipse
- Removed Conflicts
- Updated Provides
- Now release 13
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Install eclipse.desktop in /usr/share/applications, for 8.x
- Now release 12
Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com>
- Define java_home, java_jre, java_jrelib
- Use %setup
- Minor cleanups in %build LANG=C export LANG unset DISPLAY
- Use _bindir
Thu Oct 24 2002 Andrew Haley <aph@redhat.com>
- eclipse-2.0-linux-gtk.spec (Source): Now use gzip.
- (install): Now use Ant zip.distribution to do this installation.
- Added Requires for ctags.
Fri Oct 18 2002 Tom Tromey <tromey@redhat.com>
- Require JDK 1.3.1
- Added BuildReq for ant
- Use MANIFEST file to decide what to copy into install tree
Tue Oct 15 2002 Tom Tromey <tromey@redhat.com>
- Eclipse source now bzipped
Mon Oct 14 2002 Tom Tromey <tromey@redhat.com>
- No patch required
Fri Oct 11 2002 Tom Tromey <tromey@redhat.com>
- Added .desktop file
- Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
|
|
|
|
|
|
|
%description
|
2008-07-22 13:04:00 +00:00
|
|
|
The Eclipse platform is designed for building integrated development
|
|
|
|
environments (IDEs), server-side applications, desktop applications, and
|
|
|
|
everything in between.
|
2004-09-09 04:27:27 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
%package swt
|
2006-12-06 18:20:01 +00:00
|
|
|
Summary: SWT Library for GTK+-2.0
|
2006-09-18 22:20:30 +00:00
|
|
|
Group: Text Editors/Integrated Development Environments (IDE)
|
2007-11-22 18:11:14 +00:00
|
|
|
# %{_libdir}/java directory owned by jpackage-utils
|
|
|
|
Requires: jpackage-utils
|
2006-12-06 18:20:01 +00:00
|
|
|
Requires: gtk2
|
2007-12-05 09:22:49 +00:00
|
|
|
Requires: gecko-libs >= 1.9
|
2007-01-10 18:58:44 +00:00
|
|
|
Conflicts: mozilla
|
2008-07-14 21:40:30 +00:00
|
|
|
Provides: libswt3-gtk2 = 1:%{version}-%{release}
|
|
|
|
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
|
|
|
|
# but I want to leave some room in case we need to do an F9 update.
|
|
|
|
Obsoletes: libswt3-gtk2 < 1:3.3.2-20
|
2006-09-18 22:20:30 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
%description swt
|
2006-12-06 18:20:01 +00:00
|
|
|
SWT Library for GTK+-2.0.
|
2006-09-18 22:20:30 +00:00
|
|
|
|
|
|
|
%package rcp
|
|
|
|
Summary: Eclipse Rich Client Platform
|
|
|
|
Group: Development/Languages
|
2008-07-14 21:40:30 +00:00
|
|
|
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
|
|
|
# FIXME: investigate. Can we just add a %{arch} to the above?
|
|
|
|
## This file-level requirement is for the bi-arch multilib case
|
|
|
|
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
|
2009-04-02 08:12:57 +00:00
|
|
|
Requires: icu4j-eclipse >= 4.0.1
|
2007-08-30 19:54:32 +00:00
|
|
|
Requires: java >= 1.6.0
|
2006-09-18 22:20:30 +00:00
|
|
|
|
|
|
|
%description rcp
|
|
|
|
Eclipse Rich Client Platform
|
|
|
|
|
2004-09-09 04:27:27 +00:00
|
|
|
%package platform
|
|
|
|
Summary: Eclipse platform common files
|
|
|
|
Group: Text Editors/Integrated Development Environments (IDE)
|
2006-12-06 18:20:01 +00:00
|
|
|
Requires: %{name}-rcp = %{epoch}:%{version}-%{release}
|
2008-07-14 21:40:30 +00:00
|
|
|
# FIXME: investigate. Can we just add a %{arch} to the above?
|
|
|
|
## This file-level requirement is for the bi-arch multilib case
|
|
|
|
#Requires: %{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_%{swtver}.jar
|
2008-10-03 14:09:39 +00:00
|
|
|
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf ant-commons-net
|
2005-07-19 19:47:18 +00:00
|
|
|
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
|
2007-09-05 20:28:17 +00:00
|
|
|
Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-modeler jakarta-commons-pool
|
2008-08-12 20:14:25 +00:00
|
|
|
Requires: jakarta-commons-el >= 1.0-9
|
2007-09-05 20:28:17 +00:00
|
|
|
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
|
2005-06-16 16:02:07 +00:00
|
|
|
Requires: mx4j >= 2.1
|
2008-07-18 16:28:23 +00:00
|
|
|
Requires: tomcat5-jasper-eclipse >= 5.5.26-1.5
|
2009-04-02 08:12:57 +00:00
|
|
|
Requires: tomcat6-servlet-2.5-api > 6.0.18-9.1
|
2008-08-12 15:26:24 +00:00
|
|
|
Requires: jetty >= 5.1.14-1.6
|
2009-04-02 08:12:57 +00:00
|
|
|
Requires: jsch >= 0.1.41
|
2008-08-11 19:31:22 +00:00
|
|
|
Requires: lucene >= 2.3.1-3.4
|
|
|
|
Requires: lucene-contrib >= 2.3.1-3.4
|
2005-05-09 22:24:09 +00:00
|
|
|
Requires: regexp
|
2009-02-26 17:08:30 +00:00
|
|
|
Requires: sat4j >= 2.0.3
|
2008-07-14 21:40:30 +00:00
|
|
|
Provides: eclipse-cvs-client = 1:%{version}-%{release}
|
|
|
|
Obsoletes: eclipse-cvs-client < 1:3.3.2-20
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
%description platform
|
2007-09-04 21:14:28 +00:00
|
|
|
The Fedora Eclipse Platform is the base of all IDE plugins. This does not include the
|
2006-12-06 18:20:01 +00:00
|
|
|
Java Development Tools or the Plugin Development Environment.
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
%package jdt
|
2006-12-06 18:20:01 +00:00
|
|
|
Summary: Eclipse Java Development Tools
|
2004-09-09 04:27:27 +00:00
|
|
|
Group: Text Editors/Integrated Development Environments (IDE)
|
2005-02-21 00:31:38 +00:00
|
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
2007-08-23 18:19:17 +00:00
|
|
|
Requires: %{name}-cvs-client = %{epoch}:%{version}-%{release}
|
2005-05-23 17:01:40 +00:00
|
|
|
Requires: junit >= 3.8.1-3jpp
|
2007-08-14 18:51:17 +00:00
|
|
|
Requires: junit4
|
2006-12-06 18:20:01 +00:00
|
|
|
Requires: java-javadoc
|
2009-01-23 15:55:09 +00:00
|
|
|
Requires: java-devel
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
%description jdt
|
2006-12-06 18:20:01 +00:00
|
|
|
Eclipse Java Development Tools. This package is required to use Eclipse for
|
|
|
|
developing software written in the Java programming language.
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
%package pde
|
2006-12-06 18:20:01 +00:00
|
|
|
Summary: Eclipse Plugin Development Environment
|
2004-09-09 04:27:27 +00:00
|
|
|
Group: Text Editors/Integrated Development Environments (IDE)
|
2008-10-27 16:29:54 +00:00
|
|
|
Provides: eclipse
|
2007-08-29 14:28:27 +00:00
|
|
|
Provides: eclipse-sdk
|
2007-08-28 22:43:52 +00:00
|
|
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
2005-01-24 15:23:02 +00:00
|
|
|
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
2008-07-14 21:40:30 +00:00
|
|
|
Requires: objectweb-asm
|
2008-03-31 18:45:06 +00:00
|
|
|
# For PDE Build wrapper script
|
|
|
|
Requires: bash
|
2008-07-29 13:40:46 +00:00
|
|
|
Provides: %{name}-pde-runtime = 1:%{version}-%{release}
|
|
|
|
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
|
|
|
|
# but I want to leave some room in case we need to do an F9 update.
|
|
|
|
Obsoletes: %{name}-pde-runtime < 1:3.3.2-20
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2005-12-06 20:35:06 +00:00
|
|
|
%description pde
|
2006-12-06 18:20:01 +00:00
|
|
|
Eclipse Plugin Development Environment. This package is required for
|
|
|
|
developing Eclipse plugins.
|
2006-06-02 21:46:07 +00:00
|
|
|
|
auto-import changelog data from eclipse-2.1.0-22.src.rpm
Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22
- Updated upstream sources; oprofile plugin works
Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21
- Updated upstream sources; fixes oprofile buglets, also doc updates
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20
- Backed out xalan-j requirement; it causes problems
- Updated upstream sources; pulls in new documentation
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19
- Fix for PR 104274. Set LANG in startup script.
Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18
- xalan-j required at build time and runtime; bugzilla 104513
Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17
- Bug fixes in sources
Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16
- Updated upstream sources
Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15
- Don't build eclipse with -O2 for now
Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14
- Updated eclipse sources
Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13
- g++ is build requirement
Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12
- Enable gcj build again
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11
- Updated sources to fix -vm bug
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10
- Updated sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9
- Updated upstream sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8
- Updated upstream sources
- Require gnome-vfs2-devel at build time
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7
- Use LD_ASSUME_KERNEL hack
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6
- Updated sources
Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5
- Updated upstream sources
- Removed j2sdk dependency
- Added rpm-build and gnome-utils dependencies
Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4
- Updated upstream sources
Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3
- Fixed more build buglets
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2
- Don't build .so files at all
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com>
- Require Sun JVM
Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1
- Updated to eclipse 2.1
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- From Tom Tromey <tromey@redhat.com>
- Use i386, not x86, in ExclusiveArch
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- Set executable bit for opxml since zip won't preserve it.
Wed May 14 2003 Keith Seitz <keiths@redhat.com>
- Add oprofile plugin installation requirements.
Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25
- Use ExclusiveArch, not ExcludeArch
Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24
- Exclude ppc64
Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23
- Require gdb and make
Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22
- Bumped release for new build
- Fixed bug in JDT build
Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21
- Bumped release for rebuild
Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20
- Allow builds on ppc
Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19
- Changes to use gcc-ssa compiler
- Default to gcj build; install files required for gcj
- Define and use java_bin
- Only build on x86
Wed Mar 05 2003 Tom Tromey <tromey@redhat.com>
- Use build script to create ecj, compute architecture, choose targets
- Release 18
Tue Feb 18 2003 Tom Tromey <tromey@redhat.com>
- Replaced jikes with ecj
- Release 17
Wed Feb 05 2003 Tom Tromey <tromey@redhat.com>
- Added -arch to build, code to build with gcj, code to build with jikes,
code to use Sun JDK
- Removed java_jrelib
- Now release 16
Tue Dec 10 2002 Tom Tromey <tromey@redhat.com>
- Invoke buildNative
- Now release 15
Wed Nov 27 2002 Tom Tromey <tromey@redhat.com>
- Removed "-linux" from name
- Now release 14
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Changed name to eclipse
- Removed Conflicts
- Updated Provides
- Now release 13
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Install eclipse.desktop in /usr/share/applications, for 8.x
- Now release 12
Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com>
- Define java_home, java_jre, java_jrelib
- Use %setup
- Minor cleanups in %build LANG=C export LANG unset DISPLAY
- Use _bindir
Thu Oct 24 2002 Andrew Haley <aph@redhat.com>
- eclipse-2.0-linux-gtk.spec (Source): Now use gzip.
- (install): Now use Ant zip.distribution to do this installation.
- Added Requires for ctags.
Fri Oct 18 2002 Tom Tromey <tromey@redhat.com>
- Require JDK 1.3.1
- Added BuildReq for ant
- Use MANIFEST file to decide what to copy into install tree
Tue Oct 15 2002 Tom Tromey <tromey@redhat.com>
- Eclipse source now bzipped
Mon Oct 14 2002 Tom Tromey <tromey@redhat.com>
- No patch required
Fri Oct 11 2002 Tom Tromey <tromey@redhat.com>
- Added .desktop file
- Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
|
|
|
%prep
|
2004-09-09 04:26:01 +00:00
|
|
|
%setup -q -c
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2007-02-21 18:52:39 +00:00
|
|
|
sed --in-place "s/java5.home/java.home/" build.xml
|
2008-10-03 14:03:03 +00:00
|
|
|
sed --in-place "s|JavaSE-1.6=|JavaSE-1.6=%{java_home}|" build.xml
|
2008-07-25 13:21:25 +00:00
|
|
|
# Build swttools.jar and native libraries
|
2006-12-06 18:20:01 +00:00
|
|
|
%patch4 -p0
|
2008-07-25 13:21:25 +00:00
|
|
|
%patch32 -p0
|
2006-06-09 22:26:43 +00:00
|
|
|
|
2007-08-31 16:43:09 +00:00
|
|
|
# liblocalfile fixes
|
|
|
|
sed --in-place "s/JAVA_HOME =/#JAVA_HOME =/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
|
|
|
|
sed --in-place "s/OPT_FLAGS=-O/OPT_FLAGS=-O2 -g/" plugins/org.eclipse.core.filesystem/natives/unix/linux/Makefile
|
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# launcher patches
|
|
|
|
rm plugins/org.eclipse.platform/launchersrc.zip
|
|
|
|
pushd features/org.eclipse.equinox.executable
|
2008-07-14 21:40:30 +00:00
|
|
|
#%patch12 -p0
|
2007-08-30 23:52:17 +00:00
|
|
|
%patch26 -p0
|
2008-07-14 21:40:30 +00:00
|
|
|
# FIXME: deal with this
|
|
|
|
## put the configuration directory in an arch-specific location
|
|
|
|
#sed --in-place "s:/usr/lib/eclipse/configuration:%{_libdir}/%{name}/configuration:" library/eclipse.c
|
2008-11-20 19:45:36 +00:00
|
|
|
## make the eclipse binary relocatable
|
2008-07-14 21:40:30 +00:00
|
|
|
#sed --in-place "s:/usr/share/eclipse:%{_datadir}/%{name}:" library/eclipse.c
|
2007-06-27 15:56:57 +00:00
|
|
|
zip -q -9 -r ../../plugins/org.eclipse.platform/launchersrc.zip library
|
2005-10-27 20:17:59 +00:00
|
|
|
popd
|
2009-04-02 08:12:57 +00:00
|
|
|
#-e "s|-breakiterator|;../org.eclipse.equinox.util/@dot\n;../org.eclipse.ecf_3.0.0.v20090302-0803.jar\n-breakiterator|" \
|
|
|
|
|
2008-07-24 20:07:17 +00:00
|
|
|
# Use our system-installed javadocs, reference only what we built, and
|
|
|
|
# don't like to osgi.org docs (FIXME: maybe we should package them?)
|
|
|
|
sed -i -e "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
|
|
|
|
-e "/osgi\.org/d" \
|
2009-04-02 08:12:57 +00:00
|
|
|
-e "s|-breakiterator|;../org.eclipse.equinox.util/@dot\n;../org.eclipse.ecf.filetransfer_3.0.0.v20090302-0803.jar\n;../org.eclipse.ecf_3.0.0.v20090302-0803.jar\n-breakiterator|" \
|
|
|
|
plugins/org.eclipse.platform.doc.isv/platformOptions.txt
|
2008-07-24 20:07:17 +00:00
|
|
|
sed -i -e "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
|
|
|
|
-e "s/win32.win32.x86/gtk.linux.%{eclipse_arch}/" \
|
|
|
|
plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \
|
2007-05-24 06:11:03 +00:00
|
|
|
plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
|
2008-07-24 20:07:17 +00:00
|
|
|
sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
|
|
|
|
-e "s/motif.linux.x86/gtk.linux.%{eclipse_arch}/" \
|
|
|
|
plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
|
2009-04-02 08:12:57 +00:00
|
|
|
plugins/org.eclipse.pde.doc.user/pdeOptions.txt
|
2007-06-27 15:56:57 +00:00
|
|
|
|
2006-06-02 21:46:07 +00:00
|
|
|
pushd plugins/org.eclipse.pde.build
|
2006-12-06 18:20:01 +00:00
|
|
|
%patch15
|
2008-07-14 21:40:30 +00:00
|
|
|
sed --in-place "s:/usr/share/eclipse:%{_libdir}/%{name}:" templates/package-build/build.properties
|
2006-06-02 21:46:07 +00:00
|
|
|
popd
|
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
pushd features/org.eclipse.platform
|
2008-09-03 17:23:34 +00:00
|
|
|
# FIXME: fixed in 3.4.1
|
2008-07-14 21:40:30 +00:00
|
|
|
# Move this file around due a bug in the metadata generator/parser that
|
|
|
|
# can't work with the compiler exclude
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=238240
|
|
|
|
cp -p gtk/eclipse.ini{,.orig}
|
|
|
|
%patch29
|
|
|
|
mv gtk/eclipse.ini{,.patched}
|
|
|
|
mv gtk/eclipse.ini{.orig,}
|
|
|
|
popd
|
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO check whether it is needed
|
|
|
|
#%patch36
|
|
|
|
# TODO rebase
|
|
|
|
#%patch37
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2008-08-11 19:31:22 +00:00
|
|
|
#pushd plugins/org.eclipse.equinox.p2.reconciler.dropins
|
|
|
|
#%patch39
|
|
|
|
#popd
|
|
|
|
#
|
|
|
|
#pushd plugins/org.eclipse.equinox.p2.touchpoint.eclipse
|
|
|
|
#%patch40
|
|
|
|
#popd
|
|
|
|
|
2009-03-20 18:39:20 +00:00
|
|
|
#pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"
|
|
|
|
#%patch45 -p3
|
|
|
|
#popd
|
2009-03-16 18:14:14 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Remove signatures for JARs
|
|
|
|
find -iname \*.sf | xargs rm
|
|
|
|
find -iname \*.rsa | xargs rm
|
|
|
|
|
2006-06-09 22:26:43 +00:00
|
|
|
# all output should be directed to stdout
|
2006-12-06 18:20:01 +00:00
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=144942
|
2006-06-09 22:26:43 +00:00
|
|
|
find -type f -name \*.xml -exec sed --in-place -r "s/output=\".*(txt|log).*\"//g" "{}" \;
|
|
|
|
|
2007-08-14 18:51:17 +00:00
|
|
|
# Remove existing .sos and binary launcher
|
2006-06-02 21:46:07 +00:00
|
|
|
find -name \*.so | xargs rm
|
2007-08-14 18:51:17 +00:00
|
|
|
find features/org.eclipse.equinox.executable -type f -name eclipse | xargs rm
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2008-07-23 23:47:14 +00:00
|
|
|
# FIXME: do this as part of Linux distros project
|
2008-07-14 21:40:30 +00:00
|
|
|
#
|
2008-07-23 23:47:14 +00:00
|
|
|
# the swt version is set to HEAD on s390x but shouldn't be
|
2008-07-22 13:04:00 +00:00
|
|
|
# get swt version
|
|
|
|
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
|
|
|
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
|
|
|
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
|
|
|
|
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
|
2008-07-23 23:47:14 +00:00
|
|
|
swt_frag_ver_s390x=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml | sed "s:.*<.*\"\(.*\)\"/>:\1:")
|
2009-04-02 08:12:57 +00:00
|
|
|
sed --in-place "s|$swt_frag_ver_s390x|$swt_frag_ver|g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
|
2008-07-23 23:47:14 +00:00
|
|
|
plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF \
|
2009-04-02 08:12:57 +00:00
|
|
|
plugins/org.eclipse.swt.gtk.linux.s390x.source_3.5.0.HEAD/META-INF/MANIFEST.MF \
|
|
|
|
plugins/org.eclipse.swt.gtk.linux.s390x.source_3.5.0.HEAD/build.xml \
|
2008-07-23 23:47:14 +00:00
|
|
|
assemble.org.eclipse.sdk.linux.gtk.s390x.xml \
|
2008-07-22 13:04:00 +00:00
|
|
|
features/org.eclipse.rcp/build.xml
|
|
|
|
|
|
|
|
# Nasty hack to get suppport for ppc64, sparc{,64} and alpha
|
|
|
|
%patch24 -p1
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO check this patch
|
|
|
|
#%patch28
|
|
|
|
# TODO and this one
|
|
|
|
#%patch30
|
2008-07-22 13:04:00 +00:00
|
|
|
%patch31 -p1
|
2008-07-29 13:40:46 +00:00
|
|
|
%patch38
|
2008-07-22 13:04:00 +00:00
|
|
|
|
|
|
|
# replace ppc64 with a fake arch (ppc128) so we don't have duplicate ant targets
|
|
|
|
sed -i "s/\(rootFileslinux_gtk_\)ppc64/\1ppc128/g" \
|
|
|
|
features/org.eclipse.equinox.executable/target.build.xml
|
2008-07-23 23:47:14 +00:00
|
|
|
|
2008-11-20 19:45:36 +00:00
|
|
|
# Copy all of the s390x directories and files to ppc64 or sparc{,64} or alpha dirs and replace
|
2008-07-23 23:47:14 +00:00
|
|
|
# the s390x strings with ppc64, etc.
|
2008-07-25 13:21:25 +00:00
|
|
|
%ifnarch %{ix86} x86_64
|
2008-07-24 20:07:17 +00:00
|
|
|
cp -rp features/org.eclipse.platform/about_files/linux.gtk.{x86,%{_arch}}
|
2008-07-25 13:21:25 +00:00
|
|
|
%endif
|
2009-04-02 08:12:57 +00:00
|
|
|
%ifarch ppc64 sparc sparcv9 sparc64 alpha
|
2008-07-23 23:47:14 +00:00
|
|
|
for f in $(find -name \*s390x\*); do
|
|
|
|
tofile=$(echo $f | sed "s/s390x/%{_arch}/")
|
2008-07-24 20:35:04 +00:00
|
|
|
cp -rp $f $tofile
|
|
|
|
for g in $(find $tofile -type f); do
|
|
|
|
sed -i "s/s390x/%{_arch}/g" $g
|
2008-07-23 23:47:14 +00:00
|
|
|
done
|
2008-07-22 13:04:00 +00:00
|
|
|
done
|
|
|
|
OLDIFS=$IFS
|
|
|
|
IFS='
|
|
|
|
'
|
|
|
|
for f in $(find -type f ! -name \*.java -a ! -name feature.xml -a ! -name \*.gif \
|
|
|
|
-a ! -name \*.png -a ! -name \*.htm* -a ! -name \*.jar -a ! -name \
|
2008-07-23 23:47:14 +00:00
|
|
|
\*.exe -a ! -name \*.pm -a ! -name \*.jpg -a ! -name \*win32\* | grep -v win32); do
|
|
|
|
sed -i -e "s/s390x/%{_arch}/g" $f
|
2008-07-22 13:04:00 +00:00
|
|
|
done
|
|
|
|
IFS=$OLDIFS
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
|
|
|
|
IFS='
|
|
|
|
'
|
2008-07-29 21:05:08 +00:00
|
|
|
# Fragments for these arches
|
|
|
|
rm -rf plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
|
|
|
|
mv plugins/org.eclipse.equinox.launcher.gtk.linux.{ppc,%{_arch}}
|
2008-07-22 13:04:00 +00:00
|
|
|
pushd plugins/org.eclipse.equinox.launcher.gtk.linux.%{_arch}
|
|
|
|
for f in $(find -type f); do
|
|
|
|
sed -i -e "s/ppc/%{_arch}/g" $f
|
2008-07-29 21:05:08 +00:00
|
|
|
tofile=$(echo $f | sed "s/ppc/%{_arch}/")
|
|
|
|
if [ $tofile != $f ]; then
|
|
|
|
cp -rp $f $tofile
|
|
|
|
fi
|
2008-07-22 13:04:00 +00:00
|
|
|
done
|
|
|
|
popd
|
2008-07-29 21:05:08 +00:00
|
|
|
rm -rf plugins/org.eclipse.core.filesystem.linux.%{_arch}
|
|
|
|
mv plugins/org.eclipse.core.filesystem.linux.{ppc,%{_arch}}
|
2008-07-22 13:04:00 +00:00
|
|
|
pushd plugins/org.eclipse.core.filesystem.linux.%{_arch}
|
|
|
|
for f in $(find -type f); do
|
|
|
|
sed -i -e "s/ppc/%{_arch}/g" $f
|
2008-07-29 21:05:08 +00:00
|
|
|
tofile=$(echo $f | sed "s/ppc/%{_arch}/")
|
|
|
|
if [ $tofile != $f ]; then
|
|
|
|
cp -rp $f $tofile
|
|
|
|
fi
|
2008-07-22 13:04:00 +00:00
|
|
|
done
|
|
|
|
popd
|
|
|
|
IFS=$OLDIFS
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2008-11-20 19:45:36 +00:00
|
|
|
%endif
|
2008-07-24 00:54:57 +00:00
|
|
|
|
|
|
|
# Don't build for non-linux,gtk,%%{_arch} targets
|
|
|
|
pushd features
|
|
|
|
for f in */build.xml; do
|
2009-04-02 08:12:57 +00:00
|
|
|
for platform in win32 macosx carbon cocoa hpux solaris aix qnx motif; do
|
2008-07-24 00:54:57 +00:00
|
|
|
sed -i "/<ant antfile=\"build.xml\" dir=.*$platform.*target=\"/,/<\/ant>/ d" $f
|
2008-07-24 20:07:17 +00:00
|
|
|
sed -i "/idReplacer/ s/org.eclipse\.\([a-z0-9A-Z_]\+\.\)\+$platform\(\.[a-z0-9A-Z_]\+\)*:0.0.0,[0-9\.Ivf\-]\+,//g" $f
|
2008-07-24 00:54:57 +00:00
|
|
|
done
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
|
|
|
arches=$(grep "antfile=\"build.xml\" dir=\".*gtk\.linux\.*" \
|
|
|
|
features/org.eclipse.rcp/build.xml | awk '{ print $3 }' | awk -F . \
|
|
|
|
'{ print $NF }' | sort -u | tr -d '"' | tr "\n" " ")
|
|
|
|
|
2008-07-24 20:07:17 +00:00
|
|
|
arches=$(echo $arches | sed s/%{eclipse_arch}//)
|
2008-07-24 00:54:57 +00:00
|
|
|
|
|
|
|
# Don't build for arches other than the one on which we're building
|
|
|
|
pushd features
|
|
|
|
for f in */build.xml; do
|
|
|
|
for arch in $arches; do
|
2008-07-24 20:07:17 +00:00
|
|
|
sed -i "/<ant antfile=\"build.xml\" dir=.*$arch\" target=\"/,/<\/ant>/ d" $f
|
|
|
|
sed -i "/idReplacer/ s/org.eclipse\.\([a-z0-9A-Z_]\+\.\)\+$arch:0.0.0,[0-9I\.vf\-]\+,//g" $f
|
2008-07-24 00:54:57 +00:00
|
|
|
done
|
|
|
|
done
|
|
|
|
popd
|
2008-07-23 23:47:14 +00:00
|
|
|
|
2005-02-21 00:31:38 +00:00
|
|
|
# Symlinks
|
2008-07-14 21:40:30 +00:00
|
|
|
rm plugins/org.sat4j*
|
2009-04-02 08:12:57 +00:00
|
|
|
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090308.jar
|
|
|
|
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090308.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
|
|
|
|
ASMPLUGINVERSION=$(ls plugins | grep org.objectweb.asm_ | \
|
|
|
|
sed 's/org.objectweb.asm_//')
|
|
|
|
rm plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
|
|
|
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
|
|
|
|
plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
# BEGIN ANT ##
|
2008-07-14 21:40:30 +00:00
|
|
|
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
|
|
|
|
rm $ANTDIR/lib/*
|
|
|
|
ANTDIR=$ANTDIR/lib
|
|
|
|
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
|
|
|
|
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
|
|
|
|
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
|
2009-04-02 08:12:57 +00:00
|
|
|
# END ANT ##
|
2006-12-06 18:20:01 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
#JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
|
|
|
|
# TODO fix jetty
|
|
|
|
#rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
|
|
|
|
#ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
|
2007-08-29 13:46:48 +00:00
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
|
|
|
|
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
|
2005-05-23 17:01:40 +00:00
|
|
|
|
2007-08-14 18:51:17 +00:00
|
|
|
rm plugins/org.junit4/junit.jar
|
|
|
|
ln -s %{_javadir}/junit4.jar plugins/org.junit4/junit.jar
|
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# link to the jsch jar
|
2008-07-14 21:40:30 +00:00
|
|
|
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | \
|
|
|
|
sed 's/com.jcraft.jsch_//')
|
|
|
|
rm plugins/com.jcraft.jsch_*.jar
|
|
|
|
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
|
2007-06-26 16:01:53 +00:00
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# link to the icu4j stuff
|
2008-07-14 21:40:30 +00:00
|
|
|
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
|
|
|
|
rm plugins/com.ibm.icu_*.jar
|
2008-09-03 17:23:34 +00:00
|
|
|
ln -s %{_libdir}/eclipse/plugins/com.ibm.icu_*.jar plugins/com.ibm.icu_$ICUVERSION
|
2006-09-26 04:45:35 +00:00
|
|
|
|
2007-07-16 15:59:37 +00:00
|
|
|
# link to lucene
|
2008-07-14 21:40:30 +00:00
|
|
|
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
|
|
|
|
sed 's/org.apache.lucene_//')
|
|
|
|
rm plugins/org.apache.lucene_*
|
|
|
|
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
|
|
|
|
rm plugins/org.apache.lucene.analysis_*
|
|
|
|
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
|
|
|
|
plugins/org.apache.lucene.analysis_$LUCENEVERSION
|
2007-07-16 21:35:28 +00:00
|
|
|
|
|
|
|
# link to commons-logging
|
2008-07-14 21:40:30 +00:00
|
|
|
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
|
|
|
|
sed 's/org.apache.commons.logging_//')
|
|
|
|
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
|
|
|
ln -s %{_javadir}/commons-logging.jar \
|
|
|
|
plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
2007-07-16 15:59:37 +00:00
|
|
|
|
2007-07-31 23:02:58 +00:00
|
|
|
# link to commons-el
|
2008-07-14 21:40:30 +00:00
|
|
|
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
|
|
|
|
sed 's/org.apache.commons.el_//')
|
|
|
|
rm plugins/org.apache.commons.el_$COMMONSELVERSION
|
|
|
|
ln -s %{_javadir}/commons-el.jar \
|
|
|
|
plugins/org.apache.commons.el_$COMMONSELVERSION
|
2009-04-02 08:12:57 +00:00
|
|
|
|
|
|
|
# link to commons-codec
|
|
|
|
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
|
|
|
|
sed 's/org.apache.commons.codec_//')
|
|
|
|
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
|
|
|
ln -s %{_javadir}/commons-codec.jar \
|
|
|
|
plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
|
|
|
|
2009-04-07 16:07:22 +00:00
|
|
|
# link to commons-httpclient
|
2009-04-02 08:12:57 +00:00
|
|
|
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
|
|
|
|
sed 's/org.apache.commons.httpclient_//')
|
|
|
|
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
|
|
|
ln -s %{_javadir}/commons-httpclient.jar \
|
|
|
|
plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
2007-07-31 23:02:58 +00:00
|
|
|
|
2007-08-10 16:50:53 +00:00
|
|
|
# link to jasper
|
2008-07-14 21:40:30 +00:00
|
|
|
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
|
|
|
|
sed 's/org.apache.jasper_//')
|
|
|
|
rm plugins/org.apache.jasper_*.jar
|
|
|
|
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
|
|
|
|
plugins/org.apache.jasper_$JASPERVERSION
|
2007-08-10 16:50:53 +00:00
|
|
|
|
2007-09-05 20:28:17 +00:00
|
|
|
# link to servlet-api
|
2008-07-14 21:40:30 +00:00
|
|
|
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
|
|
|
|
sed 's/javax.servlet_//')
|
|
|
|
rm plugins/javax.servlet_*
|
2009-04-02 08:12:57 +00:00
|
|
|
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
|
2008-07-14 21:40:30 +00:00
|
|
|
plugins/javax.servlet_$SERVLETAPIVERSION
|
2009-04-02 08:12:57 +00:00
|
|
|
#
|
2007-08-10 16:50:53 +00:00
|
|
|
# link to jsp-api
|
2008-07-14 21:40:30 +00:00
|
|
|
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
|
|
|
|
sed 's/javax.servlet.jsp_//')
|
|
|
|
rm plugins/javax.servlet.jsp_*
|
|
|
|
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
|
|
|
|
plugins/javax.servlet.jsp_$JSPAPIVERSION
|
2007-08-10 16:50:53 +00:00
|
|
|
|
2006-09-26 04:45:35 +00:00
|
|
|
# delete included jars
|
2007-01-16 17:13:37 +00:00
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
|
2009-04-02 08:12:57 +00:00
|
|
|
rm plugins/org.eclipse.swt/extra_jars/exceptions.jar \
|
2007-06-27 15:56:57 +00:00
|
|
|
plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
|
|
|
|
plugins/org.eclipse.osgi/osgi/osgi.core.jar \
|
|
|
|
plugins/org.eclipse.osgi/supplement/osgi/osgi.jar
|
2006-09-26 04:45:35 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# FIXME: figure out a way to symlink to something. Alternatively,
|
|
|
|
# patch out of package.org.eclipse.sdk*.xml.
|
|
|
|
# Delete unnecessary-for-build source JARs
|
|
|
|
#rm plugins/*.source_*.jar
|
|
|
|
|
2006-06-02 21:46:07 +00:00
|
|
|
# make sure there are no jars left
|
2006-06-08 18:47:33 +00:00
|
|
|
JARS=""
|
|
|
|
for j in $(find -name \*.jar); do
|
|
|
|
if [ ! -L $j ]; then
|
2008-07-14 21:40:30 +00:00
|
|
|
JARS="$JARS `echo $j`"
|
2006-06-08 18:47:33 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
if [ ! -z "$JARS" ]; then
|
2006-12-06 18:20:01 +00:00
|
|
|
echo "These jars should be deleted and symlinked to system jars: $JARS"
|
2006-06-09 22:26:43 +00:00
|
|
|
#FIXME: enable exit 1
|
2006-06-08 18:47:33 +00:00
|
|
|
fi
|
2006-06-02 21:46:07 +00:00
|
|
|
|
2006-11-02 00:55:15 +00:00
|
|
|
tar jxf %{SOURCE20}
|
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# ECF filetransfer plugins
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO Enable with correct ecf
|
|
|
|
#tar jxf %{SOURCE25}
|
|
|
|
#pushd org.eclipse.ecf
|
|
|
|
#%patch35
|
|
|
|
#mkdir -p features/org.eclipse.ecf.filetransfer-feature
|
|
|
|
#pushd features/org.eclipse.ecf.filetransfer-feature
|
|
|
|
#cp -p %{SOURCE26} feature.xml
|
|
|
|
#cp -p %{SOURCE27} build.properties
|
|
|
|
#popd
|
|
|
|
#popd
|
2008-08-27 20:12:35 +00:00
|
|
|
|
|
|
|
# Test framework
|
|
|
|
tar jxf %{SOURCE30}
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO regenerate testframework once 3.5 is out
|
|
|
|
#pushd %{name}-%{version}-testframework
|
|
|
|
pushd %{name}-3.4.2-testframework
|
2008-08-27 20:12:35 +00:00
|
|
|
%patch41
|
2008-12-05 01:45:06 +00:00
|
|
|
pushd org.eclipse.test
|
2008-08-27 20:12:35 +00:00
|
|
|
%patch42
|
2008-12-05 01:45:06 +00:00
|
|
|
popd
|
2008-08-27 20:12:35 +00:00
|
|
|
sed -i "s:/usr/lib/eclipse:%{_libdir}/%{name}:" org.eclipse.test/library.xml
|
|
|
|
popd
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO rediff patch if needed
|
2008-10-03 14:03:03 +00:00
|
|
|
%patch43
|
2008-10-15 15:27:02 +00:00
|
|
|
%patch44
|
2009-04-02 08:12:57 +00:00
|
|
|
%patch46
|
|
|
|
%patch47
|
|
|
|
|
2009-04-09 12:39:08 +00:00
|
|
|
pushd "plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library"
|
|
|
|
%patch48 -p3
|
|
|
|
popd
|
|
|
|
pushd plugins/org.eclipse.swt
|
|
|
|
# TODO remove when it appears in the official build
|
|
|
|
#%patch49
|
|
|
|
popd
|
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
sed -i -e 's|org.eclipse.ecf;bundle-version="1.2.0",|org.eclipse.ecf;bundle-version="[3.0.0,4.0.0)",|' \
|
|
|
|
-e 's|org.eclipse.ecf.filetransfer;bundle-version="2.0.0",|org.eclipse.ecf.filetransfer;bundle-version="[3.0.0,4.0.0)",|' \
|
|
|
|
plugins/org.eclipse.equinox.p2.metadata.repository/META-INF/MANIFEST.MF
|
|
|
|
|
2008-10-03 14:03:03 +00:00
|
|
|
|
2005-03-22 23:17:45 +00:00
|
|
|
%build
|
|
|
|
ORIGCLASSPATH=$CLASSPATH
|
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# Bootstrapping:
|
2008-07-14 21:40:30 +00:00
|
|
|
# 1. Build ecj with javac
|
2007-06-27 15:56:57 +00:00
|
|
|
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
|
2005-03-22 23:17:45 +00:00
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# 2. Use this ecj to rebuild itself
|
2005-05-23 17:01:40 +00:00
|
|
|
export CLASSPATH=`pwd`/jdtcoresrc/ecj.jar:$ORIGCLASSPATH
|
2007-06-27 15:56:57 +00:00
|
|
|
ant -DcompilerArg="-encoding ISO-8859-1 -nowarn" -buildfile jdtcoresrc/compilejdtcore.xml
|
2005-03-22 23:17:45 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
mkdir -p tmp/eclipse/plugins
|
|
|
|
cp plugins/org.eclipse.ecf* tmp/eclipse/plugins
|
|
|
|
cp plugins/org.apache.commons.codec* tmp/eclipse/plugins
|
|
|
|
cp plugins/org.apache.commons.httpclient* tmp/eclipse/plugins
|
2005-03-22 23:17:45 +00:00
|
|
|
# Build the rest of Eclipse
|
2005-05-23 17:01:40 +00:00
|
|
|
export CLASSPATH=`pwd`/ecj.jar:$ORIGCLASSPATH
|
2006-06-02 21:46:07 +00:00
|
|
|
export JAVA_HOME=%{java_home}
|
2005-02-21 00:31:38 +00:00
|
|
|
ant \
|
|
|
|
-Dnobootstrap=true \
|
2005-03-09 16:04:59 +00:00
|
|
|
-DinstallOs=linux -DinstallWs=gtk -DinstallArch=%{eclipse_arch} \
|
2008-07-14 21:40:30 +00:00
|
|
|
-Dlibsconfig=true \
|
|
|
|
-DJavaSE-1.6=%{_jvmdir}/java/jre/lib/rt.jar \
|
|
|
|
-DcompilerArg="-encoding ISO-8859-1 -nowarn"
|
2008-11-20 19:45:36 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Build the FileInitializer application
|
2007-06-06 03:22:53 +00:00
|
|
|
SDK=$(cd eclipse && pwd)
|
2007-09-07 18:51:16 +00:00
|
|
|
mkdir -p home
|
|
|
|
homedir=$(cd home && pwd)
|
|
|
|
LAUNCHERVERSION=$(ls $SDK/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
|
2008-07-14 21:40:30 +00:00
|
|
|
PDEPLUGINVERSION=$(ls $SDK/plugins | grep pde.build_ | sed 's/org.eclipse.pde.build_//')
|
2009-04-02 08:12:57 +00:00
|
|
|
cp plugins/org.eclipse.ecf* $SDK/plugins
|
|
|
|
cp plugins/org.apache.commons.codec* $SDK/plugins
|
|
|
|
cp plugins/org.apache.commons.httpclient* $SDK/plugins
|
2007-06-06 03:22:53 +00:00
|
|
|
pushd equinox-incubator
|
2007-09-07 18:51:16 +00:00
|
|
|
mkdir -p build
|
2009-04-02 08:12:57 +00:00
|
|
|
|
2007-06-06 03:22:53 +00:00
|
|
|
# This can go away when package build handles plugins (not just features)
|
|
|
|
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/assemble.org.eclipse.equinox.initializer.all.xml
|
|
|
|
echo "<project default=\"main\"><target name=\"main\"></target></project>" > build/package.org.eclipse.equinox.initializer.all.xml
|
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
2007-06-26 16:01:53 +00:00
|
|
|
-Duser.home=$homedir \
|
2007-06-27 15:56:57 +00:00
|
|
|
org.eclipse.core.launcher.Main \
|
2007-06-06 03:22:53 +00:00
|
|
|
-application org.eclipse.ant.core.antRunner \
|
|
|
|
-Dtype=plugin \
|
|
|
|
-Did=org.eclipse.equinox.initializer \
|
|
|
|
-DsourceDirectory=$(pwd) \
|
|
|
|
-DbaseLocation=$SDK \
|
|
|
|
-Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \
|
|
|
|
-f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
|
2009-04-02 08:12:57 +00:00
|
|
|
|
2007-06-06 03:22:53 +00:00
|
|
|
pushd build/plugins/org.eclipse.equinox.initializer
|
2007-06-27 15:56:57 +00:00
|
|
|
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
2007-06-26 16:01:53 +00:00
|
|
|
-Duser.home=$homedir \
|
2007-06-27 15:56:57 +00:00
|
|
|
org.eclipse.core.launcher.Main \
|
2007-07-09 19:21:44 +00:00
|
|
|
-application org.eclipse.ant.core.antRunner \
|
2007-06-06 03:22:53 +00:00
|
|
|
-f build.xml build.update.jar
|
|
|
|
popd
|
|
|
|
popd
|
2006-06-09 22:26:43 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Build the ECF filetransfer plugins
|
2009-04-02 08:12:57 +00:00
|
|
|
# TODO reenable with correct ecf
|
|
|
|
#pushd org.eclipse.ecf
|
|
|
|
#mkdir -p build
|
|
|
|
#
|
|
|
|
#java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
# -Duser.home=$homedir \
|
|
|
|
# org.eclipse.core.launcher.Main \
|
|
|
|
# -application org.eclipse.ant.core.antRunner \
|
|
|
|
# -Dtype=feature \
|
|
|
|
# -Did=org.eclipse.ecf.filetransfer_feature \
|
|
|
|
# -DsourceDirectory=$(pwd) \
|
|
|
|
# -DbaseLocation=$SDK \
|
|
|
|
# -Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \
|
|
|
|
# -f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
|
|
|
|
#
|
|
|
|
#popd
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2008-08-27 20:12:35 +00:00
|
|
|
# Build the test framework
|
2009-04-02 08:12:57 +00:00
|
|
|
pushd %{name}-3.4.2-testframework
|
2008-08-27 20:12:35 +00:00
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
# The qualifier is what is in upstream's release:
|
|
|
|
# http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/eclipse-test-framework-3.4.zip
|
|
|
|
java -cp $SDK/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
-Duser.home=$homedir \
|
|
|
|
org.eclipse.core.launcher.Main \
|
|
|
|
-application org.eclipse.ant.core.antRunner \
|
|
|
|
-Dtype=feature \
|
|
|
|
-Did=org.eclipse.test \
|
|
|
|
-DsourceDirectory=$(pwd) \
|
|
|
|
-DbaseLocation=$SDK \
|
|
|
|
-DforceContextQualifier=v20080507 \
|
|
|
|
-Dbuilder=$SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/templates/package-build \
|
|
|
|
-f $SDK/plugins/org.eclipse.pde.build_$PDEPLUGINVERSION/scripts/build.xml
|
2009-04-02 08:12:57 +00:00
|
|
|
popd
|
2008-08-27 20:12:35 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
#TODO verify this is the correct place
|
|
|
|
pushd %{name}-3.4.2-testframework
|
2008-08-27 20:12:35 +00:00
|
|
|
unzip build/rpmBuild/org.eclipse.test.zip
|
|
|
|
# These are already in the SDK
|
|
|
|
rm eclipse/epl-v10.html eclipse/notice.html
|
2008-08-27 22:42:32 +00:00
|
|
|
rm -rf eclipse/plugins/org.junit*
|
2008-08-27 20:12:35 +00:00
|
|
|
rm build/rpmBuild/org.eclipse.test.zip
|
|
|
|
zip -r build/rpmBuild/org.eclipse.test.zip eclipse
|
|
|
|
popd
|
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
|
2004-09-09 04:27:27 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-12-06 18:20:01 +00:00
|
|
|
# Get swt version
|
2006-06-05 03:47:07 +00:00
|
|
|
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
|
|
|
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
|
|
|
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
|
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
# Some directories we need
|
2008-07-18 15:14:32 +00:00
|
|
|
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
|
|
|
|
install -d -m 755 $sdkDir
|
|
|
|
install -d -m 755 $sdkDir/plugins
|
|
|
|
install -d -m 755 $sdkDir/features
|
2008-08-05 22:21:54 +00:00
|
|
|
# FIXME: We can probably get rid of the links directory (for the
|
|
|
|
# datadir.link file) when we ensure all plugins are installing into
|
|
|
|
# dropins (either in libdir or datadir).
|
2007-10-11 14:36:55 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
|
2008-08-01 20:11:03 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
2008-08-05 22:21:54 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/dropins
|
|
|
|
|
|
|
|
# FIXME: Please don't install stuff to these directories. They're only
|
|
|
|
# still here for legacy plugins (which probably won't function in 3.4).
|
|
|
|
# We'll remove these later.
|
2008-08-01 20:11:03 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/features
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
|
2006-12-06 18:20:01 +00:00
|
|
|
|
|
|
|
# Explode the resulting SDK tarball
|
2008-07-14 21:40:30 +00:00
|
|
|
tar -C $RPM_BUILD_ROOT%{_libdir} -zxf result/linux-gtk-%{eclipse_arch}-sdk.tar.gz
|
auto-import changelog data from eclipse-2.1.0-22.src.rpm
Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22
- Updated upstream sources; oprofile plugin works
Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21
- Updated upstream sources; fixes oprofile buglets, also doc updates
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20
- Backed out xalan-j requirement; it causes problems
- Updated upstream sources; pulls in new documentation
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19
- Fix for PR 104274. Set LANG in startup script.
Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18
- xalan-j required at build time and runtime; bugzilla 104513
Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17
- Bug fixes in sources
Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16
- Updated upstream sources
Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15
- Don't build eclipse with -O2 for now
Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14
- Updated eclipse sources
Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13
- g++ is build requirement
Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12
- Enable gcj build again
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11
- Updated sources to fix -vm bug
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10
- Updated sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9
- Updated upstream sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8
- Updated upstream sources
- Require gnome-vfs2-devel at build time
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7
- Use LD_ASSUME_KERNEL hack
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6
- Updated sources
Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5
- Updated upstream sources
- Removed j2sdk dependency
- Added rpm-build and gnome-utils dependencies
Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4
- Updated upstream sources
Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3
- Fixed more build buglets
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2
- Don't build .so files at all
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com>
- Require Sun JVM
Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1
- Updated to eclipse 2.1
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- From Tom Tromey <tromey@redhat.com>
- Use i386, not x86, in ExclusiveArch
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- Set executable bit for opxml since zip won't preserve it.
Wed May 14 2003 Keith Seitz <keiths@redhat.com>
- Add oprofile plugin installation requirements.
Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25
- Use ExclusiveArch, not ExcludeArch
Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24
- Exclude ppc64
Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23
- Require gdb and make
Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22
- Bumped release for new build
- Fixed bug in JDT build
Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21
- Bumped release for rebuild
Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20
- Allow builds on ppc
Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19
- Changes to use gcc-ssa compiler
- Default to gcj build; install files required for gcj
- Define and use java_bin
- Only build on x86
Wed Mar 05 2003 Tom Tromey <tromey@redhat.com>
- Use build script to create ecj, compute architecture, choose targets
- Release 18
Tue Feb 18 2003 Tom Tromey <tromey@redhat.com>
- Replaced jikes with ecj
- Release 17
Wed Feb 05 2003 Tom Tromey <tromey@redhat.com>
- Added -arch to build, code to build with gcj, code to build with jikes,
code to use Sun JDK
- Removed java_jrelib
- Now release 16
Tue Dec 10 2002 Tom Tromey <tromey@redhat.com>
- Invoke buildNative
- Now release 15
Wed Nov 27 2002 Tom Tromey <tromey@redhat.com>
- Removed "-linux" from name
- Now release 14
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Changed name to eclipse
- Removed Conflicts
- Updated Provides
- Now release 13
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Install eclipse.desktop in /usr/share/applications, for 8.x
- Now release 12
Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com>
- Define java_home, java_jre, java_jrelib
- Use %setup
- Minor cleanups in %build LANG=C export LANG unset DISPLAY
- Use _bindir
Thu Oct 24 2002 Andrew Haley <aph@redhat.com>
- eclipse-2.0-linux-gtk.spec (Source): Now use gzip.
- (install): Now use Ant zip.distribution to do this installation.
- Added Requires for ctags.
Fri Oct 18 2002 Tom Tromey <tromey@redhat.com>
- Require JDK 1.3.1
- Added BuildReq for ant
- Use MANIFEST file to decide what to copy into install tree
Tue Oct 15 2002 Tom Tromey <tromey@redhat.com>
- Eclipse source now bzipped
Mon Oct 14 2002 Tom Tromey <tromey@redhat.com>
- No patch required
Fri Oct 11 2002 Tom Tromey <tromey@redhat.com>
- Added .desktop file
- Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# ECF filetransfer plugins we built
|
2009-04-02 08:12:57 +00:00
|
|
|
#rm $sdkDir/plugins/org.eclipse.ecf*.jar
|
|
|
|
#unzip -d $RPM_BUILD_ROOT%{_libdir} \
|
|
|
|
# org.eclipse.ecf/build/rpmBuild/org.eclipse.ecf.filetransfer_feature.zip
|
2008-07-14 21:40:30 +00:00
|
|
|
# Remove the feature we used for building
|
2009-04-02 08:12:57 +00:00
|
|
|
#rm -rf \
|
|
|
|
# $sdkDir/features/org.eclipse.ecf.filetransfer_feature_*
|
2007-09-07 18:51:16 +00:00
|
|
|
|
2008-08-27 20:12:35 +00:00
|
|
|
# Test framework
|
|
|
|
unzip -d $RPM_BUILD_ROOT%{_libdir} \
|
2009-04-02 08:12:57 +00:00
|
|
|
%{name}-3.4.2-testframework/build/rpmBuild/org.eclipse.test.zip
|
2008-08-27 20:12:35 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins/org.eclipse.test{_3.2.0,}
|
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
LAUNCHERVERSION=$(ls $sdkDir/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
|
2007-06-27 15:56:57 +00:00
|
|
|
|
2007-09-04 21:14:28 +00:00
|
|
|
# Install the file initializer app
|
2008-07-14 21:40:30 +00:00
|
|
|
cp -p equinox-incubator/org.eclipse.equinox.initializer/org.eclipse.equinox.initializer_*.jar \
|
2008-07-18 15:14:32 +00:00
|
|
|
$sdkDir/plugins
|
2006-11-02 00:55:15 +00:00
|
|
|
|
2007-09-04 21:14:28 +00:00
|
|
|
# Install the Fedora Eclipse product plugin
|
2008-07-18 15:14:32 +00:00
|
|
|
unzip -qq -d $sdkDir/plugins %{SOURCE4}
|
2007-10-05 15:49:05 +00:00
|
|
|
# Install the Fedora Eclipse product feature
|
2008-07-18 15:14:32 +00:00
|
|
|
unzip -qq -d $sdkDir/features %{SOURCE5}
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
installDir=$sdkDir-Platform
|
|
|
|
metadataDir=$installDir/metadata-Platform
|
|
|
|
provisionDir=$installDir-provisioned
|
|
|
|
profileId=PlatformProfile
|
2008-07-17 22:13:01 +00:00
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
# Copy just the platform
|
|
|
|
mkdir $installDir
|
|
|
|
pushd $installDir
|
|
|
|
sh %{SOURCE28} $sdkDir
|
2008-07-29 13:40:46 +00:00
|
|
|
mv plugins/*.source* $sdkDir/plugins
|
2008-07-17 22:13:01 +00:00
|
|
|
popd
|
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
# Generate metadata for the platform
|
2008-07-14 21:40:30 +00:00
|
|
|
java \
|
|
|
|
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
org.eclipse.core.launcher.Main \
|
|
|
|
-application \
|
|
|
|
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
|
|
|
-metadataRepository file:$metadataDir \
|
|
|
|
-artifactRepository file:$metadataDir \
|
|
|
|
-source $installDir \
|
2008-07-18 15:14:32 +00:00
|
|
|
-root "Fedora Eclipse Platform" \
|
2008-07-17 22:13:01 +00:00
|
|
|
-rootVersion %{version} \
|
2008-07-14 21:40:30 +00:00
|
|
|
-flavor tooling \
|
|
|
|
-publishArtifacts \
|
|
|
|
-append \
|
|
|
|
-artifactRepositoryName "Fedora Eclipse" \
|
|
|
|
-metadataRepositoryName "Fedora Eclipse"
|
|
|
|
|
2008-07-29 13:40:46 +00:00
|
|
|
# JDT
|
|
|
|
jdtDir=$sdkDir-JDT
|
|
|
|
jdtMetadata=$jdtDir/metadata-JDT
|
|
|
|
|
|
|
|
mkdir $jdtDir
|
|
|
|
pushd $jdtDir
|
|
|
|
mkdir features plugins
|
|
|
|
mv $sdkDir/features/org.eclipse.jdt_* features
|
|
|
|
for plugin in org.eclipse.jdt \
|
|
|
|
org.eclipse.ant.ui \
|
|
|
|
org.eclipse.jdt.apt.core \
|
|
|
|
org.eclipse.jdt.apt.ui \
|
|
|
|
org.eclipse.jdt.apt.pluggable.core \
|
|
|
|
org.eclipse.jdt.compiler.apt \
|
|
|
|
org.eclipse.jdt.compiler.tool \
|
|
|
|
org.eclipse.jdt.core \
|
|
|
|
org.eclipse.jdt.core.manipulation \
|
|
|
|
org.eclipse.jdt.debug.ui \
|
|
|
|
org.eclipse.jdt.debug \
|
|
|
|
org.eclipse.jdt.junit \
|
|
|
|
org.eclipse.jdt.junit.runtime \
|
|
|
|
org.eclipse.jdt.junit4.runtime \
|
|
|
|
org.eclipse.jdt.launching \
|
|
|
|
org.eclipse.jdt.ui \
|
2009-04-02 08:12:57 +00:00
|
|
|
org.eclipse.jdt.doc.user \
|
2008-07-29 13:40:46 +00:00
|
|
|
org.junit \
|
2009-04-02 08:12:57 +00:00
|
|
|
org.junit4 ; do
|
2008-07-29 13:40:46 +00:00
|
|
|
mv $sdkDir/plugins/${plugin}_* plugins
|
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Generate metadata for JDT
|
|
|
|
java \
|
|
|
|
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
org.eclipse.core.launcher.Main \
|
|
|
|
-application \
|
|
|
|
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
|
|
|
-metadataRepository file:$jdtMetadata \
|
|
|
|
-artifactRepository file:$jdtMetadata \
|
|
|
|
-source $jdtDir \
|
|
|
|
-root "Fedora Eclipse JDT" \
|
|
|
|
-rootVersion %{version} \
|
|
|
|
-flavor tooling \
|
|
|
|
-append \
|
2008-10-10 13:15:09 +00:00
|
|
|
-artifactRepositoryName "Fedora Eclipse JDT" \
|
|
|
|
-metadataRepositoryName "Fedora Eclipse JDT"
|
2008-07-29 13:40:46 +00:00
|
|
|
|
|
|
|
# SDK
|
|
|
|
sdkMetadata=$sdkDir/metadata-SDK
|
|
|
|
|
|
|
|
# Generate metadata for SDK
|
|
|
|
java \
|
|
|
|
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
org.eclipse.core.launcher.Main \
|
|
|
|
-application \
|
|
|
|
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
|
|
|
-metadataRepository file:$sdkMetadata \
|
|
|
|
-artifactRepository file:$sdkMetadata \
|
|
|
|
-source $sdkDir \
|
|
|
|
-root "Fedora Eclipse SDK" \
|
|
|
|
-rootVersion %{version} \
|
|
|
|
-flavor tooling \
|
|
|
|
-publishArtifacts \
|
|
|
|
-append \
|
2008-10-10 13:15:09 +00:00
|
|
|
-artifactRepositoryName "Fedora Eclipse SDK" \
|
|
|
|
-metadataRepositoryName "Fedora Eclipse SDK"
|
2008-07-29 13:40:46 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Director config.ini
|
2008-07-17 22:13:01 +00:00
|
|
|
mv $installDir/configuration/config.ini{,.bak}
|
2008-07-14 21:40:30 +00:00
|
|
|
cp -p %{SOURCE22} $installDir/configuration/config.ini
|
|
|
|
|
2008-07-17 22:13:01 +00:00
|
|
|
# Debugging? Add -debug and -consolelog
|
|
|
|
# Provision with director
|
2008-07-20 18:49:54 +00:00
|
|
|
java \
|
2008-07-21 13:44:50 +00:00
|
|
|
-Declipse.p2.data.area=file://$provisionDir/p2 \
|
2009-04-02 08:12:57 +00:00
|
|
|
-Declipse.p2.MD5Check=false \
|
2008-07-20 18:49:54 +00:00
|
|
|
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
|
|
|
org.eclipse.core.launcher.Main \
|
2008-07-14 21:40:30 +00:00
|
|
|
-application \
|
|
|
|
org.eclipse.equinox.p2.director.app.application \
|
2009-04-02 08:12:57 +00:00
|
|
|
-debug -consolelog \
|
2008-07-14 21:40:30 +00:00
|
|
|
-flavor tooling \
|
2008-07-18 15:14:32 +00:00
|
|
|
-installIU "Fedora Eclipse Platform" \
|
2008-07-14 21:40:30 +00:00
|
|
|
-version %{version} \
|
|
|
|
-p2.os linux \
|
|
|
|
-p2.ws gtk \
|
|
|
|
-p2.arch %{eclipse_arch} \
|
|
|
|
-roaming \
|
2008-07-16 14:02:00 +00:00
|
|
|
-profile $profileId \
|
2008-07-14 21:40:30 +00:00
|
|
|
-profileProperties org.eclipse.update.install.features=true \
|
|
|
|
-metadataRepository file:$metadataDir \
|
|
|
|
-artifactRepository file:$metadataDir \
|
2008-07-18 15:14:32 +00:00
|
|
|
-destination $provisionDir \
|
2009-04-02 08:12:57 +00:00
|
|
|
-bundlepool $provisionDir
|
2008-07-17 22:13:01 +00:00
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
# Stuff in JDT, PDE, SDK
|
2008-07-29 13:40:46 +00:00
|
|
|
for f in about.html about_files \.eclipseproduct epl-v10.html notice.html readme; do
|
|
|
|
if [ -e $installDir/$f ]; then
|
|
|
|
mv $installDir/$f $provisionDir
|
|
|
|
fi
|
2008-07-17 22:13:01 +00:00
|
|
|
done
|
2008-08-11 19:31:22 +00:00
|
|
|
# FIXME: should add artifacts.xml here
|
2008-07-29 13:40:46 +00:00
|
|
|
dropins=$provisionDir/dropins
|
2008-08-11 19:31:22 +00:00
|
|
|
mkdir -p $dropins/jdt $dropins/sdk
|
|
|
|
mv $jdtDir/features $dropins/jdt
|
|
|
|
mv $jdtDir/plugins $dropins/jdt
|
2009-04-02 08:12:57 +00:00
|
|
|
#mv $jdtMetadata/content.xml $dropins/jdt
|
|
|
|
#mv $jdtMetadata/artifacts.xml $dropins/jdt
|
2008-07-29 13:40:46 +00:00
|
|
|
|
2008-08-11 19:31:22 +00:00
|
|
|
mv $sdkDir/features $dropins/sdk
|
|
|
|
mv $sdkDir/plugins $dropins/sdk
|
2009-04-02 08:12:57 +00:00
|
|
|
#mv $sdkMetadata/content.xml $dropins/sdk
|
|
|
|
#mv $sdkMetadata/artifacts.xml $dropins/sdk
|
2008-07-29 13:40:46 +00:00
|
|
|
rm -rf $metadataDir $jdtDir $sdkDir $installDir
|
2008-07-18 15:14:32 +00:00
|
|
|
mv $provisionDir $sdkDir
|
2008-07-17 22:13:01 +00:00
|
|
|
|
2008-07-18 15:14:32 +00:00
|
|
|
# Fix paths in p2 data
|
|
|
|
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
|
|
|
|
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
|
|
|
|
sed -i "s|file\:$provisionDir/\ -\ bundle\ pool|Fedora Eclipse|g" \
|
|
|
|
$sdkDir/artifacts.xml
|
|
|
|
profileDir=$sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry
|
|
|
|
pushd $profileDir
|
|
|
|
sed -i "s|$provisionDir|%{_libdir}/%{name}|g" \
|
|
|
|
PlatformProfile.profile/*
|
|
|
|
sed -i "s|$RPM_BUILD_ROOT||g" PlatformProfile.profile/*
|
2008-07-17 22:13:01 +00:00
|
|
|
popd
|
2006-11-02 01:59:53 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
%ifarch ppc64 sparc sparcv9 sparc64 alpha ia64
|
2008-07-18 15:14:32 +00:00
|
|
|
cp -p features/org.eclipse.platform/gtk/eclipse.ini $sdkDir
|
2008-07-14 21:40:30 +00:00
|
|
|
%endif
|
2006-12-06 18:20:01 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
cp -p features/org.eclipse.platform/gtk/eclipse.ini.patched \
|
2008-07-18 15:14:32 +00:00
|
|
|
$sdkDir/eclipse.ini
|
2008-08-05 22:21:54 +00:00
|
|
|
# We have /usr/share/eclipse/dropins in eclipse.ini
|
|
|
|
sed -i "s|/usr/share|%{_datadir}|" $sdkDir/eclipse.ini
|
2008-10-23 16:35:39 +00:00
|
|
|
# Use our own splash
|
|
|
|
sed -i "s|org.eclipse.platform|org.fedoraproject.ide.platform|" $sdkDir/eclipse.ini
|
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Add a compatibility symlink to startup.jar
|
2008-07-18 15:14:32 +00:00
|
|
|
pushd $sdkDir
|
2008-07-14 21:40:30 +00:00
|
|
|
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
|
|
|
|
ln -s plugins/$LAUNCHERNAME startup.jar
|
|
|
|
popd
|
2007-02-07 20:27:41 +00:00
|
|
|
|
2008-10-15 21:22:00 +00:00
|
|
|
# Remove the unnecessary configuration data
|
|
|
|
rm -r $sdkDir/configuration/org.eclipse.update
|
|
|
|
|
|
|
|
%if %{initialize}
|
2006-10-29 01:58:05 +00:00
|
|
|
# FIXME: investigate why it doesn't work to set this -- configuration data is
|
2006-12-06 18:20:01 +00:00
|
|
|
# always written to /usr/share/eclipse/configuration, even with
|
|
|
|
# -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
|
|
|
|
# Note (2006-12-05): upon looking at this again, we (bkonrath, overholt) don't
|
|
|
|
# know what we're doing with $libdir_path :) It requires some investigation.
|
2008-11-20 19:45:36 +00:00
|
|
|
#
|
2005-06-20 21:14:00 +00:00
|
|
|
# Extract .so files
|
|
|
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
|
2009-04-02 08:12:57 +00:00
|
|
|
|
|
|
|
sed --in-place "s|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,false|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,true|" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
2006-11-02 00:55:15 +00:00
|
|
|
pushd $RPM_BUILD_ROOT
|
2008-10-15 21:22:00 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins $RPM_BUILD_ROOT/dropins
|
|
|
|
mkdir $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
2006-11-02 00:55:15 +00:00
|
|
|
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
|
|
|
|
java -Dosgi.sharedConfiguration.area=$libdir_path/configuration \
|
2008-07-14 21:40:30 +00:00
|
|
|
-cp $libdir_path/startup.jar \
|
2006-10-29 01:58:05 +00:00
|
|
|
org.eclipse.core.launcher.Main \
|
2009-04-02 08:12:57 +00:00
|
|
|
-debug -consolelog \
|
2006-11-02 00:55:15 +00:00
|
|
|
-application org.eclipse.equinox.initializer.configInitializer \
|
2006-10-29 01:58:05 +00:00
|
|
|
-fileInitializer %{SOURCE19}
|
2005-05-23 17:01:40 +00:00
|
|
|
popd
|
2008-10-15 21:22:00 +00:00
|
|
|
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
|
|
|
mv $RPM_BUILD_ROOT/dropins $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
|
|
|
|
|
|
|
# Do this again after we've run the file initializer
|
|
|
|
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
|
|
|
|
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
|
|
|
|
pushd $profileDir
|
|
|
|
sed -i "s|$RPM_BUILD_ROOT||g" *.profile/*
|
|
|
|
popd
|
2005-05-23 17:01:40 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Remove the unnecessary configuration data
|
2008-07-18 15:14:32 +00:00
|
|
|
rm -r $sdkDir/configuration/org.eclipse.core.runtime
|
|
|
|
rm -r $sdkDir/configuration/org.eclipse.equinox.app
|
2009-04-02 08:12:57 +00:00
|
|
|
#rm -r $sdkDir/configuration/.settings
|
2008-07-29 13:40:46 +00:00
|
|
|
rm -rf $sdkDir/configuration/*.log
|
2008-07-18 15:14:32 +00:00
|
|
|
dataDirs=$(find $sdkDir/configuration \
|
2008-07-16 14:02:00 +00:00
|
|
|
-type d -name data)
|
|
|
|
for dataDir in $dataDirs; do
|
|
|
|
rm -rf `dirname $dataDir`
|
|
|
|
done
|
|
|
|
|
2008-10-16 00:41:55 +00:00
|
|
|
pushd $sdkDir
|
2008-10-15 21:22:00 +00:00
|
|
|
# Create file listings for the extracted shared libraries
|
|
|
|
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
|
|
|
|
for id in `ls configuration/org.eclipse.osgi/bundles`; do
|
|
|
|
if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
|
|
|
|
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{name}-swt.install;
|
|
|
|
else
|
|
|
|
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
|
|
|
|
fi
|
2008-11-20 19:45:36 +00:00
|
|
|
done
|
2008-10-15 21:22:00 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
# Install symlinks to the SWT JNI shared libraries in %%{_libdir}/eclipse
|
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
2008-11-20 19:45:36 +00:00
|
|
|
for lib in $(find configuration -name libswt\*.so); do
|
2008-10-15 21:22:00 +00:00
|
|
|
ln -s $lib `basename $lib`
|
|
|
|
done
|
2008-10-17 10:16:51 +00:00
|
|
|
popd
|
2008-10-15 21:22:00 +00:00
|
|
|
|
|
|
|
# Ensure the shared libraries have the correct permissions
|
2008-11-20 19:45:36 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
2008-10-15 21:22:00 +00:00
|
|
|
for lib in `find configuration -name \*.so`; do
|
|
|
|
chmod 755 $lib
|
|
|
|
done
|
2008-07-16 14:02:00 +00:00
|
|
|
popd
|
2008-10-15 21:22:00 +00:00
|
|
|
%endif
|
auto-import changelog data from eclipse-2.1.0-22.src.rpm
Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22
- Updated upstream sources; oprofile plugin works
Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21
- Updated upstream sources; fixes oprofile buglets, also doc updates
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20
- Backed out xalan-j requirement; it causes problems
- Updated upstream sources; pulls in new documentation
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19
- Fix for PR 104274. Set LANG in startup script.
Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18
- xalan-j required at build time and runtime; bugzilla 104513
Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17
- Bug fixes in sources
Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16
- Updated upstream sources
Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15
- Don't build eclipse with -O2 for now
Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14
- Updated eclipse sources
Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13
- g++ is build requirement
Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12
- Enable gcj build again
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11
- Updated sources to fix -vm bug
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10
- Updated sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9
- Updated upstream sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8
- Updated upstream sources
- Require gnome-vfs2-devel at build time
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7
- Use LD_ASSUME_KERNEL hack
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6
- Updated sources
Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5
- Updated upstream sources
- Removed j2sdk dependency
- Added rpm-build and gnome-utils dependencies
Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4
- Updated upstream sources
Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3
- Fixed more build buglets
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2
- Don't build .so files at all
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com>
- Require Sun JVM
Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1
- Updated to eclipse 2.1
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- From Tom Tromey <tromey@redhat.com>
- Use i386, not x86, in ExclusiveArch
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- Set executable bit for opxml since zip won't preserve it.
Wed May 14 2003 Keith Seitz <keiths@redhat.com>
- Add oprofile plugin installation requirements.
Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25
- Use ExclusiveArch, not ExcludeArch
Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24
- Exclude ppc64
Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23
- Require gdb and make
Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22
- Bumped release for new build
- Fixed bug in JDT build
Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21
- Bumped release for rebuild
Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20
- Allow builds on ppc
Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19
- Changes to use gcc-ssa compiler
- Default to gcj build; install files required for gcj
- Define and use java_bin
- Only build on x86
Wed Mar 05 2003 Tom Tromey <tromey@redhat.com>
- Use build script to create ecj, compute architecture, choose targets
- Release 18
Tue Feb 18 2003 Tom Tromey <tromey@redhat.com>
- Replaced jikes with ecj
- Release 17
Wed Feb 05 2003 Tom Tromey <tromey@redhat.com>
- Added -arch to build, code to build with gcj, code to build with jikes,
code to use Sun JDK
- Removed java_jrelib
- Now release 16
Tue Dec 10 2002 Tom Tromey <tromey@redhat.com>
- Invoke buildNative
- Now release 15
Wed Nov 27 2002 Tom Tromey <tromey@redhat.com>
- Removed "-linux" from name
- Now release 14
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Changed name to eclipse
- Removed Conflicts
- Updated Provides
- Now release 13
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Install eclipse.desktop in /usr/share/applications, for 8.x
- Now release 12
Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com>
- Define java_home, java_jre, java_jrelib
- Use %setup
- Minor cleanups in %build LANG=C export LANG unset DISPLAY
- Use _bindir
Thu Oct 24 2002 Andrew Haley <aph@redhat.com>
- eclipse-2.0-linux-gtk.spec (Source): Now use gzip.
- (install): Now use Ant zip.distribution to do this installation.
- Added Requires for ctags.
Fri Oct 18 2002 Tom Tromey <tromey@redhat.com>
- Require JDK 1.3.1
- Added BuildReq for ant
- Use MANIFEST file to decide what to copy into install tree
Tue Oct 15 2002 Tom Tromey <tromey@redhat.com>
- Eclipse source now bzipped
Mon Oct 14 2002 Tom Tromey <tromey@redhat.com>
- No patch required
Fri Oct 11 2002 Tom Tromey <tromey@redhat.com>
- Added .desktop file
- Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
|
|
|
|
2008-11-20 19:45:36 +00:00
|
|
|
# Set eclipse.product to org.fedoraproject.ide.platform
|
2008-07-31 17:55:05 +00:00
|
|
|
sed --in-place "s/plugins\/org.eclipse.platform/plugins\/org.fedoraproject.ide.platform/" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
|
|
|
sed --in-place "s/eclipse.product=org.eclipse.platform.ide/eclipse.product=org.fedoraproject.ide.platform.product/" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
2009-04-02 08:12:57 +00:00
|
|
|
sed --in-place "s/osgi.ws=gtk/osgi.ws=gtk\norg.eclipse.update.reconcile=false/" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
|
|
|
sed --in-place "s|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,false|org.eclipse.core.runtime,3.5.0.v20090316,file:plugins/org.eclipse.core.runtime_3.5.0.v20090316.jar,4,true|" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
2008-07-31 17:55:05 +00:00
|
|
|
|
2007-06-27 15:56:57 +00:00
|
|
|
# Install the Eclipse binary wrapper
|
2005-02-21 00:31:38 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
2008-07-14 21:40:30 +00:00
|
|
|
ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
2009-04-02 08:12:57 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
|
2008-07-14 21:40:30 +00:00
|
|
|
#cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/eclipse
|
|
|
|
#sed --in-place "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_bindir}/eclipse
|
|
|
|
#ECLIPSELIBSUFFIX=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux*/*.so | sed "s/.*.launcher.gtk.linux.//")
|
|
|
|
#sed --in-place "s|@ECLIPSELIBSUFFIX@|$ECLIPSELIBSUFFIX|" $RPM_BUILD_ROOT%{_bindir}/eclipse
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2008-08-04 02:36:15 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/links
|
2008-08-05 22:21:54 +00:00
|
|
|
# FIXME: We can probably get rid of the links file when we ensure all
|
|
|
|
# plugins are installing into dropins (either in libdir or datadir).
|
2008-08-01 20:11:03 +00:00
|
|
|
# Set up an extension location and a link file for the arch-independent dir
|
2008-08-04 06:17:59 +00:00
|
|
|
echo "path:%{_datadir}" > \
|
2008-08-05 22:21:54 +00:00
|
|
|
$sdkDir/links/datadir.link
|
2008-08-01 20:11:03 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# Ensure the launcher binary has the correct permissions
|
2007-11-14 14:53:26 +00:00
|
|
|
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{name}
|
2007-11-01 14:01:07 +00:00
|
|
|
|
2007-01-31 07:26:23 +00:00
|
|
|
# Install the SWT jar symlinks in libdir
|
2009-04-02 08:12:57 +00:00
|
|
|
SWTJARVERSION=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
|
2006-11-02 01:59:53 +00:00
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
2008-07-29 13:40:46 +00:00
|
|
|
ln -s plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
|
2006-06-09 22:26:43 +00:00
|
|
|
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
|
2007-10-11 14:36:55 +00:00
|
|
|
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar
|
|
|
|
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
|
2004-09-09 04:27:27 +00:00
|
|
|
popd
|
|
|
|
|
2006-12-06 18:20:01 +00:00
|
|
|
# Icons
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse48.png \
|
2004-09-09 04:27:27 +00:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
2006-12-06 18:20:01 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse32.png \
|
2005-04-22 02:45:43 +00:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
2006-12-06 18:20:01 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_%{version}/eclipse.png \
|
2005-04-22 02:45:43 +00:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
2006-12-06 18:20:01 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
2007-09-04 21:14:28 +00:00
|
|
|
ln -s %{_datadir}/icons/hicolor/48x48/apps/%{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
auto-import changelog data from eclipse-2.1.0-22.src.rpm
Mon Sep 29 2003 Tom Tromey <tromey@redhat.com> 2.1.0-22
- Updated upstream sources; oprofile plugin works
Wed Sep 24 2003 Tom Tromey <tromey@redhat.com> 2.1.0-21
- Updated upstream sources; fixes oprofile buglets, also doc updates
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-20
- Backed out xalan-j requirement; it causes problems
- Updated upstream sources; pulls in new documentation
Mon Sep 22 2003 Tom Tromey <tromey@redhat.com. 2.1.0-19
- Fix for PR 104274. Set LANG in startup script.
Wed Sep 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-18
- xalan-j required at build time and runtime; bugzilla 104513
Mon Sep 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-17
- Bug fixes in sources
Fri Sep 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-16
- Updated upstream sources
Fri Aug 15 2003 Tom Tromey <tromey@redhat.com> 2.1.0-15
- Don't build eclipse with -O2 for now
Thu Aug 14 2003 Tom Tromey <tromey@redhat.com> 2.1.0-14
- Updated eclipse sources
Thu Aug 07 2003 Tom Tromey <tromey@redhat.com> 2.1.0-13
- g++ is build requirement
Mon Jul 21 2003 Tom Tromey <tromey@redhat.com> 2.1.0-12
- Enable gcj build again
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-11
- Updated sources to fix -vm bug
Thu Jul 17 2003 Tom Tromey <tromey@redhat.com> 2.1.0-10
- Updated sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-9
- Updated upstream sources
Wed Jul 16 2003 Tom Tromey <tromey@redhat.com> 2.1.0-8
- Updated upstream sources
- Require gnome-vfs2-devel at build time
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-7
- Use LD_ASSUME_KERNEL hack
Fri Jul 11 2003 Tom Tromey <tromey@redhat.com> 2.1.0-6
- Updated sources
Wed Jul 09 2003 Tom Tromey <tromey@redhat.com> 2.1.0-5
- Updated upstream sources
- Removed j2sdk dependency
- Added rpm-build and gnome-utils dependencies
Tue Jul 08 2003 Tom Tromey <tromey@redhat.com> 2.1.0-4
- Updated upstream sources
Sun Jul 06 2003 Tom Tromey <tromey@redhat.com> 2.1.0-3
- Fixed more build buglets
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com> 2.1.0-2
- Don't build .so files at all
Sat Jul 05 2003 Tom Tromey <tromey@redhat.com>
- Require Sun JVM
Wed Jul 02 2003 Tom Tromey <tromey@redhat.com> 2.1.0-1
- Updated to eclipse 2.1
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- From Tom Tromey <tromey@redhat.com>
- Use i386, not x86, in ExclusiveArch
Wed Jul 02 2003 Keith Seitz <keiths@redhat.com>
- Set executable bit for opxml since zip won't preserve it.
Wed May 14 2003 Keith Seitz <keiths@redhat.com>
- Add oprofile plugin installation requirements.
Mon May 05 2003 Tom Tromey <tromey@redhat.com> 2.0.1-25
- Use ExclusiveArch, not ExcludeArch
Fri May 02 2003 Tom Tromey <tromey@redhat.com> 2.0.1-24
- Exclude ppc64
Wed Apr 23 2003 Tom Tromey <tromey@redhat.com> 2.0.1-23
- Require gdb and make
Tue Apr 08 2003 Tom Tromey <tromey@redhat.com> 2.0.1-22
- Bumped release for new build
- Fixed bug in JDT build
Mon Apr 07 2003 Tom Tromey <tromey@redhat.com> 2.0.1-21
- Bumped release for rebuild
Tue Apr 01 2003 Tom Tromey <tromey@redhat.com> 2.0.1-20
- Allow builds on ppc
Fri Mar 28 2003 Tom Tromey <tromey@redhat.com> 2.0.1-19
- Changes to use gcc-ssa compiler
- Default to gcj build; install files required for gcj
- Define and use java_bin
- Only build on x86
Wed Mar 05 2003 Tom Tromey <tromey@redhat.com>
- Use build script to create ecj, compute architecture, choose targets
- Release 18
Tue Feb 18 2003 Tom Tromey <tromey@redhat.com>
- Replaced jikes with ecj
- Release 17
Wed Feb 05 2003 Tom Tromey <tromey@redhat.com>
- Added -arch to build, code to build with gcj, code to build with jikes,
code to use Sun JDK
- Removed java_jrelib
- Now release 16
Tue Dec 10 2002 Tom Tromey <tromey@redhat.com>
- Invoke buildNative
- Now release 15
Wed Nov 27 2002 Tom Tromey <tromey@redhat.com>
- Removed "-linux" from name
- Now release 14
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Changed name to eclipse
- Removed Conflicts
- Updated Provides
- Now release 13
Tue Nov 26 2002 Tom Tromey <tromey@redhat.com>
- Install eclipse.desktop in /usr/share/applications, for 8.x
- Now release 12
Tue Nov 05 2002 Jeff Johnson <jbj@redhat.com>
- Define java_home, java_jre, java_jrelib
- Use %setup
- Minor cleanups in %build LANG=C export LANG unset DISPLAY
- Use _bindir
Thu Oct 24 2002 Andrew Haley <aph@redhat.com>
- eclipse-2.0-linux-gtk.spec (Source): Now use gzip.
- (install): Now use Ant zip.distribution to do this installation.
- Added Requires for ctags.
Fri Oct 18 2002 Tom Tromey <tromey@redhat.com>
- Require JDK 1.3.1
- Added BuildReq for ant
- Use MANIFEST file to decide what to copy into install tree
Tue Oct 15 2002 Tom Tromey <tromey@redhat.com>
- Eclipse source now bzipped
Mon Oct 14 2002 Tom Tromey <tromey@redhat.com>
- No patch required
Fri Oct 11 2002 Tom Tromey <tromey@redhat.com>
- Added .desktop file
- Added BuildReq for desktop-file-utils
2004-09-09 04:24:47 +00:00
|
|
|
|
2008-11-20 19:45:36 +00:00
|
|
|
# Install the efj wrapper script
|
2005-04-17 04:26:54 +00:00
|
|
|
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
|
2008-07-14 21:40:30 +00:00
|
|
|
sed --in-place "s:startup.jar:%{_libdir}/%{name}/startup.jar:" \
|
2008-11-20 19:45:36 +00:00
|
|
|
$RPM_BUILD_ROOT%{_bindir}/efj
|
2005-04-17 04:26:54 +00:00
|
|
|
|
2004-09-09 04:27:27 +00:00
|
|
|
# A sanity check.
|
|
|
|
desktop-file-validate %{SOURCE2}
|
|
|
|
|
|
|
|
# freedesktop.org menu entry
|
2008-10-03 20:33:02 +00:00
|
|
|
desktop-file-install --vendor="fedora" \
|
|
|
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
|
2004-09-09 04:27:27 +00:00
|
|
|
|
|
|
|
# Create a script that can be used to make a symlink tree of the
|
|
|
|
# eclipse platform.
|
2008-07-14 21:40:30 +00:00
|
|
|
cp -p %{SOURCE16} copy-platform
|
2004-09-09 04:27:27 +00:00
|
|
|
(
|
2008-07-14 21:40:30 +00:00
|
|
|
cd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
2008-07-31 00:38:20 +00:00
|
|
|
ls -d * | egrep -v '^(plugins|features|about_files|dropins)$'
|
2008-07-29 13:40:46 +00:00
|
|
|
ls -d plugins/* features/*
|
2004-09-09 04:27:27 +00:00
|
|
|
) |
|
2008-04-25 23:56:41 +00:00
|
|
|
sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
|
2008-07-14 21:40:30 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
|
2008-10-16 08:35:17 +00:00
|
|
|
mv copy-platform $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
|
2008-07-29 13:40:46 +00:00
|
|
|
copyPlatform=$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/copy-platform
|
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
2008-08-11 19:31:22 +00:00
|
|
|
for p in $(ls -d dropins/jdt/plugins/*); do
|
2008-07-29 13:40:46 +00:00
|
|
|
plugin=$(basename $p)
|
|
|
|
echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
|
|
|
|
done
|
2008-08-11 19:31:22 +00:00
|
|
|
for p in $(ls -d dropins/sdk/plugins/*); do
|
2008-07-29 13:40:46 +00:00
|
|
|
plugin=$(basename $p)
|
|
|
|
echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
|
|
|
|
done
|
|
|
|
popd
|
2006-06-13 01:13:37 +00:00
|
|
|
|
2008-04-04 17:02:48 +00:00
|
|
|
# Install the PDE Build wrapper script.
|
|
|
|
install -p -D -m0755 %{SOURCE21} \
|
2008-07-14 21:40:30 +00:00
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
|
2008-08-11 19:31:22 +00:00
|
|
|
PDEBUILDVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/sdk/plugins \
|
2008-07-29 13:40:46 +00:00
|
|
|
| grep org.eclipse.pde.build_ | \
|
|
|
|
sed 's/org.eclipse.pde.build_//')
|
|
|
|
sed -i "s/@PDEBUILDVERSION@/$PDEBUILDVERSION/g" \
|
|
|
|
$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
|
2008-07-14 21:40:30 +00:00
|
|
|
|
|
|
|
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
|
|
|
rm plugins/org.sat4j*
|
2009-04-02 08:12:57 +00:00
|
|
|
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090308.jar
|
|
|
|
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090308.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
|
2008-08-11 19:31:22 +00:00
|
|
|
ASMPLUGINVERSION=$(ls dropins/sdk/plugins | grep org.objectweb.asm_ | \
|
2008-07-14 21:40:30 +00:00
|
|
|
sed 's/org.objectweb.asm_//')
|
2008-08-11 19:31:22 +00:00
|
|
|
rm dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
2008-07-14 21:40:30 +00:00
|
|
|
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
|
2008-08-11 19:31:22 +00:00
|
|
|
dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
2008-04-04 17:02:48 +00:00
|
|
|
|
2005-02-21 00:31:38 +00:00
|
|
|
## BEGIN ANT ##
|
2008-07-14 21:40:30 +00:00
|
|
|
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
|
|
|
|
rm $ANTDIR/lib/*
|
|
|
|
ANTDIR=$ANTDIR/lib
|
|
|
|
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
|
2008-10-03 14:09:39 +00:00
|
|
|
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
|
2008-07-14 21:40:30 +00:00
|
|
|
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
|
|
|
|
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
|
|
|
|
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
|
|
|
|
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
|
|
|
|
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
|
2005-02-21 00:31:38 +00:00
|
|
|
## END ANT ##
|
2006-12-06 18:20:01 +00:00
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
#JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty_5 | sed 's/org.mortbay.jetty_//')
|
|
|
|
#rm plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
|
|
|
|
#ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty_$JETTYPLUGINVERSION
|
2007-08-29 13:46:48 +00:00
|
|
|
|
2008-08-11 19:31:22 +00:00
|
|
|
pushd dropins/jdt
|
2006-07-04 21:27:47 +00:00
|
|
|
build-jar-repository -s -p plugins/org.junit_* junit
|
2005-02-21 00:31:38 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
JUNIT4VERSION=$(ls plugins | grep org.junit4_ | sed 's/org.junit4_//')
|
|
|
|
rm plugins/org.junit4_$JUNIT4VERSION/junit.jar
|
|
|
|
ln -s %{_javadir}/junit4.jar plugins/org.junit4_$JUNIT4VERSION/junit.jar
|
2008-07-29 13:40:46 +00:00
|
|
|
popd
|
2007-08-14 18:51:17 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | sed 's/com.jcraft.jsch_//')
|
|
|
|
rm plugins/com.jcraft.jsch_$JSCHVERSION
|
|
|
|
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
|
2007-04-03 08:30:50 +00:00
|
|
|
|
2007-07-10 13:14:26 +00:00
|
|
|
# link to the icu4j stuff
|
2008-07-14 21:40:30 +00:00
|
|
|
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
|
|
|
|
rm plugins/com.ibm.icu_*.jar
|
2007-07-10 13:14:26 +00:00
|
|
|
|
2007-07-16 15:59:37 +00:00
|
|
|
# link to lucene
|
2008-07-14 21:40:30 +00:00
|
|
|
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
|
|
|
|
sed 's/org.apache.lucene_//')
|
|
|
|
rm plugins/org.apache.lucene_*
|
|
|
|
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
|
|
|
|
rm plugins/org.apache.lucene.analysis_*
|
|
|
|
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
|
|
|
|
plugins/org.apache.lucene.analysis_$LUCENEVERSION
|
2007-07-16 21:35:28 +00:00
|
|
|
|
|
|
|
# link to commons-logging
|
2008-07-14 21:40:30 +00:00
|
|
|
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
|
|
|
|
sed 's/org.apache.commons.logging_//')
|
|
|
|
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
|
|
|
ln -s %{_javadir}/commons-logging.jar \
|
|
|
|
plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
2007-07-16 15:59:37 +00:00
|
|
|
|
2007-07-31 23:02:58 +00:00
|
|
|
# link to commons-el
|
2008-07-14 21:40:30 +00:00
|
|
|
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
|
|
|
|
sed 's/org.apache.commons.el_//')
|
|
|
|
rm plugins/org.apache.commons.el_$COMMONSELVERSION
|
|
|
|
ln -s %{_javadir}/commons-el.jar \
|
|
|
|
plugins/org.apache.commons.el_$COMMONSELVERSION
|
2009-04-02 08:12:57 +00:00
|
|
|
|
|
|
|
# link to commons-el
|
|
|
|
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
|
|
|
|
sed 's/org.apache.commons.codec_//')
|
|
|
|
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
|
|
|
ln -s %{_javadir}/commons-codec.jar \
|
|
|
|
plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
|
|
|
|
|
|
|
# link to commons-el
|
|
|
|
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
|
|
|
|
sed 's/org.apache.commons.httpclient_//')
|
|
|
|
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
|
|
|
ln -s %{_javadir}/commons-httpclient.jar \
|
|
|
|
plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
2007-07-31 23:02:58 +00:00
|
|
|
|
2007-08-10 16:50:53 +00:00
|
|
|
# link to jasper
|
2008-07-14 21:40:30 +00:00
|
|
|
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
|
|
|
|
sed 's/org.apache.jasper_//')
|
|
|
|
rm plugins/org.apache.jasper_*.jar
|
|
|
|
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
|
|
|
|
plugins/org.apache.jasper_$JASPERVERSION
|
2007-08-10 16:50:53 +00:00
|
|
|
|
2008-07-14 21:40:30 +00:00
|
|
|
# link to servlet-api
|
|
|
|
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
|
|
|
|
sed 's/javax.servlet_//')
|
|
|
|
rm plugins/javax.servlet_*
|
2009-04-02 08:12:57 +00:00
|
|
|
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
|
2008-07-14 21:40:30 +00:00
|
|
|
plugins/javax.servlet_$SERVLETAPIVERSION
|
2007-08-10 16:50:53 +00:00
|
|
|
|
|
|
|
# link to jsp-api
|
2008-07-14 21:40:30 +00:00
|
|
|
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
|
|
|
|
sed 's/javax.servlet.jsp_//')
|
|
|
|
rm plugins/javax.servlet.jsp_*
|
|
|
|
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
|
|
|
|
plugins/javax.servlet.jsp_$JSPAPIVERSION
|
2007-08-10 16:50:53 +00:00
|
|
|
|
2007-07-10 13:14:26 +00:00
|
|
|
popd
|
|
|
|
|
2005-02-21 00:31:38 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-01-10 22:58:34 +00:00
|
|
|
|
2005-01-24 15:23:02 +00:00
|
|
|
%post platform
|
2005-03-25 14:46:41 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
2005-03-28 10:56:12 +00:00
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
2005-04-27 04:25:02 +00:00
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
2005-03-25 14:46:41 +00:00
|
|
|
fi
|
2004-09-09 04:27:27 +00:00
|
|
|
|
2005-02-25 15:47:26 +00:00
|
|
|
%postun platform
|
2005-03-25 14:46:41 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
2005-03-28 10:56:12 +00:00
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
2005-04-27 04:25:02 +00:00
|
|
|
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
2005-03-25 14:46:41 +00:00
|
|
|
fi
|
2006-09-21 21:24:38 +00:00
|
|
|
|
2008-10-15 21:22:00 +00:00
|
|
|
%if %{initialize}
|
2008-07-14 21:40:30 +00:00
|
|
|
%files swt -f %{name}-swt.install
|
2008-10-15 21:22:00 +00:00
|
|
|
%else
|
|
|
|
%files swt
|
|
|
|
%endif
|
2006-06-02 21:46:07 +00:00
|
|
|
%defattr(-,root,root)
|
2006-12-07 05:48:09 +00:00
|
|
|
%dir %{_libdir}/%{name}
|
2006-10-29 01:58:05 +00:00
|
|
|
%dir %{_libdir}/%{name}/plugins
|
2008-10-15 21:22:00 +00:00
|
|
|
%if %{initialize}
|
|
|
|
%dir %{_libdir}/%{name}/libswt-*.so
|
2006-10-29 01:58:05 +00:00
|
|
|
%dir %{_libdir}/%{name}/configuration
|
|
|
|
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
|
|
|
|
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
|
2008-10-15 21:22:00 +00:00
|
|
|
%endif
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.swt_*
|
2006-10-29 01:58:05 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
|
2006-11-02 01:59:53 +00:00
|
|
|
%{_libdir}/%{name}/swt-gtk*.jar
|
2007-10-11 14:36:55 +00:00
|
|
|
%{_libdir}/%{name}/swt.jar
|
|
|
|
%{_libdir}/java/swt.jar
|
2004-09-09 04:27:27 +00:00
|
|
|
|
2006-09-18 22:20:30 +00:00
|
|
|
%files rcp
|
2006-06-02 21:46:07 +00:00
|
|
|
%defattr(-,root,root)
|
2007-08-10 16:50:53 +00:00
|
|
|
%dir %{_libdir}/%{name}/features
|
2008-08-01 20:11:03 +00:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/features
|
|
|
|
%dir %{_datadir}/%{name}/plugins
|
2008-10-15 21:22:00 +00:00
|
|
|
%if %{initialize}
|
2006-10-29 01:58:05 +00:00
|
|
|
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
|
|
|
|
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
|
|
|
|
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
|
|
|
|
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
|
2008-10-15 21:22:00 +00:00
|
|
|
%endif
|
2009-04-02 08:12:57 +00:00
|
|
|
%config %{_libdir}/%{name}/configuration
|
2008-07-17 22:13:01 +00:00
|
|
|
%config %{_libdir}/%{name}/configuration/config.ini
|
|
|
|
%config %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
|
|
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/notice.html
|
|
|
|
%{_libdir}/%{name}/epl-v10.html
|
2008-08-01 20:11:03 +00:00
|
|
|
%{_libdir}/%{name}/links
|
2009-04-02 08:12:57 +00:00
|
|
|
%ifnarch ppc
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/about.html
|
2008-07-30 11:41:40 +00:00
|
|
|
%endif
|
2008-07-21 17:13:43 +00:00
|
|
|
%ifarch x86_64
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/about_files
|
2008-07-21 17:13:43 +00:00
|
|
|
%endif
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/readme
|
|
|
|
%{_libdir}/%{name}/startup.jar
|
2007-02-07 20:27:41 +00:00
|
|
|
%{_libdir}/%{name}/features/org.eclipse.rcp_*
|
2009-04-02 08:12:57 +00:00
|
|
|
#%{_libdir}/%{name}/plugins/com.ibm.icu_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.observable_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.property_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.ds_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
|
2007-06-27 15:56:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.util_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.help_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.osgi_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
2007-06-27 15:56:57 +00:00
|
|
|
|
2008-10-15 21:22:00 +00:00
|
|
|
%if %{initialize}
|
2005-01-24 15:23:02 +00:00
|
|
|
%files platform -f %{name}-platform.install
|
2008-10-15 21:22:00 +00:00
|
|
|
%else
|
|
|
|
%files platform
|
|
|
|
%endif
|
2006-06-02 21:46:07 +00:00
|
|
|
%defattr(-,root,root)
|
2006-10-29 01:58:05 +00:00
|
|
|
%attr(0755,root,root) %{_bindir}/%{name}
|
2008-03-03 18:04:15 +00:00
|
|
|
%config %{_libdir}/%{name}/eclipse.ini
|
2008-07-18 15:14:32 +00:00
|
|
|
%{_libdir}/%{name}/.eclipseproduct
|
|
|
|
%{_libdir}/%{name}/configuration/config.ini
|
2006-09-18 22:20:30 +00:00
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/pixmaps/*
|
|
|
|
%{_datadir}/icons/*/*/apps/*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/eclipse
|
2008-07-29 13:40:46 +00:00
|
|
|
%dir %{_libdir}/%{name}/dropins
|
2008-08-05 22:21:54 +00:00
|
|
|
%dir %{_datadir}/%{name}/dropins
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/features/org.eclipse.platform_*
|
|
|
|
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
|
|
|
|
%{_libdir}/%{name}/plugins/javax.servlet_*
|
|
|
|
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.ant_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.commons.el_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.commons.logging_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.lucene_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.lucene.analysis_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.compare.core_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.boot_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.fedoraproject.ide.platform_*
|
|
|
|
%{_libdir}/%{name}/features/org.fedoraproject.ide.feature_*
|
2006-10-29 01:58:05 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.net_*
|
2008-07-21 16:03:45 +00:00
|
|
|
%ifarch %{ix86}
|
2008-07-21 17:13:43 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.x86_*
|
2008-07-21 16:03:45 +00:00
|
|
|
%endif
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.core.variables_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.debug.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.debug.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.help.appserver_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
|
2007-06-27 15:56:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.jface.text_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.jsch.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.jsch.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.osgi.services_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.osgi.util_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.platform_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.user_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.search_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.text_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.browser_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.console_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.editors_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.externaltools_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.forms_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide.application_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.net_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.update.core_*
|
2007-06-27 15:56:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.update.scheduler_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.update.ui_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.mortbay.jetty.util_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.mortbay.jetty.server_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.initializer_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.cvs_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
|
|
|
|
%{_libdir}/%{name}/features/org.eclipse.cvs_*
|
|
|
|
%{_libdir}/%{name}/features/org.eclipse.help_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.jasper_*
|
2008-07-16 15:33:03 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.user.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.engine_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.jarprocessor_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.repository_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.artifact.repository_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.exemplarysetup_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.console_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository.tools_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.generator_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatesite_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security.ui_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.extensionlocation_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director.app_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.ssl_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.ssl_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.filetransfer_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.eclipse.ecf.identity_*
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.apache.commons.codec_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.apache.commons.httpclient_*
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/plugins/org.sat4j.core_*
|
|
|
|
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
|
2008-07-16 15:33:03 +00:00
|
|
|
# Put this in -platform since we're putting the p2 stuff here
|
|
|
|
%{_libdir}/%{name}/artifacts.xml
|
2008-07-29 13:40:46 +00:00
|
|
|
# FIXME: should we ship content.xml for the platform?
|
2008-07-17 22:13:01 +00:00
|
|
|
#%{_libdir}/%{name}/metadata
|
2008-07-18 15:14:32 +00:00
|
|
|
%{_libdir}/%{name}/p2
|
2008-07-16 15:33:03 +00:00
|
|
|
|
|
|
|
%files jdt
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/efj
|
2009-04-02 08:12:57 +00:00
|
|
|
%{_libdir}/%{name}/dropins/jdt
|
|
|
|
#%{_libdir}/%{name}/dropins/jdt/content.xml
|
2008-08-11 19:31:22 +00:00
|
|
|
%{_libdir}/%{name}/dropins/jdt/features
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.ant.ui_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.apt.core_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.apt.ui_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.apt.pluggable.core_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.compiler.apt_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.compiler.tool_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.core_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.core.manipulation_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.debug.ui_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.debug_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.junit_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.junit.runtime_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.junit4.runtime_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.launching_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.ui_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.junit_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.junit4_*
|
|
|
|
%{_libdir}/%{name}/dropins/jdt/plugins/org.eclipse.jdt.doc.user_*
|
2006-09-18 22:20:30 +00:00
|
|
|
|
|
|
|
%files pde
|
|
|
|
%defattr(-,root,root)
|
2008-07-14 21:40:30 +00:00
|
|
|
%{_libdir}/%{name}/buildscripts
|
2008-07-29 13:40:46 +00:00
|
|
|
%{_libdir}/%{name}/dropins/sdk
|
2008-07-14 21:40:30 +00:00
|
|
|
# FIXME: where should this go?
|
2008-10-14 08:18:32 +00:00
|
|
|
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
|
2006-09-18 22:20:30 +00:00
|
|
|
|
2005-02-21 00:31:38 +00:00
|
|
|
%changelog
|
2009-04-09 12:39:08 +00:00
|
|
|
* Thu Apr 9 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.8
|
|
|
|
- Add patch for xulrunner compilation.
|
|
|
|
|
2009-04-07 16:07:22 +00:00
|
|
|
* Tue Apr 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.7
|
|
|
|
- Fix patch name.
|
|
|
|
|
2009-04-02 08:12:57 +00:00
|
|
|
* Thu Apr 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.6
|
|
|
|
- First try for 3.5 build.
|