eclipse/eclipse.spec

1468 lines
65 KiB
RPMSpec
Raw Normal View History

# Set to 1 to build Eclipse without circular dependency to eclipse-pde, API
# generation and docs will not be built and a second run will be required, but
# this is a way to bootstrap Eclipse on secondary archs.
%global bootstrap 0
Epoch: 1
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%global eb_commit 4e8087f81be00857cd9cdce549392db2a985155a
%global eclipse_tag S4_6_1_RC4
2016-06-15 14:48:56 +00:00
%if 0%{?fedora} >= 25
%global _jetty_version 9.4.0
%global _lucene_version 5.5.0
%else
%if 0%{?fedora} >= 24
%global _jetty_version 9.3.7
2016-02-29 13:09:57 +00:00
%global _lucene_version 5.5.0
%else
%if 0%{?fedora} >= 23
%global _jetty_version 9.3.0
%global _lucene_version 5.3.0
%else
# Used on RHEL
%global _jetty_version 9.0.3
%global _lucene_version 5.4.1
%endif
%endif
2016-06-15 14:48:56 +00:00
%endif
%ifarch %{ix86}
%global eclipse_arch x86
%endif
%ifarch %{arm}
%global eclipse_arch arm
%endif
%ifarch ppc64 ppc64p7
%global eclipse_arch ppc64
%endif
%ifarch s390 s390x ppc x86_64 aarch64 ppc64le
%global eclipse_arch %{_arch}
%endif
2013-12-04 21:22:40 +00:00
# See fedora-devel-java-list discussion in September 2008.
#
# Prevent brp-java-repack-jars from being run.
%global __jar_repack %{nil}
2006-08-31 18:26:31 +00:00
Summary: An open, extensible IDE
Name: eclipse
Version: 4.6.1
Release: 3%{?dist}
2008-07-17 15:00:36 +00:00
License: EPL
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
URL: http://www.eclipse.org/
# Tarball generated by calling ./get-eclipse.sh
Source0: R4_platform-aggregator-%{eclipse_tag}.tar.xz
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
2012-07-26 10:25:54 +00:00
Patch0: eclipse-remove-w3c-smil-and-use-glassfish.patch
# Eclipse should not include source for dependencies that are not supplied by this package
# and should not include source for bundles that are not relevant to our platform
Patch1: eclipse-no-source-for-dependencies.patch
2012-08-28 06:43:06 +00:00
# Remove overly verbose warning from lack of eclipse 2.0 support
Patch2: eclipse-pluginconverter-warning.patch
2012-08-28 06:43:06 +00:00
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=377515
Patch3: eclipse-p2-pick-up-renamed-jars.patch
2012-08-28 06:43:06 +00:00
# Patch for this was contributed. Unlikely to be released.
Patch4: eclipse-ignore-version-when-calculating-home.patch
2012-08-28 06:43:06 +00:00
# CBI uses timestamps generated from the git commits. We don't have the repo,
# just source, and we don't want additional dependencies.
Patch5: eclipse-remove-jgit-provider.patch
2012-08-28 08:41:26 +00:00
#Patch8: eclipse-test-support.patch
Patch9: eclipse-secondary-arches.patch
2012-09-19 11:20:23 +00:00
Patch10: eclipse-debug-symbols.patch
Patch11: eclipse-fix-startup-class-refresh.patch
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
Patch12: eclipse-fix-dropins.patch
2013-05-29 08:28:50 +00:00
Patch13: eclipse-bug-386377.patch
# org.mockito -> org.mockito.mockito-core
# org.hamcrest-> org.hamcrest.core
Patch14: eclipse-mockito.patch
Patch15: eclipse-support-symlink-bundles.patch
# Feature plugin definitions lock onto version of plugin at build-time.
# If plugin is external, updating it breaks the feature. (version changes)
# Workaround : Change <plugin> definition to a 'requirement'
# Also makes the following BSN changes at the same time:
# -com.sun.el
# +javax.el
# -org.apache.jasper.glassfish
# +org.glassfish.web.javax.servlet.jsp
# -javax.annotation
# +javax.annotation-api
# -org.w3c.dom.smil
Patch16: eclipse-feature-plugins-to-category-ius.patch
# Disable non-linux specific bundles to save build time
Patch17: disable-non-linux.patch
# Port to Lucene 5
Patch18: eclipse-lucene-5.patch
Patch19: eclipse-javaxannotation-import.patch
Patch20: eclipse-fix-tests.patch
Patch21: eclipse-adjust-droplets.patch
Patch22: eclipse-pde-tp-support-droplets.patch
# Use webkit2 by default and prevent usage of xulrunner
Patch23: eclipse-webkit2-by-default.patch
2016-06-15 14:48:56 +00:00
# Port to jetty 9.4
Patch24: eclipse-jetty-9.4.patch
Patch25: eclipse-popupdialog-color.patch
Patch26: eclipse-make-droplets-runnable.patch
Patch27: eclipse-disable-droplets-in-dropins.patch
2016-06-15 14:48:56 +00:00
BuildRequires: tycho >= 0.25.0
BuildRequires: tycho-extras >= 0.25.0
BuildRequires: cbi-plugins
2016-06-15 14:48:56 +00:00
BuildRequires: maven-antrun-plugin
BuildRequires: maven-enforcer-plugin
BuildRequires: xml-maven-plugin
2016-06-16 04:19:09 +00:00
BuildRequires: rhino
BuildRequires: sonatype-oss-parent
BuildRequires: rsync
2013-12-04 21:22:40 +00:00
BuildRequires: make, gcc
BuildRequires: zip, unzip
BuildRequires: desktop-file-utils
BuildRequires: java-1.8.0-openjdk-devel
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(nspr)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(webkitgtk-3.0)
%if ! 0%{?rhel}
# RHEL does not have webkit2
BuildRequires: pkgconfig(webkit2gtk-4.0)
%endif
BuildRequires: icu4j >= 1:54.1.1-2
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
BuildRequires: ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf
BuildRequires: jsch >= 0:0.1.46-2
BuildRequires: apache-commons-el >= 1.0-22
BuildRequires: apache-commons-logging
BuildRequires: apache-commons-codec
BuildRequires: apache-commons-jxpath >= 1.3-23
BuildRequires: apache-commons-fileupload
BuildRequires: felix-gogo-command
BuildRequires: felix-gogo-shell
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
BuildRequires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
BuildRequires: lucene-core >= %{_lucene_version}
BuildRequires: lucene-analysis >= %{_lucene_version}
BuildRequires: lucene-queryparser >= %{_lucene_version}
BuildRequires: lucene-analyzers-smartcn >= %{_lucene_version}
2012-04-30 13:57:27 +00:00
BuildRequires: junit >= 4.10-5
BuildRequires: hamcrest >= 0:1.3-11
BuildRequires: sat4j >= 2.3.5-1
BuildRequires: objectweb-asm >= 5.0.3-1
2012-04-12 07:29:32 +00:00
BuildRequires: sac >= 1.3-12
BuildRequires: batik-css
2013-05-20 13:33:36 +00:00
BuildRequires: xml-commons-apis >= 1.4.01-12
BuildRequires: atinject
BuildRequires: atinject-tck
BuildRequires: eclipse-filesystem
BuildRequires: eclipse-ecf-core >= 3.13.2-1
2016-06-15 14:48:56 +00:00
BuildRequires: eclipse-emf-core >= 1:2.12.0-1
BuildRequires: eclipse-license
BuildRequires: glassfish-jsp-api >= 2.2.1-4
BuildRequires: glassfish-jsp >= 2.2.5
BuildRequires: glassfish-servlet-api >= 3.1.0
BuildRequires: httpcomponents-core
BuildRequires: httpcomponents-client
BuildRequires: xz-java
BuildRequires: mockito
BuildRequires: osgi(osgi.annotation)
BuildRequires: glassfish-annotation-api
%if ! %{bootstrap}
# Build deps that are excluded when bootstrapping
BuildRequires: eclipse-pde
# Build deps needed for contributor tools
BuildRequires: eclipse-egit >= 4.0.0
BuildRequires: eclipse-emf-runtime
%endif
2011-11-25 18:42:15 +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
%description
The Eclipse platform is designed for building integrated development
environments (IDEs), server-side applications, desktop applications, and
everything in between.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package swt
Summary: SWT Library for GTK+
Requires: java-headless >= 1:1.7.0
Requires: javapackages-tools
Requires: eclipse-filesystem
%if 0%{?rhel}
# RHEL does not have webkit2
Requires: gtk3
Requires: webkitgtk3
%else
Requires: webkitgtk4
%endif
%description swt
SWT Library for GTK+.
%package equinox-osgi
Summary: Eclipse OSGi - Equinox
2014-02-21 19:32:31 +00:00
Requires: java-headless >= 1:1.7.0
Requires: javapackages-tools
Requires: eclipse-filesystem
Provides: osgi(system.bundle) = %{epoch}:%{version}
%description equinox-osgi
Eclipse OSGi - Equinox
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package platform
Summary: Eclipse platform common files
2016-07-13 15:44:39 +00:00
Recommends: eclipse-abrt
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
Requires: ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf
Requires: apache-commons-el >= 1.0-23
Requires: apache-commons-logging
Requires: apache-commons-codec
Requires: apache-commons-jxpath >= 1.3-23
Requires: felix-gogo-command
Requires: felix-gogo-shell
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.continuation) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.io) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.security) >= %{_jetty_version}
Requires: osgi(org.eclipse.jetty.servlet) >= %{_jetty_version}
Requires: osgi(javax.annotation-api)
Requires: jsch >= 0.1.46-2
Requires: lucene-core >= %{_lucene_version}
Requires: lucene-analysis >= %{_lucene_version}
Requires: lucene-queryparser >= %{_lucene_version}
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
Requires: sat4j >= 2.3.5-1
2012-04-12 07:29:32 +00:00
Requires: sac >= 1.3-12
Requires: batik-css
Requires: xml-commons-apis >= 1.4.01-12
Requires: atinject
Requires: eclipse-ecf-core >= 3.13.2-1
2016-06-15 14:48:56 +00:00
Requires: eclipse-emf-core >= 1:2.12.0-1
Requires: glassfish-jsp-api >= 2.2.1-4
Requires: glassfish-jsp >= 2.2.5
Requires: glassfish-servlet-api >= 3.1.0
Requires: icu4j >= 1:54.1.1-2
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
Requires: httpcomponents-core
Requires: httpcomponents-client
Requires: xz-java
2015-04-01 14:44:23 +00:00
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%description platform
2009-05-20 19:43:48 +00:00
The Eclipse Platform is the base of all IDE plugins. This does not include the
Java Development Tools or the Plugin Development Environment.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package jdt
Summary: Eclipse Java Development Tools
BuildArch: noarch
Provides: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
2012-04-30 13:57:27 +00:00
Requires: junit >= 4.10-5
Requires: hamcrest-core >= 0:1.3-11
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%description jdt
Eclipse Java Development Tools. This package is required to use Eclipse for
developing software written in the Java programming language.
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%package pde
Summary: Eclipse Plugin Development Environment
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
Requires: objectweb-asm >= 5.0.3-1
Recommends: eclipse-e4-importer
2010-10-12 18:54:34 +00:00
# For PDE Build wrapper script + creating jars
Requires: zip
Requires: bash
2005-12-06 20:35:06 +00:00
%description pde
Eclipse Plugin Development Environment. This package is required for
developing Eclipse plugins.
2006-06-02 21:46:07 +00:00
%package p2-discovery
Summary: Eclipse p2 Discovery
BuildArch: noarch
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
# Obsoletes added in F22
Obsoletes: %{name}-p2-discovery < 1:4.5.0-0.10
%description p2-discovery
The p2 Discovery mechanism provides a simplified and branded front-end for the
p2 provisioning platform. Discovery can be used as a tool to display and
install from existing P2 repositories or as a framework to build branded
installer UIs.
%package contributor-tools
Summary: Tools for Eclipse Contributors
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
%description contributor-tools
This package contains tools specifically for Eclipse contributors. It includes
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
%package tests
Summary: Eclipse Tests
%description tests
Eclipse Tests.
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
2013-05-02 12:02:12 +00:00
%setup -q %{SOURCE0} -n R4_platform-aggregator-%{eclipse_tag}
2012-07-26 10:25:54 +00:00
2013-05-02 12:02:12 +00:00
tar --strip-components=1 -xf %{SOURCE1}
2015-04-01 14:44:23 +00:00
%patch0
2012-07-26 10:25:54 +00:00
%patch1
2013-12-04 21:22:40 +00:00
%patch2
2012-07-26 11:43:17 +00:00
%patch3
%patch4
%patch5
#%patch8
2015-04-01 14:44:23 +00:00
%patch9 -p1
%patch10
2012-07-30 11:09:46 +00:00
%patch11
%patch12
2015-04-01 14:44:23 +00:00
%patch13
%patch14
%patch15
2013-12-04 21:22:40 +00:00
%patch16
%patch17
%patch18 -p1
%patch19 -p1
%patch20
%patch21
%patch22
%if ! 0%{?rhel}
# RHEL does not have webkit2
%patch23
%endif
2016-06-15 14:48:56 +00:00
%if 0%{?fedora} >= 25
%patch24
%endif
%patch25
%patch26
%patch27
# Use ecj when bootstrapping
%if %{bootstrap}
sed -i -e 's/groupId>org.eclipse.jdt</groupId>org.eclipse.tycho</' eclipse-platform-parent/pom.xml
%endif
# Resolving the target platform requires too many changes, so don't use it
%pom_xpath_remove "pom:configuration/pom:target" eclipse-platform-parent
# Unnecessary plugin
%pom_remove_plugin "org.codehaus.mojo:properties-maven-plugin" eclipse-platform-parent
# Disable as many products as possible to make the build faster, we care only for the IDE
2012-09-19 11:20:23 +00:00
%pom_disable_module platform.sdk eclipse.platform.releng.tychoeclipsebuilder
%pom_disable_module rcp eclipse.platform.releng.tychoeclipsebuilder
%pom_disable_module rcp.sdk eclipse.platform.releng.tychoeclipsebuilder
%pom_disable_module rcp.config eclipse.platform.releng.tychoeclipsebuilder
2012-09-19 11:20:23 +00:00
%pom_disable_module sdk eclipse.platform.releng.tychoeclipsebuilder
%pom_disable_module equinox-sdk eclipse.platform.releng.tychoeclipsebuilder
2012-12-19 17:47:29 +00:00
%pom_disable_module equinox.starterkit.product eclipse.platform.releng.tychoeclipsebuilder
%pom_disable_module eclipse.platform.repository eclipse.platform.releng.tychoeclipsebuilder
# Disable bundles that we don't ship as part of the remaining products
2012-08-10 12:23:47 +00:00
%pom_disable_module bundles/org.eclipse.equinox.cm.test rt.equinox.bundles
2013-01-28 12:46:52 +00:00
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
2013-01-28 12:46:52 +00:00
%pom_disable_module bundles/org.eclipse.equinox.ip rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.weaving.hook rt.equinox.bundles
%pom_disable_module features/org.eclipse.equinox.compendium.sdk rt.equinox.bundles
%pom_disable_module features/org.eclipse.equinox.core.sdk rt.equinox.bundles
2013-01-28 12:46:52 +00:00
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.reconciler.product rt.equinox.p2
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
%pom_disable_module bundles/ie.wombat.jbdiff rt.equinox.p2
%pom_disable_module bundles/ie.wombat.jbdiff.test rt.equinox.p2
%pom_disable_module tests/com.google.code.atinject.tck eclipse.platform.runtime
2012-07-05 11:08:47 +00:00
# Disable examples
%pom_disable_module bundles/org.eclipse.sdk.examples eclipse.platform.releng
%pom_disable_module features/org.eclipse.sdk.examples-feature eclipse.platform.releng
%pom_disable_module examples/org.eclipse.swt.examples.ole.win32 eclipse.platform.swt
# Disable servletbridge stuff
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
# We don't need support for Eclipse 2.x style plugins
%pom_disable_module features/org.eclipse.osgi.compatibility.plugins.feature rt.equinox.framework
%pom_disable_module bundles/org.eclipse.osgi.compatibility.plugins rt.equinox.framework
%pom_xpath_remove "pom:requirement[pom:id='org.eclipse.osgi.compatibility.plugins']" \
rt.equinox.framework/bundles/org.eclipse.osgi.tests/pom.xml
sed -i -e '/OldStylePluginTests/d' ./rt.equinox.framework/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java
# This part generates secondary fragments using primary fragments
for dir in rt.equinox.binaries ; do
utils/ensure_arch.sh "$dir" x86 arm
utils/ensure_arch.sh "$dir" x86_64 aarch64
done
2012-12-21 13:17:28 +00:00
# Remove platform-specific stuff that we don't care about to reduce build time
# (i.e., all bundles that are not applicable to the current build platform --
# this reduces the build time on arm by around 20 minutes per architecture that
# we are not currently building)
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
if [ -n "$module" ] ; then
%pom_disable_module bundles/$b eclipse.platform.swt.binaries
%pom_xpath_inject "pom:excludes" "<plugin id='$b'/>" eclipse.platform.ui/features/org.eclipse.e4.rcp
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
fi
done
for b in `ls rt.equinox.framework/bundles | grep -P -e 'org.eclipse.equinox.launcher\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
module=$(grep ">bundles/$b<" rt.equinox.framework/pom.xml || :)
if [ -n "$module" ] ; then
%pom_disable_module bundles/$b rt.equinox.framework
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.framework/features/org.eclipse.equinox.executable.feature/feature.xml
fi
done
for b in `ls eclipse.platform.team/bundles/org.eclipse.core.net/fragments/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
%pom_disable_module bundles/org.eclipse.core.net/fragments/$b eclipse.platform.team
%pom_xpath_remove "plugin[@id='$b']" eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
done
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
if [ -n "$module" ] ; then
%pom_disable_module bundles/$b eclipse.platform.resources
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
fi
done
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
%pom_disable_module org.eclipse.jdt.launching.ui.macosx eclipse.jdt.debug
%pom_disable_module bundles/org.eclipse.equinox.security.macosx rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.security.win32.x86 rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.equinox.security.win32.x86_64 rt.equinox.bundles
%pom_disable_module bundles/org.eclipse.compare.win32 eclipse.platform.team
%pom_disable_module bundles/org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui
2014-04-28 16:15:03 +00:00
%pom_disable_module bundles/org.eclipse.ui.cocoa eclipse.platform.ui
%pom_disable_module bundles/org.eclipse.ui.win32 eclipse.platform.ui
%pom_disable_module bundles/org.eclipse.core.filesystem/fragments/org.eclipse.core.filesystem.aix.ppc eclipse.platform.resources
%pom_disable_module bundles/org.eclipse.core.filesystem/fragments/org.eclipse.core.filesystem.aix.ppc64 eclipse.platform.resources
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86 eclipse.platform.resources
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
# Disable contributor tools that have external dependencies during bootstrap
%if %{bootstrap}
%pom_disable_module eclipse.platform.ui.tools
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
%pom_disable_module bundles/org.eclipse.releng.tests eclipse.platform.releng
%pom_xpath_remove "plugin[@id='org.eclipse.releng.tests']" \
eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
%endif
# Include some extra features with the product that some other projects may need at
# build time as part of their target platform definitions
sed -i -e '169i<feature id="org.eclipse.core.runtime.feature"/>' \
eclipse.platform.releng.tychoeclipsebuilder/platform/platform.product
# Ensure batch compiler gets installed correctly
sed -i -e '/org.eclipse.ui.themes/i<plugin id="org.eclipse.jdt.core.compiler.batch" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' \
eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
# Don't duplicate the test framework bundles
%pom_remove_plugin org.eclipse.tycho.extras:tycho-p2-extras-plugin \
eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
%pom_xpath_remove "includes[@id='org.eclipse.test']" \
eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
sed -i -e '/org.eclipse.test/d' \
eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/eclipse-junit-tests.product
# Since Tycho 0.22.0 resources get copied into generated eclipse-repository.
# We place some content in ${project.build.directory} and use that to place
# it into some other assembled zip.
# With 0.22.0 it will get placed also into the eclipse-repository zip.
# Let's be careful where we place them to avoid duplication.
%pom_xpath_remove "pom:resources" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
%pom_remove_plugin :maven-resources-plugin eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
sed -i 's|\${project.build.directory}/resources|\${project.basedir}/src/main/resources|' eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/assembly/assembly.xml eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/pom.xml
# Remove uneeded hamcrest bundles
%pom_xpath_remove "plugin[@id='org.hamcrest']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
%pom_xpath_remove "plugin[@id='org.hamcrest.text']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
# Use unbundled mockito
%pom_xpath_remove "plugin[@id='org.mockito']" eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
%pom_xpath_inject "feature" '<plugin id="org.mockito.mockito-core" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
%pom_xpath_inject "feature" '<plugin id="net.sf.cglib.core" download-size="0" install-size="0" version="0.0.0" unpack="false"/>' eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
2014-06-05 16:16:48 +00:00
# Don't set perms on files for platforms that aren't linux
for f in \
rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
sed -i -e '/^root\./d' $f && cat tmp >> $f
done
2014-06-05 16:16:48 +00:00
# Hack - this can go away once upstream grows arm and aarch64 support
mkdir -p rt.equinox.binaries/org.eclipse.equinox.executable/bin/gtk/linux/%{eclipse_arch}
# Ensure that bundles with native artifacts are dir-shaped, so no *.so is extracted into user.home
for f in `find eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.* -name MANIFEST.MF` ; do
2013-12-04 21:22:40 +00:00
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
done
for f in `find eclipse.platform.resources/bundles/org.eclipse.core.filesystem.linux.* -name MANIFEST.MF` ; do
2013-12-04 21:22:40 +00:00
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
done
for f in `find eclipse.platform.team/bundles/org.eclipse.core.net/fragments -name MANIFEST.MF` ; do
2013-12-04 21:22:40 +00:00
echo -e "Eclipse-BundleShape: dir\n\n" >> $f;
done
2013-01-28 12:46:52 +00:00
#fake dependencies that don't exist in fedora
./dependencies/fake_ant_dependency.sh .m2/p2/repo-sdk/plugins/org.apache.ant_* -makejar
2013-01-28 12:46:52 +00:00
2014-03-07 23:56:05 +00:00
# Allow usage of javax.servlet.jsp 2.3.
sed -i '/javax\.servlet\.jsp/ s/2\.3/2\.4/' rt.equinox.bundles/bundles/org.eclipse.equinox.jsp.jasper/META-INF/MANIFEST.MF
# Use com.sun.el.java.el (Glassfish) instead of javax.el (Tomcat)
2014-06-06 13:32:24 +00:00
sed -i 's/javax\.el/com\.sun\.el\.javax\.el/' \
eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml \
eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
# Use javax.servlet-api (Glassfish) instead of javax.servlet (Tomcat)
find -name feature.xml | xargs sed -i -e 's|"javax.servlet"|"javax.servlet-api"|'
sed -i -e "s|<id>javax.servlet</id>|<id>javax.servlet-api</id>|g" eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
sed -i -e "2iRequire-Bundle: javax.servlet-api" rt.equinox.bundles/bundles/org.eclipse.equinox.http.{jetty9,servlet}/META-INF/MANIFEST.MF
%pom_remove_plugin org.mortbay.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
2013-03-15 08:27:43 +00:00
# Remove generated files not present during bootstrap build
# org.eclipse.platform.doc.isv, org.eclipse.jdt.doc.isv, org.eclipse.pde.doc.user
%if %{bootstrap}
sed -i '18,47d' eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/assembly/assembly.xml
%endif
# Remove some problem comments that cause a failure
sed -i -e '/<dl>/,/<dl>/d' eclipse.jdt.core/org.eclipse.jdt.annotation/src/org/eclipse/jdt/annotation/Checks.java
# Use system osgi.annotation lib
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/osgi/
ln -s %{_javadir}/osgi-annotation/osgi.annotation.jar rt.equinox.bundles/bundles/org.eclipse.equinox.coordinator/lib/
# The order of these mvn_package calls is important
%mvn_package "::pom::" __noinstall
%mvn_package ":*tests*" __noinstall
%mvn_package ":org.eclipse.{e4.ui.workbench.addons.swt,equinox.frameworkadmin}.test" __noinstall
%mvn_package ":*examples*" __noinstall
%mvn_package ":org.eclipse.pde.tools.versioning" __noinstall
%mvn_package ":org.eclipse.update.core" __noinstall
%mvn_package "org.eclipse.test:org.eclipse.test" contributor-tools
%mvn_package "::jar:sources{,-feature}:" sdk
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
%mvn_package ":org.eclipse.platform.doc.isv" sdk
%mvn_package "org.eclipse.jdt{,.feature}:" jdt
%mvn_package ":org.eclipse.ant.{launching,ui}" jdt
%mvn_package ":org.eclipse.equinox.p2.discovery.{feature,compatibility}" p2-discovery
%mvn_package ":org.eclipse.equinox.p2{,.ui}.discovery" p2-discovery
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
%mvn_package ":org.eclipse.releng.tools" contributor-tools
%mvn_package ":org.eclipse.swt.tools{,.feature}" contributor-tools
%mvn_package "org.eclipse.test{,.feature}:" contributor-tools
%mvn_package ":org.eclipse.ant.optional.junit" contributor-tools
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
%mvn_package "org.eclipse.pde{,.feature}:" pde
%mvn_package "org.eclipse.ui:org.eclipse.ui.{views.log,trace}" pde
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
%mvn_package ":" __noinstall
%build
#This is the lowest value where the build succeeds. 512m is not enough.
export MAVEN_OPTS="-Xmx1000m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
2013-07-31 09:06:35 +00:00
export JAVA_HOME=%{java_home}
# Qualifier generated from last modification time of source tarball
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
%mvn_build -j -f -- -DforceContextQualifier=$QUALIFIER \
%if %{bootstrap}
-P !api-generation,!build-docs \
%endif
-Declipse.javadoc=/usr/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
-Dtycho.local.keepTarget \
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=Z
# Location that the product is materialised
product="eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}"
2013-01-28 12:46:52 +00:00
#ant again
dependencies/fake_ant_dependency.sh $product/eclipse/plugins/org.apache.ant_*
# Symlink necessary plugins that are provided by other packages
dependencies/replace_platform_plugins_with_symlinks.sh $product/eclipse %{_javadir}
pushd $product/eclipse
2013-01-28 12:46:52 +00:00
#clean up
rm -rf configuration/org.eclipse.core.runtime
rm -rf configuration/org.eclipse.equinox.app
rm -rf configuration/org.eclipse.update
rm -rf configuration/org.eclipse.osgi
rm -rf p2/org.eclipse.equinox.p2.core/cache/*
# no icon needed
rm -f icon.xpm
# EMF and ECF are packaged separately
rm -rf features/org.eclipse.emf.* plugins/org.eclipse.emf.* \
features/org.eclipse.ecf.* plugins/org.eclipse.ecf.* plugins/org.eclipse.ecf_*
2013-01-28 12:46:52 +00:00
#delete all local repositories. We want to have only "original" by default.
pushd p2/org.eclipse.equinox.p2.engine/.settings
sed -i "/repositories\/file/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
sed -i "/repositories\/memory/d" *.prefs ../profileRegistry/SDKProfile.profile/.data/.settings/*.prefs
popd
# ini file adjustements
sed -i "s|-Xms40m|-Xms128m|g" eclipse.ini
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
sed -i '1i-protect\nmaster' eclipse.ini
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
cat >> eclipse.ini <<EOFINI
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dhelp.lucene.tokenizer=standard
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
-Dp2.fragments=%{_datadir}/eclipse/droplets,%{_libdir}/eclipse/droplets
-Declipse.p2.skipMovedInstallDetection=true
EOFINI
2013-01-28 12:46:52 +00:00
popd #eclipse
%install
%mvn_install
# Some directories we need
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}
install -d -m 755 $RPM_BUILD_ROOT%{_jnidir}
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/eclipse
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
# Install icons
install -D eclipse.platform/platform/org.eclipse.platform/eclipse32.png \
$RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/%{name}.png
install -D eclipse.platform/platform/org.eclipse.platform/eclipse48.png \
$RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/%{name}.png
install -D eclipse.platform/platform/org.eclipse.platform/eclipse256.png \
$RPM_BUILD_ROOT/usr/share/icons/hicolor/256x256/apps/%{name}.png
install -d $RPM_BUILD_ROOT/usr/share/pixmaps
ln -s /usr/share/icons/hicolor/256x256/apps/%{name}.png \
$RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png
# Install desktop file
%{?scl: sed -i -e 's/Exec=eclipse/Exec=scl enable %{scl_name} eclipse/g' desktopintegration/eclipse.desktop}
2013-05-30 10:55:33 +00:00
%{?scl: sed -i -e 's/Name=Eclipse/Name=DTS Eclipse/g' desktopintegration/eclipse.desktop}
sed -i -e 's/Icon=eclipse/Icon=%{name}/g' desktopintegration/eclipse.desktop
install -m644 -D desktopintegration/eclipse.desktop $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
desktop-file-validate $RPM_BUILD_ROOT/usr/share/applications/%{name}.desktop
# Install appstream appdata
install -m644 -D desktopintegration/eclipse.appdata.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse.appdata.xml
install -m644 -D desktopintegration/eclipse-jdt.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-jdt.metainfo.xml
install -m644 -D desktopintegration/eclipse-pde.metainfo.xml $RPM_BUILD_ROOT%{_datadir}/appdata/eclipse-pde.metainfo.xml
2013-01-28 12:46:52 +00:00
LOCAL_PWD=`pwd`
#change the installation p2 files
pushd eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/
for i in `ls | grep "profile.gz"` ; do \
echo $i ; \
gunzip $i ; \
sed -i -e "s@${LOCAL_PWD}/eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse@%{_libdir}/eclipse@g" *.profile ; \
gzip *.profile ; \
done
2012-09-20 14:23:37 +00:00
popd
#installation itself - copy it into right location
rsync -vrpl eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse \
$RPM_BUILD_ROOT%{_libdir}
#eclipse compiler
install -m 755 jdtcompilatorscript/efj.sh $RPM_BUILD_ROOT%{_bindir}/efj
2015-08-26 10:26:27 +00:00
TARGET_LAUNCHER=%{_libdir}/eclipse/plugins/`ls eclipse.platform.releng.tychoeclipsebuilder/platform/target/products/org.eclipse.platform.ide/linux/gtk/%{eclipse_arch}/eclipse/plugins | grep launcher_[0-9]*`
sed -i -e "s,@LAUNCHER@,${TARGET_LAUNCHER}," $RPM_BUILD_ROOT%{_bindir}/efj
# Symlink eclipse binary
pushd $RPM_BUILD_ROOT%{_bindir}
2015-08-26 10:26:27 +00:00
ln -s %{_libdir}/eclipse/eclipse
2012-08-07 11:29:19 +00:00
popd
# SWT is a directory, but we need to provide jars for others that depend on it
2015-08-26 10:26:27 +00:00
pushd $RPM_BUILD_ROOT/%{_libdir}/eclipse/plugins
SWT_JAR=$(ls | grep swt.gtk.linux)
(cd ${SWT_JAR} && zip -r "../../swt.jar" * )
popd
# Symlink SWT jar
pushd $RPM_BUILD_ROOT/%{_jnidir}/
2015-08-26 10:26:27 +00:00
ln -s $(abs2rel %{_libdir}/eclipse/swt.jar %{_jnidir})
popd
# Symlink eclipse ini
pushd $RPM_BUILD_ROOT/%{_sysconfdir}/
2015-08-26 10:26:27 +00:00
ln -s %{_libdir}/eclipse/eclipse.ini
popd
# List jars to be symlinked into javadir
pushd $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins
EQUINOX_JARS=$(ls . | grep '^org.eclipse.equinox' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
OSGI_JARS=$(ls . | grep '^org.eclipse.osgi' | sed -e 's|^org\.eclipse\.\(.*\)_.*|\1|')
popd
# Symlink jars into javadir
for J in $EQUINOX_JARS $OSGI_JARS core.contenttype core.jobs core.net core.runtime core.runtime.compatibility ; do
pushd $RPM_BUILD_ROOT%{_javadir}/eclipse
DIR=%{?scl:../../../../}../../../..%{_libdir}/eclipse
[ -e "`ls $DIR/plugins/org.eclipse.${J}_*.jar`" ] && ln -s $DIR/plugins/org.eclipse.${J}_*.jar ${J}.jar
popd
# Install pom file if there is one
if [ -e "externalpoms/org.eclipse.${J}.pom" ] ; then
VER=$(echo $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins/org.eclipse.${J}_*.jar | sed -e "s/.*${J}_\(.*\)\.jar/\1/")
sed -i -e "s/@VERSION@/$VER/" externalpoms/org.eclipse.${J}.pom
install -m 0644 externalpoms/org.eclipse.${J}.pom $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.eclipse-${J}.pom
fi
done
2015-07-07 08:32:05 +00:00
# Install Maven metadata for OSGi jars
%add_maven_depmap JPP.eclipse-osgi.pom eclipse/osgi.jar -a "org.eclipse:osgi,org.eclipse.tycho:org.eclipse.osgi" -f equinox-osgi
%add_maven_depmap JPP.eclipse-osgi.compatibility.state.pom eclipse/osgi.compatibility.state.jar -a "org.eclipse.osgi:compatibility.state,org.eclipse.tycho:org.eclipse.osgi.compatibility.state" -f equinox-osgi
%add_maven_depmap JPP.eclipse-osgi.services.pom eclipse/osgi.services.jar -a "org.eclipse.osgi:services" -f equinox-osgi
%add_maven_depmap JPP.eclipse-osgi.util.pom eclipse/osgi.util.jar -a "org.eclipse.osgi:util" -f equinox-osgi
%add_maven_depmap JPP.eclipse-equinox.http.servlet.pom eclipse/equinox.http.servlet.jar -a "org.eclipse.equinox.http:servlet" -f platform
2015-07-07 08:32:05 +00:00
# Maven metadata for SWT (no POM)
VER=$(echo $RPM_BUILD_ROOT%{_libdir}/eclipse/plugins/org.eclipse.swt_*.jar | sed -e "s/.*_\(.*\)\.jar/\1/")
%add_maven_depmap org.eclipse.swt:org.eclipse.swt:$VER swt.jar -a org.eclipse.swt:swt -f swt
##############
# Tests
##############
# Since Tycho 0.22.0 resources get copied into generated eclipse-repository.
# We place some content in ${project.build.directory} and use that to place
# it into some other assembled zip.
# With 0.22.0 it will get placed also into the eclipse-repository zip.
# Let's just exclude label.properties, and equinoxp2test.properties from
# the second extraction to avoid the issue entirely.
2012-12-21 13:17:28 +00:00
unzip eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/target/eclipse-junit-tests-bundle.zip -d $RPM_BUILD_ROOT/%{_javadir}/
unzip $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/eclipse-junit-tests-*.zip -d $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing -x label.properties equinoxp2tests.properties
2013-05-02 12:02:12 +00:00
cp eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/JUNIT.XSL $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing
2013-05-07 10:40:03 +00:00
cp eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing
cp utils/splitter.xsl $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing
2012-12-21 13:17:28 +00:00
rm $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/eclipse-junit-tests-*.zip
rm $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/{runtests.bat,runtestsmac.sh}
2012-12-21 13:17:28 +00:00
pushd $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/plugins
f=`ls | grep -e "^com.google.code.atinject.tck_"`
rm -rf $f
ln -s $(build-classpath atinject-tck) ${f%.jar}.jar
f=`ls | grep -e "^org.apache.commons.fileupload_"`
rm -rf $f
ln -s $(build-classpath apache-commons-fileupload) ${f%.jar}.jar
f=`ls | grep -e "^org.apache.commons.io_"`
rm -rf $f
ln -s $(build-classpath apache-commons-io) ${f%.jar}.jar
f=`ls | grep -e "^org.mockito.mockito-core_"`
rm -rf $f
ln -s $(build-classpath mockito/mockito-core) ${f%.jar}.jar
f=`ls | grep -e "^net.sf.cglib.core_"`
rm -rf $f
ln -s $(build-classpath cglib) ${f%.jar}.jar
f=`ls | grep -e "^org.objenesis_"`
rm -rf $f
ln -s $(build-classpath objenesis/objenesis) ${f%.jar}.jar
for ham in core library integration ; do
f=`ls | grep -e "^org.hamcrest.${ham}_"`
rm -rf $f
ln -s $(build-classpath hamcrest/${ham}) ${f%.jar}.jar
done
# These are already present in the platform
rm -rf org.junit_*
2012-09-05 10:14:23 +00:00
popd
2012-12-21 13:17:28 +00:00
sed -i -e "s#@libdir@#%{_libdir}#" $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/runtests.sh
sed -i -e "s#@USR@#%{?_scl_root}%{_usr}#" $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/runtests.sh
touch $RPM_BUILD_ROOT%{_bindir}/eclipse-runEclipsePackageTests
chmod a+x $RPM_BUILD_ROOT/%{_bindir}/eclipse-runEclipsePackageTests
echo '#!/bin/sh' >> $RPM_BUILD_ROOT/%{_bindir}/eclipse-runEclipsePackageTests
echo 'echo "results in /tmp/eclipse-tests-directory/results/"' >> $RPM_BUILD_ROOT/%{_bindir}/eclipse-runEclipsePackageTests
echo 'export testslocation="%{_javadir}/eclipse-testing/"' >> $RPM_BUILD_ROOT/%{_bindir}/eclipse-runEclipsePackageTests
echo "pushd %{_javadir}/eclipse-testing;./runtests.sh -os linux -ws gtk -arch %{eclipse_arch} ; popd;" >> $RPM_BUILD_ROOT/%{_bindir}/eclipse-runEclipsePackageTests
# These properties are not correct and nested properties won't get resolved
sed -i '/org.eclipse.equinox.p2.reconciler.test/ d' $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/equinoxp2tests.properties
2013-10-10 02:07:28 +00:00
# Package testbundle-to-eclipse-test
cp -r testbundle-to-eclipse-test $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/testbundle
2013-10-10 02:07:28 +00:00
pushd $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/testbundle
# Set the proper paths for scripts
sed -i 's|\.\+/\(gatherBundles\.sh\)|%{_javadir}/eclipse-testing/testbundle/\1|' prepRuntimeLocation.sh
sed -i 's|\.\+/\(genRepo\.sh\)|%{_javadir}/eclipse-testing/testbundle/\1|' prepAllTestBundles.sh
2015-08-26 10:26:27 +00:00
sed -i 's|\.\+/\(prepRuntimeLocation\.sh\)|%{_javadir}/eclipse-testing/testbundle/\1|' eclipse-runTestBundles
sed -i 's|\.\+/\(prepAllTestBundles\.sh\)|%{_javadir}/eclipse-testing/testbundle/\1|' eclipse-runTestBundles
2013-10-10 02:07:28 +00:00
sed -i 's|cp swtbot-library.xml alltest.xml updateTestBundleXML.sh target/|cp %{_javadir}/eclipse-testing/testbundle/{swtbot-library.xml,alltest.xml,updateTestBundleXML.sh} target/|' prepRuntimeLocation.sh
for file in genRepo.sh gatherBundles.sh ;do
sed -i 's|scl_root=|scl_root=%{?_scl_root}|' ${file}
2013-10-10 02:07:28 +00:00
done
2015-08-26 10:26:27 +00:00
mv $RPM_BUILD_ROOT/%{_javadir}/eclipse-testing/testbundle/eclipse-runTestBundles $RPM_BUILD_ROOT/%{_bindir}/eclipse-runTestBundles
2013-10-10 02:07:28 +00:00
popd
2013-10-29 09:47:40 +00:00
#fix so permissions
find $RPM_BUILD_ROOT/%{_libdir}/eclipse -name *.so -exec chmod a+x {} \;
%post platform
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
%postun platform
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
2015-07-07 08:32:05 +00:00
%files swt -f .mfiles-swt
%{_libdir}/eclipse/plugins/org.eclipse.swt_*
%{_libdir}/eclipse/plugins/org.eclipse.swt.gtk.linux.*
%{_libdir}/eclipse/swt.jar
%{_jnidir}/swt.jar
auto-import changelog data from eclipse-3.0.0-14.src.rpm Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-14 - Install copy-platform correctly Fri Jul 16 2004 Tom Tromey <tromey@redhat.com> 3.0.0-13 - Removed debugging code - Added copy-platform script Thu Jul 15 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-12 - Add Red Hat-specific documentation Thu Jul 15 2004 Tom Tromey <tromey@redhat.com> 3.0.0-12 - Fixed provides/requires versioning buglets Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-11 - Unblock signals before running ant Wed Jul 14 2004 Tom Tromey <tromey@redhat.com> 3.0.0-10 - Added some debugging code Tue Jul 13 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Add help server patch to prevent outside access Fri Jul 09 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Handle libswt*.so correctly Thu Jul 08 2004 Tom Tromey <tromey@redhat.com> 3.0.0-9 - Reworked 64 bit platform support - org.eclipse.swt.tools now included in standard zip file - Removed alternatives - Added platform launcher patch Thu Jul 08 2004 Jeremy Handcock <handcock@redhat.com> 3.0.0-9 - Don't BuildRequires: junit - Don't symlink against JPackage jars; use eclipse.org ones instead Tue Jul 06 2004 Tom Tromey <tromey@redhat.com> 3.0.0-8 - Work around "ppc64pseries" arch oddity - Add classic-ant hack Wed Jun 30 2004 Tom Tromey <tromey@redhat.com> 3.0.0-7 - Only install one desktop file; check it; updated contents Tue Jun 29 2004 Tom Tromey <tromey@redhat.com> 3.0.0-6 - Require IBM JDK - Only build on our platforms
2004-09-09 04:27:27 +00:00
%files platform -f .mfiles-platform
%{_bindir}/eclipse
%{_libdir}/%{name}/.eclipseproduct
%config %{_libdir}/%{name}/eclipse.ini
%config %{_sysconfdir}/eclipse.ini
/usr/share/applications/*
/usr/share/pixmaps/*
/usr/share/icons/*/*/apps/*
%{_datadir}/appdata/eclipse.appdata.xml
%{_libdir}/%{name}/eclipse
%dir %{_libdir}/%{name}/configuration/
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/
%{_libdir}/%{name}/configuration/config.ini
%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
%{_libdir}/%{name}/features/org.eclipse.core.runtime.feature_*
%{_libdir}/%{name}/features/org.eclipse.e4.rcp_*
%{_libdir}/%{name}/features/org.eclipse.equinox.core.feature_*
%{_libdir}/%{name}/features/org.eclipse.help_*
%{_libdir}/%{name}/features/org.eclipse.platform_*
%{_libdir}/%{name}/features/org.eclipse.rcp_*
%{_libdir}/%{name}/plugins/com.ibm.icu_*
%if 0%{?fedora} >= 24
%{_libdir}/%{name}/plugins/com.spatial4j_*
%endif
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
%{_libdir}/%{name}/plugins/javax.servlet-api_*
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
%{_libdir}/%{name}/plugins/javax.xml_*
%{_libdir}/%{name}/plugins/com.sun.el.javax.el_*
%{_libdir}/%{name}/plugins/javax.inject_*.jar
%{_libdir}/%{name}/plugins/org.apache.*
%{_libdir}/%{name}/plugins/javax.annotation-api_*
%{_libdir}/%{name}/plugins/org.glassfish.web.javax.servlet.jsp_*
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
%{_libdir}/%{name}/plugins/org.eclipse.compare.core_*
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.observable_*
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.property_*
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
%{_libdir}/%{name}/plugins/org.eclipse.core.externaltools_*
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem*
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
%{_libdir}/%{name}/plugins/org.eclipse.core.net*
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
%{_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.ds_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.event_*
%{_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_*
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
%{_libdir}/%{name}/plugins/org.eclipse.jdt.core.compiler.batch_*
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
%{_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.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_*
%{_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.quicklinks_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.monitoring_*
%{_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.themes_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.commands_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.contexts_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.di.annotations_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.di.extensions_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.di_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.core.services_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.emf.xpath_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.bindings_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.css.core_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.css.swt.theme_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.css.swt_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.di_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.dialogs_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.model.workbench_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.services_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.swt.gtk_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.widgets_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.workbench.addons.swt_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.workbench.renderers.swt_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.workbench.swt_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.workbench3_*
%{_libdir}/%{name}/plugins/org.eclipse.e4.ui.workbench_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.util_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.server_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.http_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.continuation_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.io_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.security_*
%{_libdir}/%{name}/plugins/org.eclipse.jetty.servlet_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.core.feature_*
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.extras.feature_*
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.rcp.feature_*
%{_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.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.operations_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.transport.ecf_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.importexport_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher.eclipse_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository.tools_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
%{_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.sat4j.core_*
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
%{_libdir}/%{name}/plugins/org.tukaani.xz_*
%{_libdir}/%{name}/plugins/org.w3c.css.sac_*
%{_libdir}/%{name}/plugins/org.w3c.dom.svg_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.bidi_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.concurrent_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.console_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.*_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
%{_libdir}/%{name}/plugins/org.eclipse.equinox.util_*
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
%{_libdir}/%{name}/readme
%{_libdir}/%{name}/artifacts.xml
%{_libdir}/%{name}/p2
%{_javadir}/%{name}/core*
%{_javadir}/%{name}/equinox*
2008-07-16 15:33:03 +00:00
%files jdt -f .mfiles-jdt
%{_bindir}/efj
%{_datadir}/appdata/eclipse-jdt.metainfo.xml
%files pde -f .mfiles-pde -f .mfiles-cvs -f .mfiles-sdk
%{_datadir}/appdata/eclipse-pde.metainfo.xml
%files p2-discovery -f .mfiles-p2-discovery
%files contributor-tools -f .mfiles-contributor-tools
%files tests
%{_bindir}/eclipse-runEclipsePackageTests
%{_bindir}/eclipse-runTestBundles
%{_datadir}/java/eclipse-testing
%files equinox-osgi -f .mfiles-equinox-osgi
%{_libdir}/eclipse/plugins/org.eclipse.osgi_*
%{_libdir}/eclipse/plugins/org.eclipse.osgi.services_*
%{_libdir}/eclipse/plugins/org.eclipse.osgi.util_*
%{_libdir}/eclipse/plugins/org.eclipse.osgi.compatibility.state_*
2012-01-19 20:32:12 +00:00
%changelog
* Thu Sep 15 2016 Dennis Gilmore <dennis@ausil.us> - 1:4.6.1-3
- set the bootstap macro to 0
* Thu Sep 15 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-2
- Perform non-bootstrap build
- Rebuild for new eclipse-ecf
* Wed Sep 14 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.1-1
- Update to Neon.1 release.
- Set qualifiers at source-modification-time instead of build-time, to
eliminate descrepancies between architectures, rhbz#1374938
- Set bootstrap flag for new primary architecture.
2016-09-02 10:12:38 +00:00
* Fri Sep 2 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.6.0-7
- Rebuild for latest jsch.
* Thu Aug 18 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-6
- Disable droplets being loaded by the reconciler.
- Fix possible NPE in droplet p2.runnable property check.
* Fri Aug 05 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-5
- Improve 'p2.runnable' check in ExtensionLocationArtifactRepository.
* Wed Aug 03 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-4
- Add missing droplets logic to the EngineActivator.
- Restore 'p2.runnable' property for droplets.
* Wed Jul 13 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.6.0-3
- Update eclipse-pde-tp-support-droplets.patch to handle source bundles.
- Change PopupDialog from SWT.COLOR_INFO* to SWT.COLOR_LIST*.
2016-06-16 04:19:09 +00:00
* Thu Jun 16 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.6.0-2
- BR rhino and it's buildtime deps to unbreak build.
2016-06-16 04:19:09 +00:00
2016-06-15 14:48:56 +00:00
* Tue Jun 14 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-1
- Update to Neon release
2016-05-11 15:35:04 +00:00
* Tue May 10 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.6.git201605092000
- Update to latest I-build (M7)
* Fri Apr 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.5.git201604261105
- Use webkit 2 by default, webkit 1 can still be used by setting SWT_WEBKIT2=0
in the environment, rhbz#1303912
- Ignore SWT.MOZILLA style when creating a browser widget and always use webkit
because we cannot ship xulrunner support, rhbz#1210898
- Drop unneeded requires from tests package
- Add missing R on eclipse-filesystem to low-level sub-packages
* Tue Apr 26 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.4.git201604261105
- Drop support for PDE building plug-ins in RPMs
- Update to latest Neon I-build
- Drop unnecessary SCL macros
2016-04-22 15:43:14 +00:00
* Fri Apr 22 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.3.git201604190800
- Perform non-bootstrap build
* Fri Apr 22 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.2.git201604190800
- PDE package cannot be noarch due to containing arch-specific source bundles
* Tue Apr 19 2016 Mat Booth <mat.booth@redhat.com> - 1:4.6.0-0.1.git201604190800
- Update to Neon I-build (bootstrap build)
- Drop upstreamed patches
- Install all plugins with xmvn
- JDT and PDE are now able to be noarch packages
2016-04-16 07:09:15 +00:00
* Sat Apr 16 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-10
- Rebuild for new ECF
* Thu Apr 07 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.2-9
- Support reading BundleInfo from p2 Droplets enabled installations.
* Tue Mar 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-8
- Backport patch for ebz#486069, NPE in SWT when running on Wayland
- Eliminate more test failures due to missing resources
* Fri Mar 25 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-7
- Update e-b snapshot for updated ant dependency
* Thu Mar 24 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-6
- Fix failure to run tests and backport patch for ebz#489953 in order to fix
some unit tests
* Wed Mar 16 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-5
- Rebuild for ECF and disable the build of some bundles that are not shipped
* Fri Mar 04 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-4
- Backport patch for ebz#488226 for incorrect content assist colors,
fixes rhbz#1253651 and rhbz#1196736
- Fix broken link to mockito in tests
2016-03-02 11:14:22 +00:00
* Wed Mar 02 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-3
- Fix mis-named Java 1.9 profile
2016-02-29 23:21:58 +00:00
* Mon Feb 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-2
- Fix Lucene patch on F22
* Mon Feb 29 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.2-1
- Update to Mars.2 release
- Update eclipse-build snapshot
2016-02-29 13:09:57 +00:00
* Mon Feb 29 2016 Michael Simacek <msimacek@redhat.com> - 1:4.5.1-17
- Rebuild for lucene-5.5.0
* Mon Feb 29 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.1-16
- Rebuild for httpcomponents-client 4.5.2
* Thu Feb 25 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-15
- Make BRs portable (thanks to Nicolas Lécureuil)
* Wed Feb 24 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-14
- Gracefully handle broken symbolic links on initialization.
* Wed Feb 17 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-13
- Preserve more test data that we cannot generate from source
- Eliminate unnecessary manual requires from swt package
* Wed Feb 17 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-12
- Make test framework correctly delete symlinks so that test suites may complete
when e.g. pydev is installed rhbz#1290685
- Backport patch to fix a webkit crash ebz#487712
2016-02-09 11:14:08 +00:00
* Mon Feb 08 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-11
- Fix java declaration view rhbz#1305107
* Wed Feb 03 2016 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-10
- Fix symlinks for new lucene
- Use %%global instead of %%define and other macro improvements
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.5.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-21 16:07:40 +00:00
* Thu Jan 21 2016 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.1-8
- Rebuild for Lucene 5.4.0.
* Mon Jan 04 2016 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-7
- [GTK3.16+] gtk_widget_override_background_color is deprecated.
- [GTK3] Eclipse IDE consumes CPU when idle
- [GTK] Empty repositories view links have white backgrounds
- Resolves: rhbz#1294697, rhbz#1269892
- ebz#483096, ebz#484696, ebz#484729
* Sat Dec 05 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-6
- Fix issues with background colour in some dialogs
- ebz#478962, ebz#479998
- Rebuild for new eclipse-ecf
- Preserve jars containing runtime stubs used in tests
* Fri Nov 27 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-5
- Fix some visual glitches when on recent versions of GTK
- ebz#466314, ebz#481122, ebz#466500
* Tue Nov 03 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.1-4
- Fix "Workspace chooser won't launch" on Wayland.
- Resolves: rhbz#1277594
* Mon Nov 2 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.1-3
- Rebuild for new eclipse-ecf
* Tue Oct 13 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-2
- Add patch for editor scrolling problem, rhbz#1198217
* Wed Sep 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-1
- Update to Mars.1
- Fix JDT javafx and annotation processor tests
* Wed Sep 16 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-19
- Rebuild for new eclipse-ecf
* Wed Sep 9 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-18
- Rebuild for new eclipse-ecf
2015-09-07 07:12:15 +00:00
* Mon Sep 07 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-17
- Rebuild for httpcomponents-core-4.4.2
* Tue Sep 01 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-16
- Modify copy-platform script to support p2 Droplets.
2015-08-27 13:49:12 +00:00
* Thu Aug 27 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-15
- Add support for p2 Droplets.
2015-08-26 10:26:27 +00:00
* Wed Aug 26 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-14
- Rebuild for new ECF
* Thu Aug 20 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-13
- Add patch for rhbz#1255150
- Always use UTC timestamps to prevent rpmdiff failures
- Move eclipse provides away from PDE rhbz#1253898
2015-08-11 12:20:41 +00:00
* Tue Aug 11 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-12
- Rebuild for new ECF
* Thu Aug 6 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-11
- Update to newer e-b snapshot fixing appdata validation.
2015-07-30 10:19:32 +00:00
* Thu Jul 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-10
- Preserve JDT core test data
* Wed Jul 22 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-9
- Fix JDT Feature path for TargetDefinitionPersistenceTests (PDE)
- SimpleConfiguratorUtils should handle base == null for tests
- Locate the compressed platform archive for p2 AbstractReconcilerTest
* Mon Jul 20 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-8
- Disable tests for Eclipse 2.x style plug-in support that we don't ship
* Fri Jul 17 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-7
- Less PermSize settings - simply ignored in Java 8.
* Thu Jul 16 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-6
- Eclipse.ini has no place in swt subpackage.
* Wed Jul 15 2015 Sopot Cela <scela@redhat.com> 1:4.5.0-5
- Replaced javax.annotation provider from geronimo to glassfish
2015-07-07 08:32:05 +00:00
* Tue Jul 7 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-4
- Add Maven metadata for SWT
* Thu Jul 02 2015 Sopot Cela <scela@redhat.com> 1:4.5.0-3
- Patch dark theme patch to work on rawhide
* Wed Jul 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-2
- Organise BR/Rs and drop ancient provides/obsoletes on rcp package
* Fri Jun 26 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-1
- Update to tagged 4.5 release.
- Switch to new e-b snapshot that properly symlinks all new deps.
2015-06-25 07:19:28 +00:00
* Thu Jun 25 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.33.git201506012000
- Rebuild to include all deps of Lucene.
2015-06-23 21:06:40 +00:00
* Wed Jun 24 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.32.git201506012000
- Non-boostrap build.
* Tue Jun 23 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.31.git201506012000
- Rebuild against Lucene 5.x in bootstrap mode.
2015-06-19 16:16:49 +00:00
* Fri Jun 19 2015 Roland Grunberg <rgrunber@redhat.com> - 1:4.5.0-0.30.git201506012000
- Fix Eclipse test framework.
* Fri Jun 19 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.29.git201506012000
- Rebuild after the F23 mass rebuild to get metadata correct.
2015-06-15 13:29:20 +00:00
* Mon Jun 15 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.28.git201506012000
- Non-bootstrap build
* Thu Jun 11 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.27.git201506012000
- Include p2 directives for non-upstream arches
* Wed Jun 10 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.26.git201506012000
- Add patch for stricter feature packaging.
- Avoid incorrect servlet-api when building on F22
- Add recommends on e4-importer
- Bootstrap build to get the ball rolling again.
2015-06-04 14:56:53 +00:00
* Thu Jun 04 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-0.25.git201506012000
- Rebuild after ecf rebuild
* Tue Jun 02 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.24.git201506012000
- Fix pattern matching for x86/x86_64 arches
* Tue Jun 02 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.23.git201506012000
- Update to latest I-build
- Don't build contributor tools with external deps during bootstrap builds
- Build only for the current architecture
- Rebuild for EMF update
2015-05-31 05:13:48 +00:00
* Sun May 31 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.22.git201505272010
- Rebuild after emf change.
* Fri May 29 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.21.git201505272010
- Fix building without tomcat-servlet again.
* Fri May 29 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.20.git201505272010
- BR gcc not gcc-c++ as there is no cpp sources built.
* Thu May 28 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.19.git201505272010
- Update to latest I-build
- Require latest egit for the releng tools.
* Tue May 19 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5.0-0.18.git201505172000
- Update to latest I-build.
- Drop unneeded env variable export.
* Wed May 13 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.17.git201505122100
- Rebuild for ECF 3.10.0
- Update to latest I-build
* Tue May 05 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.16.git201505042000
- Update to latest I-build to fix bundle dep cycle in PDE builds
- Add test framework to contributor tools subpackage
- Update eclipse-build snapshot to symlink and require xz-java
* Wed Apr 29 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.15.git201504280100
- Contibutor-tools subpackage should be archful due to native methods
* Wed Apr 22 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.14.git201504280100
- Rebuilt to eliminate optional dependencies of jxpath
- Update to latest I-build
* Wed Apr 08 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.13.git201504081100
- Update to latest I-build
- Update eclipse-build snapshot
- Simplify installation of PDE build scripts
- Drop upstreamed hamcrest patch
2015-04-01 14:44:23 +00:00
* Wed Apr 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.12.git201503310800
- Organise patches
* Wed Apr 01 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.11.git201503310800
- Begin using mvn_install for installing dropins
- This allows us to make sub-packages noarch
* Tue Mar 31 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.10.git201503310800
- Update for latest I-build
- New sub-package for contributor-tools
- Unbundle osgi.annotations compile time dep
- Rebuild for new eclipse-ecf/httpcomponents
- Revert "Use better AppData screenshots" this is fixed upstream
- Update eclipse-build snapshot
* Tue Mar 31 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-0.9.git201503172000
- Rebuild for eclipse-ecf update
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 1:4.5.0-0.8.git201503172000
- Use better AppData screenshots
2015-03-25 00:11:11 +00:00
* Wed Mar 25 2015 Michael Simacek <msimacek@redhat.com> - 1:4.5.0-0.7.git201503172000
- Rebuild for jetty update
* Thu Mar 19 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:4.5.0-0.6.git201503172000
- Rebuild for eclipse-ecf update
2015-03-18 12:23:52 +00:00
* Tue Mar 17 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.5.git201503172000
- Update to latest I-build
* Wed Mar 04 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.4.git201503030800
- Update to latest I-build
- JDT requires only hamcrest-core
- Rebuild for SR2 release of EMF
* Wed Feb 25 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.3.git201502240800
- Update to latest I-build
- Require jetty 9.2.9
- Fix arm-build
* Wed Feb 18 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.2.git201502170800
- Update to latest I-build
- Unbundle third party libs from tests subpackage rhbz#1150185
- Rebuild for new eclipse-ecf/httpcomponents
* Fri Jan 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.0-0.1.git201502100800
- Update to latest 4.5.0 I-build
- Drop upstreamed jetty9/servlet and workspace picker patches
- Drop upstreamed patches for bug 903537 and bug 444143
- Update eclipse-build snapshot for ant dependency
- Ship missing features used by some other projects' target platform
- Build with mvn_build macro
- Some spec file clean-up