]> git.pld-linux.org Git - packages/openjdk12.git/blame - openjdk12.spec
drop package information for -jre-base-gtk
[packages/openjdk12.git] / openjdk12.spec
CommitLineData
2692550d
JP
1%bcond_with bootstrap # build a bootstrap version, using icedtea6
2%bcond_without cacerts # don't include the default CA certificates
3899c70b
JK
3
4%if %{with bootstrap}
e90c6d71 5%define use_jdk openjdk11
4ebf0f12
JP
6%else
7%define use_jdk openjdk12
2692550d
JP
8%endif
9
e90c6d71 10%ifarch %{x8664} aarch64
2692550d 11%define with_aot 1
3899c70b
JK
12%endif
13
391a9837
JP
14%ifarch x32
15%define with_zero 1
16%endif
17
7e6ce6f9
JP
18%ifarch %{ix86} %{x8664} aarch64
19%define with_shenandoahgc 1
20%endif
21
3899c70b 22# class data version seen with file(1) that this jvm is able to load
4ebf0f12 23%define _classdataversion 56.0
3899c70b 24
83cf7429 25Summary: Open-source implementation of the Java Platform, Standard Edition
4ebf0f12
JP
26Summary(pl.UTF-8): Wolnoźródłowa implementacja Java 12 SE
27Name: openjdk12
28Version: 12.0.2
abdaed9b 29Release: 2
3899c70b
JK
30License: GPL v2
31Group: Development/Languages/Java
4ebf0f12
JP
32Source0: https://github.com/openjdk/jdk12u/archive/jdk-%{version}-ga/%{name}-%{version}.tar.gz
33# Source0-md5: fe3addb26254c5a9ac17922358e2a055
3899c70b 34Source10: make-cacerts.sh
4ebf0f12
JP
35Patch0: no_optflags.patch
36Patch1: make-4.3.patch
9c91890b 37Patch2: x32.patch
ebf5b46e 38Patch3: aarch64.patch
b2950e84 39URL: http://openjdk.java.net/
9910e19d 40BuildRequires: /usr/bin/jar
b2950e84
JK
41BuildRequires: alsa-lib-devel
42BuildRequires: ant
43BuildRequires: autoconf
44BuildRequires: bash
45%{?with_cacerts:BuildRequires: ca-certificates-update}
46BuildRequires: cups-devel
2692550d 47BuildRequires: elfutils-devel
62e0207b 48BuildRequires: fontconfig-devel
5fe8dfbd 49BuildRequires: freetype-devel >= 1:2.10.2
b2950e84 50BuildRequires: gawk
5fe8dfbd 51BuildRequires: giflib-devel >= 5.2.1
b2950e84 52BuildRequires: glibc-misc
83cf7429 53%{?buildrequires_jdk}
5fe8dfbd 54BuildRequires: lcms2-devel >= 2.11
3899c70b 55BuildRequires: libjpeg-devel
5fe8dfbd 56BuildRequires: libpng-devel >= 2:1.6.37
3899c70b 57BuildRequires: lsb-release
991454fa 58BuildRequires: pcsc-lite-devel
3899c70b 59BuildRequires: pkgconfig
2c60acb1 60BuildRequires: rpm-build >= 4.6
ac7264ca 61BuildRequires: rpmbuild(macros) >= 1.752
3899c70b
JK
62BuildRequires: unzip
63BuildRequires: util-linux
64BuildRequires: xorg-lib-libX11-devel
62e0207b 65BuildRequires: xorg-lib-libXext-devel
3899c70b
JK
66BuildRequires: xorg-lib-libXinerama-devel
67BuildRequires: xorg-lib-libXp-devel
62e0207b 68BuildRequires: xorg-lib-libXrandr-devel
3899c70b
JK
69BuildRequires: xorg-lib-libXrender-devel
70BuildRequires: xorg-lib-libXt-devel
71BuildRequires: xorg-lib-libXtst-devel
72BuildRequires: xorg-proto-printproto-devel
73BuildRequires: xorg-proto-xproto-devel
74BuildRequires: zip
75BuildRequires: zlib-devel
3899c70b 76Requires: %{name}-jdk = %{version}-%{release}
3899c70b
JK
77Suggests: icedtea-web
78Obsoletes: icedtea6
79Obsoletes: icedtea7
99741f0a 80Obsoletes: icedtea8
3899c70b
JK
81Obsoletes: java-gcj-compat
82Obsoletes: java-gcj-compat-devel
83Obsoletes: java-sun
84Obsoletes: java-sun-demos
85Obsoletes: java-sun-jre
9910e19d 86Obsoletes: java-sun-jre-X11
3899c70b
JK
87Obsoletes: java-sun-jre-alsa
88Obsoletes: java-sun-jre-jdbc
3899c70b 89Obsoletes: java-sun-tools
9910e19d
JK
90Obsoletes: java5-sun
91Obsoletes: java5-sun-jre
92Obsoletes: java5-sun-jre-X11
93Obsoletes: java5-sun-jre-jdbc
94Obsoletes: java5-sun-tools
3899c70b
JK
95Obsoletes: oracle-java7
96Obsoletes: oracle-java7-jre
9910e19d 97Obsoletes: oracle-java7-jre-X11
3899c70b
JK
98Obsoletes: oracle-java7-jre-alsa
99Obsoletes: oracle-java7-jre-jdbc
3899c70b
JK
100Obsoletes: oracle-java7-tools
101BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102
103%define dstreldir %{name}-%{version}
104%define dstdir %{_jvmdir}/%{dstreldir}
3899c70b
JK
105%define jvmjardir %{_jvmjardir}/%{name}-%{version}
106
3899c70b
JK
107# to break artificial subpackage dependency loops
108%define _noautoreq 'libmawt.so' java\\\\(ClassDataVersion\\\\)
109
2692550d
JP
110# openjdk build system handles _FORTIFY_SOURCE internally
111%undefine _fortify_cflags
112
3899c70b
JK
113%description
114Open-source implementation of the Java Platform, Standard Edition.
115
116This is a meta-package which provides, by its dependencies, all the
117OpenJDK components including the OpenJDK, Java 8 developement kit and
118runtime environment.
119
120%description -l pl.UTF-8
121Wolnoźródłowa implementacja Java 8 SE.
122
123To jest meta-pakiet, który, za pośrednictwem zależności, dostarcza
124wszystkie komponenty OpenJDK, w tym środowisko programistyczne
125(OpenJDK) i uruchomieniowe (JRE).
126
127%package jdk
128Summary: OpenJDK - software development kit
129Summary(pl.UTF-8): OpenJDK - środowisko programistyczne
130Group: Development/Languages/Java
131Requires: %{name}-jar = %{version}-%{release}
132Requires: %{name}-jdk-base = %{version}-%{release}
133Requires: %{name}-jre = %{version}-%{release}
7ac98338
JP
134Provides: j2sdk = %{version}
135Provides: jdk = %{version}
3899c70b
JK
136Obsoletes: blackdown-java-sdk
137Obsoletes: ibm-java
138Obsoletes: icedtea6-jdk
139Obsoletes: icedtea7-jdk
99741f0a 140Obsoletes: icedtea8-jdk
3899c70b
JK
141Obsoletes: java-blackdown
142Obsoletes: java-gcj-compat-devel
143Obsoletes: java-sun
144Obsoletes: java5-sun
3899c70b
JK
145Obsoletes: jdk
146Obsoletes: kaffe
9910e19d 147Obsoletes: oracle-java7
3899c70b
JK
148
149%description jdk
150This package symlinks OpenJDK development tools provided by
151%{name}-jdk-base to system-wide directories like %{_bindir}, making
152OpenJDK the default JDK.
153
154%description jdk -l pl.UTF-8
155Ten pakiet tworzy symboliczne dowiązania do narzędzi programistycznych
156OpenJDK, dostarczanych przez pakiet %{name}-jdk-base, w standardowych
157systemowych ścieżkach takich jak %{_bindir}, sprawiając tym samym, że
158OpenJDK staje się domyślnym JDK w systemie.
159
160%package jdk-base
161Summary: OpenJDK - software development kit
162Summary(pl.UTF-8): Kod OpenJDK - środowisko programistyczne
163Group: Development/Languages/Java
164Requires: %{name}-jre-base = %{version}-%{release}
2692550d 165Requires: jpackage-utils >= 0:1.7.5-8
5fe8dfbd 166Requires: lcms2 >= 2.11
3899c70b
JK
167Provides: jdk(%{name})
168
169%description jdk-base
170OpenJDK development tools built using free software only.
171
172%description jdk-base -l pl.UTF-8
173OpenJDK skompilowane wyłącznie przy użyciu wolnego oprogramowania.
174
175%package jre
176Summary: OpenJDK - runtime environment
177Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe
178Group: Development/Languages/Java
179Requires: %{name}-jre-base = %{version}-%{release}
180Requires: nss >= 1:3.13.4
181# Require zoneinfo data provided by java-tzdata subpackage.
182Requires: java-tzdata
183Provides: java
184Provides: java(ClassDataVersion) = %{_classdataversion}
185Provides: java(jaas) = %{version}
186Provides: java(jaf) = 1.1.1
187Provides: java(jaxp) = 1.3
188Provides: java(jaxp_parser_impl)
189Provides: java(jce) = %{version}
190Provides: java(jdbc-stdext) = %{version}
191Provides: java(jdbc-stdext) = 3.0
192Provides: java(jmx) = 1.4
193Provides: java(jndi) = %{version}
194Provides: java(jsse) = %{version}
195Provides: java1.4
7ac98338 196Provides: jre = %{version}
3899c70b
JK
197Obsoletes: icedtea6-jre
198Obsoletes: icedtea7-jre
99741f0a 199Obsoletes: icedtea8-jre
7a92e108
JP
200Obsoletes: jaas
201Obsoletes: jaf
3899c70b 202Obsoletes: java-gcj-compat
7a92e108
JP
203Obsoletes: java-jaxp
204Obsoletes: java-jdbc-stdext
3899c70b
JK
205Obsoletes: java-sun-jre
206Obsoletes: java5-sun-jre
7a92e108
JP
207Obsoletes: jce
208Obsoletes: jdbc-stdext
209Obsoletes: jmx
210Obsoletes: jndi
b2950e84 211Obsoletes: jre
7a92e108 212Obsoletes: jsse
9910e19d 213Obsoletes: oracle-java7-jre
3899c70b
JK
214
215%description jre
216This package symlinks OpenJDK runtime environment tools provided by
217%{name}-jre-base to system-wide directories like %{_bindir}, making
218OpenJDK the default JRE.
219
220%description jre -l pl.UTF-8
221Ten pakiet tworzy symboliczne dowiązania do środowiska
222uruchomieniowego OpenJDK, dostarczanych przez pakiet %{name}-jre-base,
223w standardowych systemowych ścieżkach takich jak %{_bindir},
224sprawiając tym samym, że OpenJDK staje się domyślnym JRE w systemie.
225
3899c70b
JK
226%package jre-base
227Summary: OpenJDK - runtime environment
228Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe
229Group: Development/Languages/Java
2692550d 230Requires: jpackage-utils >= 0:1.7.5-8
3899c70b
JK
231Provides: jre(%{name})
232
233%description jre-base
234OpenJDK runtime environment built using free software only.
235
236%description jre-base -l pl.UTF-8
237Środowisko uruchomieniowe OpenJDK zbudowany wyłącznie przy użyciu
238wolnego oprogramowania.
239
240%package jre-base-X11
241Summary: OpenJDK - runtime environment - X11 support
242Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa X11
243Group: Development/Languages/Java
244Requires: %{name}-jre-base = %{version}-%{release}
245Requires: %{name}-jre-base-freetype = %{version}-%{release}
5fe8dfbd
JP
246Requires: giflib >= 5.2.1
247Requires: libpng >= 2:1.6.37
d4bb574c 248Provides: jre-X11 = %{version}
2758b688 249Provides: jre-base-X11 = %{version}
3899c70b
JK
250
251%description jre-base-X11
252X11 support for OpenJDK runtime environment built using free software
253only.
254
255%description jre-base-X11 -l pl.UTF-8
256Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu
257wolnego oprogramowania.
258
3899c70b
JK
259%package jre-base-freetype
260Summary: OpenJDK - runtime environment - font support
261Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa fontów
262Group: Development/Languages/Java
263Requires: %{name}-jre-base = %{version}-%{release}
5fe8dfbd 264Requires: freetype >= 1:2.10.2
3899c70b
JK
265
266%description jre-base-freetype
267Font handling library for OpenJDK runtime environment built using free
268software only.
269
270%description jre-base-freetype -l pl.UTF-8
271Biblioteki obsługi czcionek dla OpenJDK zbudowane wyłącznie przy
272użyciu wolnego oprogramowania.
273
f87cc1f0
JP
274%package jmods
275Summary: OpenJDK - JMods
276Summary(pl.UTF-8): OpenJDK - JMods
277Group: Development/Languages/Java
278Requires: %{name}-jdk-base = %{version}-%{release}
279
280%description jmods
281JMods for OpenJDK.
282
283%description jmods -l pl.UTF-8
284JMods dla OpenJDK.
285
3899c70b
JK
286%package jar
287Summary: OpenJDK - JAR tool
288Summary(pl.UTF-8): OpenJDK - narzędzie JAR
289Group: Development/Languages/Java
290Requires: %{name}-jdk-base = %{version}-%{release}
291Provides: jar
292Obsoletes: fastjar
293Obsoletes: icedtea6-jar
294Obsoletes: icedtea7-jar
99741f0a 295Obsoletes: icedtea8-jar
3899c70b
JK
296Obsoletes: jar
297
298%description jar
299JAR tool from OpenJDK built using free software only.
300
301JAR is an archiver used to merge Java classes into a single library.
302
303%description jar -l pl.UTF-8
304Narzędzie jar z OpenJDK zbudowane przy uzyciu wyłącznie wolnego
305oprogramowania.
306
307JAR jest narzędziem pozwalającym wykonywać podstawowe operacje na
308archiwach javy .jar takie jak na przykład tworzenie lub rozpakowywanie
309archiwów.
310
3899c70b
JK
311%package jdk-sources
312Summary: OpenJDK - sources
313Summary(pl.UTF-8): OpenJDK - kod źródłowy
314Group: Documentation
1e277216 315BuildArch: noarch
3899c70b
JK
316
317%description jdk-sources
318Source code for the OpenJDK development kit and Java standard library.
319
320%description jdk-sources -l pl.UTF-8
321Kod źródłowy narzędzi programistycznych OpenJDK oraz standardowej
322biblioteki Javy.
323
324%package examples
325Summary: OpenJDK - examples
326Summary(pl.UTF-8): OpenJDK - przykłady
327Group: Documentation
1e277216 328BuildArch: noarch
3899c70b
JK
329
330%description examples
331Code examples for OpenJDK.
332
333%description examples -l pl.UTF-8
334Przykłady dla OpenJDK.
335
336%prep
4ebf0f12 337%setup -qn jdk12u-jdk-%{version}-ga
3899c70b 338
5b4e4f20
JK
339%patch0 -p1
340%patch1 -p1
9c91890b 341%patch2 -p1
ebf5b46e 342%patch3 -p1
5b4e4f20 343
3899c70b
JK
344%build
345# Make sure we have /proc mounted - otherwise idlc will fail later.
346if [ ! -f /proc/self/stat ]; then
347 echo "You need to have /proc mounted in order to build this package!"
348 exit 1
349fi
350
7ac98338 351cd make/autoconf
991454fa
JK
352%{__autoconf} -o generated-configure.sh
353cd ../..
354
3899c70b 355mkdir -p build-bin
b3255d96 356
b3255d96
JK
357# unset CLASSPATH to be safe, gnustep puts garbage there, which openjdk hates
358unset CLASSPATH
359
d12f28e3 360export SHELL=/bin/bash
3899c70b 361
5b4e4f20
JK
362chmod a+x configure
363
2dab85d0 364# disable-debug-symbols so openjdk debuginfo handling won't conflict with ours
5b4e4f20 365%configure \
391a9837 366 %{?with_zero:--with-jvm-variants=zero} \
2692550d 367 --with-boot-jdk="%{java_home}" \
4ebf0f12
JP
368 --with-extra-cflags="%{rpmcppflags} %{rpmcflags} -fcommon -O0" \
369 --with-extra-cxxflags="%{rpmcppflags} %{rpmcxxflags} -fcommon -O0" \
5b4e4f20 370 --with-extra-ldflags="%{rpmldflags}" \
4ebf0f12 371 --with-jni-libpath="%{_libdir}/java %{_libdir} /%{_lib}" \
7e6ce6f9 372 --with-jvm-features="%{?with_shenandoahgc:shenandoahgc}" \
2692550d 373 --with-native-debug-symbols=none \
391a9837 374 --disable-full-docs \
2692550d
JP
375 --disable-javac-server \
376 --disable-hotspot-gtest \
377 --disable-warnings-as-errors \
378 --with-jobs="%{__jobs}" \
5fe8dfbd 379 --with-freetype=system \
665079f5 380 --with-giflib=system \
991454fa
JK
381 --with-libjpeg=system \
382 --with-libpng=system \
383 --with-lcms=system \
2692550d
JP
384 --with-zlib=system \
385 --with-version-pre="" \
386 --with-version-opt="" \
7ac98338
JP
387 --with-version-build="%{release}" \
388 --with-vendor-name="PLD-Linux" \
389 --with-vendor-url="https://www.pld-linux.org" \
390 --with-vendor-bug-url="https://bugs.pld-linux.org" \
391 --with-vendor-vm-bug-url="https://bugs.openjdk.java.net" \
392 --with-vendor-version-string="%{version}"
5b4e4f20
JK
393
394specdir="$(dirname build/*-release/spec.gmk)"
395cat > $specdir/custom-spec.gmk <<EOF
2dab85d0 396# OpenJDK build system depends on bash
5b4e4f20
JK
397SHELL=/bin/bash
398EOF
2dab85d0 399[ -L tmp-bin ] || ln -s "$specdir/jdk/bin" tmp-bin
5b4e4f20 400
6dfebbce 401%{__make} -j1 images \
228c942f 402 LOG=debug
3899c70b 403
052665c9
JK
404# smoke test
405tmp-bin/java -version
406
d12f28e3 407export PATH="$(pwd)/build-bin:$PATH"
3899c70b
JK
408%{?with_cacerts:%{__sh} %{SOURCE10}}
409
410%install
411rm -rf $RPM_BUILD_ROOT
412install -d $RPM_BUILD_ROOT{%{_bindir},%{dstdir},%{_mandir}/ja} \
413 $RPM_BUILD_ROOT{%{jvmjardir},%{_examplesdir}/%{name}-%{version},%{_javasrcdir}} \
414 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
415
416# install the 'JDK image', it contains the JRE too
2692550d
JP
417cp -a build/*-release/images/jdk/* $RPM_BUILD_ROOT%{dstdir}
418
419find $RPM_BUILD_ROOT%{dstdir} -name '*.diz' -delete
3899c70b
JK
420
421# convenience symlinks without version number
422ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}
2692550d 423ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}-jre
3899c70b
JK
424
425ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/java
426
9910e19d 427# move JDK sources and demo to %{_prefix}/src
3899c70b 428mv $RPM_BUILD_ROOT%{dstdir}/demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
2692550d 429mv $RPM_BUILD_ROOT%{dstdir}/lib/src.zip $RPM_BUILD_ROOT%{_javasrcdir}/%{name}-jdk.zip
3899c70b
JK
430
431# move manual pages to its place
3899c70b
JK
432mv $RPM_BUILD_ROOT%{dstdir}/man/man1 $RPM_BUILD_ROOT%{_mandir}/man1
433rmdir $RPM_BUILD_ROOT%{dstdir}/man
434
435# replace duplicates with symlinks, link to %{_bindir}
436for path in $RPM_BUILD_ROOT%{dstdir}/bin/*; do
437 filename=$(basename $path)
b0f67130 438 ln -sf "%{dstdir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir}
3899c70b 439done
3899c70b 440
9910e19d 441# keep configuration in %{_sysconfdir} (not all *.properties go there)
2692550d 442for config in management security \
3899c70b
JK
443 logging.properties net.properties sound.properties; do
444
2692550d
JP
445 mv $RPM_BUILD_ROOT%{dstdir}/conf/$config $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/$config
446 ln -s %{_sysconfdir}/%{name}/$config $RPM_BUILD_ROOT%{dstdir}/conf/$config
3899c70b
JK
447done
448
3899c70b
JK
449%{?with_cacerts:install cacerts $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/security}
450
451%clean
452rm -rf $RPM_BUILD_ROOT
453
454%files
455%defattr(644,root,root,755)
3899c70b
JK
456
457%files jdk
458%defattr(644,root,root,755)
2692550d 459%{?with_aot:%attr(755,root,root) %{_bindir}/jaotc}
3899c70b 460%attr(755,root,root) %{_bindir}/jarsigner
3899c70b
JK
461%attr(755,root,root) %{_bindir}/javac
462%attr(755,root,root) %{_bindir}/javadoc
3899c70b
JK
463%attr(755,root,root) %{_bindir}/javap
464%attr(755,root,root) %{_bindir}/jcmd
465%attr(755,root,root) %{_bindir}/jconsole
466%attr(755,root,root) %{_bindir}/jdb
2692550d 467%attr(755,root,root) %{_bindir}/jdeprscan
d12f28e3 468%attr(755,root,root) %{_bindir}/jdeps
391a9837 469%{!?with_zero:%attr(755,root,root) %{_bindir}/jhsdb}
2692550d 470%attr(755,root,root) %{_bindir}/jimage
3899c70b 471%attr(755,root,root) %{_bindir}/jinfo
2692550d 472%attr(755,root,root) %{_bindir}/jlink
3899c70b 473%attr(755,root,root) %{_bindir}/jmap
2692550d 474%attr(755,root,root) %{_bindir}/jmod
3899c70b 475%attr(755,root,root) %{_bindir}/jps
2692550d 476%attr(755,root,root) %{_bindir}/jshell
3899c70b
JK
477%attr(755,root,root) %{_bindir}/jstack
478%attr(755,root,root) %{_bindir}/jstat
479%attr(755,root,root) %{_bindir}/jstatd
3899c70b 480%attr(755,root,root) %{_bindir}/rmic
3899c70b 481%attr(755,root,root) %{_bindir}/serialver
3899c70b 482%{_jvmdir}/java
3899c70b
JK
483%{_mandir}/man1/jarsigner.1*
484%{_mandir}/man1/javac.1*
485%{_mandir}/man1/javadoc.1*
3899c70b
JK
486%{_mandir}/man1/javap.1*
487%{_mandir}/man1/jcmd.1*
488%{_mandir}/man1/jconsole.1*
489%{_mandir}/man1/jdb.1*
d12f28e3 490%{_mandir}/man1/jdeps.1*
3899c70b
JK
491%{_mandir}/man1/jinfo.1*
492%{_mandir}/man1/jmap.1*
493%{_mandir}/man1/jps.1*
3899c70b
JK
494%{_mandir}/man1/jstack.1*
495%{_mandir}/man1/jstat.1*
496%{_mandir}/man1/jstatd.1*
3899c70b
JK
497%{_mandir}/man1/serialver.1*
498%{_mandir}/man1/rmic.1*
3899c70b
JK
499
500%files jdk-base
501%defattr(644,root,root,755)
3899c70b
JK
502%dir %{dstdir}
503%{_jvmdir}/%{name}
2692550d 504%{?with_aot:%attr(755,root,root) %{dstdir}/bin/jaotc}
3899c70b
JK
505%attr(755,root,root) %{dstdir}/bin/jar
506%attr(755,root,root) %{dstdir}/bin/jarsigner
3899c70b
JK
507%attr(755,root,root) %{dstdir}/bin/javac
508%attr(755,root,root) %{dstdir}/bin/javadoc
3899c70b
JK
509%attr(755,root,root) %{dstdir}/bin/javap
510%attr(755,root,root) %{dstdir}/bin/jconsole
511%attr(755,root,root) %{dstdir}/bin/jcmd
512%attr(755,root,root) %{dstdir}/bin/jdb
2692550d 513%attr(755,root,root) %{dstdir}/bin/jdeprscan
d12f28e3 514%attr(755,root,root) %{dstdir}/bin/jdeps
391a9837 515%{!?with_zero:%attr(755,root,root) %{dstdir}/bin/jhsdb}
2692550d 516%attr(755,root,root) %{dstdir}/bin/jimage
3899c70b 517%attr(755,root,root) %{dstdir}/bin/jinfo
2692550d 518%attr(755,root,root) %{dstdir}/bin/jlink
3899c70b 519%attr(755,root,root) %{dstdir}/bin/jmap
2692550d 520%attr(755,root,root) %{dstdir}/bin/jmod
3899c70b 521%attr(755,root,root) %{dstdir}/bin/jps
2692550d 522%attr(755,root,root) %{dstdir}/bin/jshell
3899c70b
JK
523%attr(755,root,root) %{dstdir}/bin/jstack
524%attr(755,root,root) %{dstdir}/bin/jstat
525%attr(755,root,root) %{dstdir}/bin/jstatd
3899c70b 526%attr(755,root,root) %{dstdir}/bin/rmic
3899c70b 527%attr(755,root,root) %{dstdir}/bin/serialver
3899c70b 528%{dstdir}/include
3899c70b 529%{dstdir}/lib/ct.sym
3899c70b
JK
530
531%files jre
532%defattr(644,root,root,755)
533%attr(755,root,root) %{_bindir}/java
e90c6d71 534%attr(755,root,root) %{_bindir}/jfr
d12f28e3 535%attr(755,root,root) %{_bindir}/jjs
2692550d 536%attr(755,root,root) %{_bindir}/jrunscript
3899c70b 537%attr(755,root,root) %{_bindir}/keytool
3899c70b
JK
538%attr(755,root,root) %{_bindir}/pack200
539%attr(755,root,root) %{_bindir}/rmid
540%attr(755,root,root) %{_bindir}/rmiregistry
3899c70b
JK
541%attr(755,root,root) %{_bindir}/unpack200
542%{_mandir}/man1/java.1*
d12f28e3 543%{_mandir}/man1/jjs.1*
2692550d 544%{_mandir}/man1/jrunscript.1*
3899c70b 545%{_mandir}/man1/keytool.1*
3899c70b
JK
546%{_mandir}/man1/pack200.1*
547%{_mandir}/man1/rmid.1*
548%{_mandir}/man1/rmiregistry.1*
3899c70b 549%{_mandir}/man1/unpack200.1*
3899c70b
JK
550
551%files jre-base
552%defattr(644,root,root,755)
3899c70b
JK
553%dir %{_sysconfdir}/%{name}
554%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
555%dir %{dstdir}
556%{dstdir}/release
3899c70b 557%{_jvmdir}/%{name}-jre
3899c70b 558%dir %{dstdir}/bin
3899c70b 559%attr(755,root,root) %{dstdir}/bin/java
e90c6d71 560%attr(755,root,root) %{dstdir}/bin/jfr
d12f28e3 561%attr(755,root,root) %{dstdir}/bin/jjs
2692550d 562%attr(755,root,root) %{dstdir}/bin/jrunscript
3899c70b 563%attr(755,root,root) %{dstdir}/bin/keytool
3899c70b 564%attr(755,root,root) %{dstdir}/bin/pack200
3899c70b 565%attr(755,root,root) %{dstdir}/bin/rmid
3899c70b 566%attr(755,root,root) %{dstdir}/bin/rmiregistry
3899c70b 567%attr(755,root,root) %{dstdir}/bin/unpack200
2692550d
JP
568%{dstdir}/conf
569%{dstdir}/legal
570%dir %{dstdir}/lib
e90c6d71
JP
571%dir %{dstdir}/lib/jfr
572%{dstdir}/lib/jfr/*.jfc
2692550d
JP
573%{dstdir}/lib/security
574%dir %{dstdir}/lib/server
575%attr(755,root,root) %{dstdir}/lib/server/*.so
576%{dstdir}/lib/server/Xusage.txt
1ed2c4b5 577%if %{without zero}
4ebf0f12 578%{dstdir}/lib/server/classes.jsa
1ed2c4b5
JP
579%{dstdir}/lib/classlist
580%endif
2692550d
JP
581%{dstdir}/lib/jrt-fs.jar
582%{dstdir}/lib/jvm.cfg
583%attr(755,root,root) %{dstdir}/lib/libattach.so
584%attr(755,root,root) %{dstdir}/lib/libawt.so
585%attr(755,root,root) %{dstdir}/lib/libawt_headless.so
586%attr(755,root,root) %{dstdir}/lib/libdt_socket.so
7ac98338 587%attr(755,root,root) %{dstdir}/lib/libextnet.so
2692550d
JP
588%attr(755,root,root) %{dstdir}/lib/libinstrument.so
589%attr(755,root,root) %{dstdir}/lib/libj2gss.so
590%attr(755,root,root) %{dstdir}/lib/libj2pcsc.so
591%attr(755,root,root) %{dstdir}/lib/libj2pkcs11.so
e90c6d71 592%attr(755,root,root) %{dstdir}/lib/libjaas.so
2692550d
JP
593%attr(755,root,root) %{dstdir}/lib/libjava.so
594%attr(755,root,root) %{dstdir}/lib/libjimage.so
4ebf0f12 595%attr(755,root,root) %{dstdir}/lib/libjli.so
2692550d
JP
596%attr(755,root,root) %{dstdir}/lib/liblcms.so
597%attr(755,root,root) %{dstdir}/lib/libmanagement_agent.so
598%attr(755,root,root) %{dstdir}/lib/libmanagement_ext.so
599%attr(755,root,root) %{dstdir}/lib/libprefs.so
600%attr(755,root,root) %{dstdir}/lib/librmi.so
601%attr(755,root,root) %{dstdir}/lib/libsctp.so
602%attr(755,root,root) %{dstdir}/lib/libsunec.so
603%attr(755,root,root) %{dstdir}/lib/libjavajpeg.so
604%attr(755,root,root) %{dstdir}/lib/libjdwp.so
605%attr(755,root,root) %{dstdir}/lib/libjsig.so
606%attr(755,root,root) %{dstdir}/lib/libjsound.so
607%attr(755,root,root) %{dstdir}/lib/libmanagement.so
608%attr(755,root,root) %{dstdir}/lib/libmlib_image.so
609%attr(755,root,root) %{dstdir}/lib/libnet.so
610%attr(755,root,root) %{dstdir}/lib/libnio.so
391a9837 611%{!?with_zero:%attr(755,root,root) %{dstdir}/lib/libsaproc.so}
2692550d
JP
612%{?with_sunec:%attr(755,root,root) %{dstdir}/lib/libsunec.so}
613%attr(755,root,root) %{dstdir}/lib/libunpack.so
614%attr(755,root,root) %{dstdir}/lib/libverify.so
615%attr(755,root,root) %{dstdir}/lib/libzip.so
616%attr(755,root,root) %{dstdir}/lib/jexec
e90c6d71 617%attr(755,root,root) %{dstdir}/lib/jspawnhelper
2692550d
JP
618%{dstdir}/lib/modules
619%{dstdir}/lib/psfont.properties.ja
620%{dstdir}/lib/psfontj2d.properties
621%{dstdir}/lib/tzdb.dat
3899c70b
JK
622%{jvmjardir}
623
3899c70b
JK
624%files jre-base-X11
625%defattr(644,root,root,755)
2692550d
JP
626%attr(755,root,root) %{dstdir}/lib/libsplashscreen.so
627%attr(755,root,root) %{dstdir}/lib/libawt_xawt.so
628%attr(755,root,root) %{dstdir}/lib/libjawt.so
3899c70b 629
3899c70b
JK
630%files jre-base-freetype
631%defattr(644,root,root,755)
2692550d 632%attr(755,root,root) %{dstdir}/lib/libfontmanager.so
3899c70b 633
f87cc1f0
JP
634%files jmods
635%defattr(644,root,root,755)
636%{dstdir}/jmods
637
3899c70b
JK
638%files jar
639%defattr(644,root,root,755)
640%attr(755,root,root) %{_bindir}/jar
641%{_mandir}/man1/jar.1*
3899c70b 642
3899c70b
JK
643%files jdk-sources
644%defattr(644,root,root,755)
645%{_javasrcdir}/%{name}-jdk.zip
646
647%files examples
648%defattr(644,root,root,755)
649%{_examplesdir}/%{name}-%{version}
This page took 0.250524 seconds and 4 git commands to generate.