|
|
b79db3 |
# If gcjbootstrap is 1 IcedTea is bootstrapped against
|
|
|
b79db3 |
# java-1.5.0-gcj-devel. If gcjbootstrap is 0 IcedTea is built against
|
|
|
b79db3 |
# java-1.6.0-openjdk-devel.
|
|
|
b79db3 |
%define gcjbootstrap 0
|
|
|
b79db3 |
|
|
|
b79db3 |
# If debug is 1, IcedTea is built with all debug info present.
|
|
|
b79db3 |
%define debug 0
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
3846fd |
%define icedteaver 1.13.11
|
|
|
b79db3 |
%define icedteasnapshot %{nil}
|
|
|
3846fd |
%define openjdkver 39
|
|
|
3846fd |
%define openjdkdate 03_may_2016
|
|
|
b79db3 |
|
|
|
b79db3 |
%define genurl http://cvs.fedoraproject.org/viewcvs/devel/java-1.6.0-openjdk/
|
|
|
b79db3 |
|
|
|
b79db3 |
%define icedteaurl http://icedtea.classpath.org/
|
|
|
b79db3 |
|
|
|
b79db3 |
%define accessmajorver 1.23
|
|
|
b79db3 |
%define accessminorver 0
|
|
|
b79db3 |
%define accessver %{accessmajorver}.%{accessminorver}
|
|
|
b79db3 |
%define accessurl http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/
|
|
|
b79db3 |
|
|
|
b79db3 |
%define openjdkurl https://java.net/downloads/openjdk6/
|
|
|
6d5ba8 |
%define rhelzip openjdk-6-src-b%{openjdkver}-%{openjdkdate}-rhel.tar.xz
|
|
|
b79db3 |
|
|
|
b79db3 |
%define multilib_arches ppc64 sparc64 x86_64
|
|
|
b79db3 |
|
|
|
b79db3 |
%define jit_arches %{ix86} x86_64 sparcv9 sparc64
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch x86_64
|
|
|
b79db3 |
%define archbuild amd64
|
|
|
b79db3 |
%define archinstall amd64
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch ppc
|
|
|
b79db3 |
%define archbuild ppc
|
|
|
b79db3 |
%define archinstall ppc
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch ppc64
|
|
|
b79db3 |
%define archbuild ppc64
|
|
|
b79db3 |
%define archinstall ppc64
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch i386
|
|
|
b79db3 |
%define archbuild i586
|
|
|
b79db3 |
%define archinstall i386
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch i686
|
|
|
b79db3 |
%define archbuild i586
|
|
|
b79db3 |
%define archinstall i386
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch ia64
|
|
|
b79db3 |
%define archbuild ia64
|
|
|
b79db3 |
%define archinstall ia64
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch s390
|
|
|
b79db3 |
%define archbuild s390x
|
|
|
b79db3 |
%define archinstall s390x
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
# 32 bit sparc, optimized for v9
|
|
|
b79db3 |
%ifarch sparcv9
|
|
|
b79db3 |
%define archbuild sparc
|
|
|
b79db3 |
%define archinstall sparc
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
# 64 bit sparc
|
|
|
b79db3 |
%ifarch sparc64
|
|
|
b79db3 |
%define archbuild sparcv9
|
|
|
b79db3 |
%define archinstall sparcv9
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifnarch %{jit_arches}
|
|
|
b79db3 |
%define archbuild %{_arch}
|
|
|
b79db3 |
%define archinstall %{_arch}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%if %{debug}
|
|
|
9fa6a6 |
%define debugbuild icedtea-debug-against-icedtea
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define debugbuild %{nil}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
9fa6a6 |
%if %{debug}
|
|
|
9fa6a6 |
%define buildoutputdir openjdk.build-debug
|
|
|
9fa6a6 |
%else
|
|
|
b79db3 |
%define buildoutputdir openjdk.build
|
|
|
9fa6a6 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%if %{gcjbootstrap}
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
%define icedteaopt --enable-systemtap
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define icedteaopt %{nil}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
%define icedteaopt --with-jdk-home=/usr/lib/jvm/%{sdklnk} --disable-bootstrap --enable-systemtap
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define icedteaopt --with-jdk-home=/usr/lib/jvm/%{sdklnk} --disable-bootstrap
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
# Convert an absolute path to a relative path. Each symbolic link is
|
|
|
b79db3 |
# specified relative to the directory in which it is installed so that
|
|
|
b79db3 |
# it will resolve properly within chrooted installations.
|
|
|
b79db3 |
%define script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])'
|
|
|
b79db3 |
%define abs2rel %{__perl} -e %{script}
|
|
|
b79db3 |
|
|
|
b79db3 |
# Hard-code libdir on 64-bit architectures to make the 64-bit JDK
|
|
|
b79db3 |
# simply be another alternative.
|
|
|
b79db3 |
%ifarch %{multilib_arches}
|
|
|
b79db3 |
%define syslibdir %{_prefix}/lib64
|
|
|
b79db3 |
%define _libdir %{_prefix}/lib
|
|
|
b79db3 |
%define archname %{name}.%{_arch}
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define syslibdir %{_libdir}
|
|
|
b79db3 |
%define archname %{name}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
# Standard JPackage naming and versioning defines.
|
|
|
b79db3 |
%define origin openjdk
|
|
|
b79db3 |
%define priority 16000
|
|
|
b79db3 |
%define javaver 1.6.0
|
|
|
6d5ba8 |
%define buildver %{openjdkver}
|
|
|
b79db3 |
|
|
|
b79db3 |
# Standard JPackage directories and symbolic links.
|
|
|
b79db3 |
# Make 64-bit JDKs just another alternative on 64-bit architectures.
|
|
|
b79db3 |
%ifarch %{multilib_arches}
|
|
|
b79db3 |
%define sdklnk java-%{javaver}-%{origin}.%{_arch}
|
|
|
b79db3 |
%define jrelnk jre-%{javaver}-%{origin}.%{_arch}
|
|
|
b79db3 |
%define sdkdir %{name}-%{version}.%{_arch}
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define sdklnk java-%{javaver}-%{origin}
|
|
|
b79db3 |
%define jrelnk jre-%{javaver}-%{origin}
|
|
|
b79db3 |
%define sdkdir %{name}-%{version}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%define jredir %{sdkdir}/jre
|
|
|
b79db3 |
%define sdkbindir %{_jvmdir}/%{sdklnk}/bin
|
|
|
b79db3 |
%define jrebindir %{_jvmdir}/%{jrelnk}/bin
|
|
|
b79db3 |
%ifarch %{multilib_arches}
|
|
|
b79db3 |
%define jvmjardir %{_jvmjardir}/%{name}-%{version}.%{_arch}
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
%define jvmjardir %{_jvmjardir}/%{name}-%{version}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
# Where to install systemtap tapset (links)
|
|
|
b79db3 |
# We would like these to be in a package specific subdir,
|
|
|
b79db3 |
# but currently systemtap doesn't support that, so we have to
|
|
|
b79db3 |
# use the root tapset dir for now. To distinquish between 64
|
|
|
b79db3 |
# and 32 bit architectures we place the tapsets under the arch
|
|
|
b79db3 |
# specific dir (note that systemtap will only pickup the tapset
|
|
|
b79db3 |
# for the primary arch for now). Systemtap uses the machine name
|
|
|
b79db3 |
# aka build_cpu as architecture specific directory name.
|
|
|
b79db3 |
#%define tapsetdir /usr/share/systemtap/tapset/%{sdkdir}
|
|
|
b79db3 |
%define tapsetdir /usr/share/systemtap/tapset/%{_build_cpu}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
# Prevent brp-java-repack-jars from being run.
|
|
|
b79db3 |
%define __jar_repack 0
|
|
|
b79db3 |
|
|
|
b79db3 |
Name: java-%{javaver}-%{origin}
|
|
|
b79db3 |
Version: %{javaver}.%{buildver}
|
|
|
0032cc |
Release: %{icedteaver}.0%{?dist}
|
|
|
b79db3 |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
|
|
|
b79db3 |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
|
|
|
b79db3 |
# also included the epoch in their virtual provides. This created a
|
|
|
b79db3 |
# situation where in-the-wild java-1.5.0-ibm packages provided "java =
|
|
|
b79db3 |
# 1:1.5.0". In RPM terms, "1.6.0 < 1:1.5.0" since 1.6.0 is
|
|
|
b79db3 |
# interpreted as 0:1.6.0. So the "java >= 1.6.0" requirement would be
|
|
|
b79db3 |
# satisfied by the 1:1.5.0 packages. Thus we need to set the epoch in
|
|
|
b79db3 |
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
|
|
|
b79db3 |
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
|
|
|
b79db3 |
Epoch: 1
|
|
|
b79db3 |
Summary: OpenJDK Runtime Environment
|
|
|
b79db3 |
Group: Development/Languages
|
|
|
b79db3 |
|
|
|
b79db3 |
License: ASL 1.1, ASL 2.0, GPL+, GPLv2, GPLv2 with exceptions, LGPL+, LGPLv2, MPLv1.0, MPLv1.1, Public Domain, W3C
|
|
|
b79db3 |
URL: http://icedtea.classpath.org/
|
|
|
423b73 |
Source0: %{icedteaurl}download/source/icedtea6-%{icedteaver}%{icedteasnapshot}.tar.xz
|
|
|
b79db3 |
# To generate, download OpenJDK tarball from %{openjdkurl},
|
|
|
b79db3 |
# and run %{SOURCE3} on the tarball.
|
|
|
b79db3 |
Source1: %{rhelzip}
|
|
|
b79db3 |
Source2: %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.bz2
|
|
|
b79db3 |
Source3: %{genurl}generate-rhel-zip.sh
|
|
|
b79db3 |
Source4: README.src
|
|
|
b79db3 |
|
|
|
b79db3 |
# Pre-2009 changelog, retained to ensure contributions are not lost
|
|
|
b79db3 |
SOURCE900: pre-2009-spec-changelog
|
|
|
b79db3 |
|
|
|
b79db3 |
# FIXME: This patch needs to be fixed. optflags argument
|
|
|
b79db3 |
# -mtune=generic is being ignored because it breaks several graphical
|
|
|
b79db3 |
# applications.
|
|
|
b79db3 |
Patch0: java-1.6.0-openjdk-optflags.patch
|
|
|
b79db3 |
Patch1: java-1.6.0-openjdk-java-access-bridge-tck.patch
|
|
|
b79db3 |
Patch2: java-1.6.0-openjdk-java-access-bridge-idlj.patch
|
|
|
b79db3 |
Patch3: java-1.6.0-openjdk-java-access-bridge-security.patch
|
|
|
b79db3 |
Patch4: java-1.6.0-openjdk-accessible-toolkit.patch
|
|
|
b79db3 |
Patch5: java-1.6.0-openjdk-debugdocs.patch
|
|
|
b79db3 |
Patch6: %{name}-debuginfo.patch
|
|
|
6d5ba8 |
# This turns off the application of PR2125 by fsg.sh as
|
|
|
6d5ba8 |
# we do it ourselves ahead of time via generate-rhel-zip.sh
|
|
|
6d5ba8 |
Patch7: no_pr2125.patch
|
|
|
1f3f4d |
# This is a RHEL-specific patch to embed RHEL-specific paths
|
|
|
1f3f4d |
Patch10: add-final-location-rpaths.patch
|
|
|
1f3f4d |
|
|
|
b79db3 |
|
|
|
b79db3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
b79db3 |
BuildRequires: autoconf
|
|
|
b79db3 |
BuildRequires: automake
|
|
|
b79db3 |
BuildRequires: alsa-lib-devel
|
|
|
b79db3 |
BuildRequires: cups-devel
|
|
|
b79db3 |
BuildRequires: desktop-file-utils
|
|
|
b79db3 |
BuildRequires: giflib-devel
|
|
|
423b73 |
BuildRequires: libcap-devel
|
|
|
b79db3 |
BuildRequires: libX11-devel
|
|
|
b79db3 |
BuildRequires: libXi-devel
|
|
|
b79db3 |
BuildRequires: libXp-devel
|
|
|
b79db3 |
BuildRequires: libXt-devel
|
|
|
b79db3 |
BuildRequires: libXtst-devel
|
|
|
b79db3 |
BuildRequires: libjpeg-devel
|
|
|
b79db3 |
BuildRequires: libpng-devel
|
|
|
b79db3 |
BuildRequires: wget
|
|
|
b79db3 |
BuildRequires: xalan-j2
|
|
|
b79db3 |
BuildRequires: xerces-j2
|
|
|
b79db3 |
BuildRequires: xorg-x11-proto-devel
|
|
|
b79db3 |
BuildRequires: mercurial
|
|
|
b79db3 |
BuildRequires: ant
|
|
|
b79db3 |
BuildRequires: libXinerama-devel
|
|
|
b79db3 |
BuildRequires: rhino
|
|
|
b79db3 |
BuildRequires: redhat-lsb
|
|
|
b79db3 |
%if %{gcjbootstrap}
|
|
|
b79db3 |
BuildRequires: java-1.5.0-gcj-devel
|
|
|
b79db3 |
%else
|
|
|
b79db3 |
BuildRequires: java6-1.6.0-devel
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
# Java Access Bridge for GNOME build requirements.
|
|
|
b79db3 |
BuildRequires: at-spi-devel
|
|
|
b79db3 |
BuildRequires: gawk
|
|
|
b79db3 |
BuildRequires: libbonobo-devel
|
|
|
b79db3 |
BuildRequires: pkgconfig >= 0.9.0
|
|
|
b79db3 |
BuildRequires: xorg-x11-utils
|
|
|
b79db3 |
# PulseAudio build requirements.
|
|
|
b79db3 |
BuildRequires: pulseaudio-libs-devel >= 0.9.11
|
|
|
b79db3 |
BuildRequires: pulseaudio >= 0.9.11
|
|
|
b79db3 |
# Zero-assembler build requirement.
|
|
|
b79db3 |
%ifnarch %{jit_arches}
|
|
|
b79db3 |
BuildRequires: libffi-devel
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
# cacerts build requirement.
|
|
|
b79db3 |
BuildRequires: openssl
|
|
|
b79db3 |
# execstack build requirement.
|
|
|
b79db3 |
BuildRequires: prelink
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
#systemtap build requirement.
|
|
|
b79db3 |
BuildRequires: systemtap-sdt-devel
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
Requires: fontconfig
|
|
|
b79db3 |
Requires: libjpeg = 6b
|
|
|
b79db3 |
# Require /etc/pki/java/cacerts.
|
|
|
b79db3 |
Requires: ca-certificates
|
|
|
b79db3 |
# Require jpackage-utils for ant.
|
|
|
b79db3 |
Requires: jpackage-utils >= 1.7.3-1jpp.2
|
|
|
b79db3 |
# Require zoneinfo data provided by tzdata-java subpackage.
|
|
|
b79db3 |
Requires: tzdata-java
|
|
|
b79db3 |
# Post requires alternatives to install tool alternatives.
|
|
|
b79db3 |
Requires(post): %{_sbindir}/alternatives
|
|
|
b79db3 |
# Postun requires alternatives to uninstall tool alternatives.
|
|
|
b79db3 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
b79db3 |
|
|
|
b79db3 |
# Standard JPackage base provides.
|
|
|
b79db3 |
Provides: jre6-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: jre6-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: jre6-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: java6-%{javaver} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: jre6 = %{javaver}
|
|
|
b79db3 |
Provides: java6-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: java6 = %{epoch}:%{javaver}
|
|
|
b79db3 |
# Standard JPackage extensions provides.
|
|
|
b79db3 |
Provides: jndi6 = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jndi6-ldap = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jndi6-cos = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jndi6-rmi = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jndi6-dns = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jaas6 = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jsse6 = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jce6 = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: jdbc6-stdext = 3.0
|
|
|
b79db3 |
Provides: java6-sasl = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-fonts = %{epoch}:%{version}
|
|
|
b79db3 |
|
|
|
0032cc |
# No means to bootstrap these architectures
|
|
|
0032cc |
ExcludeArch: aarch64 ppc64le
|
|
|
0032cc |
|
|
|
b79db3 |
%description
|
|
|
b79db3 |
The OpenJDK runtime environment.
|
|
|
b79db3 |
|
|
|
b79db3 |
%package devel
|
|
|
b79db3 |
Summary: OpenJDK Development Environment
|
|
|
b79db3 |
Group: Development/Tools
|
|
|
b79db3 |
|
|
|
b79db3 |
# Require base package.
|
|
|
b79db3 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
# Post requires alternatives to install tool alternatives.
|
|
|
b79db3 |
Requires(post): %{_sbindir}/alternatives
|
|
|
b79db3 |
# Postun requires alternatives to uninstall tool alternatives.
|
|
|
b79db3 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
b79db3 |
|
|
|
b79db3 |
# Standard JPackage devel provides.
|
|
|
b79db3 |
Provides: java6-sdk-%{javaver}-%{origin} = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-sdk-%{javaver} = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-sdk-%{origin} = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-sdk = %{epoch}:%{javaver}
|
|
|
b79db3 |
Provides: java6-%{javaver}-devel = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-devel-%{origin} = %{epoch}:%{version}
|
|
|
b79db3 |
Provides: java6-devel = %{epoch}:%{javaver}
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
b79db3 |
%description devel
|
|
|
b79db3 |
The OpenJDK development tools.
|
|
|
b79db3 |
|
|
|
b79db3 |
%package demo
|
|
|
b79db3 |
Summary: OpenJDK Demos
|
|
|
b79db3 |
Group: Development/Languages
|
|
|
b79db3 |
|
|
|
b79db3 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
|
|
|
b79db3 |
%description demo
|
|
|
b79db3 |
The OpenJDK demos.
|
|
|
b79db3 |
|
|
|
b79db3 |
%package src
|
|
|
b79db3 |
Summary: OpenJDK Source Bundle
|
|
|
b79db3 |
Group: Development/Languages
|
|
|
b79db3 |
|
|
|
b79db3 |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
|
|
|
b79db3 |
%description src
|
|
|
b79db3 |
The OpenJDK source bundle.
|
|
|
b79db3 |
|
|
|
b79db3 |
%package javadoc
|
|
|
b79db3 |
Summary: OpenJDK API Documentation
|
|
|
b79db3 |
Group: Documentation
|
|
|
b79db3 |
|
|
|
b79db3 |
# Post requires alternatives to install javadoc alternative.
|
|
|
b79db3 |
Requires(post): %{_sbindir}/alternatives
|
|
|
b79db3 |
# Postun requires alternatives to uninstall javadoc alternative.
|
|
|
b79db3 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
b79db3 |
|
|
|
b79db3 |
# Standard JPackage javadoc provides.
|
|
|
b79db3 |
Provides: java6-javadoc = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
Provides: java6-%{javaver}-javadoc = %{epoch}:%{version}-%{release}
|
|
|
b79db3 |
|
|
|
b79db3 |
%description javadoc
|
|
|
b79db3 |
The OpenJDK API documentation.
|
|
|
b79db3 |
|
|
|
b79db3 |
%prep
|
|
|
423b73 |
%setup -q -n icedtea6-%{icedteaver}%{icedteasnapshot}
|
|
|
423b73 |
%setup -q -n icedtea6-%{icedteaver}%{icedteasnapshot} -T -D -a 2
|
|
|
b79db3 |
%patch0
|
|
|
6d5ba8 |
%patch7 -p1
|
|
|
1f3f4d |
%patch10 -p1
|
|
|
b79db3 |
|
|
|
b79db3 |
cp %{SOURCE4} .
|
|
|
b79db3 |
|
|
|
b79db3 |
%build
|
|
|
b79db3 |
# How many cpu's do we have?
|
|
|
b79db3 |
export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :`
|
|
|
b79db3 |
export NUM_PROC=${NUM_PROC:-1}
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
b79db3 |
# Build IcedTea and OpenJDK.
|
|
|
b79db3 |
%ifarch sparc64 alpha
|
|
|
b79db3 |
export ARCH_DATA_MODEL=64
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%ifarch alpha
|
|
|
b79db3 |
export CFLAGS="$CFLAGS -mieee"
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
./autogen.sh
|
|
|
b79db3 |
./configure %{icedteaopt} --with-openjdk-src-zip=%{SOURCE1} \
|
|
|
b79db3 |
--with-pkgversion=rhel-%{release}-%{_arch} --enable-pulse-java \
|
|
|
b79db3 |
--with-abs-install-dir=%{_jvmdir}/%{sdkdir} \
|
|
|
423b73 |
--with-rhino --with-parallel-jobs=$NUM_PROC --disable-lcms2
|
|
|
b79db3 |
|
|
|
1f3f4d |
make DISTRIBUTION_PATCHES=patches/add-final-location-rpaths.patch patch
|
|
|
b79db3 |
|
|
|
b79db3 |
patch -l -p0 < %{PATCH3}
|
|
|
b79db3 |
patch -l -p0 < %{PATCH4}
|
|
|
b79db3 |
|
|
|
b79db3 |
%if %{debug}
|
|
|
b79db3 |
patch -l -p0 < %{PATCH5}
|
|
|
b79db3 |
patch -l -p0 < %{PATCH6}
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%if %{gcjbootstrap}
|
|
|
b79db3 |
make stamps/patch-ecj.stamp
|
|
|
b79db3 |
%endif
|
|
|
9fa6a6 |
make %{debugbuild} INSTALL_LOCATION="%{_jvmdir}/%{sdkdir}"
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image
|
|
|
b79db3 |
|
|
|
b79db3 |
# Build Java Access Bridge for GNOME.
|
|
|
b79db3 |
pushd java-access-bridge-%{accessver}
|
|
|
b79db3 |
patch -l -p1 < %{PATCH1}
|
|
|
b79db3 |
patch -l -p1 < %{PATCH2}
|
|
|
b79db3 |
OLD_PATH=$PATH
|
|
|
b79db3 |
export PATH=$JAVA_HOME/bin:$OLD_PATH
|
|
|
b79db3 |
./configure
|
|
|
b79db3 |
make
|
|
|
b79db3 |
export PATH=$OLD_PATH
|
|
|
b79db3 |
cp -a bridge/accessibility.properties $JAVA_HOME/jre/lib
|
|
|
b79db3 |
chmod 644 gnome-java-bridge.jar
|
|
|
b79db3 |
cp -a gnome-java-bridge.jar $JAVA_HOME/jre/lib/ext
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
b79db3 |
%install
|
|
|
b79db3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b79db3 |
STRIP_KEEP_SYMTAB=libjvm*
|
|
|
b79db3 |
|
|
|
b79db3 |
pushd %{buildoutputdir}/j2sdk-image
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install main files.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
cp -a bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
|
|
|
b79db3 |
cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
|
|
|
b79db3 |
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
# Install systemtap support files.
|
|
|
b79db3 |
cp -a tapset $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
|
|
|
b79db3 |
pushd $RPM_BUILD_ROOT%{tapsetdir}
|
|
|
b79db3 |
RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir})
|
|
|
b79db3 |
ln -sf $RELATIVE/*.stp .
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install cacerts symlink.
|
|
|
b79db3 |
rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
|
|
|
b79db3 |
pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
|
|
|
b79db3 |
RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
|
|
|
b79db3 |
%{_jvmdir}/%{jredir}/lib/security)
|
|
|
b79db3 |
ln -sf $RELATIVE/cacerts .
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install extension symlinks.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir}
|
|
|
b79db3 |
pushd $RPM_BUILD_ROOT%{jvmjardir}
|
|
|
b79db3 |
RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir})
|
|
|
b79db3 |
ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/jce.jar jce-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jndi-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jaas-%{version}.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar
|
|
|
b79db3 |
ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar
|
|
|
b79db3 |
ln -sf $RELATIVE/rt.jar sasl-%{version}.jar
|
|
|
b79db3 |
for jar in *-%{version}.jar
|
|
|
b79db3 |
do
|
|
|
b79db3 |
if [ x%{version} != x%{javaver} ]
|
|
|
b79db3 |
then
|
|
|
b79db3 |
ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g")
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g")
|
|
|
b79db3 |
done
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install JCE policy symlinks.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{archname}/jce/vanilla
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install versionless symlinks.
|
|
|
b79db3 |
pushd $RPM_BUILD_ROOT%{_jvmdir}
|
|
|
b79db3 |
ln -sf %{jredir} %{jrelnk}
|
|
|
b79db3 |
ln -sf %{sdkdir} %{sdklnk}
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
pushd $RPM_BUILD_ROOT%{_jvmjardir}
|
|
|
b79db3 |
ln -sf %{sdkdir} %{jrelnk}
|
|
|
b79db3 |
ln -sf %{sdkdir} %{sdklnk}
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
# Remove javaws man page
|
|
|
b79db3 |
rm -f man/man1/javaws*
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install man pages.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
b79db3 |
for manpage in man/man1/*
|
|
|
b79db3 |
do
|
|
|
b79db3 |
# Convert man pages to UTF8 encoding.
|
|
|
b79db3 |
iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
|
|
|
b79db3 |
mv -f $manpage.tmp $manpage
|
|
|
b79db3 |
install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
|
|
|
b79db3 |
$manpage .1)-%{name}.1
|
|
|
b79db3 |
done
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install demos and samples.
|
|
|
b79db3 |
cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
mkdir -p sample/rmi
|
|
|
b79db3 |
mv bin/java-rmi.cgi sample/rmi
|
|
|
b79db3 |
cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
|
|
|
b79db3 |
# Run execstack on libjvm.so.
|
|
|
b79db3 |
%ifarch i386 i686
|
|
|
b79db3 |
execstack -c $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/client/libjvm.so
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
execstack -c $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{archinstall}/server/libjvm.so
|
|
|
b79db3 |
|
|
|
b79db3 |
popd
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install Javadoc documentation.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
|
|
|
b79db3 |
cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install icons and menu entries.
|
|
|
b79db3 |
for s in 16 24 32 48 ; do
|
|
|
b79db3 |
install -D -p -m 644 \
|
|
|
b79db3 |
openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
|
|
|
b79db3 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java.png
|
|
|
b79db3 |
done
|
|
|
b79db3 |
|
|
|
b79db3 |
# Install desktop files.
|
|
|
b79db3 |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
|
|
|
b79db3 |
for e in jconsole policytool ; do
|
|
|
b79db3 |
desktop-file-install --vendor=%{name} --mode=644 \
|
|
|
b79db3 |
--dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
|
|
|
b79db3 |
done
|
|
|
b79db3 |
|
|
|
b79db3 |
# Find JRE directories.
|
|
|
b79db3 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
|
|
|
b79db3 |
| grep -v jre/lib/security \
|
|
|
b79db3 |
| sed 's|'$RPM_BUILD_ROOT'|%dir |' \
|
|
|
b79db3 |
> %{name}.files
|
|
|
b79db3 |
# Find JRE files.
|
|
|
b79db3 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \
|
|
|
b79db3 |
| grep -v jre/lib/security \
|
|
|
b79db3 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
b79db3 |
>> %{name}.files
|
|
|
b79db3 |
# Find demo directories.
|
|
|
b79db3 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
b79db3 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \
|
|
|
b79db3 |
| sed 's|'$RPM_BUILD_ROOT'|%dir |' \
|
|
|
b79db3 |
> %{name}-demo.files
|
|
|
b79db3 |
|
|
|
b79db3 |
# FIXME: remove SONAME entries from demo DSOs. See
|
|
|
b79db3 |
# https://bugzilla.redhat.com/show_bug.cgi?id=436497
|
|
|
b79db3 |
|
|
|
b79db3 |
# Find non-documentation demo files.
|
|
|
b79db3 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
b79db3 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
|
|
|
b79db3 |
-type f -o -type l | sort \
|
|
|
b79db3 |
| grep -v README \
|
|
|
b79db3 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
b79db3 |
>> %{name}-demo.files
|
|
|
b79db3 |
# Find documentation demo files.
|
|
|
b79db3 |
find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
|
|
|
b79db3 |
$RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
|
|
|
b79db3 |
-type f -o -type l | sort \
|
|
|
b79db3 |
| grep README \
|
|
|
b79db3 |
| sed 's|'$RPM_BUILD_ROOT'||' \
|
|
|
b79db3 |
| sed 's|^|%doc |' \
|
|
|
b79db3 |
>> %{name}-demo.files
|
|
|
b79db3 |
|
|
|
b79db3 |
%clean
|
|
|
b79db3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b79db3 |
|
|
|
b79db3 |
# FIXME: identical binaries are copied, not linked. This needs to be
|
|
|
b79db3 |
# fixed upstream.
|
|
|
b79db3 |
%post
|
|
|
b79db3 |
ext=.gz
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \
|
|
|
b79db3 |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \
|
|
|
b79db3 |
--slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
|
|
|
b79db3 |
--slave %{_bindir}/orbd orbd %{jrebindir}/orbd \
|
|
|
b79db3 |
--slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
|
|
|
b79db3 |
--slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
|
|
|
b79db3 |
--slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
|
|
|
b79db3 |
--slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
|
|
|
b79db3 |
--slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
|
|
|
b79db3 |
--slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
|
|
|
b79db3 |
--slave %{_mandir}/man1/java.1$ext java.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/java-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/keytool-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/orbd-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/pack200-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/rmid-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/rmiregistry-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/servertool-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/tnameserv-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/unpack200-%{name}.1$ext
|
|
|
b79db3 |
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_jvmdir}/jre-%{origin} \
|
|
|
b79db3 |
jre_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/jre-%{origin} \
|
|
|
b79db3 |
jre_%{origin}_exports %{_jvmjardir}/%{jrelnk}
|
|
|
b79db3 |
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_jvmdir}/jre-%{javaver} \
|
|
|
b79db3 |
jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/jre-%{javaver} \
|
|
|
b79db3 |
jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk}
|
|
|
b79db3 |
|
|
|
b79db3 |
# Update for jnlp handling.
|
|
|
b79db3 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
b79db3 |
|
|
|
b79db3 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
b79db3 |
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
|
|
|
b79db3 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
%postun
|
|
|
b79db3 |
if [ $1 -eq 0 ]
|
|
|
b79db3 |
then
|
|
|
b79db3 |
alternatives --remove java %{jrebindir}/java
|
|
|
b79db3 |
alternatives --remove jre_%{origin} %{_jvmdir}/%{jrelnk}
|
|
|
b79db3 |
alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk}
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
|
|
|
b79db3 |
# Update for jnlp handling.
|
|
|
b79db3 |
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
b79db3 |
|
|
|
b79db3 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
b79db3 |
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
|
|
|
b79db3 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
%post devel
|
|
|
b79db3 |
ext=.gz
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \
|
|
|
b79db3 |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdklnk} \
|
|
|
b79db3 |
--slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \
|
|
|
b79db3 |
--slave %{_bindir}/apt apt %{sdkbindir}/apt \
|
|
|
b79db3 |
--slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \
|
|
|
b79db3 |
--slave %{_bindir}/jar jar %{sdkbindir}/jar \
|
|
|
b79db3 |
--slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \
|
|
|
b79db3 |
--slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \
|
|
|
b79db3 |
--slave %{_bindir}/javah javah %{sdkbindir}/javah \
|
|
|
b79db3 |
--slave %{_bindir}/javap javap %{sdkbindir}/javap \
|
|
|
b79db3 |
--slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \
|
|
|
b79db3 |
--slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \
|
|
|
b79db3 |
--slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \
|
|
|
b79db3 |
--slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \
|
|
|
b79db3 |
--slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
|
|
|
b79db3 |
--slave %{_bindir}/jps jps %{sdkbindir}/jps \
|
|
|
b79db3 |
--slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \
|
|
|
b79db3 |
--slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \
|
|
|
b79db3 |
--slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
|
|
|
b79db3 |
--slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
|
|
|
b79db3 |
--slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
|
|
|
b79db3 |
--slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \
|
|
|
b79db3 |
--slave %{_bindir}/policytool policytool %{sdkbindir}/policytool \
|
|
|
b79db3 |
--slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
|
|
|
b79db3 |
--slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \
|
|
|
b79db3 |
--slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
|
|
|
b79db3 |
--slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \
|
|
|
b79db3 |
--slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \
|
|
|
b79db3 |
--slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \
|
|
|
b79db3 |
--slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/appletviewer-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/apt.1$ext apt.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/apt-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/extcheck-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jar.1$ext jar.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jar-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jarsigner-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/javac.1$ext javac.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/javac-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/javadoc-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/javah.1$ext javah.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/javah-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/javap.1$ext javap.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/javap-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jconsole-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jdb-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jhat-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jinfo-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jmap-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jps.1$ext jps.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jps-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jrunscript-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jsadebugd-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jstack-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jstat-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/jstatd-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/native2ascii-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/policytool-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/rmic-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/schemagen-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/serialver-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/wsgen-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/wsimport-%{name}.1$ext \
|
|
|
b79db3 |
--slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \
|
|
|
b79db3 |
%{_mandir}/man1/xjc-%{name}.1$ext
|
|
|
b79db3 |
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_jvmdir}/java-%{origin} \
|
|
|
b79db3 |
java_sdk_%{origin} %{_jvmdir}/%{sdklnk} %{priority} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/java-%{origin} \
|
|
|
b79db3 |
java_sdk_%{origin}_exports %{_jvmjardir}/%{sdklnk}
|
|
|
b79db3 |
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_jvmdir}/java-%{javaver} \
|
|
|
b79db3 |
java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} \
|
|
|
b79db3 |
--slave %{_jvmjardir}/java-%{javaver} \
|
|
|
b79db3 |
java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk}
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
%postun devel
|
|
|
b79db3 |
if [ $1 -eq 0 ]
|
|
|
b79db3 |
then
|
|
|
b79db3 |
alternatives --remove javac %{sdkbindir}/javac
|
|
|
b79db3 |
alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdklnk}
|
|
|
b79db3 |
alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk}
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
%post javadoc
|
|
|
b79db3 |
alternatives \
|
|
|
b79db3 |
--install %{_javadocdir}/java javadocdir %{_javadocdir}/%{name}/api \
|
|
|
b79db3 |
%{priority}
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
%postun javadoc
|
|
|
b79db3 |
if [ $1 -eq 0 ]
|
|
|
b79db3 |
then
|
|
|
b79db3 |
alternatives --remove javadocdir %{_javadocdir}/%{name}/api
|
|
|
b79db3 |
fi
|
|
|
b79db3 |
|
|
|
b79db3 |
exit 0
|
|
|
b79db3 |
|
|
|
b79db3 |
|
|
|
b79db3 |
%files -f %{name}.files
|
|
|
b79db3 |
%defattr(-,root,root,-)
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/jre/ASSEMBLY_EXCEPTION
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/jre/LICENSE
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/jre/THIRD_PARTY_README
|
|
|
b79db3 |
# FIXME: The TRADEMARK file should be in j2sdk-image.
|
|
|
b79db3 |
%doc openjdk/TRADEMARK
|
|
|
b79db3 |
%doc AUTHORS
|
|
|
b79db3 |
%doc COPYING
|
|
|
b79db3 |
%doc ChangeLog
|
|
|
b79db3 |
%doc NEWS
|
|
|
b79db3 |
%doc README
|
|
|
b79db3 |
%dir %{_jvmdir}/%{sdkdir}
|
|
|
b79db3 |
%{_jvmdir}/%{jrelnk}
|
|
|
b79db3 |
%{_jvmjardir}/%{jrelnk}
|
|
|
b79db3 |
%{_jvmprivdir}/*
|
|
|
b79db3 |
%{jvmjardir}
|
|
|
b79db3 |
%dir %{_jvmdir}/%{jredir}/lib/security
|
|
|
b79db3 |
%{_jvmdir}/%{jredir}/lib/security/cacerts
|
|
|
6d5ba8 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
|
|
|
6d5ba8 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
|
|
|
b79db3 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
|
|
|
b79db3 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
|
|
|
b79db3 |
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security.old
|
|
|
b79db3 |
%{_datadir}/icons/hicolor/*x*/apps/java.png
|
|
|
b79db3 |
%{_mandir}/man1/java-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/keytool-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/orbd-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/pack200-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/rmid-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/rmiregistry-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/servertool-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/tnameserv-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/unpack200-%{name}.1*
|
|
|
b79db3 |
%{_jvmdir}/%{jredir}/lib/security/nss.cfg
|
|
|
b79db3 |
|
|
|
b79db3 |
%files devel
|
|
|
b79db3 |
%defattr(-,root,root,-)
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/ASSEMBLY_EXCEPTION
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/LICENSE
|
|
|
b79db3 |
#%doc %{buildoutputdir}/j2sdk-image/README.html
|
|
|
b79db3 |
%doc %{buildoutputdir}/j2sdk-image/THIRD_PARTY_README
|
|
|
b79db3 |
# FIXME: The TRADEMARK file should be in j2sdk-image.
|
|
|
b79db3 |
%doc openjdk/TRADEMARK
|
|
|
b79db3 |
%dir %{_jvmdir}/%{sdkdir}/bin
|
|
|
b79db3 |
%dir %{_jvmdir}/%{sdkdir}/include
|
|
|
b79db3 |
%dir %{_jvmdir}/%{sdkdir}/lib
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
%dir %{_jvmdir}/%{sdkdir}/tapset
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%{_jvmdir}/%{sdkdir}/bin/*
|
|
|
b79db3 |
%{_jvmdir}/%{sdkdir}/include/*
|
|
|
b79db3 |
%{_jvmdir}/%{sdkdir}/lib/*
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
%{_jvmdir}/%{sdkdir}/tapset/*.stp
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
%{_jvmdir}/%{sdklnk}
|
|
|
b79db3 |
%{_jvmjardir}/%{sdklnk}
|
|
|
b79db3 |
%{_datadir}/applications/*jconsole.desktop
|
|
|
b79db3 |
%{_datadir}/applications/*policytool.desktop
|
|
|
b79db3 |
%{_mandir}/man1/appletviewer-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/apt-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/extcheck-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/idlj-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jar-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jarsigner-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/javac-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/javadoc-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/javah-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/javap-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jconsole-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jdb-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jhat-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jinfo-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jmap-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jps-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jrunscript-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jsadebugd-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jstack-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jstat-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/jstatd-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/native2ascii-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/policytool-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/rmic-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/schemagen-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/serialver-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/wsgen-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/wsimport-%{name}.1*
|
|
|
b79db3 |
%{_mandir}/man1/xjc-%{name}.1*
|
|
|
b79db3 |
%ifarch %{jit_arches}
|
|
|
b79db3 |
%{tapsetdir}/*.stp
|
|
|
b79db3 |
%endif
|
|
|
b79db3 |
|
|
|
b79db3 |
%files demo -f %{name}-demo.files
|
|
|
b79db3 |
%defattr(-,root,root,-)
|
|
|
b79db3 |
|
|
|
b79db3 |
%files src
|
|
|
b79db3 |
%defattr(-,root,root,-)
|
|
|
b79db3 |
%doc README.src
|
|
|
b79db3 |
%{_jvmdir}/%{sdkdir}/src.zip
|
|
|
b79db3 |
|
|
|
b79db3 |
%files javadoc
|
|
|
b79db3 |
%defattr(-,root,root,-)
|
|
|
b79db3 |
%doc %{_javadocdir}/%{name}
|
|
|
b79db3 |
|
|
|
b79db3 |
%changelog
|
|
|
3846fd |
* Wed May 04 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.39-1.13.11.0
|
|
|
3846fd |
- Update to IcedTea 1.13.11 & OpenJDK 6 b39.
|
|
|
3846fd |
- Resolves: rhbz#1325432
|
|
|
3846fd |
|
|
|
0032cc |
* Thu Jan 21 2016 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.38-1.13.10.0
|
|
|
0032cc |
- Update to IcedTea 1.13.10 & OpenJDK 6 b38.
|
|
|
0032cc |
- Resolves: rhbz#1295775
|
|
|
0032cc |
|
|
|
0032cc |
* Wed Nov 11 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.37-1.13.9.5
|
|
|
da48c2 |
- Update with new IcedTea & b37 tarballs, including fix for appletviewer regression.
|
|
|
0032cc |
- Resolves: rhbz#1271931
|
|
|
da48c2 |
|
|
|
0032cc |
* Tue Nov 10 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.37-1.13.9.4
|
|
|
da48c2 |
- Update with new IcedTea & b37 tarballs, including more Kerberos fixes for TCK regression.
|
|
|
0032cc |
- Resolves: rhbz#1271931
|
|
|
da48c2 |
|
|
|
0032cc |
* Wed Nov 04 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.37-1.13.9.3
|
|
|
da48c2 |
- Update with new IcedTea & b37 tarballs, including Kerberos fixes for TCK regression.
|
|
|
0032cc |
- Resolves: rhbz#1271931
|
|
|
da48c2 |
|
|
|
0032cc |
* Mon Nov 02 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.37-1.13.9.2
|
|
|
da48c2 |
- Update with newer tarball, including 6763122 fix for TCK regression.
|
|
|
0032cc |
- Use release + 1 to avoid having a lower version than the 6.7 version.
|
|
|
0032cc |
- Resolves: rhbz#1271931
|
|
|
da48c2 |
|
|
|
da48c2 |
* Tue Oct 27 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.37-1.13.9.0
|
|
|
da48c2 |
- Update to IcedTea 1.13.9
|
|
|
0032cc |
- Resolves: rhbz#1271931
|
|
|
da48c2 |
|
|
|
84b2c9 |
* Tue Jul 28 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.36-1.13.8.1
|
|
|
84b2c9 |
- Update tarball to fix TCK regression (PR2565)
|
|
|
0032cc |
- Resolves: rhbz#1235154
|
|
|
84b2c9 |
|
|
|
84b2c9 |
* Wed Jul 22 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.36-1.13.8.0
|
|
|
84b2c9 |
- Update to IcedTea 1.13.8
|
|
|
84b2c9 |
- Update no_pr2125.patch to work against new version.
|
|
|
0032cc |
- Resolves: rhbz#1235154
|
|
|
84b2c9 |
|
|
|
1f3f4d |
* Fri Apr 10 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.35-1.13.7.1
|
|
|
1f3f4d |
- Repackaged source files
|
|
|
0032cc |
- Resolves: rhbz#1209068
|
|
|
1f3f4d |
|
|
|
1f3f4d |
* Thu Apr 09 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.35-1.13.7.0
|
|
|
1f3f4d |
- Update to IcedTea 1.13.7
|
|
|
1f3f4d |
- Regenerate add-final-location-rpaths patch so as to be less disruptive.
|
|
|
0032cc |
- Add ExcludeArch directive for RH1209326
|
|
|
0032cc |
- Resolves: rhbz#1209068
|
|
|
1f3f4d |
|
|
|
1f3f4d |
* Thu Jan 22 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.34-1.13.6.1
|
|
|
6d5ba8 |
- Update to latest 1.13.6 release candidate tarball
|
|
|
6d5ba8 |
- Fixes a number of issues found with b34:
|
|
|
6d5ba8 |
- * OJ51, PR2187: Sync patch for 4873188 with 7 version
|
|
|
6d5ba8 |
- * OJ52, PR2185: Application of 6786276 introduces compatibility issue
|
|
|
6d5ba8 |
- * OJ53, PR2181: strict-aliasing warnings issued on PPC32
|
|
|
6d5ba8 |
- * OJ54, PR2182: 6911104 reintroduces test fragment removed in existing 6964018 backport
|
|
|
6d5ba8 |
- * S6730740, PR2186: Fix for 6729881 has apparently broken several 64 bit tests: "Bad address"
|
|
|
6d5ba8 |
- * S7031830, PR2183: bad_record_mac failure on TLSv1.2 enabled connection with SSLEngine
|
|
|
1f3f4d |
- Regenerate add-final-location-rpaths patch against new release.
|
|
|
1f3f4d |
- Resolves: rhbz#1180293
|
|
|
6d5ba8 |
|
|
|
6d5ba8 |
* Tue Jan 20 2015 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.34-1.13.6.0
|
|
|
6d5ba8 |
- Update to IcedTea 1.13.6
|
|
|
6d5ba8 |
- Remove upstream patch type_hsx23_patch4.patch.
|
|
|
1f3f4d |
- Regenerate add-final-location-rpaths patch against new release.
|
|
|
6d5ba8 |
- Apply pr2125.patch in generate_rhel_zip.sh to remove unwanted elliptic curves.
|
|
|
6d5ba8 |
- Add no_pr2125.patch to avoid repeating the procedure during the IcedTea build.
|
|
|
6d5ba8 |
- Avoid duplicating the OpenJDK build version by making more use of %%{openjdkver}.
|
|
|
6d5ba8 |
- Add US_export_policy.jar and local_policy.jar to packages.
|
|
|
1f3f4d |
- Resolves: rhbz#1180293
|
|
|
6d5ba8 |
|
|
|
423b73 |
* Thu Oct 09 2014 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.6.0.33-1.13.5.0
|
|
|
423b73 |
- Update to IcedTea 1.13.5
|
|
|
423b73 |
- Remove upstreamed patches.
|
|
|
423b73 |
- Regenerate add-final-location-rpaths patch against new release.
|
|
|
423b73 |
- Change versioning to match java-1.7.0-openjdk so revisions work.
|
|
|
423b73 |
- Use xz for tarballs to reduce file size.
|
|
|
423b73 |
- No need to explicitly disable system LCMS any more (bug fixed upstream).
|
|
|
423b73 |
- Add icedteasnapshot to setup lines so they work with pre-release tarballs.
|
|
|
1f3f4d |
- Resolves: rhbz#1148902
|
|
|
423b73 |
|
|
|
9fa6a6 |
* Mon Jul 14 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-6.1.13.4
|
|
|
9fa6a6 |
- moved to icedteaver 1.13.4
|
|
|
9fa6a6 |
- moved to openjdkver b32 and openjdkdate 15_jul_2014
|
|
|
9fa6a6 |
- added upstreamed patch patch9 rh1115580-unsyncHashMap.patch
|
|
|
1f3f4d |
- Resolves: rhbz#1115870
|
|
|
1f3f4d |
- forwardported from rhel 6.6, patch10, add-final-location-rpaths.patch (rh1059925)
|
|
|
1f3f4d |
- Work when capabilities are set on the binary
|
|
|
1f3f4d |
- Include hardcoded install path as well as $ORIGIN in RPATH
|
|
|
1f3f4d |
- Don't Expect LD_LIBRARY_PATH to be set in the launcher
|
|
|
9fa6a6 |
|
|
|
2598f8 |
* Tue May 20 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-6.1.13.3
|
|
|
2598f8 |
- updated to icedtea 1.13.3
|
|
|
2598f8 |
- updated to openjdk-6-src-b31-15_apr_2014
|
|
|
2598f8 |
- renmoved upstreamed patch7, 1.13_fixes.patch
|
|
|
2598f8 |
- renmoved upstreamed patch9, 1051245.patch
|
|
|
2598f8 |
- Resolves: rhbz#1099563
|
|
|
2598f8 |
|
|
|
ad7e33 |
* Thu Mar 13 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-7.1.13.1
|
|
|
ad7e33 |
- added and applied patch9 1051245.patch
|
|
|
ad7e33 |
- Resolves: rhbz#1070816
|
|
|
ad7e33 |
|
|
|
ad7e33 |
* Fri Feb 21 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-5.1.13.1
|
|
|
ad7e33 |
- removed redundant (we have in tree copy) rhino requires
|
|
|
ad7e33 |
- Resolves: rhbz#1066873
|
|
|
ad7e33 |
|
|
|
ad7e33 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1:1.6.0.0-4.1.13.1
|
|
|
ad7e33 |
- Mass rebuild 2014-01-24
|
|
|
ad7e33 |
|
|
|
ad7e33 |
* Thu Jan 23 2014 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-3.1.13.0
|
|
|
ad7e33 |
- updated to icedtea 1.13.1
|
|
|
ad7e33 |
- http://blog.fuseyism.com/index.php/2014/01/23/security-icedtea-1-12-8-1-13-1-for-openjdk-6-released/
|
|
|
ad7e33 |
- updated to jdk6, b30, 21_jan_2014
|
|
|
ad7e33 |
- https://openjdk6.java.net/OpenJDK6-B30-Changes.html
|
|
|
ad7e33 |
- adapted patch7 1.13_fixes.patch
|
|
|
ad7e33 |
- pre 2011 changelog moved to (till now wrong) pre-2009-spec-changelog (rh1043611)
|
|
|
ad7e33 |
- added --disable-system-lcms to configure options to pass build
|
|
|
ad7e33 |
- adapted patch3 java-1.6.0-openjdk-java-access-bridge-security.patch
|
|
|
ad7e33 |
- removed upstreamed patch103 type_hsx23_patch3.patch
|
|
|
ad7e33 |
- Resolves: rhbz#1053279
|
|
|
ad7e33 |
|
|
|
ad7e33 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:1.6.0.0-2.1.13.0
|
|
|
ad7e33 |
- Mass rebuild 2013-12-27
|
|
|
ad7e33 |
|
|
|
b79db3 |
* Wed Oct 30 2013 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.1-1.66.1.13.0
|
|
|
b79db3 |
- updated to icedtea 1.13
|
|
|
b79db3 |
- updated to openjdk-6-src-b28-04_oct_2013
|
|
|
b79db3 |
- added --disable-lcms2 configure switch to fix tck
|
|
|
b79db3 |
- removed upstreamed patch7,java-1.6.0-openjdk-jstack.patch
|
|
|
b79db3 |
- removed patch100: 8000791-regression-fix.patch
|
|
|
b79db3 |
- added patch7 1.13_fixes.patch to fix 1.13 build issues
|
|
|
b79db3 |
- adapted patch0 java-1.6.0-openjdk-optflags.patch
|
|
|
b79db3 |
- adapted patch3 java-1.6.0-openjdk-java-access-bridge-security.patch
|
|
|
b79db3 |
- removed useless runtests parts
|
|
|
b79db3 |
- included also java.security.old files
|
|
|
b79db3 |
- added:
|
|
|
b79db3 |
- Patch103 type_hsx23_patch3.patch
|
|
|
b79db3 |
- Patch104 type_hsx23_patch4.patch
|
|
|
b79db3 |
-to fix zero type error
|
|
|
b79db3 |
-aplied everywhere, as should go upstream
|
|
|
b79db3 |
- Resolves: rhbz#1018679
|
|
|
b79db3 |
|
|
|
b79db3 |
* Thu Aug 22 2013 Deepak Bhole <dbhole@redhat.com> - 1:1.6.0.0-1.64.1.11.12
|
|
|
b79db3 |
- Removed the temporary libffi-compat-5 requirement
|
|
|
b79db3 |
- Updated BR to java6-1.6.0-devel
|
|
|
b79db3 |
- Build with OpenJDK6 specifically
|
|
|
b79db3 |
|
|
|
b79db3 |
* Fri Aug 16 2013 Deepak Bhole <dbhole@redhat.com> - 1:1.6.0.0-1.63.1.11.12
|
|
|
b79db3 |
- Merged with latest version from 6.5 branch
|
|
|
b79db3 |
|
|
|
b79db3 |
* Tue Nov 01 2011 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.0-60.1.10.4
|
|
|
b79db3 |
- omajid have added Patch6 as (probably temporally) solution for S7103224 for buildability on newest glibc libraries.
|
|
|
b79db3 |
|
|
|
b79db3 |
* Thu Oct 13 2011 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.0-60.1.10.4
|
|
|
b79db3 |
- updated to icedtea6 1.10.4
|
|
|
b79db3 |
- Security fixes
|
|
|
b79db3 |
- S7000600, CVE-2011-3547: InputStream skip() information leak
|
|
|
b79db3 |
- S7019773, CVE-2011-3548: mutable static AWTKeyStroke.ctor
|
|
|
b79db3 |
- S7023640, CVE-2011-3551: Java2D TransformHelper integer overflow
|
|
|
b79db3 |
- S7032417, CVE-2011-3552: excessive default UDP socket limit under SecurityManager
|
|
|
b79db3 |
- S7046823, CVE-2011-3544: missing SecurityManager checks in scripting engine
|
|
|
b79db3 |
- S7055902, CVE-2011-3521: IIOP deserialization code execution
|
|
|
b79db3 |
- S7057857, CVE-2011-3554: insufficient pack200 JAR files uncompress error checks
|
|
|
b79db3 |
- S7064341, CVE-2011-3389: HTTPS: block-wise chosen-plaintext attack against SSL/TLS (BEAST)
|
|
|
b79db3 |
- S7070134, CVE-2011-3558: HotSpot crashes with sigsegv from PorterStemmer
|
|
|
b79db3 |
- S7077466, CVE-2011-3556: RMI DGC server remote code execution
|
|
|
b79db3 |
- S7083012, CVE-2011-3557: RMI registry privileged code execution
|
|
|
b79db3 |
- S7096936, CVE-2011-3560: missing checkSetFactory calls in HttpsURLConnection
|
|
|
b79db3 |
- Bug fixes
|
|
|
b79db3 |
- RH727195 : Japanese font mappings are broken
|
|
|
b79db3 |
- Backports
|
|
|
b79db3 |
- S6826104, RH730015: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog
|
|
|
b79db3 |
- Zero/Shark
|
|
|
b79db3 |
- PR690: Shark fails to JIT using hs20.
|
|
|
b79db3 |
- PR696: Zero fails to handle fast_aldc and fast_aldc_w in hs20.
|
|
|
b79db3 |
|
|
|
b79db3 |
* Fri Jul 22 2011 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.0-59.1.10.3
|
|
|
b79db3 |
- updated to icedtea6 1.10.3
|
|
|
b79db3 |
- http://blog.fuseyism.com/index.php/2011/07/21/icedtea6-1103-released/
|
|
|
b79db3 |
|
|
|
b79db3 |
* Fri Jun 10 2011 Jiri Vanek <jvanek@redhat.com> - 1:1.6.0.0-58.1.10.2
|
|
|
b79db3 |
- added requires: fontconfig
|
|
|
b79db3 |
- resolves: rhbz#708201
|