Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
java-9-openjdk.8132
java-9-openjdk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File java-9-openjdk.spec of Package java-9-openjdk.8132
# # spec file for package java-9-openjdk # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{!?aarch64:%global aarch64 aarch64 arm64 armv8} %{!?arm6:%global arm6 armv3l armv4b armv4l armv4tl armv5b armv5l armv5teb armv5tel armv5tejl armv6l armv6hl} %global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm} s390x %global debug 0 %global buildoutputdir build %global oldname java-1_9_0-openjdk # Convert an absolute path to a relative path. Each symbolic link is # specified relative to the directory in which it is installed so that # it will resolve properly within chrooted installations. %global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])' %global abs2rel perl -e %{script} %global syslibdir %{_libdir} %global archname %{name} # Standard JPackage naming and versioning defines. %global majorver 9 %global minorver 0 %global securityver 4 %global patchver 0 %global buildver 12 %global root_project jdk-updates %global root_repository jdk9u %global root_revision 2e265b4b8622 %global corba_revision 2ef36e70f490 %global hotspot_revision a470bcec6bb8 %global jaxp_revision 95a71f690b44 %global jaxws_revision f4f878b5f01c %global jdk_revision a779673ab57d %global langtools_revision e2bf77b3f002 %global nashorn_revision fb3f7ae74bf6 %global icedtea_sound_version 1.0.1 %global java_atk_wrapper_version 0.33.2 # priority must be 6 digits in total %global priority 1905 %global javaver %{majorver} # Standard JPackage directories and symbolic links. %global sdklnk java-%{javaver}-openjdk %global archname %{sdklnk} %global jrelnk jre-%{javaver}-openjdk %global jrebindir %{_jvmdir}/%{jrelnk}/bin %global sdkdir %{sdklnk}-%{javaver} %global sdkbindir %{_jvmdir}/%{sdklnk}/bin # Prevent brp-java-repack-jars from being run. %global __jar_repack 0 # cacert symlink %global cacerts %{_jvmdir}/%{sdkdir}/lib/security/cacerts # real file made by update-ca-certificates %global javacacerts %{_var}/lib/ca-certificates/java-cacerts %global bootcycle 1 # turn zero on non jit arches by default %ifnarch %{jit_arches} %global _with_zero 1 %endif %if %{debug} %global debugbuild slowdebug %else %global debugbuild release %endif %if %{bootcycle} %global imagesdir bootcycle-build/images %global imagestarget bootcycle-images all %else %global imagesdir images %global imagestarget all %endif # bnc#542545 # 32-bit versus 64-bit specific provides: %ifarch %{ix86} ppc s390 %global bits 32 %endif %ifarch x86_64 ia64 s390x %global bits 64 %endif %if 0%{?__isa_bits} %global bits %{__isa_bits} %endif # Turn on/off some features depending on openSUSE version %if 0%{?suse_version} > 1320 %global with_system_pcsc 1 %else %global with_system_pcsc 0 %endif %global with_pulseaudio 1 %bcond_with zero %if ! %{with zero} %ifarch x86_64 %global _with_aot 1 %endif %endif %bcond_with aot %if ! %{with zero} %global with_systemtap 1 %else %global with_systemtap 0 %endif %if %{with_systemtap} %global tapsetroot %{_datadir}/systemtap %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu} %endif %if %{with_systemtap} # Where to install systemtap tapset (links) # We would like these to be in a package specific subdir, # but currently systemtap doesn't support that, so we have to # use the root tapset dir for now. To distinquish between 64 # and 32 bit architectures we place the tapsets under the arch # specific dir (note that systemtap will only pickup the tapset # for the primary arch for now). Systemtap uses the machine name # aka build_cpu as architecture specific directory name. %global tapsetroot %{_datadir}/systemtap %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu} %endif Name: java-9-openjdk Version: %{majorver}.%{minorver}.%{securityver}.%{patchver} Release: 0 Summary: OpenJDK 9 Runtime Environment License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-with-classpath-exception AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND SUSE-Public-Domain AND W3C Group: Development/Languages/Java URL: http://openjdk.java.net/ # Sources from upstream OpenJDK9 project. Source0: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/archive/%{root_revision}.tar.bz2 Source1: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/corba/archive/%{corba_revision}.tar.bz2 Source2: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/hotspot/archive/%{hotspot_revision}.tar.bz2 Source3: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/jaxp/archive/%{jaxp_revision}.tar.bz2 Source4: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/jaxws/archive/%{jaxws_revision}.tar.bz2 Source5: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/jdk/archive/%{jdk_revision}.tar.bz2 Source6: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/langtools/archive/%{langtools_revision}.tar.bz2 Source7: http://hg.openjdk.java.net/%{root_project}/%{root_repository}/nashorn/archive/%{nashorn_revision}.tar.bz2 # Accessibility support Source8: ftp://ftp.gnome.org/pub/GNOME/sources/java-atk-wrapper/0.33/java-atk-wrapper-%{java_atk_wrapper_version}.tar.xz # Pulseaudio support Source9: http://icedtea.classpath.org/download/source/icedtea-sound-%{icedtea_sound_version}.tar.xz # Systemtap tapsets. Zipped up to keep it small. Source10: systemtap-tapset.tar.xz # Desktop files. Adapated from IcedTea. Source11: jconsole.desktop.in Source12: policytool.desktop.in # nss configuration file Source13: nss.cfg # Ensure we aren't using the limited crypto policy Source14: TestCryptoLevel.java # Ensure ECDSA is working Source15: TestECDSA.java # New versions of config files with aarch64 support. This is not upstream yet. Source100: config.guess Source101: config.sub # RPM/distribution specific patches Patch1: icedtea-sound-1.0.1-jdk9.patch Patch2: icedtea-sound-soundproperties.patch # Restrict access to java-atk-wrapper classes Patch3: java-atk-wrapper-security.patch # RHBZ 808293 Patch4: PStack-808293.patch # Allow multiple initialization of PKCS11 libraries Patch5: multiple-pkcs11-library-init.patch # Fix instantiation of VM on ZERO Patch8: zero-ranges.patch # From icedtea: Increase default memory limits Patch10: memory-limits.patch # Fix use of unintialized memory in adlc parser Patch12: adlc-parser.patch # Fix: implicit-pointer-decl Patch13: implicit-pointer-decl.patch Patch14: missing-return.patch # Patch15: system-pcsclite.patch # # OpenJDK specific patches # Patch100: s390-java-opts.patch Patch101: s390-size_t.patch # Patch102: sorted-diff.patch Patch103: jdk9-gcc6.patch # Patch200: ppc_stack_overflow_fix.patch Patch201: zero-atomic_copy64.patch Patch202: fix_armv6_build.patch # Patch300: java-9-openjdk-linuxfilestore.patch Patch301: bootcycle_jobs.patch Patch302: disable-doclint-by-default.patch Patch303: alternative-tzdb_dat.patch # Patch400: jaw-misc.patch Patch401: jaw-jdk9.patch Patch800: java9-improved-fonts.patch BuildRequires: alsa-lib-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: bc BuildRequires: binutils BuildRequires: cups-devel BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: fontconfig BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: giflib-devel BuildRequires: gtk2-devel BuildRequires: java-ca-certificates BuildRequires: libX11-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXt-devel BuildRequires: libXtst-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: libpng-devel BuildRequires: libtool BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: xorg-x11-proto-devel BuildRequires: xprop BuildRequires: zip BuildRequires: pkgconfig(atk) >= 2.14.0 BuildRequires: pkgconfig(atk-bridge-2.0) BuildRequires: pkgconfig(atspi-2) >= 2.14.0 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gdk-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) # Requires rest of java Requires: %{name}-headless = %{version}-%{release} Requires: fontconfig # mozilla-nss has to be installed to prevent # java.security.ProviderException: Could not initialize NSS # ... # java.io.FileNotFoundException: /usr/lib64/libnss3.so #was bnc#634793 Requires: mozilla-nss Requires(post): file Requires(post): java-ca-certificates # Standard JPackage base provides. Provides: java = %{javaver} Provides: java-%{javaver} = %{version}-%{release} Provides: java-openjdk = %{version}-%{release} Provides: jre = %{javaver} Provides: jre-%{javaver} = %{version}-%{release} Provides: jre-%{javaver}-openjdk = %{version}-%{release} Provides: jre-openjdk = %{version}-%{release} # Standard JPackage extensions provides. Provides: java-fonts = %{version} # Required at least by fop Provides: %{oldname} = %{version}-%{release} Provides: java-%{bits} = %{javaver} Provides: java-%{javaver}-%{bits} Provides: java-openjdk-%{bits} = %{version}-%{release} Provides: jre-%{bits} = %{javaver} Provides: jre-%{javaver}-%{bits} Provides: jre-%{javaver}-openjdk-%{bits} = %{version}-%{release} Provides: jre-openjdk-%{bits} = %{version}-%{release} Provides: jre1.3.x Provides: jre1.4.x Provides: jre1.5.x Provides: jre1.6.x Provides: jre1.7.x Provides: jre1.8.x Provides: jre1.9.x Obsoletes: %{oldname} < %{version}-%{release} %if %{bootcycle} BuildRequires: java-devel >= 1.8 BuildConflicts: java-devel >= 10 %else BuildRequires: %{name}-devel %endif # Zero-assembler build requirement. %if %{with zero} BuildRequires: libffi-devel %endif %if %{with_systemtap} BuildRequires: systemtap-sdt-devel %endif # pulse audio requirements %if %{with_pulseaudio} BuildRequires: libpulse-devel >= 0.9.11 BuildRequires: pulseaudio >= 0.9.11 %endif %if %{with_system_pcsc} BuildRequires: pcsc-lite-devel %endif %if %{with aot} BuildRequires: libelf-devel %endif %description The OpenJDK 9 runtime environment. %package headless Summary: OpenJDK 9 Runtime Environment Group: Development/Languages/Java Requires: jpackage-utils # Post requires update-alternatives to install tool update-alternatives. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall tool update-alternatives. Requires(postun): update-alternatives Recommends: tzdata-java8 # Standard JPackage base provides. Provides: java-%{javaver}-headless = %{version}-%{release} Provides: java-headless = %{javaver} Provides: java-openjdk-headless = %{version}-%{release} Provides: jre-%{javaver}-headless = %{version}-%{release} Provides: jre-%{javaver}-openjdk-headless = %{version}-%{release} Provides: jre-headless = %{javaver} Provides: jre-openjdk-headless = %{version}-%{release} # Standard JPackage extensions provides. Provides: %{oldname}-headless = %{version}-%{release} Provides: jaas = %{version} Provides: java-sasl = %{version} Provides: jce = %{version} Provides: jdbc-stdext = 4.3 Provides: jndi = %{version} Provides: jndi-cos = %{version} Provides: jndi-dns = %{version} Provides: jndi-ldap = %{version} Provides: jndi-rmi = %{version} Provides: jsse = %{version} Obsoletes: %{oldname}-headless < %{version}-%{release} %description headless The OpenJDK 9 runtime environment without audio and video support. %package devel Summary: OpenJDK 9 Development Environment # Require base package. Group: Development/Languages/Java Requires: %{name} = %{version}-%{release} # Post requires update-alternatives to install tool update-alternatives. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall tool update-alternatives. Requires(postun): update-alternatives # Standard JPackage devel provides. Provides: %{oldname}-devel = %{version}-%{release} Provides: java-%{javaver}-devel = %{version} Provides: java-devel = %{javaver} Provides: java-devel-openjdk = %{version} Provides: java-sdk = %{javaver} Provides: java-sdk-%{javaver} = %{version} Provides: java-sdk-%{javaver}-openjdk = %{version} Provides: java-sdk-openjdk = %{version} Obsoletes: %{oldname}-devel < %{version}-%{release} %description devel The OpenJDK 9 development tools. %package jmods Summary: JMods for OpenJDK 9 Group: Development/Languages/Java Requires: %{name}-devel = %{version}-%{release} %description jmods The JMods for OpenJDK. %package demo Summary: OpenJDK 9 Demos Group: Development/Languages/Java Requires: %{name} = %{version}-%{release} Provides: %{oldname}-demo = %{version}-%{release} Obsoletes: %{oldname}-demo < %{version}-%{release} %description demo The OpenJDK 9 demos. %package src Summary: OpenJDK 9 Source Bundle Group: Development/Languages/Java Requires: %{name} = %{version}-%{release} Provides: %{oldname}-src = %{version}-%{release} Obsoletes: %{oldname}-src < %{version}-%{release} %description src The OpenJDK 9 source bundle. %package javadoc Summary: OpenJDK 9 API Documentation Group: Development/Languages/Java Requires: jpackage-utils # Post requires update-alternatives to install javadoc alternative. Requires(post): update-alternatives # Postun requires update-alternatives to uninstall javadoc alternative. Requires(postun): update-alternatives # Standard JPackage javadoc provides. Provides: %{oldname}-javadoc = %{version}-%{release} Provides: java-%{javaver}-javadoc = %{version}-%{release} Provides: java-javadoc = %{version}-%{release} Obsoletes: %{oldname}-javadoc < %{version}-%{release} BuildArch: noarch %description javadoc The OpenJDK 9 API documentation. %package accessibility Summary: OpenJDK 9 accessibility connector Group: Development/Languages/Java Requires: %{name} = %{version}-%{release} Requires: xprop Provides: %{oldname}-accessibility = %{version}-%{release} Obsoletes: %{oldname}-accessibility < %{version}-%{release} %description accessibility Enables accessibility support in OpenJDK 9 by using java-atk-wrapper. This allows compatible at-spi2 based accessibility programs to work for AWT and Swing-based programs. Please note, the java-atk-wrapper is still in beta, and OpenJDK 9 itself is still being tuned to be working with accessibility features. There are known issues with accessibility on, so please do not install this package unless you really need to. %prep %setup -q -n %{root_repository}-%{root_revision} %setup -q -D -n %{root_repository}-%{root_revision} -T -a 1 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 2 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 3 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 4 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 5 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 6 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 7 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 8 %setup -q -D -n %{root_repository}-%{root_revision} -T -a 9 # Set up the build tree using the subrepository tarballs mv corba-%{corba_revision} corba mv hotspot-%{hotspot_revision} hotspot mv jaxp-%{jaxp_revision} jaxp mv jaxws-%{jaxws_revision} jaxws mv jdk-%{jdk_revision} jdk mv langtools-%{langtools_revision} langtools mv nashorn-%{nashorn_revision} nashorn # replace outdated configure guess script # # the configure macro will do this too, but it also passes a few flags not # supported by openjdk configure script cp %{SOURCE100} common/autoconf/build-aux/ cp %{SOURCE101} common/autoconf/build-aux/ # Remove libraries that are linked rm -rvf jdk/src/java.base/share/native/libzip/zlib-* find jdk/src/java.desktop/share/native/libjavajpeg ! -name imageioJPEG.c ! -name jpegdecoder.c -type f -delete rm -rvf jdk/src/java.desktop/share/native/libsplashscreen/libpng rm -rvf jdk/src/java.desktop/share/native/libsplashscreen/giflib rm -rvf jdk/src/java.desktop/share/native/liblcms/cms* rm -rvf jdk/src/java.desktop/share/native/liblcms/lcms2* %patch1 %if %{with_pulseaudio} %patch2 -p1 %endif %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch8 -p1 %patch10 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %if %{with_system_pcsc} %patch15 -p1 %endif # s390 build fixes %ifarch s390 %patch100 -p1 %patch101 -p1 %endif %patch102 -p1 %if 0%{?suse_version} >= 1330 %patch103 -p1 %endif %patch200 -p1 %patch201 -p1 %ifarch %{arm6} %patch202 -p0 %endif %patch300 -p1 %patch301 -p1 %patch302 -p1 %patch303 -p1 %patch800 -p1 %patch400 %patch401 # Extract systemtap tapsets %if %{with_systemtap} tar -x -I xz -f %{SOURCE10} for file in tapset/*.in; do OUTPUT_FILE=`echo $file | sed -e s:\.in$::g` sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/lib/server/libjvm.so:g $file > $file.1 # TODO find out which architectures other than ix86 have a client vm %ifarch %{ix86} %{arm6} sed -e s:@ABS_CLIENT_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/lib/client/libjvm.so:g $file.1 > $OUTPUT_FILE %else sed -e '/@ABS_CLIENT_LIBJVM_SO@/d' $file.1 > $OUTPUT_FILE %endif sed -i -e s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir}:g $OUTPUT_FILE done %endif # Prepare desktop files for file in %{SOURCE11} %{SOURCE12} ; do OUTPUT_FILE=`basename $file | sed -e s:\.in$::g` sed -e s:@JAVA_HOME@:%{_jvmdir}/%{sdkdir}:g $file > $OUTPUT_FILE sed -i -e s:@VERSION@:%{javaver}.%{_arch}:g $OUTPUT_FILE done %build # How many cpu's do we have? export NUM_PROC=`%{_bindir}/getconf _NPROCESSORS_ONLN 2> /dev/null || :` export NUM_PROC=${NUM_PROC:-1} # Build OpenJDK. %ifarch s390x sparc64 alpha ppc64 ppc64le %{aarch64} export ARCH_DATA_MODEL=64 %endif %ifarch alpha export CFLAGS="$CFLAGS -mieee" %endif EXTRA_CFLAGS="-Wno-error -DIMPROVED_FONT_RENDERING" EXTRA_CPP_FLAGS="-Wno-error -DIMPROVED_FONT_RENDERING" %ifarch ppc64 ppc64le ppc EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing" %endif %if 0%{?suse_version} >= 1330 EXTRA_CFLAGS="$EXTRA_CFLAGS -Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse -fpermissive" EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -Wno-error -std=gnu++98 -fno-delete-null-pointer-checks -fno-lifetime-dse" %endif (cd common/autoconf bash ./autogen.sh ) mkdir -p %{buildoutputdir} pushd %{buildoutputdir} bash ../configure \ --with-version-major=%{majorver} \ --with-version-minor=%{minorver} \ --with-version-security=%{securityver} \ --with-version-patch=%{patchver} \ --with-version-build=%{buildver} \ --with-version-pre="" \ --with-version-opt="suse-%{release}-%{_arch}" \ --disable-warnings-as-errors \ %if %{with zero} --with-jvm-variants=zero \ %else %ifarch %{arm6} --with-jvm-variants=client \ %endif %endif %if %{with aot} --enable-aot \ %else --disable-aot \ %endif --disable-zip-debug-info \ --disable-keep-packaged-modules \ --with-debug-level=%{debugbuild} \ --with-zlib=system \ --with-libjpeg=system \ --with-giflib=system \ --with-libpng=system \ --with-lcms=system \ %if %{with_system_pcsc} --with-pcsclite=system \ %endif --with-stdc++lib=dynamic \ %ifnarch %{arm} --with-num-cores="$NUM_PROC" \ %endif %ifarch s390 --with-boot-jdk-jvmargs="-Xms256M -Xmx768M" \ %endif --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \ --with-extra-cflags="$EXTRA_CFLAGS" \ --disable-javac-server # The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist # disables FDS for all build configs and reverts to pre-FDS make %{?_smp_mflags} logic. # STRIP_POLICY=none says don't do any stripping. DEBUG_BINARIES=true says # ignore all the other logic about which debug options and just do '-g'. make \ JAVAC_FLAGS=-g \ LOG=trace \ DEBUG_BINARIES=true \ STRIP_POLICY=no_strip \ POST_STRIP_CMD="" \ WARNINGS_ARE_ERRORS="-Wno-error" \ CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" \ %{imagestarget} docs # remove redundant *diz and *debuginfo files find %{imagesdir}/jdk -iname '*.diz' -exec rm {} \; find %{imagesdir}/jdk -iname '*.debuginfo' -exec rm {} \; popd >& /dev/null export JAVA_HOME=$(pwd)/%{buildoutputdir}/%{imagesdir}/jdk # Copy tz.properties echo "sun.zoneinfo.dir=%{_datadir}/javazi" >> $JAVA_HOME/conf/tz.properties %if %{with_pulseaudio} # Build the pulseaudio plugin pushd icedtea-sound-%{icedtea_sound_version} autoreconf --force --install %configure \ --with-jdk-home=$JAVA_HOME \ --disable-docs make %{?_smp_mflags} cp icedtea-sound.jar $JAVA_HOME/../jmods/ cp build/native/libicedtea-sound.so $JAVA_HOME/lib/ popd # Merge the icedtea-sound into the JDK source $JAVA_HOME/release; export MODULES $JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "icedtea.sound,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/ rm -rf $JAVA_HOME/../newjdk %endif # Build the accessibility plugin pushd java-atk-wrapper-%{java_atk_wrapper_version} autoreconf --force --install rm wrapper/org/GNOME/Accessibility/AtkWrapper.java %configure \ --without-jdk-auto-detect \ JDK_SRC=$JAVA_HOME rm wrapper/org/GNOME/Accessibility/AtkWrapper.java make %{?_smp_mflags} cp wrapper/java-atk-wrapper.jar $JAVA_HOME/../jmods/ cp jni/src/.libs/libatk-wrapper.so $JAVA_HOME/lib/ popd # Merge the java-atk-wrapper into the JDK source $JAVA_HOME/release; export MODULES $JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "atk.wrapper,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/ rm -rf $JAVA_HOME/../newjdk # cacerts are generated in runtime in openSUSE if [ -f %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts ]; then rm %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts fi # Check debug symbols are present and can identify code SERVER_JVM="$JAVA_HOME/lib/server/libjvm.so" if [ -f "$SERVER_JVM" ] ; then nm -aCl "$SERVER_JVM" | grep javaCalls.cpp fi CLIENT_JVM="$JAVA_HOME/lib/client/libjvm.so" if [ -f "$CLIENT_JVM" ] ; then nm -aCl "$CLIENT_JVM" | grep javaCalls.cpp fi ZERO_JVM="$JAVA_HOME/lib/zero/libjvm.so" if [ -f "$ZERO_JVM" ] ; then nm -aCl "$ZERO_JVM" | grep javaCalls.cpp fi # Check unlimited policy has been used $JAVA_HOME/bin/javac -d . %{SOURCE14} $JAVA_HOME/bin/java --add-opens java.base/javax.crypto=ALL-UNNAMED TestCryptoLevel # Check ECC is working $JAVA_HOME/bin/javac -d . %{SOURCE15} #FIXME make it run after system NSS support? $JAVA_HOME/bin/java $(echo $(basename %{SOURCE15})|sed "s|\.java||") || true %install export LANG=en_US.UTF-8 #bnc#530046 export STRIP_KEEP_SYMTAB=libjvm* # skip /usr/lib/rpm/brp-check-bytecode-version: export NO_BRP_CHECK_BYTECODE_VERSION=true %if %{with_systemtap} # Install systemtap support files. install -dm 755 %{buildroot}%{_jvmdir}/%{sdkdir}/tapset cp -a tapset/*.stp %{buildroot}%{_jvmdir}/%{sdkdir}/tapset/ install -d -m 755 %{buildroot}%{tapsetdir} pushd %{buildroot}%{tapsetdir} RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir}) ln -sf $RELATIVE/*.stp . popd %endif pushd %{buildoutputdir}/%{imagesdir}/jdk # Install main files. install -d -m 755 %{buildroot}%{_jvmdir}/%{sdkdir} cp -a bin include lib conf release %{buildroot}%{_jvmdir}/%{sdkdir} # Install JCE policy symlinks. install -d -m 755 %{buildroot}%{_jvmprivdir}/%{archname}/jce/vanilla # Install versionless symlinks. pushd %{buildroot}%{_jvmdir} ln -sf %{sdkdir} %{jrelnk} ln -sf %{sdkdir} %{sdklnk} popd # Remove javaws man page rm -f man/man1/javaws* # Install man pages. install -d -m 755 %{buildroot}%{_mandir}/man1 for manpage in man/man1/* do # Convert man pages to UTF8 encoding. iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp mv -f $manpage.tmp $manpage install -m 644 -p $manpage %{buildroot}%{_mandir}/man1/$(basename \ $manpage .1)-%{sdklnk}.1 done # Install demos and samples. cp -a demo %{buildroot}%{_jvmdir}/%{sdkdir} # enable short-circuit mkdir -p sample/rmi [ -f bin/java-rmi.cgi ] && mv bin/java-rmi.cgi sample/rmi cp -a sample %{buildroot}%{_jvmdir}/%{sdkdir} popd pushd %{buildoutputdir}/%{imagesdir} # Install jmods cp -a jmods %{buildroot}%{_jvmdir}/%{sdkdir} popd # Install nss.cfg install -m 644 %{SOURCE13} %{buildroot}%{_jvmdir}/%{sdkdir}/lib/security/ # Install Javadoc documentation. install -d -m 755 %{buildroot}%{_javadocdir} cp -a %{buildoutputdir}/images/docs %{buildroot}%{_javadocdir}/%{sdklnk} # Install icons and menu entries. for s in 16 24 32 48 ; do install -D -p -m 644 \ jdk/src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \ %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png done # Install desktop files. install -d -m 0755 %{buildroot}%{_datadir}/{applications,pixmaps} install -d -m 0755 %{buildroot}/%{_jvmdir}/%{sdkdir}/lib/desktop/ for d in jconsole policytool; do install -m 0644 $d.desktop %{buildroot}/%{_jvmdir}/%{sdkdir}/lib/desktop/ %suse_update_desktop_file %{buildroot}/%{_jvmdir}/%{sdkdir}/lib/desktop/$d.desktop done # Find demo directories. find %{buildroot}%{_jvmdir}/%{sdkdir}/demo \ %{buildroot}%{_jvmdir}/%{sdkdir}/sample -type d \ | sed 's|'%{buildroot}'|%dir |' \ > %{name}-demo.files # FIXME: remove SONAME entries from demo DSOs. See # https://bugzilla.redhat.com/show_bug.cgi?id=436497 # Find non-documentation demo files. find %{buildroot}%{_jvmdir}/%{sdkdir}/demo \ %{buildroot}%{_jvmdir}/%{sdkdir}/sample \ -type f -o -type l | sort \ | grep -v README \ | sed 's|'%{buildroot}'||' \ >> %{name}-demo.files # Find documentation demo files. find %{buildroot}%{_jvmdir}/%{sdkdir}/demo \ %{buildroot}%{_jvmdir}/%{sdkdir}/sample \ -type f -o -type l | sort \ | grep README \ | sed 's|'%{buildroot}'||' \ | sed 's|^|%doc |' \ >> %{name}-demo.files # Create a config file to enable java-atk-wrapper pushd %{buildroot}/%{_jvmdir}/%{sdkdir}/conf/ echo "#Config file to enable java-atk-wrapper" > accessibility.properties echo "" >> accessibility.properties echo "assistive_technologies=org.GNOME.Accessibility.AtkWrapper" >> accessibility.properties echo "" >> accessibility.properties popd # fdupes links the files from JDK to JRE, so it breaks a JRE # use it carefully :)) %fdupes -s %{buildroot}/%{_jvmdir}/%{sdkdir}/ %fdupes -s %{buildroot}/%{_jvmdir}/%{sdkdir}/demo %fdupes -s %{buildroot}%{_javadocdir}/%{sdklnk} %pre headless # This one is not a directory anymore, but a file, # so we need to remove the directory in order to avoid # cpio unpacking error if [ -d "%{_jvmdir}/%{sdkdir}/lib/modules" -a ! -L "%{_jvmdir}/%{sdkdir}/lib/modules" ]; then rm -rf "%{_jvmdir}/%{sdkdir}/lib/modules" fi %post headless ext=.gz # At a certain point, idlj and idlj was slave of java instead of # javac. This allows the upgrade pass without errors. if update-alternatives --query java | grep idlj >/dev/null 2>&1 then update-alternatives --remove java %{jrebindir}/java fi update-alternatives \ --install %{_bindir}/java java %{jrebindir}/java %{priority} \ --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ --slave %{_bindir}/jjs jjs %{jrebindir}/jjs \ --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \ --slave %{_bindir}/orbd orbd %{jrebindir}/orbd \ --slave %{_bindir}/policytool policytool %{jrebindir}/policytool \ --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \ --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \ --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \ --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \ --slave %{_mandir}/man1/java.1$ext java.1$ext \ %{_mandir}/man1/java-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jjs.1$ext jjs.1$ext \ %{_mandir}/man1/jjs-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \ %{_mandir}/man1/keytool-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \ %{_mandir}/man1/orbd-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \ %{_mandir}/man1/policytool-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \ %{_mandir}/man1/rmid-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \ %{_mandir}/man1/rmiregistry-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \ %{_mandir}/man1/servertool-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \ %{_mandir}/man1/tnameserv-%{sdklnk}.1$ext \ --slave %{_datadir}/applications/policytool.desktop policytool.desktop \ %{_jvmdir}/%{sdkdir}/lib/desktop/policytool.desktop update-alternatives \ --install %{_jvmdir}/jre-openjdk \ jre_openjdk %{_jvmdir}/%{jrelnk} %{priority} update-alternatives \ --install %{_jvmdir}/jre-%{javaver} \ jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} %postun headless if [ $1 -eq 0 ] then if test -f /proc/sys/fs/binfmt_misc/jarexec then echo '-1' > /proc/sys/fs/binfmt_misc/jarexec fi update-alternatives --remove java %{jrebindir}/java update-alternatives --remove jre_openjdk %{_jvmdir}/%{jrelnk} update-alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} fi %posttrans headless # bnc#781690#c11: don't trust user defined JAVA_HOME and use the current VM # XXX: this might conflict between various versions of openjdk export JAVA_HOME=%{_jvmdir}/%{jrelnk} # check if the java-cacerts is a valid keystore (bnc#781690) if [ X"`%{_bindir}/file --mime-type -b %{javacacerts}`" \ != "Xapplication/x-java-keystore;" ]; then %if 0%{?suse_version} <= 1310 # workaround for bnc#847952 - pre 13.1 keyring.jar attempts to load invalid keystore and fail on it rm -f "%{javacacerts}" %endif %{_sbindir}/update-ca-certificates fi # remove the default empty cacert file, if it's installed if [ 0`stat -c "%{s}" %{cacerts} 2>/dev/null` = "032" ] ; then rm -f %{cacerts} fi # if cacerts does exists, neither does not contain/point to a # valid keystore (bnc#781690) ... if [ X"`%{_bindir}/file --mime-type -b -L %{cacerts}`" \ != "Xapplication/x-java-keystore;" ]; then # bnc#727223 rm -f %{cacerts} ln -s %{javacacerts} %{cacerts} fi %post devel ext=.gz update-alternatives \ --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \ --slave %{_bindir}/idlj idlj %{jrebindir}/idlj \ %if %{with aot} --slave %{_bindir}/jaotc jaotc %{sdkbindir}/jaotc \ %endif --slave %{_bindir}/jar jar %{sdkbindir}/jar \ --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \ --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \ --slave %{_bindir}/javah javah %{sdkbindir}/javah \ --slave %{_bindir}/javap javap %{sdkbindir}/javap \ --slave %{_bindir}/jcmd jcmd %{sdkbindir}/jcmd \ --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \ --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \ --slave %{_bindir}/jdeprscan jdeprscan %{sdkbindir}/jdeprscan \ --slave %{_bindir}/jdeps jdeps %{sdkbindir}/jdeps \ %if ! %{with zero} --slave %{_bindir}/jhsdb jhsdb %{sdkbindir}/jhsdb \ %endif --slave %{_bindir}/jimage jimage %{sdkbindir}/jimage \ --slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \ --slave %{_bindir}/jlink jlink %{sdkbindir}/jlink \ --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \ --slave %{_bindir}/jmod jmod %{sdkbindir}/jmod \ --slave %{_bindir}/jps jps %{sdkbindir}/jps \ --slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \ --slave %{_bindir}/jshell jshell %{sdkbindir}/jshell \ --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \ --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \ --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \ --slave %{_bindir}/pack200 pack200 %{sdkbindir}/pack200 \ --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \ --slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \ --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \ --slave %{_bindir}/unpack200 unpack200 %{sdkbindir}/unpack200 \ --slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \ --slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \ --slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \ --slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \ %{_mandir}/man1/appletviewer-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/idlj.1$ext idlj.1$ext \ %{_mandir}/man1/idlj-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jar.1$ext jar.1$ext \ %{_mandir}/man1/jar-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \ %{_mandir}/man1/jarsigner-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/javac.1$ext javac.1$ext \ %{_mandir}/man1/javac-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \ %{_mandir}/man1/javadoc-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/javah.1$ext javah.1$ext \ %{_mandir}/man1/javah-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/javap.1$ext javap.1$ext \ %{_mandir}/man1/javap-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jcmd.1$ext jcmd.1$ext \ %{_mandir}/man1/jcmd-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \ %{_mandir}/man1/jconsole-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \ %{_mandir}/man1/jdb-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jdeps.1$ext jdeps.1$ext \ %{_mandir}/man1/jdeps-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \ %{_mandir}/man1/jinfo-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \ %{_mandir}/man1/jmap-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jps.1$ext jps.1$ext \ %{_mandir}/man1/jps-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \ %{_mandir}/man1/jrunscript-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \ %{_mandir}/man1/jstack-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \ %{_mandir}/man1/jstat-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \ %{_mandir}/man1/jstatd-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \ %{_mandir}/man1/pack200-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \ %{_mandir}/man1/rmic-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \ %{_mandir}/man1/schemagen-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \ %{_mandir}/man1/serialver-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \ %{_mandir}/man1/unpack200-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \ %{_mandir}/man1/wsgen-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \ %{_mandir}/man1/wsimport-%{sdklnk}.1$ext \ --slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \ %{_mandir}/man1/xjc-%{sdklnk}.1$ext \ --slave %{_datadir}/applications/jconsole.desktop jconsole.desktop \ %{_jvmdir}/%{sdkdir}/lib/desktop/jconsole.desktop update-alternatives \ --install %{_jvmdir}/java-openjdk \ java_sdk_openjdk %{_jvmdir}/%{sdklnk} %{priority} update-alternatives \ --install %{_jvmdir}/java-%{javaver} \ java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} %postun devel if [ $1 -eq 0 ] then update-alternatives --remove javac %{sdkbindir}/javac update-alternatives --remove java_sdk_openjdk %{_jvmdir}/%{sdklnk} update-alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} fi %post javadoc update-alternatives \ --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{sdklnk}/api \ %{priority} %postun javadoc if [ $1 -eq 0 ] then update-alternatives --remove javadocdir %{_javadocdir}/%{sdklnk}/api fi %files %dir %{_jvmdir}/%{sdkdir}/lib %{_jvmdir}/%{sdkdir}/lib/libawt_xawt.so %if %{with_pulseaudio} %{_jvmdir}/%{sdkdir}/lib/libicedtea-sound.so %endif %{_jvmdir}/%{sdkdir}/lib/libjawt.so %{_jvmdir}/%{sdkdir}/lib/libjsoundalsa.so %{_jvmdir}/%{sdkdir}/lib/libsplashscreen.so %dir %{_datadir}/icons/hicolor %{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png %files headless %dir %{_jvmdir} %dir %{_jvmdir}/%{sdkdir}/ %dir %{_jvmdir}/%{sdkdir}/bin %dir %{_jvmdir}/%{sdkdir}/lib %dir %{_jvmdir}/%{sdkdir}/lib/jli %ifarch %{arm6} %dir %{_jvmdir}/%{sdkdir}/lib/client %else %dir %{_jvmdir}/%{sdkdir}/lib/server %endif %dir %{_jvmdir}/%{sdkdir}/lib/desktop %dir %{_jvmdir}/%{sdkdir}/lib/security %dir %{_jvmdir}/%{sdkdir}/conf %dir %{_jvmdir}/%{sdkdir}/conf/security %dir %{_jvmdir}/%{sdkdir}/conf/security/policy %dir %{_jvmdir}/%{sdkdir}/conf/security/policy/unlimited %dir %{_jvmdir}/%{sdkdir}/conf/security/policy/limited %dir %{_jvmdir}/%{sdkdir}/conf/management %{_jvmdir}/%{jrelnk} %{_jvmprivdir}/* %{_jvmdir}/%{sdkdir}/bin/java %{_jvmdir}/%{sdkdir}/bin/jjs %{_jvmdir}/%{sdkdir}/bin/keytool %{_jvmdir}/%{sdkdir}/bin/orbd %{_jvmdir}/%{sdkdir}/bin/policytool %{_jvmdir}/%{sdkdir}/bin/rmid %{_jvmdir}/%{sdkdir}/bin/rmiregistry %{_jvmdir}/%{sdkdir}/bin/servertool %{_jvmdir}/%{sdkdir}/bin/tnameserv %{_jvmdir}/%{sdkdir}/conf/logging.properties %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.access %{_jvmdir}/%{sdkdir}/conf/management/jmxremote.password.template %{_jvmdir}/%{sdkdir}/conf/management/management.properties %{_jvmdir}/%{sdkdir}/conf/net.properties %{_jvmdir}/%{sdkdir}/conf/security/java.policy %{_jvmdir}/%{sdkdir}/conf/security/java.security %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/default_local.policy %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/default_US_export.policy %{_jvmdir}/%{sdkdir}/conf/security/policy/limited/exempt_local.policy %{_jvmdir}/%{sdkdir}/conf/security/policy/README.txt %{_jvmdir}/%{sdkdir}/conf/security/policy/unlimited/default_local.policy %{_jvmdir}/%{sdkdir}/conf/security/policy/unlimited/default_US_export.policy %{_jvmdir}/%{sdkdir}/conf/sound.properties %{_jvmdir}/%{sdkdir}/conf/tz.properties %if ! %{with zero} %{_jvmdir}/%{sdkdir}/lib/classlist %endif %{_jvmdir}/%{sdkdir}/lib/desktop/policytool.desktop %{_jvmdir}/%{sdkdir}/lib/jexec %{_jvmdir}/%{sdkdir}/lib/jli/libjli.so %{_jvmdir}/%{sdkdir}/lib/jrt-fs.jar %{_jvmdir}/%{sdkdir}/lib/jvm.cfg %{_jvmdir}/%{sdkdir}/lib/libawt_headless.so %{_jvmdir}/%{sdkdir}/lib/libawt.so %{_jvmdir}/%{sdkdir}/lib/libdt_socket.so %{_jvmdir}/%{sdkdir}/lib/libfontmanager.so %{_jvmdir}/%{sdkdir}/lib/libinstrument.so %{_jvmdir}/%{sdkdir}/lib/libj2gss.so %{_jvmdir}/%{sdkdir}/lib/libj2pcsc.so %{_jvmdir}/%{sdkdir}/lib/libj2pkcs11.so %{_jvmdir}/%{sdkdir}/lib/libjaas_unix.so %{_jvmdir}/%{sdkdir}/lib/libjavajpeg.so %{_jvmdir}/%{sdkdir}/lib/libjava.so %{_jvmdir}/%{sdkdir}/lib/libjdwp.so %{_jvmdir}/%{sdkdir}/lib/libjimage.so %{_jvmdir}/%{sdkdir}/lib/libjsig.so %{_jvmdir}/%{sdkdir}/lib/libjsound.so %{_jvmdir}/%{sdkdir}/lib/liblcms.so %{_jvmdir}/%{sdkdir}/lib/libmanagement_agent.so %{_jvmdir}/%{sdkdir}/lib/libmanagement_ext.so %{_jvmdir}/%{sdkdir}/lib/libmanagement.so %{_jvmdir}/%{sdkdir}/lib/libmlib_image.so %{_jvmdir}/%{sdkdir}/lib/libnet.so %{_jvmdir}/%{sdkdir}/lib/libnio.so %{_jvmdir}/%{sdkdir}/lib/libprefs.so %{_jvmdir}/%{sdkdir}/lib/librmi.so %{_jvmdir}/%{sdkdir}/lib/libsctp.so %{_jvmdir}/%{sdkdir}/lib/libsunec.so %{_jvmdir}/%{sdkdir}/lib/libunpack.so %{_jvmdir}/%{sdkdir}/lib/libverify.so %{_jvmdir}/%{sdkdir}/lib/libzip.so %{_jvmdir}/%{sdkdir}/lib/modules %{_jvmdir}/%{sdkdir}/lib/psfontj2d.properties %{_jvmdir}/%{sdkdir}/lib/psfont.properties.ja %{_jvmdir}/%{sdkdir}/lib/tzdb.dat %{_jvmdir}/%{sdkdir}/lib/*/libjsig.so %{_jvmdir}/%{sdkdir}/lib/*/libjvm.so %{_jvmdir}/%{sdkdir}/lib/*/Xusage.txt %config(noreplace) %{_jvmdir}/%{sdkdir}/lib/security/blacklisted.certs %config(noreplace) %{_jvmdir}/%{sdkdir}/lib/security/nss.cfg %{_jvmdir}/%{sdkdir}/lib/security/default.policy %{_mandir}/man1/java-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jjs-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/keytool-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/orbd-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/policytool-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmid-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmiregistry-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/servertool-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/tnameserv-%{sdklnk}.1%{?ext_man} %files devel %dir %{_jvmdir}/%{sdkdir}/bin %dir %{_jvmdir}/%{sdkdir}/include %dir %{_jvmdir}/%{sdkdir}/include/linux %dir %{_jvmdir}/%{sdkdir}/lib %if %{with_systemtap} %dir %{_jvmdir}/%{sdkdir}/tapset %endif %{_jvmdir}/%{sdkdir}/bin/appletviewer %{_jvmdir}/%{sdkdir}/bin/idlj %if %{with aot} %{_jvmdir}/%{sdkdir}/bin/jaotc %endif %{_jvmdir}/%{sdkdir}/bin/jar %{_jvmdir}/%{sdkdir}/bin/jarsigner %{_jvmdir}/%{sdkdir}/bin/javac %{_jvmdir}/%{sdkdir}/bin/javadoc %{_jvmdir}/%{sdkdir}/bin/javah %{_jvmdir}/%{sdkdir}/bin/javap %{_jvmdir}/%{sdkdir}/bin/jcmd %{_jvmdir}/%{sdkdir}/bin/jconsole %{_jvmdir}/%{sdkdir}/bin/jdb %{_jvmdir}/%{sdkdir}/bin/jdeprscan %{_jvmdir}/%{sdkdir}/bin/jdeps %if ! %{with zero} %{_jvmdir}/%{sdkdir}/bin/jhsdb %endif %{_jvmdir}/%{sdkdir}/bin/jimage %{_jvmdir}/%{sdkdir}/bin/jinfo %{_jvmdir}/%{sdkdir}/bin/jlink %{_jvmdir}/%{sdkdir}/bin/jmap %{_jvmdir}/%{sdkdir}/bin/jmod %{_jvmdir}/%{sdkdir}/bin/jps %{_jvmdir}/%{sdkdir}/bin/jrunscript %{_jvmdir}/%{sdkdir}/bin/jshell %{_jvmdir}/%{sdkdir}/bin/jstack %{_jvmdir}/%{sdkdir}/bin/jstat %{_jvmdir}/%{sdkdir}/bin/jstatd %{_jvmdir}/%{sdkdir}/bin/pack200 %{_jvmdir}/%{sdkdir}/bin/rmic %{_jvmdir}/%{sdkdir}/bin/schemagen %{_jvmdir}/%{sdkdir}/bin/serialver %{_jvmdir}/%{sdkdir}/bin/unpack200 %{_jvmdir}/%{sdkdir}/bin/wsgen %{_jvmdir}/%{sdkdir}/bin/wsimport %{_jvmdir}/%{sdkdir}/bin/xjc %{_jvmdir}/%{sdkdir}/include/classfile_constants.h %{_jvmdir}/%{sdkdir}/include/ir.idl %{_jvmdir}/%{sdkdir}/include/jawt.h %{_jvmdir}/%{sdkdir}/include/jdwpTransport.h %{_jvmdir}/%{sdkdir}/include/jni.h %{_jvmdir}/%{sdkdir}/include/jvmticmlr.h %{_jvmdir}/%{sdkdir}/include/jvmti.h %{_jvmdir}/%{sdkdir}/include/linux/jawt_md.h %{_jvmdir}/%{sdkdir}/include/linux/jni_md.h %{_jvmdir}/%{sdkdir}/include/orb.idl %{_jvmdir}/%{sdkdir}/lib/desktop/jconsole.desktop %{_jvmdir}/%{sdkdir}/lib/ct.sym %{_jvmdir}/%{sdkdir}/lib/libattach.so %if ! %{with zero} %{_jvmdir}/%{sdkdir}/lib/libsaproc.so %endif %if %{with aot} %{_jvmdir}/%{sdkdir}/lib/libjelfshim.so %endif %if %{with_systemtap} %{_jvmdir}/%{sdkdir}/tapset/*.stp %endif %{_jvmdir}/%{sdklnk} %{_mandir}/man1/appletviewer-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/idlj-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jar-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jarsigner-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javac-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javadoc-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javah-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/javap-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jcmd-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jconsole-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jdb-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jdeps-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jinfo-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jmap-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jps-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jrunscript-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jstack-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jstat-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/jstatd-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/pack200-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmic-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/schemagen-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/serialver-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/unpack200-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/wsgen-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/wsimport-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/xjc-%{sdklnk}.1%{?ext_man} %if %{with_systemtap} %{tapsetroot} %endif %files jmods %dir %{_jvmdir}/%{sdkdir}/jmods %{_jvmdir}/%{sdkdir}/release %{_jvmdir}/%{sdkdir}/jmods/*.jmod %if %{with_pulseaudio} %{_jvmdir}/%{sdkdir}/jmods/icedtea-sound.jar %endif %{_jvmdir}/%{sdkdir}/jmods/java-atk-wrapper.jar %files demo -f %{name}-demo.files %files src %{_jvmdir}/%{sdkdir}/lib/src.zip %files javadoc %dir %{_javadocdir} %dir %{_javadocdir}/%{sdklnk} %{_javadocdir}/%{sdklnk}/* %files accessibility %config(noreplace) %{_jvmdir}/%{sdkdir}/conf/accessibility.properties %{_jvmdir}/%{sdkdir}/lib/libatk-wrapper.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor