1 |
# If debug is 1, OpenJDK is built with all debug info present. |
# If debug is 1, OpenJDK is built with all debug info present. |
2 |
%global debug 0 |
%global debug 0 |
3 |
|
|
|
%global jdk8_version b132 |
|
|
%global hg_tag jdk8-%{jdk8_version} |
|
4 |
%global aarch64_hg_tag 992 |
%global aarch64_hg_tag 992 |
5 |
|
|
6 |
%global aarch64 aarch64 arm64 armv8 |
%global aarch64 aarch64 arm64 armv8 |
7 |
%global multilib_arches %{power64} sparc64 x86_64 %{aarch64} |
%global multilib_arches %{power64} sparc64 x86_64 %{aarch64} |
8 |
%global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} |
%global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} |
9 |
|
|
10 |
|
# sometimes we need to distinguish big and little endian PPC64 |
11 |
|
# taken from the openjdk-1.7 spec |
12 |
|
%global ppc64le ppc64le |
13 |
|
%global ppc64be ppc64 ppc64p7 |
14 |
|
|
15 |
%ifarch x86_64 |
%ifarch x86_64 |
16 |
%global archinstall amd64 |
%global archinstall amd64 |
21 |
%ifarch %{power64} |
%ifarch %{power64} |
22 |
%global archinstall ppc64 |
%global archinstall ppc64 |
23 |
%endif |
%endif |
24 |
|
%ifarch %{ppc64le} |
25 |
|
%global archinstall ppc64le |
26 |
|
%endif |
27 |
%ifarch %{ix86} |
%ifarch %{ix86} |
28 |
%global archinstall i386 |
%global archinstall i386 |
29 |
%endif |
%endif |
89 |
|
|
90 |
# Standard JPackage naming and versioning defines. |
# Standard JPackage naming and versioning defines. |
91 |
%global origin openjdk |
%global origin openjdk |
92 |
%global updatever 0 |
%global updatever 11 |
93 |
%global buildver %{jdk8_version} |
%global buildver b12 |
94 |
%global aarch64_updatever 0 |
%global aarch64_updatever 0 |
95 |
%global aarch64_buildver b128 |
%global aarch64_buildver b128 |
96 |
# priority must be 6 digits in total |
# priority must be 6 digits in total |
135 |
|
|
136 |
Name: java-%{javaver}-%{origin} |
Name: java-%{javaver}-%{origin} |
137 |
Version: %{javaver}.%{updatever} |
Version: %{javaver}.%{updatever} |
138 |
Release: %mkrel 2.%{buildver}.3 |
Release: %mkrel 3.%{buildver}.0 |
139 |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, |
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, |
140 |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages |
# and this change was brought into RHEL-4. java-1.5.0-ibm packages |
141 |
# also included the epoch in their virtual provides. This created a |
# also included the epoch in their virtual provides. This created a |
153 |
URL: http://openjdk.java.net/ |
URL: http://openjdk.java.net/ |
154 |
|
|
155 |
# Source from upstrem OpenJDK8 project. To regenerate, use |
# Source from upstrem OpenJDK8 project. To regenerate, use |
156 |
# ./generate_source_tarball.sh jdk8 %{hg_tag} |
# ./generate_source_tarball.sh jdk8u jdk8u jdk8u%{updatever}-%{buildver} |
157 |
# ./generate_source_tarball.sh aarch64-port %{aarch64_hg_tag} |
# ./generate_source_tarball.sh aarch64-port jdk8 %{aarch64_hg_tag} |
158 |
Source0: jdk8-%{hg_tag}.tar.xz |
Source0: jdk8u-jdk8u%{updatever}-%{buildver}.tar.xz |
159 |
Source1: aarch64-port-jdk8-%{aarch64_buildver}-aarch64-%{aarch64_hg_tag}.tar.xz |
Source1: aarch64-hotspot-jdk8-%{aarch64_buildver}-aarch64-%{aarch64_hg_tag}.tar.xz |
160 |
|
|
161 |
# Custom README for -src subpackage |
# Custom README for -src subpackage |
162 |
Source2: README.src |
Source2: README.src |
201 |
Patch5: multiple-pkcs11-library-init.patch |
Patch5: multiple-pkcs11-library-init.patch |
202 |
# Disable doclint for compatibility |
# Disable doclint for compatibility |
203 |
Patch6: disable-doclint-by-default.patch |
Patch6: disable-doclint-by-default.patch |
204 |
|
# Include all sources in src.zip |
205 |
|
Patch7: include-all-srcs.patch |
206 |
|
# Fix window activation in gnome-shell |
207 |
|
Patch8: set-active-window.patch |
208 |
|
# Fix javadoc. Backport from upstream. |
209 |
|
Patch9: javadoc-error-jdk-8029145.patch |
210 |
|
# More javadoc. Backport from upstream. |
211 |
|
Patch10: javadoc-error-jdk-8037484.patch |
212 |
|
# Problem discovered with make 4.0 |
213 |
|
Patch11: hotspot-build-j-directive.patch |
214 |
|
|
215 |
# |
# |
216 |
# OpenJDK specific patches |
# OpenJDK specific patches |
219 |
# Allow icedtea-web to build |
# Allow icedtea-web to build |
220 |
Patch99: applet-hole.patch |
Patch99: applet-hole.patch |
221 |
|
|
222 |
# Recognize s390/s390x |
# JVM heap size changes for s390 (thanks to aph) |
223 |
Patch100: %{name}-s390.patch |
Patch100: %{name}-s390-java-opts.patch |
224 |
# Type fixing for s390 |
# Type fixing for s390 |
|
Patch101: %{name}-bitmap.patch |
|
225 |
Patch102: %{name}-size_t.patch |
Patch102: %{name}-size_t.patch |
226 |
|
|
227 |
# Patch for PPC/PPC64 |
# Patch for PPC/PPC64 |
231 |
Patch202: system-libpng.patch |
Patch202: system-libpng.patch |
232 |
Patch203: system-lcms.patch |
Patch203: system-lcms.patch |
233 |
|
|
234 |
Patch1000: java-1.8.0-fix-build.patch |
Patch999: 0001-PPC64LE-arch-support-in-openjdk-1.8.patch |
235 |
|
Patch9999: enableArm64.patch |
236 |
|
|
237 |
BuildRequires: autoconf |
BuildRequires: autoconf |
238 |
BuildRequires: automake |
BuildRequires: automake |
239 |
BuildRequires: alsa-lib-devel |
BuildRequires: alsa-lib-devel |
240 |
|
BuildRequires: binutils |
241 |
BuildRequires: cups-devel |
BuildRequires: cups-devel |
242 |
BuildRequires: desktop-file-utils |
BuildRequires: desktop-file-utils |
243 |
BuildRequires: fontconfig |
BuildRequires: fontconfig |
248 |
BuildRequires: lcms2-devel |
BuildRequires: lcms2-devel |
249 |
BuildRequires: libjpeg-devel |
BuildRequires: libjpeg-devel |
250 |
BuildRequires: libpng-devel |
BuildRequires: libpng-devel |
251 |
#BuildRequires: libxslt |
BuildRequires: libxslt-devel |
252 |
BuildRequires: libx11-devel |
BuildRequires: libx11-devel |
253 |
BuildRequires: libxi-devel |
BuildRequires: libxi-devel |
254 |
BuildRequires: libxinerama-devel |
BuildRequires: libxinerama-devel |
258 |
BuildRequires: x11-proto-devel |
BuildRequires: x11-proto-devel |
259 |
#BuildRequires: redhat-lsb |
#BuildRequires: redhat-lsb |
260 |
BuildRequires: zip |
BuildRequires: zip |
261 |
# OpenJDK X officially requires OpenJDK (X-1) to build |
BuildRequires: java-1.8.0-openjdk-devel |
|
BuildRequires: java-1.7.0-openjdk-devel |
|
262 |
# Zero-assembler build requirement. |
# Zero-assembler build requirement. |
263 |
%ifnarch %{jit_arches} |
%ifnarch %{jit_arches} |
264 |
BuildRequires: libffi-devel |
BuildRequires: libffi-devel |
268 |
BuildRequires: openssl |
BuildRequires: openssl |
269 |
# execstack build requirement. |
# execstack build requirement. |
270 |
# no prelink on ARM yet |
# no prelink on ARM yet |
271 |
%ifnarch %{arm} %{aarch64} |
%ifnarch %{arm} %{aarch64} %{ppc64le} |
272 |
BuildRequires: prelink |
BuildRequires: prelink |
273 |
%endif |
%endif |
274 |
%if %{with_systemtap} |
%if %{with_systemtap} |
275 |
BuildRequires: systemtap |
BuildRequires: systemtap |
276 |
%endif |
%endif |
277 |
|
|
278 |
|
Requires: fontconfig |
279 |
|
#Requires: x11-font-type1 |
280 |
|
|
281 |
# Requires rest of java |
# Requires rest of java |
282 |
Requires: %{name}-headless = %{epoch}:%{version}-%{release} |
Requires: %{name}-headless = %{epoch}:%{version}-%{release} |
283 |
|
|
292 |
# Standard JPackage extensions provides. |
# Standard JPackage extensions provides. |
293 |
Provides: java-fonts = %{epoch}:%{version} |
Provides: java-fonts = %{epoch}:%{version} |
294 |
|
|
295 |
|
#Obsoletes: java-1.7.0-openjdk < 1:1.7.0.65-2.5.1.2 |
296 |
|
#Provides: java-1.7.0-openjdk = %{epoch}:%{version}-%{release} |
297 |
|
|
298 |
%description |
%description |
299 |
The OpenJDK runtime environment. |
The OpenJDK runtime environment. |
300 |
|
|
335 |
Provides: jdbc-stdext = 4.1 |
Provides: jdbc-stdext = 4.1 |
336 |
Provides: java-sasl = %{epoch}:%{version} |
Provides: java-sasl = %{epoch}:%{version} |
337 |
|
|
338 |
|
#Obsoletes: java-1.7.0-openjdk-headless < 1:1.7.0.65-2.5.1.2 |
339 |
|
#Provides: java-1.7.0-openjdk-headless = %{epoch}:%{version}-%{release} |
340 |
|
|
341 |
%description headless |
%description headless |
342 |
The OpenJDK runtime environment without audio and video support. |
The OpenJDK runtime environment without audio and video support. |
343 |
|
|
362 |
Provides: java-devel-%{origin} = %{epoch}:%{version} |
Provides: java-devel-%{origin} = %{epoch}:%{version} |
363 |
Provides: java-devel = %{epoch}:%{javaver} |
Provides: java-devel = %{epoch}:%{javaver} |
364 |
|
|
365 |
|
#Obsoletes: java-1.7.0-openjdk-devel < 1:1.7.0.65-2.5.1.2 |
366 |
|
#Provides: java-1.7.0-openjdk-devel = %{epoch}:%{version}-%{release} |
367 |
|
|
368 |
%description devel |
%description devel |
369 |
The OpenJDK development tools. |
The OpenJDK development tools. |
374 |
|
|
375 |
Requires: %{name} = %{epoch}:%{version}-%{release} |
Requires: %{name} = %{epoch}:%{version}-%{release} |
376 |
|
|
377 |
|
#Obsoletes: java-1.7.0-openjdk-demo < 1:1.7.0.65-2.5.1.2 |
378 |
|
#Provides: java-1.7.0-openjdk-demo = %{epoch}:%{version}-%{release} |
379 |
|
|
380 |
%description demo |
%description demo |
381 |
The OpenJDK demos. |
The OpenJDK demos. |
382 |
|
|
386 |
|
|
387 |
Requires: %{name} = %{epoch}:%{version}-%{release} |
Requires: %{name} = %{epoch}:%{version}-%{release} |
388 |
|
|
389 |
|
#Obsoletes: java-1.7.0-openjdk-src < 1:1.7.0.65-2.5.1.2 |
390 |
|
#Provides: java-1.7.0-openjdk-src = %{epoch}:%{version}-%{release} |
391 |
|
|
392 |
%description src |
%description src |
393 |
The OpenJDK source bundle. |
The OpenJDK source bundle. |
394 |
|
|
407 |
Provides: java-javadoc = %{epoch}:%{version}-%{release} |
Provides: java-javadoc = %{epoch}:%{version}-%{release} |
408 |
Provides: java-%{javaver}-javadoc = %{epoch}:%{version}-%{release} |
Provides: java-%{javaver}-javadoc = %{epoch}:%{version}-%{release} |
409 |
|
|
410 |
|
#Obsoletes: java-1.7.0-openjdk-javadoc < 1:1.7.0.65-2.5.1.2 |
411 |
|
#Provides: java-1.7.0-openjdk-javadoc = %{epoch}:%{version}-%{release} |
412 |
|
|
413 |
%description javadoc |
%description javadoc |
414 |
The OpenJDK API documentation. |
The OpenJDK API documentation. |
415 |
|
|
419 |
Requires: java-atk-wrapper |
Requires: java-atk-wrapper |
420 |
Requires: %{name} = %{epoch}:%{version}-%{release} |
Requires: %{name} = %{epoch}:%{version}-%{release} |
421 |
|
|
422 |
|
#Obsoletes: java-1.7.0-openjdk-accessibility < 1:1.7.0.65-2.5.1.2 |
423 |
|
#Provides: java-1.7.0-openjdk-accessibility = %{epoch}:%{version}-%{release} |
424 |
|
|
425 |
%description accessibility |
%description accessibility |
426 |
Enables accessibility support in OpenJDK by using java-atk-wrapper. This allows |
Enables accessibility support in OpenJDK by using java-atk-wrapper. This allows |
427 |
compatible at-spi2 based accessibility programs to work for AWT and Swing-based |
compatible at-spi2 based accessibility programs to work for AWT and Swing-based |
434 |
|
|
435 |
|
|
436 |
%prep |
%prep |
437 |
|
%setup -q -c -n %{name} -T -a 0 |
438 |
%ifarch %{aarch64} |
%ifarch %{aarch64} |
439 |
%global source_num 1 |
pushd jdk8 |
440 |
%else |
rm -r hotspot |
441 |
%global source_num 0 |
tar xf %{SOURCE1} |
442 |
|
popd |
443 |
%endif |
%endif |
|
|
|
|
%setup -q -c -n %{name} -T -a %{source_num} |
|
444 |
cp %{SOURCE2} . |
cp %{SOURCE2} . |
445 |
|
|
446 |
# replace outdated configure guess script |
# replace outdated configure guess script |
455 |
# Remove libraries that are linked |
# Remove libraries that are linked |
456 |
sh %{SOURCE12} |
sh %{SOURCE12} |
457 |
|
|
458 |
|
%ifarch %{aarch64} |
459 |
|
%patch9999 |
460 |
|
%endif |
461 |
|
|
462 |
%patch201 |
%patch201 |
463 |
%patch202 |
%patch202 |
464 |
%patch203 |
%patch203 |
470 |
%patch4 |
%patch4 |
471 |
%patch5 |
%patch5 |
472 |
%patch6 |
%patch6 |
473 |
|
%patch7 |
474 |
|
%patch8 |
475 |
|
%patch9 |
476 |
|
%patch10 |
477 |
|
%patch11 |
478 |
|
|
479 |
%patch99 |
%patch99 |
480 |
|
|
481 |
# Type fixes for s390 |
# s390 build fixes |
482 |
%ifarch s390 s390x |
%ifarch s390 |
483 |
%patch100 |
%patch100 |
|
%patch101 |
|
484 |
%patch102 |
%patch102 |
485 |
%endif |
%endif |
486 |
|
|
487 |
%ifarch ppc %{power64} |
%ifarch ppc %{power64} |
488 |
# PPC fixes |
# PPC fixes |
489 |
%patch103 |
%patch103 |
490 |
|
%patch999 -p1 |
491 |
%endif |
%endif |
492 |
|
|
|
%patch1000 -p1 |
|
|
|
|
493 |
# Extract systemtap tapsets |
# Extract systemtap tapsets |
494 |
%if %{with_systemtap} |
%if %{with_systemtap} |
495 |
|
|
544 |
%ifnarch %{jit_arches} |
%ifnarch %{jit_arches} |
545 |
--with-jvm-variants=zero \ |
--with-jvm-variants=zero \ |
546 |
%endif |
%endif |
|
%ifarch %{aarch64} |
|
|
--with-jvm-variants=client \ |
|
|
--disable-precompiled-headers \ |
|
|
%endif |
|
547 |
--disable-zip-debug-info \ |
--disable-zip-debug-info \ |
548 |
--with-milestone="fcs" \ |
--with-milestone="fcs" \ |
549 |
%ifnarch %{aarch64} |
%ifnarch %{aarch64} |
550 |
|
--with-update-version=%{updatever} \ |
551 |
--with-build-number=%{buildver} \ |
--with-build-number=%{buildver} \ |
552 |
%else |
%else |
553 |
--with-build-number=%{aarch64_buildver} \ |
--with-build-number=%{aarch64_buildver} \ |
562 |
--with-libpng=system \ |
--with-libpng=system \ |
563 |
--with-lcms=system \ |
--with-lcms=system \ |
564 |
--with-stdc++lib=dynamic \ |
--with-stdc++lib=dynamic \ |
565 |
--with-num-cores="$NUM_PROC" |
--with-num-cores="$NUM_PROC" \ |
566 |
|
--with-extra-cflags="-fno-devirtualize" \ |
567 |
|
--with-extra-cxxflags="-fno-devirtualize" |
568 |
|
|
569 |
# The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist |
# The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist |
570 |
# disables FDS for all build configs and reverts to pre-FDS make logic. |
# disables FDS for all build configs and reverts to pre-FDS make logic. |
572 |
# ignore all the other logic about which debug options and just do '-g'. |
# ignore all the other logic about which debug options and just do '-g'. |
573 |
|
|
574 |
make \ |
make \ |
|
SCTP_WERROR= \ |
|
575 |
DEBUG_BINARIES=true \ |
DEBUG_BINARIES=true \ |
576 |
FULL_DEBUG_SYMBOLS=0 \ |
STRIP_POLICY=no_strip \ |
577 |
STRIP_POLICY=none \ |
POST_STRIP_CMD="" \ |
|
ALT_OBJCOPY=/does_not_exist \ |
|
578 |
LOG=trace \ |
LOG=trace \ |
579 |
all |
all |
580 |
|
|
600 |
|
|
601 |
# Copy tz.properties |
# Copy tz.properties |
602 |
echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties |
echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties |
603 |
|
# Use system-wide tzdata |
604 |
|
#rm $JAVA_HOME/jre/lib/tzdb.dat |
605 |
|
#ln -s %{_datadir}/javazi-1.8/tzdb.dat $JAVA_HOME/jre/lib/tzdb.dat |
606 |
|
|
607 |
# Check unlimited policy has been used |
# Check unlimited policy has been used |
608 |
$JAVA_HOME/bin/javac -d . %{SOURCE13} |
$JAVA_HOME/bin/javac -d . %{SOURCE13} |
609 |
$JAVA_HOME/bin/java TestCryptoLevel |
$JAVA_HOME/bin/java TestCryptoLevel |
610 |
|
|
611 |
|
# Check debug symbols are present and can identify code |
612 |
|
SERVER_JVM="$JAVA_HOME/jre/lib/%{archinstall}/server/libjvm.so" |
613 |
|
if [ -f "$SERVER_JVM" ] ; then |
614 |
|
nm -aCl "$SERVER_JVM" | grep javaCalls.cpp |
615 |
|
fi |
616 |
|
CLIENT_JVM="$JAVA_HOME/jre/lib/%{archinstall}/client/libjvm.so" |
617 |
|
if [ -f "$CLIENT_JVM" ] ; then |
618 |
|
nm -aCl "$CLIENT_JVM" | grep javaCalls.cpp |
619 |
|
fi |
620 |
|
ZERO_JVM="$JAVA_HOME/jre/lib/%{archinstall}/zero/libjvm.so" |
621 |
|
if [ -f "$ZERO_JVM" ] ; then |
622 |
|
nm -aCl "$ZERO_JVM" | grep javaCalls.cpp |
623 |
|
fi |
624 |
|
|
625 |
%install |
%install |
626 |
|
rm -rf $RPM_BUILD_ROOT |
627 |
STRIP_KEEP_SYMTAB=libjvm* |
STRIP_KEEP_SYMTAB=libjvm* |
628 |
|
|
629 |
# Install symlink to default soundfont |
# Install symlink to default soundfont |
819 |
echo "" >> accessibility.properties |
echo "" >> accessibility.properties |
820 |
popd |
popd |
821 |
|
|
822 |
%post |
%post headless |
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
|
|
exit 0 |
|
|
|
|
823 |
# FIXME: identical binaries are copied, not linked. This needs to be |
# FIXME: identical binaries are copied, not linked. This needs to be |
824 |
# fixed upstream. |
# fixed upstream. |
825 |
%post headless |
ext=%{_extension} |
|
ext=.xz |
|
826 |
alternatives \ |
alternatives \ |
827 |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \ |
--install %{_bindir}/java java %{jrebindir}/java %{priority} \ |
828 |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
869 |
--slave %{_jvmjardir}/jre-%{javaver} \ |
--slave %{_jvmjardir}/jre-%{javaver} \ |
870 |
jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk} |
jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk} |
871 |
|
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
|
|
|
|
|
exit 0 |
|
|
|
|
|
%postun |
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
|
|
|
if [ $1 -eq 0 ] ; then |
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
|
|
fi |
|
|
|
|
872 |
exit 0 |
exit 0 |
873 |
|
|
874 |
%postun headless |
%postun headless |
879 |
alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} |
alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} |
880 |
fi |
fi |
881 |
|
|
|
%posttrans |
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
|
|
|
|
882 |
%post devel |
%post devel |
883 |
ext=.xz |
ext=%{_extension} |
884 |
alternatives \ |
alternatives \ |
885 |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ |
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ |
886 |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |
987 |
--slave %{_jvmjardir}/java-%{javaver} \ |
--slave %{_jvmjardir}/java-%{javaver} \ |
988 |
java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk} |
java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk} |
989 |
|
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || : |
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
|
|
|
|
990 |
exit 0 |
exit 0 |
991 |
|
|
992 |
%postun devel |
%postun devel |
1020 |
|
|
1021 |
|
|
1022 |
%files headless -f %{name}.files-headless |
%files headless -f %{name}.files-headless |
1023 |
|
%defattr(-,root,root,-) |
1024 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/ASSEMBLY_EXCEPTION |
%doc %{buildoutputdir}/images/j2sdk-image/jre/ASSEMBLY_EXCEPTION |
1025 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
1026 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/THIRD_PARTY_README |
%doc %{buildoutputdir}/images/j2sdk-image/jre/THIRD_PARTY_README |
1051 |
%{_jvmdir}/%{jredir}/lib/security/local_policy.jar |
%{_jvmdir}/%{jredir}/lib/security/local_policy.jar |
1052 |
|
|
1053 |
%files devel |
%files devel |
1054 |
|
%defattr(-,root,root,-) |
1055 |
%doc %{buildoutputdir}/images/j2sdk-image/ASSEMBLY_EXCEPTION |
%doc %{buildoutputdir}/images/j2sdk-image/ASSEMBLY_EXCEPTION |
1056 |
%doc %{buildoutputdir}/images/j2sdk-image/LICENSE |
%doc %{buildoutputdir}/images/j2sdk-image/LICENSE |
1057 |
%doc %{buildoutputdir}/images/j2sdk-image/THIRD_PARTY_README |
%doc %{buildoutputdir}/images/j2sdk-image/THIRD_PARTY_README |
1106 |
%endif |
%endif |
1107 |
|
|
1108 |
%files demo -f %{name}-demo.files |
%files demo -f %{name}-demo.files |
1109 |
|
%defattr(-,root,root,-) |
1110 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
1111 |
|
|
1112 |
%files src |
%files src |
1113 |
|
%defattr(-,root,root,-) |
1114 |
%doc README.src |
%doc README.src |
1115 |
%{_jvmdir}/%{sdkdir}/src.zip |
%{_jvmdir}/%{sdkdir}/src.zip |
1116 |
|
|
1117 |
%files javadoc |
%files javadoc |
1118 |
|
%defattr(-,root,root,-) |
1119 |
%doc %{_javadocdir}/%{name} |
%doc %{_javadocdir}/%{name} |
1120 |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE |
1121 |
|
|
1124 |
%{_jvmdir}/%{jredir}/lib/ext/java-atk-wrapper.jar |
%{_jvmdir}/%{jredir}/lib/ext/java-atk-wrapper.jar |
1125 |
%{_jvmdir}/%{jredir}/lib/accessibility.properties |
%{_jvmdir}/%{jredir}/lib/accessibility.properties |
1126 |
|
|
|
|
|