| 1 |
# TODO:
|
| 2 |
# - see why about.html isn't being copied on ppc
|
| 3 |
# - fix ant libs
|
| 4 |
Epoch: 1
|
| 5 |
|
| 6 |
%global eclipse_major 3
|
| 7 |
%global eclipse_minor 5
|
| 8 |
%global eclipse_majmin %{eclipse_major}.%{eclipse_minor}
|
| 9 |
%global eclipse_micro 1
|
| 10 |
%global initialize 1
|
| 11 |
%global download_url http://download.eclipse.org/technology/linuxtools/eclipse-build/
|
| 12 |
%global bootstrap 0
|
| 13 |
|
| 14 |
# All arches line up between Eclipse and Linux kernel names except i386 -> x86
|
| 15 |
%ifarch %{ix86}
|
| 16 |
%define eclipse_arch x86
|
| 17 |
%else
|
| 18 |
%define eclipse_arch %{_arch}
|
| 19 |
%endif
|
| 20 |
|
| 21 |
# FIXME: update java packaging guidelines for this. See
|
| 22 |
# fedora-devel-java-list discussion in September 2008.
|
| 23 |
#
|
| 24 |
# Prevent brp-java-repack-jars from being run.
|
| 25 |
%define __jar_repack 0
|
| 26 |
|
| 27 |
Summary: An open, extensible IDE
|
| 28 |
Name: eclipse
|
| 29 |
Version: %{eclipse_majmin}.%{eclipse_micro}
|
| 30 |
Release: 13%{?dist}
|
| 31 |
License: EPL
|
| 32 |
Group: Text Editors/Integrated Development Environments (IDE)
|
| 33 |
URL: http://www.eclipse.org/
|
| 34 |
Source0: %{download_url}eclipse-build-0.4.0RC0.tar.gz
|
| 35 |
Source1: %{download_url}eclipse-R3_5_1-fetched-src.tar.bz2
|
| 36 |
Source2: eclipse.sh.in
|
| 37 |
Source17: efj.sh.in
|
| 38 |
# This file contains the types of files we'd like to extract from the jars
|
| 39 |
# when using the FileInitializer
|
| 40 |
Source19: %{name}-filenamepatterns.txt
|
| 41 |
# This script copies the platform sub-set of the SDK for generating metadata
|
| 42 |
Source28: %{name}-mv-Platform.sh
|
| 43 |
|
| 44 |
# Make sure the shipped target platform templates are looking in the
|
| 45 |
# correct location for source bundles (see RHBZ # 521969). This does not
|
| 46 |
# need to go upstream.
|
| 47 |
Patch0: %{name}-target-platform-template.patch
|
| 48 |
|
| 49 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 50 |
BuildRequires: ant
|
| 51 |
BuildRequires: jpackage-utils >= 0:1.5, make, gcc
|
| 52 |
BuildRequires: gnome-vfs2-devel
|
| 53 |
BuildRequires: gtk2-devel
|
| 54 |
BuildRequires: glib2-devel
|
| 55 |
BuildRequires: libgnome-devel
|
| 56 |
BuildRequires: libgnomeui-devel
|
| 57 |
BuildRequires: gcc-c++
|
| 58 |
BuildRequires: gecko-devel >= 1.9
|
| 59 |
BuildRequires: nspr-devel
|
| 60 |
BuildRequires: libXtst-devel
|
| 61 |
BuildRequires: mesa-libGL-devel
|
| 62 |
BuildRequires: mesa-libGLU-devel
|
| 63 |
BuildRequires: cairo >= 1.0
|
| 64 |
BuildRequires: unzip
|
| 65 |
BuildRequires: desktop-file-utils
|
| 66 |
BuildRequires: java-devel >= 1.6.0
|
| 67 |
BuildRequires: java-javadoc
|
| 68 |
BuildRequires: libXt-devel
|
| 69 |
BuildRequires: xulrunner-devel-unstable
|
| 70 |
|
| 71 |
%if !%{bootstrap}
|
| 72 |
BuildRequires: icu4j-eclipse >= 1:4.0.1-3
|
| 73 |
BuildRequires: tomcat5-jasper-eclipse >= 5.5.27-6.3
|
| 74 |
BuildRequires: tomcat6-servlet-2.5-api >= 6.0.18-9.2
|
| 75 |
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
|
| 76 |
BuildRequires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
|
| 77 |
BuildRequires: jsch >= 0:0.1.41
|
| 78 |
BuildRequires: jakarta-commons-el >= 1.0-9
|
| 79 |
BuildRequires: jakarta-commons-logging >= 1.0.4-6jpp.3
|
| 80 |
BuildRequires: jakarta-commons-codec
|
| 81 |
BuildRequires: jakarta-commons-httpclient
|
| 82 |
BuildRequires: jetty >= 6.1.21-2
|
| 83 |
BuildRequires: lucene >= 2.3.1-3.4
|
| 84 |
BuildRequires: lucene-contrib >= 2.3.1-3.4
|
| 85 |
BuildRequires: junit >= 3.8.1-3jpp
|
| 86 |
BuildRequires: junit4
|
| 87 |
BuildRequires: hamcrest >= 0:1.1-9.2
|
| 88 |
BuildRequires: sat4j >= 2.1.0-1
|
| 89 |
BuildRequires: objectweb-asm
|
| 90 |
%endif
|
| 91 |
|
| 92 |
%description
|
| 93 |
The Eclipse platform is designed for building integrated development
|
| 94 |
environments (IDEs), server-side applications, desktop applications, and
|
| 95 |
everything in between.
|
| 96 |
|
| 97 |
%package swt
|
| 98 |
Summary: SWT Library for GTK+-2.0
|
| 99 |
Group: Text Editors/Integrated Development Environments (IDE)
|
| 100 |
# %{_libdir}/java directory owned by jpackage-utils
|
| 101 |
Requires: jpackage-utils
|
| 102 |
Requires: gtk2
|
| 103 |
Requires: gecko-libs >= 1.9
|
| 104 |
Conflicts: mozilla
|
| 105 |
Provides: libswt3-gtk2 = 1:%{version}-%{release}
|
| 106 |
# The 20 is more than the currently (2008-06-25) latest 3.3.2 package
|
| 107 |
# but I want to leave some room in case we need to do an F9 update.
|
| 108 |
Obsoletes: libswt3-gtk2 < 1:3.3.2-20
|
| 109 |
|
| 110 |
%description swt
|
| 111 |
SWT Library for GTK+-2.0.
|
| 112 |
|
| 113 |
%package rcp
|
| 114 |
Summary: Eclipse Rich Client Platform
|
| 115 |
Group: Development/Languages
|
| 116 |
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
| 117 |
%if ! %{bootstrap}
|
| 118 |
Requires: icu4j-eclipse >= 1:4.0.1-3
|
| 119 |
%endif
|
| 120 |
Requires: java >= 1.6.0
|
| 121 |
|
| 122 |
%description rcp
|
| 123 |
Eclipse Rich Client Platform
|
| 124 |
|
| 125 |
%package platform
|
| 126 |
Summary: Eclipse platform common files
|
| 127 |
Group: Text Editors/Integrated Development Environments (IDE)
|
| 128 |
Requires: %{name}-rcp = %{epoch}:%{version}-%{release}
|
| 129 |
%if ! %{bootstrap}
|
| 130 |
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
|
| 131 |
Requires: ant-javamail ant-jdepend ant-junit ant-nodeps ant-swing ant-trax ant-jsch
|
| 132 |
Requires: jakarta-commons-el >= 1.0-9
|
| 133 |
Requires: jakarta-commons-logging >= 1.0.4-6jpp.3
|
| 134 |
Requires: jakarta-commons-codec
|
| 135 |
Requires: tomcat5-jasper-eclipse >= 5.5.27-6.3
|
| 136 |
Requires: tomcat6-servlet-2.5-api >= 6.0.18-9.2
|
| 137 |
Requires: jetty >= 6.1.21-2
|
| 138 |
Requires: jsch >= 0.1.41
|
| 139 |
Requires: lucene >= 2.3.1-3.4
|
| 140 |
Requires: lucene-contrib >= 2.3.1-3.4
|
| 141 |
Requires: sat4j >= 2.1.0-1
|
| 142 |
%endif
|
| 143 |
Provides: eclipse-cvs-client = 1:%{version}-%{release}
|
| 144 |
Obsoletes: eclipse-cvs-client < 1:3.3.2-20
|
| 145 |
|
| 146 |
%description platform
|
| 147 |
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
| 148 |
Java Development Tools or the Plugin Development Environment.
|
| 149 |
|
| 150 |
%package jdt
|
| 151 |
Summary: Eclipse Java Development Tools
|
| 152 |
Group: Text Editors/Integrated Development Environments (IDE)
|
| 153 |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
| 154 |
Requires: %{name}-cvs-client = %{epoch}:%{version}-%{release}
|
| 155 |
%if ! %{bootstrap}
|
| 156 |
Requires: junit >= 3.8.1-3jpp
|
| 157 |
Requires: junit4
|
| 158 |
Requires: jakarta-commons-httpclient
|
| 159 |
%endif
|
| 160 |
Requires: java-javadoc
|
| 161 |
Requires: java-devel
|
| 162 |
|
| 163 |
%description jdt
|
| 164 |
Eclipse Java Development Tools. This package is required to use Eclipse for
|
| 165 |
developing software written in the Java programming language.
|
| 166 |
|
| 167 |
%package pde
|
| 168 |
Summary: Eclipse Plugin Development Environment
|
| 169 |
Group: Text Editors/Integrated Development Environments (IDE)
|
| 170 |
Provides: eclipse
|
| 171 |
Provides: eclipse-sdk
|
| 172 |
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
| 173 |
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
| 174 |
%if ! %{bootstrap}
|
| 175 |
Requires: objectweb-asm
|
| 176 |
Requires: hamcrest >= 0:1.1-9.2
|
| 177 |
%endif
|
| 178 |
# For PDE Build wrapper script
|
| 179 |
Requires: bash
|
| 180 |
Provides: %{name}-pde-runtime = 1:%{version}-%{release}
|
| 181 |
Obsoletes: %{name}-pde-runtime < 1:3.3.2-20
|
| 182 |
|
| 183 |
%description pde
|
| 184 |
Eclipse Plugin Development Environment. This package is required for
|
| 185 |
developing Eclipse plugins.
|
| 186 |
|
| 187 |
%prep
|
| 188 |
%setup -q -n eclipse-build-0.4.0RC0
|
| 189 |
cp %{SOURCE1} .
|
| 190 |
ant applyPatches
|
| 191 |
pushd build/eclipse-R3_5_1-fetched-src
|
| 192 |
|
| 193 |
# Use our system-installed javadocs, reference only what we built, and
|
| 194 |
# don't like to osgi.org docs (FIXME: maybe we should package them?)
|
| 195 |
sed -i -e "s|http://java.sun.com/j2se/1.4.2/docs/api|%{_datadir}/javadoc/java|" \
|
| 196 |
-e "/osgi\.org/d" \
|
| 197 |
-e "s|-breakiterator|;../org.eclipse.equinox.util/@dot\n;../org.eclipse.ecf.filetransfer_3.0.0.v20090302-0803.jar\n;../org.eclipse.ecf_3.0.0.v20090302-0803.jar\n-breakiterator|" \
|
| 198 |
plugins/org.eclipse.platform.doc.isv/platformOptions.txt
|
| 199 |
sed -i -e "s|http://java.sun.com/j2se/1.5/docs/api|%{_datadir}/javadoc/java|" \
|
| 200 |
-e "s/win32.win32.x86/gtk.linux.%{eclipse_arch}/" \
|
| 201 |
plugins/org.eclipse.jdt.doc.isv/jdtaptOptions.txt \
|
| 202 |
plugins/org.eclipse.jdt.doc.isv/jdtOptions.txt
|
| 203 |
sed -i -e "s|http://java.sun.com/j2se/1.4/docs/api|%{_datadir}/javadoc/java|" \
|
| 204 |
-e "s/motif.linux.x86/gtk.linux.%{eclipse_arch}/" \
|
| 205 |
plugins/org.eclipse.pde.doc.user/pdeOptions.txt \
|
| 206 |
plugins/org.eclipse.pde.doc.user/pdeOptions.txt
|
| 207 |
|
| 208 |
# Remove signatures for JARs
|
| 209 |
find -iname \*.sf | xargs rm
|
| 210 |
find -iname \*.rsa | xargs rm
|
| 211 |
|
| 212 |
# FIXME: do this as part of Linux distros project
|
| 213 |
#
|
| 214 |
# the swt version is set to HEAD on s390x but shouldn't be
|
| 215 |
# get swt version
|
| 216 |
SWT_MAJ_VER=$(grep maj_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
| 217 |
SWT_MIN_VER=$(grep min_ver plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
| 218 |
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
|
| 219 |
swt_frag_ver=$(grep v$SWT_VERSION plugins/org.eclipse.swt.gtk.linux.x86/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
|
| 220 |
swt_frag_ver_s390x=$(grep "version\.suffix\" value=" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
|
| 221 |
sed --in-place "s|$swt_frag_ver_s390x|$swt_frag_ver|g" plugins/org.eclipse.swt.gtk.linux.s390x/build.xml \
|
| 222 |
plugins/org.eclipse.swt.gtk.linux.s390x/META-INF/MANIFEST.MF
|
| 223 |
|
| 224 |
%if ! %{bootstrap}
|
| 225 |
# Symlinks
|
| 226 |
rm plugins/org.sat4j*
|
| 227 |
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090520.jar
|
| 228 |
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090520.jar
|
| 229 |
|
| 230 |
ASMPLUGINVERSION=$(ls plugins | grep org.objectweb.asm_ | \
|
| 231 |
sed 's/org.objectweb.asm_//')
|
| 232 |
rm plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
| 233 |
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
|
| 234 |
plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
| 235 |
|
| 236 |
# BEGIN ANT ##
|
| 237 |
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
|
| 238 |
rm $ANTDIR/lib/*
|
| 239 |
ANTDIR=$ANTDIR/lib
|
| 240 |
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
|
| 241 |
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
|
| 242 |
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
|
| 243 |
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
|
| 244 |
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
|
| 245 |
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
|
| 246 |
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
|
| 247 |
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
|
| 248 |
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
|
| 249 |
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
|
| 250 |
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
|
| 251 |
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
|
| 252 |
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
|
| 253 |
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
|
| 254 |
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
|
| 255 |
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
|
| 256 |
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
|
| 257 |
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
|
| 258 |
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
|
| 259 |
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
|
| 260 |
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
|
| 261 |
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
|
| 262 |
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
|
| 263 |
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
|
| 264 |
# END ANT ##
|
| 265 |
|
| 266 |
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty.server_6 | sed 's/org.mortbay.jetty.server_//')
|
| 267 |
rm plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
|
| 268 |
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
|
| 269 |
|
| 270 |
JETTYUTILVERSION=$(ls plugins | grep org.mortbay.jetty.util_6 | sed 's/org.mortbay.jetty.util_//')
|
| 271 |
rm plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
|
| 272 |
ln -s %{_javadir}/jetty/jetty-util.jar plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
|
| 273 |
|
| 274 |
JUNITVERSION=$(ls plugins | grep org.junit_3 | sed 's/org.junit_//')
|
| 275 |
build-jar-repository -s -p plugins/org.junit_$JUNITVERSION junit
|
| 276 |
|
| 277 |
rm plugins/org.junit4/junit.jar
|
| 278 |
ln -s %{_javadir}/junit4.jar plugins/org.junit4/junit.jar
|
| 279 |
|
| 280 |
# link to the jsch jar
|
| 281 |
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | \
|
| 282 |
sed 's/com.jcraft.jsch_//')
|
| 283 |
rm plugins/com.jcraft.jsch_*.jar
|
| 284 |
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
|
| 285 |
|
| 286 |
# link to the icu4j stuff
|
| 287 |
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
|
| 288 |
rm plugins/com.ibm.icu_*.jar
|
| 289 |
ln -s %{_libdir}/eclipse/plugins/com.ibm.icu_*.jar plugins/com.ibm.icu_$ICUVERSION
|
| 290 |
|
| 291 |
# link to lucene
|
| 292 |
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
|
| 293 |
sed 's/org.apache.lucene_//')
|
| 294 |
rm plugins/org.apache.lucene_*
|
| 295 |
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
|
| 296 |
rm plugins/org.apache.lucene.analysis_*
|
| 297 |
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
|
| 298 |
plugins/org.apache.lucene.analysis_$LUCENEVERSION
|
| 299 |
|
| 300 |
# link to commons-logging
|
| 301 |
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
|
| 302 |
sed 's/org.apache.commons.logging_//')
|
| 303 |
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
| 304 |
ln -s %{_javadir}/commons-logging.jar \
|
| 305 |
plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
| 306 |
|
| 307 |
# link to commons-el
|
| 308 |
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
|
| 309 |
sed 's/org.apache.commons.el_//')
|
| 310 |
rm plugins/org.apache.commons.el_$COMMONSELVERSION
|
| 311 |
ln -s %{_javadir}/commons-el.jar \
|
| 312 |
plugins/org.apache.commons.el_$COMMONSELVERSION
|
| 313 |
|
| 314 |
# link to commons-codec
|
| 315 |
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
|
| 316 |
sed 's/org.apache.commons.codec_//')
|
| 317 |
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
| 318 |
ln -s %{_javadir}/commons-codec.jar \
|
| 319 |
plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
| 320 |
|
| 321 |
# link to commons-httpclient
|
| 322 |
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
|
| 323 |
sed 's/org.apache.commons.httpclient_//')
|
| 324 |
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
| 325 |
ln -s %{_javadir}/commons-httpclient.jar \
|
| 326 |
plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
| 327 |
|
| 328 |
# link to hamcrest-core
|
| 329 |
HAMCRESTCOREVERSION=$(ls plugins | grep org.hamcrest.core_ | \
|
| 330 |
sed 's/org.hamcrest.core_//')
|
| 331 |
rm plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
|
| 332 |
ln -s %{_javadir}/hamcrest/core.jar \
|
| 333 |
plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
|
| 334 |
|
| 335 |
# link to jasper
|
| 336 |
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
|
| 337 |
sed 's/org.apache.jasper_//')
|
| 338 |
rm plugins/org.apache.jasper_*.jar
|
| 339 |
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
|
| 340 |
plugins/org.apache.jasper_$JASPERVERSION
|
| 341 |
|
| 342 |
# link to servlet-api
|
| 343 |
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_2.4 | \
|
| 344 |
sed 's/javax.servlet_2.4//')
|
| 345 |
rm plugins/javax.servlet_2.4*
|
| 346 |
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
|
| 347 |
plugins/javax.servlet_2.4$SERVLETAPIVERSION
|
| 348 |
|
| 349 |
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_2.5 | \
|
| 350 |
sed 's/javax.servlet_2.5//')
|
| 351 |
rm plugins/javax.servlet_2.5*
|
| 352 |
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
|
| 353 |
plugins/javax.servlet_2.5$SERVLETAPIVERSION
|
| 354 |
|
| 355 |
#
|
| 356 |
# link to jsp-api
|
| 357 |
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
|
| 358 |
sed 's/javax.servlet.jsp_//')
|
| 359 |
rm plugins/javax.servlet.jsp_*
|
| 360 |
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
|
| 361 |
plugins/javax.servlet.jsp_$JSPAPIVERSION
|
| 362 |
|
| 363 |
# delete included jars
|
| 364 |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=170662
|
| 365 |
rm plugins/org.eclipse.swt/extra_jars/exceptions.jar \
|
| 366 |
plugins/org.eclipse.osgi/osgi/osgi.cmpn.jar \
|
| 367 |
plugins/org.eclipse.osgi/osgi/osgi.core.jar
|
| 368 |
|
| 369 |
# make sure there are no jars left
|
| 370 |
JARS=""
|
| 371 |
for j in $(find -name \*.jar); do
|
| 372 |
if [ ! -L $j ]; then
|
| 373 |
JARS="$JARS `echo $j`"
|
| 374 |
fi
|
| 375 |
done
|
| 376 |
if [ ! -z "$JARS" ]; then
|
| 377 |
echo "These jars should be deleted and symlinked to system jars: $JARS"
|
| 378 |
#FIXME: enable exit 1
|
| 379 |
fi
|
| 380 |
%endif
|
| 381 |
|
| 382 |
# target platform template patch
|
| 383 |
%patch0 -p0
|
| 384 |
popd
|
| 385 |
|
| 386 |
%build
|
| 387 |
export JAVA_HOME=%{java_home}
|
| 388 |
./build.sh
|
| 389 |
|
| 390 |
%install
|
| 391 |
rm -rf $RPM_BUILD_ROOT
|
| 392 |
# Get swt version
|
| 393 |
SWT_MAJ_VER=$(grep maj_ver build/eclipse-R3_5_1-fetched-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
| 394 |
SWT_MIN_VER=$(grep min_ver build/eclipse-R3_5_1-fetched-src/plugins/org.eclipse.swt/Eclipse\ SWT/common/library/make_common.mak | cut -f 2 -d =)
|
| 395 |
SWT_VERSION=$SWT_MAJ_VER$SWT_MIN_VER
|
| 396 |
|
| 397 |
ant -DdestDir=$RPM_BUILD_ROOT -Dprefix=/usr -DbuildArch=%{eclipse_arch} -Dmultilib=true install
|
| 398 |
|
| 399 |
# Set GDK_NATIVE_WINDOWS=true
|
| 400 |
# https://bugzilla.redhat.com/531675 (https://bugs.eclipse.org/290395)
|
| 401 |
rm $RPM_BUILD_ROOT/%{_bindir}/%{name}
|
| 402 |
install -p -D -m0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
| 403 |
sed --in-place "s:/usr/lib:%{_libdir}:" \
|
| 404 |
$RPM_BUILD_ROOT%{_bindir}/%{name}
|
| 405 |
|
| 406 |
cp $RPM_BUILD_ROOT%{_libdir}/eclipse/eclipse.ini eclipse.ini-real
|
| 407 |
# Some directories we need
|
| 408 |
sdkDir=$RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 409 |
# FIXME: We can probably get rid of the links directory (for the
|
| 410 |
# datadir.link file) when we ensure all plugins are installing into
|
| 411 |
# dropins (either in libdir or datadir).
|
| 412 |
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/java
|
| 413 |
|
| 414 |
# FIXME: Please don't install stuff to these directories. They're only
|
| 415 |
# still here for legacy plugins (which probably won't function in 3.4).
|
| 416 |
# We'll remove these later.
|
| 417 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/features
|
| 418 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
|
| 419 |
|
| 420 |
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/p2
|
| 421 |
|
| 422 |
LAUNCHERVERSION=$(ls $sdkDir/plugins | grep equinox.launcher_ | sed 's/org.eclipse.equinox.launcher_//')
|
| 423 |
|
| 424 |
installDir=$sdkDir-Platform
|
| 425 |
metadataDir=$installDir/metadata-Platform
|
| 426 |
provisionDir=$installDir-provisioned
|
| 427 |
profileId=PlatformProfile
|
| 428 |
|
| 429 |
# Copy just the platform
|
| 430 |
mkdir $installDir
|
| 431 |
pushd $installDir
|
| 432 |
sh %{SOURCE28} $sdkDir
|
| 433 |
mv plugins/*.source* $sdkDir/plugins
|
| 434 |
popd
|
| 435 |
|
| 436 |
# Generate metadata for the platform
|
| 437 |
java \
|
| 438 |
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
| 439 |
org.eclipse.core.launcher.Main \
|
| 440 |
-application \
|
| 441 |
org.eclipse.equinox.p2.metadata.generator.EclipseGenerator \
|
| 442 |
-metadataRepository file:$metadataDir \
|
| 443 |
-artifactRepository file:$metadataDir \
|
| 444 |
-source $installDir \
|
| 445 |
-root "Eclipse Platform" \
|
| 446 |
-rootVersion %{version} \
|
| 447 |
-flavor tooling \
|
| 448 |
-publishArtifacts \
|
| 449 |
-append \
|
| 450 |
-artifactRepositoryName "Eclipse Platform" \
|
| 451 |
-metadataRepositoryName "Eclipse Platform" \
|
| 452 |
-debug -consolelog
|
| 453 |
|
| 454 |
# JDT
|
| 455 |
jdtDir=$sdkDir-JDT
|
| 456 |
jdtMetadata=$jdtDir/metadata-JDT
|
| 457 |
|
| 458 |
mkdir $jdtDir
|
| 459 |
pushd $jdtDir
|
| 460 |
mkdir features plugins
|
| 461 |
mv $sdkDir/features/org.eclipse.jdt_* features
|
| 462 |
for plugin in org.eclipse.jdt \
|
| 463 |
org.eclipse.ant.ui \
|
| 464 |
org.eclipse.jdt.apt.core \
|
| 465 |
org.eclipse.jdt.apt.ui \
|
| 466 |
org.eclipse.jdt.apt.pluggable.core \
|
| 467 |
org.eclipse.jdt.compiler.apt \
|
| 468 |
org.eclipse.jdt.compiler.tool \
|
| 469 |
org.eclipse.jdt.core \
|
| 470 |
org.eclipse.jdt.core.manipulation \
|
| 471 |
org.eclipse.jdt.debug.ui \
|
| 472 |
org.eclipse.jdt.debug \
|
| 473 |
org.eclipse.jdt.junit \
|
| 474 |
org.eclipse.jdt.junit.runtime \
|
| 475 |
org.eclipse.jdt.junit4.runtime \
|
| 476 |
org.eclipse.jdt.launching \
|
| 477 |
org.eclipse.jdt.ui \
|
| 478 |
org.eclipse.jdt.doc.user \
|
| 479 |
org.junit \
|
| 480 |
org.junit4 ; do
|
| 481 |
mv $sdkDir/plugins/${plugin}_* plugins
|
| 482 |
done
|
| 483 |
popd
|
| 484 |
|
| 485 |
# Debugging? Add -debug and -consolelog
|
| 486 |
# Provision with director
|
| 487 |
java \
|
| 488 |
-Declipse.p2.data.area=file:$provisionDir/p2 \
|
| 489 |
-Declipse.p2.MD5Check=false \
|
| 490 |
-cp $installDir/plugins/org.eclipse.equinox.launcher_$LAUNCHERVERSION \
|
| 491 |
org.eclipse.core.launcher.Main \
|
| 492 |
-application \
|
| 493 |
org.eclipse.equinox.p2.director \
|
| 494 |
-debug -consolelog \
|
| 495 |
-flavor tooling \
|
| 496 |
-installIU "Eclipse Platform" \
|
| 497 |
-p2.os linux \
|
| 498 |
-p2.ws gtk \
|
| 499 |
-p2.arch %{eclipse_arch} \
|
| 500 |
-roaming \
|
| 501 |
-profile $profileId \
|
| 502 |
-profileProperties org.eclipse.update.install.features=true \
|
| 503 |
-metadataRepository file:$metadataDir \
|
| 504 |
-artifactRepository file:$metadataDir \
|
| 505 |
-destination $provisionDir \
|
| 506 |
-bundlepool $provisionDir
|
| 507 |
|
| 508 |
# Stuff in JDT, PDE, SDK
|
| 509 |
for f in about.html about_files \.eclipseproduct epl-v10.html notice.html readme; do
|
| 510 |
if [ -e $installDir/$f ]; then
|
| 511 |
mv $installDir/$f $provisionDir
|
| 512 |
fi
|
| 513 |
done
|
| 514 |
# FIXME: should add artifacts.xml here
|
| 515 |
dropins=$provisionDir/dropins
|
| 516 |
mkdir -p $dropins/jdt $dropins/sdk
|
| 517 |
mv $jdtDir/features $dropins/jdt
|
| 518 |
mv $jdtDir/plugins $dropins/jdt
|
| 519 |
|
| 520 |
mv $sdkDir/features $dropins/sdk
|
| 521 |
mv $sdkDir/plugins $dropins/sdk
|
| 522 |
rm -rf $metadataDir $jdtDir $sdkDir $installDir
|
| 523 |
|
| 524 |
mv $provisionDir $sdkDir
|
| 525 |
|
| 526 |
# Fix paths in p2 data
|
| 527 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
|
| 528 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
|
| 529 |
sed -i "s|file\:$provisionDir/\ -\ bundle\ pool|Eclipse Platform|g" \
|
| 530 |
$sdkDir/artifacts.xml
|
| 531 |
profileDir=$sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry
|
| 532 |
pushd $profileDir
|
| 533 |
sed -i "s|$provisionDir|%{_libdir}/%{name}|g" \
|
| 534 |
PlatformProfile.profile/*
|
| 535 |
sed -i "s|$RPM_BUILD_ROOT||g" PlatformProfile.profile/*
|
| 536 |
sed -i "s|eclipse-Platform|eclipse|g" PlatformProfile.profile/*
|
| 537 |
popd
|
| 538 |
|
| 539 |
sed --in-place "s|SDKProfile|PlatformProfile|" \
|
| 540 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
| 541 |
|
| 542 |
# Add a compatibility symlink to startup.jar
|
| 543 |
pushd $sdkDir
|
| 544 |
LAUNCHERNAME=$(ls plugins | grep equinox.launcher_)
|
| 545 |
ln -s plugins/$LAUNCHERNAME startup.jar
|
| 546 |
popd
|
| 547 |
|
| 548 |
# Remove the unnecessary configuration data
|
| 549 |
rm -r $sdkDir/configuration/org.eclipse.update
|
| 550 |
|
| 551 |
%if %{initialize}
|
| 552 |
#Find better way to fix this
|
| 553 |
sed --in-place "s|org.eclipse.core.runtime,3.5.0.v20090525,plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar,4,false|org.eclipse.core.runtime,3.5.0.v20090525,plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar,4,true|" \
|
| 554 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
| 555 |
sed --in-place "s|org.eclipse.equinox.ds,1.1.0.v20090601,plugins/org.eclipse.equinox.ds_1.1.0.v20090601.jar,4,false|org.eclipse.equinox.ds,1.1.0.v20090601,plugins/org.eclipse.equinox.ds_1.1.0.v20090601.jar,4,true|" \
|
| 556 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
| 557 |
# dump bundles.info and config.ini to check what's wrong with ppc64 build
|
| 558 |
cat $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
| 559 |
cat $RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
| 560 |
# FIXME: investigate why it doesn't work to set this -- configuration data is
|
| 561 |
# always written to /usr/share/eclipse/configuration, even with
|
| 562 |
# -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration
|
| 563 |
# Note (2006-12-05): upon looking at this again, we (bkonrath, overholt) don't
|
| 564 |
# know what we're doing with $libdir_path :) It requires some investigation.
|
| 565 |
#
|
| 566 |
# Extract .so files
|
| 567 |
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=90535
|
| 568 |
pushd $RPM_BUILD_ROOT
|
| 569 |
mv $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins $RPM_BUILD_ROOT/dropins
|
| 570 |
mkdir $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
| 571 |
libdir_path=$(echo %{_libdir}/%{name} | sed -e 's/^\///')
|
| 572 |
java -Dosgi.sharedConfiguration.area=$RPM_BUILD_ROOT$libdir_path/configuration \
|
| 573 |
-cp $libdir_path/startup.jar \
|
| 574 |
org.eclipse.core.launcher.Main \
|
| 575 |
-debug -consolelog \
|
| 576 |
-metadataRepository file:$metadataDir \
|
| 577 |
-artifactRepository file:$metadataDir \
|
| 578 |
-application org.eclipse.equinox.initializer.configInitializer \
|
| 579 |
-fileInitializer %{SOURCE19}
|
| 580 |
popd
|
| 581 |
rm -fr $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
| 582 |
mv $RPM_BUILD_ROOT/dropins $RPM_BUILD_ROOT%{_libdir}/eclipse/dropins
|
| 583 |
|
| 584 |
# Do this again after we've run the file initializer
|
| 585 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.core/cache
|
| 586 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.director/rollback/content.xml
|
| 587 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
|
| 588 |
rm -rf $sdkDir/p2/org.eclipse.equinox.p2.engine/profileRegistry/PlatformProfile.profile/.data/.settings
|
| 589 |
pushd $profileDir
|
| 590 |
sed -i "s|$RPM_BUILD_ROOT||g" *.profile/*
|
| 591 |
popd
|
| 592 |
|
| 593 |
# Remove the unnecessary configuration data
|
| 594 |
rm -r $sdkDir/configuration/org.eclipse.core.runtime
|
| 595 |
rm -r $sdkDir/configuration/org.eclipse.equinox.app
|
| 596 |
rm -rf $sdkDir/configuration/*.log
|
| 597 |
dataDirs=$(find $sdkDir/configuration \
|
| 598 |
-type d -name data)
|
| 599 |
for dataDir in $dataDirs; do
|
| 600 |
rm -rf `dirname $dataDir`
|
| 601 |
done
|
| 602 |
|
| 603 |
pushd $sdkDir
|
| 604 |
# Create file listings for the extracted shared libraries
|
| 605 |
echo -n "" > %{_builddir}/%{buildsubdir}/%{name}-platform.install;
|
| 606 |
for id in `ls configuration/org.eclipse.osgi/bundles`; do
|
| 607 |
if [ "Xconfiguration" = $(echo X`find configuration/org.eclipse.osgi/bundles/$id -name libswt\*.so` | sed "s:/.*::") ]; then
|
| 608 |
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" > %{_builddir}/%{buildsubdir}/%{name}-swt.install;
|
| 609 |
else
|
| 610 |
echo "%{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles/$id" >> %{_builddir}/%{buildsubdir}/%{name}-platform.install;
|
| 611 |
fi
|
| 612 |
done
|
| 613 |
popd
|
| 614 |
|
| 615 |
# Install symlinks to the SWT JNI shared libraries in %%{_libdir}/eclipse
|
| 616 |
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 617 |
for lib in $(find configuration -name libswt\*.so); do
|
| 618 |
ln -s $lib `basename $lib`
|
| 619 |
done
|
| 620 |
popd
|
| 621 |
|
| 622 |
# Ensure the shared libraries have the correct permissions
|
| 623 |
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 624 |
for lib in `find configuration -name \*.so`; do
|
| 625 |
chmod 755 $lib
|
| 626 |
done
|
| 627 |
popd
|
| 628 |
%endif
|
| 629 |
|
| 630 |
cp -p eclipse.ini-real \
|
| 631 |
$sdkDir/eclipse.ini
|
| 632 |
|
| 633 |
sed -i "s|$RPM_BUILD_ROOT||g" $sdkDir/eclipse.ini
|
| 634 |
|
| 635 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/links
|
| 636 |
# FIXME: We can probably get rid of the links file when we ensure all
|
| 637 |
# plugins are installing into dropins (either in libdir or datadir).
|
| 638 |
# Set up an extension location and a link file for the arch-independent dir
|
| 639 |
echo "path:%{_datadir}" > \
|
| 640 |
$sdkDir/links/datadir.link
|
| 641 |
|
| 642 |
# Ensure the launcher binary has the correct permissions
|
| 643 |
chmod 755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/%{name}
|
| 644 |
|
| 645 |
# Install the SWT jar symlinks in libdir
|
| 646 |
SWTJARVERSION=$(grep v$SWT_VERSION build/eclipse-R3_5_1-fetched-src/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}/build.xml | sed "s:.*<.*\"\(.*\)\" />:\1:")
|
| 647 |
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 648 |
ln -s plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_$SWTJARVERSION.jar swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar
|
| 649 |
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt-gtk-%{eclipse_majmin}.jar
|
| 650 |
ln -s swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar swt.jar
|
| 651 |
ln -s ../%{name}/swt-gtk-%{eclipse_majmin}.%{eclipse_micro}.jar ../java/swt.jar
|
| 652 |
popd
|
| 653 |
|
| 654 |
# Install the efj wrapper script
|
| 655 |
install -p -D -m0755 %{SOURCE17} $RPM_BUILD_ROOT%{_bindir}/efj
|
| 656 |
sed --in-place "s:startup.jar:%{_libdir}/%{name}/startup.jar:" \
|
| 657 |
$RPM_BUILD_ROOT%{_bindir}/efj
|
| 658 |
|
| 659 |
rm -rf $installDir
|
| 660 |
|
| 661 |
# A sanity check.
|
| 662 |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
| 663 |
|
| 664 |
# Create a script that can be used to make a symlink tree of the
|
| 665 |
# eclipse platform.
|
| 666 |
cp -p pdebuild/eclipse-copy-platform.sh copy-platform
|
| 667 |
(
|
| 668 |
cd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 669 |
ls -d * | egrep -v '^(plugins|features|about_files|dropins)$'
|
| 670 |
ls -d plugins/* features/*
|
| 671 |
) |
|
| 672 |
sed -e's,^\(.*\),[ ! -e \1 ] \&\& ln -s $eclipse/\1 \1,' >> copy-platform
|
| 673 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
|
| 674 |
mv copy-platform $RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts
|
| 675 |
copyPlatform=$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/copy-platform
|
| 676 |
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 677 |
for p in $(ls -d dropins/jdt/plugins/*); do
|
| 678 |
plugin=$(basename $p)
|
| 679 |
echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
|
| 680 |
done
|
| 681 |
for p in $(ls -d dropins/sdk/plugins/*); do
|
| 682 |
plugin=$(basename $p)
|
| 683 |
echo $p | sed -e"s,^\(.*\),[ ! -e plugins/$plugin ] \&\& ln -s \$eclipse/\1 plugins/$plugin," >> $copyPlatform
|
| 684 |
done
|
| 685 |
popd
|
| 686 |
|
| 687 |
sed --in-place "s|$RPM_BUILD_ROOT%{_libdir}/eclipse-Platform/p2/|%{_libdir}/eclipse/p2/|" \
|
| 688 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
| 689 |
sed --in-place "s|file\\\:%{_libdir}/eclipse/p2/|@config.dir/../p2/|" \
|
| 690 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/configuration/config.ini
|
| 691 |
|
| 692 |
# Install the PDE Build wrapper script.
|
| 693 |
install -p -D -m0755 pdebuild/eclipse-pdebuild.sh \
|
| 694 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
|
| 695 |
PDEBUILDVERSION=$(ls $RPM_BUILD_ROOT%{_libdir}/%{name}/dropins/sdk/plugins \
|
| 696 |
| grep org.eclipse.pde.build_ | \
|
| 697 |
sed 's/org.eclipse.pde.build_//')
|
| 698 |
sed -i "s/@PDEBUILDVERSION@/$PDEBUILDVERSION/g" \
|
| 699 |
$RPM_BUILD_ROOT%{_libdir}/%{name}/buildscripts/pdebuild
|
| 700 |
|
| 701 |
%if ! %{bootstrap}
|
| 702 |
pushd $RPM_BUILD_ROOT%{_libdir}/%{name}
|
| 703 |
rm plugins/org.sat4j*
|
| 704 |
ln -s %{_javadir}/org.sat4j.core* plugins/org.sat4j.core_2.1.0.v20090520.jar
|
| 705 |
ln -s %{_javadir}/org.sat4j.pb* plugins/org.sat4j.pb_2.1.0.v20090520.jar
|
| 706 |
|
| 707 |
ASMPLUGINVERSION=$(ls dropins/sdk/plugins | grep org.objectweb.asm_ | \
|
| 708 |
sed 's/org.objectweb.asm_//')
|
| 709 |
rm dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
| 710 |
ln -s %{_javadir}/objectweb-asm/asm-all.jar \
|
| 711 |
dropins/sdk/plugins/org.objectweb.asm_$ASMPLUGINVERSION
|
| 712 |
|
| 713 |
# link to hamcrest-core
|
| 714 |
HAMCRESTCOREVERSION=$(ls dropins/sdk/plugins | grep org.hamcrest.core_ | \
|
| 715 |
sed 's/org.hamcrest.core_//')
|
| 716 |
rm dropins/sdk/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
|
| 717 |
ln -s %{_javadir}/hamcrest/core.jar \
|
| 718 |
dropins/sdk/plugins/org.hamcrest.core_$HAMCRESTCOREVERSION
|
| 719 |
|
| 720 |
## BEGIN ANT ##
|
| 721 |
ANTDIR=plugins/$(ls plugins | grep org.apache.ant_)
|
| 722 |
rm $ANTDIR/lib/*
|
| 723 |
ANTDIR=$ANTDIR/lib
|
| 724 |
ln -s %{_javadir}/ant/ant-antlr.jar $ANTDIR/ant-antlr.jar
|
| 725 |
ln -s %{_javadir}/ant/ant-apache-bcel.jar $ANTDIR/ant-apache-bcel.jar
|
| 726 |
ln -s %{_javadir}/ant/ant-apache-bsf.jar $ANTDIR/ant-apache-bsf.jar
|
| 727 |
ln -s %{_javadir}/ant/ant-apache-log4j.jar $ANTDIR/ant-apache-log4j.jar
|
| 728 |
ln -s %{_javadir}/ant/ant-apache-oro.jar $ANTDIR/ant-apache-oro.jar
|
| 729 |
ln -s %{_javadir}/ant/ant-apache-regexp.jar $ANTDIR/ant-apache-regexp.jar
|
| 730 |
ln -s %{_javadir}/ant/ant-apache-resolver.jar $ANTDIR/ant-apache-resolver.jar
|
| 731 |
ln -s %{_javadir}/ant/ant-commons-logging.jar $ANTDIR/ant-commons-logging.jar
|
| 732 |
ln -s %{_javadir}/ant/ant-commons-net.jar $ANTDIR/ant-commons-net.jar
|
| 733 |
#ln -s %{_javadir}/ant/ant-jai.jar $ANTDIR/ant-jai.jar
|
| 734 |
ln -s %{_javadir}/ant.jar $ANTDIR/ant.jar
|
| 735 |
ln -s %{_javadir}/ant/ant-javamail.jar $ANTDIR/ant-javamail.jar
|
| 736 |
ln -s %{_javadir}/ant/ant-jdepend.jar $ANTDIR/ant-jdepend.jar
|
| 737 |
#ln -s %{_javadir}/ant/ant-jmf.jar $ANTDIR/ant-jmf.jar
|
| 738 |
ln -s %{_javadir}/ant/ant-jsch.jar $ANTDIR/ant-jsch.jar
|
| 739 |
ln -s %{_javadir}/ant/ant-junit.jar $ANTDIR/ant-junit.jar
|
| 740 |
ln -s %{_javadir}/ant-launcher.jar $ANTDIR/ant-launcher.jar
|
| 741 |
#ln -s %{_javadir}/ant/ant-netrexx.jar $ANTDIR/ant-netrexx.jar
|
| 742 |
ln -s %{_javadir}/ant/ant-nodeps.jar $ANTDIR/ant-nodeps.jar
|
| 743 |
#ln -s %{_javadir}/ant/ant-starteam.jar $ANTDIR/ant-starteam.jar
|
| 744 |
#ln -s %{_javadir}/ant/ant-stylebook.jar $ANTDIR/ant-stylebook.jar
|
| 745 |
ln -s %{_javadir}/ant/ant-swing.jar $ANTDIR/ant-swing.jar
|
| 746 |
ln -s %{_javadir}/ant/ant-trax.jar $ANTDIR/ant-trax.jar
|
| 747 |
#ln -s %{_javadir}/ant/ant-weblogic.jar $ANTDIR/ant-weblogic.jar
|
| 748 |
## END ANT ##
|
| 749 |
|
| 750 |
JETTYPLUGINVERSION=$(ls plugins | grep org.mortbay.jetty.server_6 | sed 's/org.mortbay.jetty.server_//')
|
| 751 |
rm plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
|
| 752 |
ln -s %{_javadir}/jetty/jetty.jar plugins/org.mortbay.jetty.server_$JETTYPLUGINVERSION
|
| 753 |
|
| 754 |
JETTYUTILVERSION=$(ls plugins | grep org.mortbay.jetty.util_6 | sed 's/org.mortbay.jetty.util_//')
|
| 755 |
rm plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
|
| 756 |
ln -s %{_javadir}/jetty/jetty-util.jar plugins/org.mortbay.jetty.util_$JETTYUTILVERSION
|
| 757 |
|
| 758 |
pushd dropins/jdt
|
| 759 |
build-jar-repository -s -p plugins/org.junit_* junit
|
| 760 |
|
| 761 |
JUNIT4VERSION=$(ls plugins | grep org.junit4_ | sed 's/org.junit4_//')
|
| 762 |
rm plugins/org.junit4_$JUNIT4VERSION/junit.jar
|
| 763 |
ln -s %{_javadir}/junit4.jar plugins/org.junit4_$JUNIT4VERSION/junit.jar
|
| 764 |
popd
|
| 765 |
|
| 766 |
JSCHVERSION=$(ls plugins | grep com.jcraft.jsch_ | sed 's/com.jcraft.jsch_//')
|
| 767 |
rm plugins/com.jcraft.jsch_$JSCHVERSION
|
| 768 |
ln -s %{_javadir}/jsch.jar plugins/com.jcraft.jsch_$JSCHVERSION
|
| 769 |
|
| 770 |
# link to the icu4j stuff
|
| 771 |
ICUVERSION=$(ls plugins | grep com.ibm.icu_ | sed 's/com.ibm.icu_//')
|
| 772 |
rm plugins/com.ibm.icu_*.jar
|
| 773 |
|
| 774 |
# link to lucene
|
| 775 |
LUCENEVERSION=$(ls plugins | grep org.apache.lucene_ | \
|
| 776 |
sed 's/org.apache.lucene_//')
|
| 777 |
rm plugins/org.apache.lucene_*
|
| 778 |
ln -s %{_javadir}/lucene.jar plugins/org.apache.lucene_$LUCENEVERSION
|
| 779 |
rm plugins/org.apache.lucene.analysis_*
|
| 780 |
ln -s %{_javadir}/lucene-contrib/lucene-analyzers.jar \
|
| 781 |
plugins/org.apache.lucene.analysis_$LUCENEVERSION
|
| 782 |
|
| 783 |
# link to commons-logging
|
| 784 |
COMMONSLOGGINGVERSION=$(ls plugins | grep commons.logging_ | \
|
| 785 |
sed 's/org.apache.commons.logging_//')
|
| 786 |
rm plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
| 787 |
ln -s %{_javadir}/commons-logging.jar \
|
| 788 |
plugins/org.apache.commons.logging_$COMMONSLOGGINGVERSION
|
| 789 |
|
| 790 |
# link to commons-el
|
| 791 |
COMMONSELVERSION=$(ls plugins | grep commons.el_ | \
|
| 792 |
sed 's/org.apache.commons.el_//')
|
| 793 |
rm plugins/org.apache.commons.el_$COMMONSELVERSION
|
| 794 |
ln -s %{_javadir}/commons-el.jar \
|
| 795 |
plugins/org.apache.commons.el_$COMMONSELVERSION
|
| 796 |
|
| 797 |
# link to commons-el
|
| 798 |
COMMONSCODECVERSION=$(ls plugins | grep commons.codec_ | \
|
| 799 |
sed 's/org.apache.commons.codec_//')
|
| 800 |
rm plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
| 801 |
ln -s %{_javadir}/commons-codec.jar \
|
| 802 |
plugins/org.apache.commons.codec_$COMMONSCODECVERSION
|
| 803 |
|
| 804 |
# link to commons-el
|
| 805 |
COMMONSHTTPVERSION=$(ls plugins | grep commons.httpclient_ | \
|
| 806 |
sed 's/org.apache.commons.httpclient_//')
|
| 807 |
rm plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
| 808 |
ln -s %{_javadir}/commons-httpclient.jar \
|
| 809 |
plugins/org.apache.commons.httpclient_$COMMONSHTTPVERSION
|
| 810 |
|
| 811 |
# link to jasper
|
| 812 |
JASPERVERSION=$(ls plugins | grep org.apache.jasper_ | \
|
| 813 |
sed 's/org.apache.jasper_//')
|
| 814 |
rm plugins/org.apache.jasper_*.jar
|
| 815 |
ln -s %{_datadir}/eclipse/plugins/org.apache.jasper_* \
|
| 816 |
plugins/org.apache.jasper_$JASPERVERSION
|
| 817 |
|
| 818 |
# link to servlet-api
|
| 819 |
SERVLETAPIVERSION=$(ls plugins | grep javax.servlet_ | \
|
| 820 |
sed 's/javax.servlet_//')
|
| 821 |
rm plugins/javax.servlet_*
|
| 822 |
ln -s %{_javadir}/tomcat6-servlet-2.5-api.jar \
|
| 823 |
plugins/javax.servlet_$SERVLETAPIVERSION
|
| 824 |
|
| 825 |
# link to jsp-api
|
| 826 |
JSPAPIVERSION=$(ls plugins | grep javax.servlet.jsp_ | \
|
| 827 |
sed 's/javax.servlet.jsp_//')
|
| 828 |
rm plugins/javax.servlet.jsp_*
|
| 829 |
ln -s %{_javadir}/tomcat5-jsp-2.0-api.jar \
|
| 830 |
plugins/javax.servlet.jsp_$JSPAPIVERSION
|
| 831 |
popd
|
| 832 |
%endif
|
| 833 |
|
| 834 |
%clean
|
| 835 |
rm -rf $RPM_BUILD_ROOT
|
| 836 |
|
| 837 |
%post platform
|
| 838 |
touch --no-create %{_datadir}/icons/hicolor
|
| 839 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
| 840 |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
| 841 |
fi
|
| 842 |
|
| 843 |
%postun platform
|
| 844 |
touch --no-create %{_datadir}/icons/hicolor
|
| 845 |
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
| 846 |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
| 847 |
fi
|
| 848 |
|
| 849 |
%if %{initialize}
|
| 850 |
%files swt -f %{name}-swt.install
|
| 851 |
%else
|
| 852 |
%files swt
|
| 853 |
%endif
|
| 854 |
%defattr(-,root,root)
|
| 855 |
%dir %{_libdir}/%{name}
|
| 856 |
%dir %{_libdir}/%{name}/plugins
|
| 857 |
%if %{initialize}
|
| 858 |
%dir %{_libdir}/%{name}/libswt-*.so
|
| 859 |
%dir %{_libdir}/%{name}/configuration
|
| 860 |
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi
|
| 861 |
%dir %{_libdir}/%{name}/configuration/org.eclipse.osgi/bundles
|
| 862 |
%endif
|
| 863 |
%{_libdir}/%{name}/plugins/org.eclipse.swt_*
|
| 864 |
%{_libdir}/%{name}/plugins/org.eclipse.swt.gtk.linux.%{eclipse_arch}_*
|
| 865 |
%{_libdir}/%{name}/swt-gtk*.jar
|
| 866 |
%{_libdir}/%{name}/swt.jar
|
| 867 |
%{_libdir}/java/swt.jar
|
| 868 |
|
| 869 |
%files rcp
|
| 870 |
%defattr(-,root,root)
|
| 871 |
%dir %{_libdir}/%{name}/features
|
| 872 |
%dir %{_datadir}/%{name}
|
| 873 |
%dir %{_datadir}/%{name}/features
|
| 874 |
%dir %{_datadir}/%{name}/plugins
|
| 875 |
%if %{initialize}
|
| 876 |
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.bundledata*
|
| 877 |
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.lazy*
|
| 878 |
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.manager
|
| 879 |
%{_libdir}/%{name}/configuration/org.eclipse.osgi/.state*
|
| 880 |
%endif
|
| 881 |
%if %{bootstrap}
|
| 882 |
%{_libdir}/%{name}/plugins/com.ibm.icu_*
|
| 883 |
%endif
|
| 884 |
%config %{_libdir}/%{name}/configuration
|
| 885 |
%config %{_libdir}/%{name}/configuration/config.ini
|
| 886 |
%config %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
| 887 |
%dir %{_libdir}/%{name}/configuration/org.eclipse.equinox.simpleconfigurator
|
| 888 |
%{_libdir}/%{name}/notice.html
|
| 889 |
%{_libdir}/%{name}/epl-v10.html
|
| 890 |
%{_libdir}/%{name}/links
|
| 891 |
%ifnarch ppc
|
| 892 |
%{_libdir}/%{name}/about.html
|
| 893 |
%endif
|
| 894 |
%ifarch x86_64
|
| 895 |
%{_libdir}/%{name}/about_files
|
| 896 |
%endif
|
| 897 |
%{_libdir}/%{name}/readme
|
| 898 |
%{_libdir}/%{name}/startup.jar
|
| 899 |
%{_libdir}/%{name}/features/org.eclipse.rcp_*
|
| 900 |
%{_libdir}/%{name}/plugins/org.eclipse.core.commands_*
|
| 901 |
%{_libdir}/%{name}/plugins/org.eclipse.core.contenttype_*
|
| 902 |
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding_*
|
| 903 |
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.beans_*
|
| 904 |
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.observable_*
|
| 905 |
%{_libdir}/%{name}/plugins/org.eclipse.core.databinding.property_*
|
| 906 |
%{_libdir}/%{name}/plugins/org.eclipse.core.expressions_*
|
| 907 |
%{_libdir}/%{name}/plugins/org.eclipse.core.jobs_*
|
| 908 |
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime_*
|
| 909 |
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.auth_*
|
| 910 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.app_*
|
| 911 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.common_*
|
| 912 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.ds_*
|
| 913 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher_*
|
| 914 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.launcher.gtk.linux.%{eclipse_arch}_*
|
| 915 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.preferences_*
|
| 916 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.registry_*
|
| 917 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.util_*
|
| 918 |
%{_libdir}/%{name}/plugins/org.eclipse.help_*
|
| 919 |
%{_libdir}/%{name}/plugins/org.eclipse.jface_*
|
| 920 |
%{_libdir}/%{name}/plugins/org.eclipse.jface.databinding_*
|
| 921 |
%{_libdir}/%{name}/plugins/org.eclipse.osgi_*
|
| 922 |
%{_libdir}/%{name}/plugins/org.eclipse.rcp_*
|
| 923 |
%{_libdir}/%{name}/plugins/org.eclipse.ui_*
|
| 924 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench_*
|
| 925 |
%{_libdir}/%{name}/plugins/org.eclipse.update.configurator_*
|
| 926 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
| 927 |
|
| 928 |
%if %{initialize}
|
| 929 |
%files platform -f %{name}-platform.install
|
| 930 |
%else
|
| 931 |
%files platform
|
| 932 |
%endif
|
| 933 |
%defattr(-,root,root)
|
| 934 |
%attr(0755,root,root) %{_bindir}/%{name}
|
| 935 |
%config %{_libdir}/%{name}/eclipse.ini
|
| 936 |
%ifnarch ppc
|
| 937 |
%{_libdir}/%{name}/about_files
|
| 938 |
%endif
|
| 939 |
%{_datadir}/applications/*
|
| 940 |
%{_datadir}/pixmaps/*
|
| 941 |
%{_datadir}/icons/*/*/apps/*
|
| 942 |
%{_libdir}/%{name}/eclipse
|
| 943 |
%dir %{_libdir}/%{name}/dropins
|
| 944 |
%dir %{_datadir}/%{name}/dropins
|
| 945 |
%{_libdir}/%{name}/features/org.eclipse.platform_*
|
| 946 |
%{_libdir}/%{name}/plugins/com.jcraft.jsch_*
|
| 947 |
%{_libdir}/%{name}/plugins/javax.servlet_*
|
| 948 |
%{_libdir}/%{name}/plugins/javax.servlet.jsp_*
|
| 949 |
%{_libdir}/%{name}/plugins/org.apache.ant_*
|
| 950 |
%{_libdir}/%{name}/plugins/org.apache.commons.el_*
|
| 951 |
%{_libdir}/%{name}/plugins/org.apache.commons.logging_*
|
| 952 |
%{_libdir}/%{name}/plugins/org.apache.lucene_*
|
| 953 |
%{_libdir}/%{name}/plugins/org.apache.lucene.analysis_*
|
| 954 |
%{_libdir}/%{name}/plugins/org.eclipse.ant.core_*
|
| 955 |
%{_libdir}/%{name}/plugins/org.eclipse.compare_*
|
| 956 |
%{_libdir}/%{name}/plugins/org.eclipse.compare.core_*
|
| 957 |
%{_libdir}/%{name}/plugins/org.eclipse.core.boot_*
|
| 958 |
%{_libdir}/%{name}/plugins/org.eclipse.core.filebuffers_*
|
| 959 |
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem_*
|
| 960 |
%{_libdir}/%{name}/plugins/org.eclipse.core.filesystem.linux.%{eclipse_arch}_*
|
| 961 |
%{_libdir}/%{name}/plugins/org.eclipse.core.net_*
|
| 962 |
%ifarch %{ix86}
|
| 963 |
%{_libdir}/%{name}/plugins/org.eclipse.core.net.linux.x86_*
|
| 964 |
%{_libdir}/%{name}/plugins/org.eclipse.update.core.linux_*
|
| 965 |
%endif
|
| 966 |
%{_libdir}/%{name}/plugins/org.eclipse.core.resources_*
|
| 967 |
%{_libdir}/%{name}/plugins/org.eclipse.core.resources.compatibility_*
|
| 968 |
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility_*
|
| 969 |
%{_libdir}/%{name}/plugins/org.eclipse.core.runtime.compatibility.registry_*
|
| 970 |
%{_libdir}/%{name}/plugins/org.eclipse.core.variables_*
|
| 971 |
%{_libdir}/%{name}/plugins/org.eclipse.debug.core_*
|
| 972 |
%{_libdir}/%{name}/plugins/org.eclipse.debug.ui_*
|
| 973 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.jetty_*
|
| 974 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.registry_*
|
| 975 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.http.servlet_*
|
| 976 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper_*
|
| 977 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.jsp.jasper.registry_*
|
| 978 |
%{_libdir}/%{name}/plugins/org.eclipse.help.appserver_*
|
| 979 |
%{_libdir}/%{name}/plugins/org.eclipse.help.base_*
|
| 980 |
%{_libdir}/%{name}/plugins/org.eclipse.help.ui_*
|
| 981 |
%{_libdir}/%{name}/plugins/org.eclipse.help.webapp_*
|
| 982 |
%{_libdir}/%{name}/plugins/org.eclipse.jface.text_*
|
| 983 |
%{_libdir}/%{name}/plugins/org.eclipse.jsch.core_*
|
| 984 |
%{_libdir}/%{name}/plugins/org.eclipse.jsch.ui_*
|
| 985 |
%{_libdir}/%{name}/plugins/org.eclipse.ltk.core.refactoring_*
|
| 986 |
%{_libdir}/%{name}/plugins/org.eclipse.ltk.ui.refactoring_*
|
| 987 |
%{_libdir}/%{name}/plugins/org.eclipse.osgi.services_*
|
| 988 |
%{_libdir}/%{name}/plugins/org.eclipse.osgi.util_*
|
| 989 |
%{_libdir}/%{name}/plugins/org.eclipse.platform_*
|
| 990 |
%{_libdir}/%{name}/plugins/org.eclipse.platform.doc.user_*
|
| 991 |
%{_libdir}/%{name}/plugins/org.eclipse.search_*
|
| 992 |
%{_libdir}/%{name}/plugins/org.eclipse.team.core_*
|
| 993 |
%{_libdir}/%{name}/plugins/org.eclipse.team.ui_*
|
| 994 |
%{_libdir}/%{name}/plugins/org.eclipse.text_*
|
| 995 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.browser_*
|
| 996 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.cheatsheets_*
|
| 997 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.console_*
|
| 998 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.editors_*
|
| 999 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.externaltools_*
|
| 1000 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.forms_*
|
| 1001 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide_*
|
| 1002 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.ide.application_*
|
| 1003 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro_*
|
| 1004 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.intro.universal_*
|
| 1005 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator_*
|
| 1006 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.navigator.resources_*
|
| 1007 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.net_*
|
| 1008 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.presentations.r21_*
|
| 1009 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.views_*
|
| 1010 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.views.properties.tabbed_*
|
| 1011 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.compatibility_*
|
| 1012 |
%{_libdir}/%{name}/plugins/org.eclipse.ui.workbench.texteditor_*
|
| 1013 |
%{_libdir}/%{name}/plugins/org.eclipse.update.core_*
|
| 1014 |
%{_libdir}/%{name}/plugins/org.eclipse.update.scheduler_*
|
| 1015 |
%{_libdir}/%{name}/plugins/org.eclipse.update.ui_*
|
| 1016 |
%{_libdir}/%{name}/plugins/org.mortbay.jetty.util_*
|
| 1017 |
%{_libdir}/%{name}/plugins/org.mortbay.jetty.server_*
|
| 1018 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.initializer_*
|
| 1019 |
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.core_*
|
| 1020 |
%{_libdir}/%{name}/plugins/org.eclipse.cvs_*
|
| 1021 |
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh2_*
|
| 1022 |
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ssh_*
|
| 1023 |
%{_libdir}/%{name}/plugins/org.eclipse.team.cvs.ui_*
|
| 1024 |
%{_libdir}/%{name}/features/org.eclipse.cvs_*
|
| 1025 |
%{_libdir}/%{name}/features/org.eclipse.help_*
|
| 1026 |
%{_libdir}/%{name}/plugins/org.apache.jasper_*
|
| 1027 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin_*
|
| 1028 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.frameworkadmin.equinox_*
|
| 1029 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
| 1030 |
%{_libdir}/%{name}/features/org.eclipse.equinox.p2.user.ui_*
|
| 1031 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director_*
|
| 1032 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.core_*
|
| 1033 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.engine_*
|
| 1034 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.jarprocessor_*
|
| 1035 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata_*
|
| 1036 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.repository_*
|
| 1037 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.artifact.repository_*
|
| 1038 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.exemplarysetup_*
|
| 1039 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.eclipse_*
|
| 1040 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.touchpoint.natives_*
|
| 1041 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.console_*
|
| 1042 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui_*
|
| 1043 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk_*
|
| 1044 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.ui.sdk.scheduler_*
|
| 1045 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatechecker_*
|
| 1046 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.garbagecollector_*
|
| 1047 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.directorywatcher_*
|
| 1048 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.publisher_*
|
| 1049 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository_*
|
| 1050 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.repository.tools_*
|
| 1051 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.reconciler.dropins_*
|
| 1052 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.metadata.generator_*
|
| 1053 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.updatesite_*
|
| 1054 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security_*
|
| 1055 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.security.ui_*
|
| 1056 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.extensionlocation_*
|
| 1057 |
%{_libdir}/%{name}/plugins/org.eclipse.equinox.p2.director.app_*
|
| 1058 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer_*
|
| 1059 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient_*
|
| 1060 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.httpclient.ssl_*
|
| 1061 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.provider.filetransfer.ssl_*
|
| 1062 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.ssl_*
|
| 1063 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf_*
|
| 1064 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.filetransfer_*
|
| 1065 |
%{_libdir}/%{name}/plugins/org.eclipse.ecf.identity_*
|
| 1066 |
%{_libdir}/%{name}/plugins/org.apache.commons.codec_*
|
| 1067 |
%{_libdir}/%{name}/plugins/org.apache.commons.httpclient_*
|
| 1068 |
%{_libdir}/%{name}/plugins/org.sat4j.core_*
|
| 1069 |
%{_libdir}/%{name}/plugins/org.sat4j.pb_*
|
| 1070 |
# Put this in -platform since we're putting the p2 stuff here
|
| 1071 |
%{_libdir}/%{name}/artifacts.xml
|
| 1072 |
# FIXME: should we ship content.xml for the platform?
|
| 1073 |
#%{_libdir}/%{name}/metadata
|
| 1074 |
%{_libdir}/%{name}/p2
|
| 1075 |
|
| 1076 |
%files jdt
|
| 1077 |
%defattr(-,root,root)
|
| 1078 |
%{_bindir}/efj
|
| 1079 |
%{_libdir}/%{name}/dropins/jdt
|
| 1080 |
|
| 1081 |
%files pde
|
| 1082 |
%defattr(-,root,root)
|
| 1083 |
%{_libdir}/%{name}/buildscripts
|
| 1084 |
%{_libdir}/%{name}/dropins/sdk
|
| 1085 |
# FIXME: where should this go?
|
| 1086 |
#%{_libdir}/%{name}/configuration/org.eclipse.equinox.source
|
| 1087 |
|
| 1088 |
%changelog
|
| 1089 |
* Fri Oct 30 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-13
|
| 1090 |
- Make /usr/bin/eclipse a wrapper script due to rhbz#531675 (e.o#290395).
|
| 1091 |
|
| 1092 |
* Mon Oct 26 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-12
|
| 1093 |
- Remove old TODO items.
|
| 1094 |
|
| 1095 |
* Fri Oct 23 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-12
|
| 1096 |
- No need to invoke desktop-file-install, it's handled by e-b install now.
|
| 1097 |
|
| 1098 |
* Thu Oct 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-11
|
| 1099 |
- Remove ppc64 files copying and sedding. Supported by eclipse-build now.
|
| 1100 |
|
| 1101 |
* Tue Oct 20 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-10
|
| 1102 |
- Remove old/not needed BR/Rs.
|
| 1103 |
|
| 1104 |
* Mon Oct 19 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-9
|
| 1105 |
- New e-b snapshot that contains fragments for ppc64.
|
| 1106 |
|
| 1107 |
* Thu Oct 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-8
|
| 1108 |
- Add bootstrap flag.
|
| 1109 |
|
| 1110 |
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-7
|
| 1111 |
- Put back JAVA_HOME.
|
| 1112 |
|
| 1113 |
* Mon Oct 12 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-6
|
| 1114 |
- New eclipse-build snapshot. Pdebuild and ecf compilation are part of it.
|
| 1115 |
|
| 1116 |
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-5
|
| 1117 |
- Fix install call.
|
| 1118 |
|
| 1119 |
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-4
|
| 1120 |
- New eclipse-build snapshot. Remove parts included in it.
|
| 1121 |
|
| 1122 |
* Wed Oct 07 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.1-3
|
| 1123 |
- Add patch for bugs.eclipse.org/287307
|
| 1124 |
|
| 1125 |
* Mon Oct 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-2
|
| 1126 |
- Add /usr/share/eclipse/dropins to dropins locations.
|
| 1127 |
|
| 1128 |
* Fri Oct 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.1-1
|
| 1129 |
- Update to 3.5.1.
|
| 1130 |
|
| 1131 |
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-4
|
| 1132 |
- Symlink to unversioned jetty jars.
|
| 1133 |
|
| 1134 |
* Tue Sep 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-3
|
| 1135 |
- Build with eclipse-build 0.4.0 RC0.
|
| 1136 |
|
| 1137 |
* Wed Sep 23 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-2
|
| 1138 |
- Move jakarta-commons-codec requirement from jdt to platform.
|
| 1139 |
|
| 1140 |
* Tue Sep 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-1
|
| 1141 |
- Fix help toolbar jsp problem.
|
| 1142 |
|
| 1143 |
* Fri Sep 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.13
|
| 1144 |
- Update ecf-filetransfer and build it.
|
| 1145 |
|
| 1146 |
* Tue Sep 15 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.12
|
| 1147 |
- Build with system jetty.
|
| 1148 |
|
| 1149 |
* Mon Sep 14 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.11
|
| 1150 |
- Add /usr/share/eclipse/dropins to list of dropins locations
|
| 1151 |
(rhbz#522117).
|
| 1152 |
|
| 1153 |
* Wed Sep 09 2009 Mat Booth <fedora@matbooth.co.uk> 1:3.5.0-0.10
|
| 1154 |
- Patch the target platform templates so they find all the required
|
| 1155 |
source bundles (see RHBZ # 521969).
|
| 1156 |
|
| 1157 |
* Mon Aug 31 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.9
|
| 1158 |
- Remove all testframework sources, patches, build and etc.
|
| 1159 |
|
| 1160 |
* Tue Aug 18 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.8
|
| 1161 |
- Use system hamcrest.
|
| 1162 |
|
| 1163 |
* Mon Aug 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.7
|
| 1164 |
- Use o.e.equinox.initializer from SOURCE1 instead of separate one.
|
| 1165 |
|
| 1166 |
* Fri Aug 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.6
|
| 1167 |
- Do not use the provided eclipse.ini but the one from build.
|
| 1168 |
|
| 1169 |
* Thu Aug 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.5
|
| 1170 |
- Add epoch to icu4j Requires/BuildRequires.
|
| 1171 |
|
| 1172 |
* Tue Aug 11 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.4.0
|
| 1173 |
- Fix sources url.
|
| 1174 |
- Make it use system icu4j and sat4j.
|
| 1175 |
|
| 1176 |
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.35
|
| 1177 |
- Another missing ppc64 fragment.
|
| 1178 |
|
| 1179 |
* Fri Aug 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.34
|
| 1180 |
- Fix missing fragment on ppc64.
|
| 1181 |
|
| 1182 |
* Thu Aug 6 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.33
|
| 1183 |
- Fix missing launcher for ppc64.
|
| 1184 |
|
| 1185 |
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.32
|
| 1186 |
- Manually enable o.e.core.runtime and o.e.equinox.ds because it's not enabled on ppc64.
|
| 1187 |
|
| 1188 |
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.31
|
| 1189 |
- Revert initialize call path changes.
|
| 1190 |
|
| 1191 |
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.30
|
| 1192 |
- Additional output to debug ppc64 build failures.
|
| 1193 |
|
| 1194 |
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.29
|
| 1195 |
- Reenable initialize.
|
| 1196 |
- Fix paths in initializer call.
|
| 1197 |
|
| 1198 |
* Wed Aug 5 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.28
|
| 1199 |
- Disable initialize.
|
| 1200 |
|
| 1201 |
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.27
|
| 1202 |
- No need to copy eclipse.ini for secondary archs.
|
| 1203 |
|
| 1204 |
* Tue Aug 4 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.26
|
| 1205 |
- eclipse/about_files are not installed on ppc for some reason.
|
| 1206 |
|
| 1207 |
* Mon Aug 3 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.3.25
|
| 1208 |
- Swith to eclipse-build for building.
|
| 1209 |
|
| 1210 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.5.0-0.3.9
|
| 1211 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 1212 |
|
| 1213 |
* Wed Jun 17 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.9
|
| 1214 |
- Fix package-build template to add target for -Dconfigs.
|
| 1215 |
|
| 1216 |
* Tue May 19 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.8
|
| 1217 |
- Remove Fedora branding.
|
| 1218 |
|
| 1219 |
* Thu May 7 2009 Andrew Overholt <overholt@redhat.com> 1:3.5.0-0.2.7
|
| 1220 |
- Update patch to tests' library.xml to allow for easy debugging of tests.
|
| 1221 |
|
| 1222 |
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.6
|
| 1223 |
- Fix initializer run (sed again).
|
| 1224 |
|
| 1225 |
* Wed Apr 29 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.5
|
| 1226 |
- Bump tomcat6 BR.
|
| 1227 |
- Fix director run to not require sed on bundles.info.
|
| 1228 |
|
| 1229 |
* Wed Apr 22 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.4
|
| 1230 |
- Update to newer I-build.
|
| 1231 |
- Update fedora customization.
|
| 1232 |
- Bump dependencies minimal versions.
|
| 1233 |
- Fix update site functionality.
|
| 1234 |
- Simplify jdt %%files section.
|
| 1235 |
|
| 1236 |
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.3
|
| 1237 |
- Rediff patch30.
|
| 1238 |
|
| 1239 |
* Tue Apr 14 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.2
|
| 1240 |
- Fix version of source bundles.
|
| 1241 |
|
| 1242 |
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2.1
|
| 1243 |
- Create org.eclipse.swt.gtk.linux.* based on the ppc version.
|
| 1244 |
|
| 1245 |
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.2
|
| 1246 |
- Remove patches for the ecj package and others already applied upstream.
|
| 1247 |
- Rediff some ppc64 patches.
|
| 1248 |
|
| 1249 |
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.12
|
| 1250 |
- o.e.update.core.linux is x86 only.
|
| 1251 |
|
| 1252 |
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.11
|
| 1253 |
- Remove more p2 generated files.
|
| 1254 |
|
| 1255 |
* Mon Apr 13 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.10
|
| 1256 |
- Do not install p2 generatad file.
|
| 1257 |
|
| 1258 |
* Fri Apr 10 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.9
|
| 1259 |
- BR/R jakarta-commons-codec and jakarta-commons-httpclient.
|
| 1260 |
|
| 1261 |
* Thu Apr 9 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.8
|
| 1262 |
- Add patch for xulrunner compilation.
|
| 1263 |
|
| 1264 |
* Tue Apr 7 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.7
|
| 1265 |
- Fix patch name.
|
| 1266 |
|
| 1267 |
* Thu Apr 2 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.5.0-0.1.6
|
| 1268 |
- First try for 3.5 build.
|