fix md5 sums and internal version numbers
[packages/openjdk9.git] / openjdk8.spec
CommitLineData
3899c70b
JK
1#
2# TODO:
3# - make it build
4# - make it install
5# - fix BuildRequires
5b4e4f20 6# - fix build with system giflib
3899c70b
JK
7#
8
9%bcond_with bootstrap # build a bootstrap version, using icedtea6
10%bcond_without cacerts # don't include the default CA certificates
11
12%if %{with bootstrap}
13%define use_jdk icedtea7
14%else
15%define use_jdk openjdk8
16%endif
17
18# class data version seen with file(1) that this jvm is able to load
c5052a68 19%define _classdataversion 52.0
d8978afb 20# JDK/JRE version, as returned with `java -version`, '_' replaced with '.'
c5052a68 21%define _jdkversion 1.8.0.internal
3899c70b
JK
22
23Summary: Open-source implementation of the Java Platform, Standard Edition
24Summary(pl.UTF-8): Wolnoźródłowa implementacja Java 8 SE
25Name: openjdk8
d8978afb
JK
26%define ver_u 66
27%define ver_b 02
28Version: 8u%{ver_u}.b%{ver_b}
3899c70b
JK
29Release: 0.1
30License: GPL v2
31Group: Development/Languages/Java
d8978afb 32Source0: openjdk8-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 33# Source0-md5: 1d115662e175470270e89a4da8e0fce2
d8978afb 34Source1: openjdk8-corba-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 35# Source1-md5: e14d8f51b9ca30d798094a2867f3f5d0
d8978afb 36Source2: openjdk8-hotspot-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 37# Source2-md5: b49a7b7f2db5b07306b7b5739e87ccc0
d8978afb 38Source3: openjdk8-jaxp-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 39# Source3-md5: 6bd5ae187272a209439d1a95ac6c9025
d8978afb 40Source4: openjdk8-jaxws-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
d8978afb 41Source5: openjdk8-jdk-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 42# Source5-md5: 74f2cf3815659b83993c4187e7fc4f6b
d8978afb 43Source6: openjdk8-langtools-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 44# Source6-md5: de5c9b5fdbcd75028b71ed667d4b99d2
d8978afb 45Source7: openjdk8-nashorn-jdk8u%{ver_u}-b%{ver_b}.tar.bz2
c5052a68 46# Source7-md5: 7da4e88349cfc45ee9726eaa4386be03
3899c70b 47Source10: make-cacerts.sh
5b4e4f20
JK
48Patch0: adjust-mflags.patch
49Patch1: format_strings.patch
3899c70b
JK
50URL: http://openjdk.java.net/
51BuildRequires: alsa-lib-devel
52BuildRequires: ant
53BuildRequires: autoconf
54BuildRequires: automake
55BuildRequires: bash
56%{?with_cacerts:BuildRequires: ca-certificates-update}
57BuildRequires: cups-devel
58BuildRequires: /usr/bin/jar
59BuildRequires: freetype-devel >= 2.3
60BuildRequires: gawk
5b4e4f20 61#BuildRequires: giflib-devel >= 5.1
3899c70b 62BuildRequires: glibc-misc
3899c70b 63%buildrequires_jdk
3899c70b 64BuildRequires: libjpeg-devel
3899c70b
JK
65BuildRequires: lsb-release
66BuildRequires: pkgconfig
67BuildRequires: rpmbuild(macros) >= 1.557
3899c70b
JK
68BuildRequires: unzip
69BuildRequires: util-linux
70BuildRequires: xorg-lib-libX11-devel
71BuildRequires: xorg-lib-libXinerama-devel
72BuildRequires: xorg-lib-libXp-devel
73BuildRequires: xorg-lib-libXrender-devel
74BuildRequires: xorg-lib-libXt-devel
75BuildRequires: xorg-lib-libXtst-devel
76BuildRequires: xorg-proto-printproto-devel
77BuildRequires: xorg-proto-xproto-devel
78BuildRequires: zip
79BuildRequires: zlib-devel
80Requires: %{name}-appletviewer = %{version}-%{release}
81Requires: %{name}-jdk = %{version}-%{release}
82Suggests: %{name}-jre-X11
83Suggests: icedtea-web
84Obsoletes: icedtea6
85Obsoletes: icedtea7
86Obsoletes: java5-sun
87Obsoletes: java5-sun-jre
88Obsoletes: java5-sun-jre-jdbc
89Obsoletes: java5-sun-jre-X11
90Obsoletes: java5-sun-tools
91Obsoletes: java-gcj-compat
92Obsoletes: java-gcj-compat-devel
93Obsoletes: java-sun
94Obsoletes: java-sun-demos
95Obsoletes: java-sun-jre
96Obsoletes: java-sun-jre-alsa
97Obsoletes: java-sun-jre-jdbc
98Obsoletes: java-sun-jre-X11
99Obsoletes: java-sun-tools
100Obsoletes: oracle-java7
101Obsoletes: oracle-java7-jre
102Obsoletes: oracle-java7-jre-alsa
103Obsoletes: oracle-java7-jre-jdbc
104Obsoletes: oracle-java7-jre-X11
105Obsoletes: oracle-java7-tools
106BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107
108%define dstreldir %{name}-%{version}
109%define dstdir %{_jvmdir}/%{dstreldir}
110%define jrereldir %{dstreldir}/jre
111%define jredir %{_jvmdir}/%{jrereldir}
112%define jvmjardir %{_jvmjardir}/%{name}-%{version}
113
114%ifarch %{x8664}
115%define jre_arch amd64
116%endif
117%ifarch %{ix86}
118%define jre_arch i386
119%endif
120%ifarch x32
121%define jre_arch x32
122%endif
123
124# to break artificial subpackage dependency loops
125%define _noautoreq 'libmawt.so' java\\\\(ClassDataVersion\\\\)
126
127%description
128Open-source implementation of the Java Platform, Standard Edition.
129
130This is a meta-package which provides, by its dependencies, all the
131OpenJDK components including the OpenJDK, Java 8 developement kit and
132runtime environment.
133
134%description -l pl.UTF-8
135Wolnoźródłowa implementacja Java 8 SE.
136
137To jest meta-pakiet, który, za pośrednictwem zależności, dostarcza
138wszystkie komponenty OpenJDK, w tym środowisko programistyczne
139(OpenJDK) i uruchomieniowe (JRE).
140
141%package jdk
142Summary: OpenJDK - software development kit
143Summary(pl.UTF-8): OpenJDK - środowisko programistyczne
144Group: Development/Languages/Java
145Requires: %{name}-jar = %{version}-%{release}
146Requires: %{name}-jdk-base = %{version}-%{release}
147Requires: %{name}-jre = %{version}-%{release}
d8978afb
JK
148Provides: j2sdk = %{_jdkversion}
149Provides: jdk = %{_jdkversion}
3899c70b
JK
150Obsoletes: blackdown-java-sdk
151Obsoletes: ibm-java
152Obsoletes: icedtea6-jdk
153Obsoletes: icedtea7-jdk
154Obsoletes: java-blackdown
155Obsoletes: java-gcj-compat-devel
156Obsoletes: java-sun
157Obsoletes: java5-sun
158Obsoletes: oracle-java7
159Obsoletes: jdk
160Obsoletes: kaffe
161
162%description jdk
163This package symlinks OpenJDK development tools provided by
164%{name}-jdk-base to system-wide directories like %{_bindir}, making
165OpenJDK the default JDK.
166
167%description jdk -l pl.UTF-8
168Ten pakiet tworzy symboliczne dowiązania do narzędzi programistycznych
169OpenJDK, dostarczanych przez pakiet %{name}-jdk-base, w standardowych
170systemowych ścieżkach takich jak %{_bindir}, sprawiając tym samym, że
171OpenJDK staje się domyślnym JDK w systemie.
172
173%package jdk-base
174Summary: OpenJDK - software development kit
175Summary(pl.UTF-8): Kod OpenJDK - środowisko programistyczne
176Group: Development/Languages/Java
177Requires: %{name}-jre-base = %{version}-%{release}
178Requires: jpackage-utils >= 0:1.7.5-4
179Provides: jdk(%{name})
180
181%description jdk-base
182OpenJDK development tools built using free software only.
183
184%description jdk-base -l pl.UTF-8
185OpenJDK skompilowane wyłącznie przy użyciu wolnego oprogramowania.
186
187%package jre
188Summary: OpenJDK - runtime environment
189Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe
190Group: Development/Languages/Java
191Requires: %{name}-jre-base = %{version}-%{release}
192Requires: nss >= 1:3.13.4
193# Require zoneinfo data provided by java-tzdata subpackage.
194Requires: java-tzdata
195Provides: java
196Provides: java(ClassDataVersion) = %{_classdataversion}
197Provides: java(jaas) = %{version}
198Provides: java(jaf) = 1.1.1
199Provides: java(jaxp) = 1.3
200Provides: java(jaxp_parser_impl)
201Provides: java(jce) = %{version}
202Provides: java(jdbc-stdext) = %{version}
203Provides: java(jdbc-stdext) = 3.0
204Provides: java(jmx) = 1.4
205Provides: java(jndi) = %{version}
206Provides: java(jsse) = %{version}
207Provides: java1.4
d8978afb 208Provides: jre = %{_jdkversion}
3899c70b
JK
209Obsoletes: icedtea6-jre
210Obsoletes: icedtea7-jre
211Obsoletes: java(jaas)
212Obsoletes: java(jaf)
213Obsoletes: java(jaxp)
214Obsoletes: java(jce)
215Obsoletes: java(jdbc-stdext)
216Obsoletes: java(jdbc-stdext)
217Obsoletes: java(jmx)
218Obsoletes: java(jndi)
219Obsoletes: java(jsse)
220Obsoletes: java-gcj-compat
221Obsoletes: java-sun-jre
222Obsoletes: java5-sun-jre
223Obsoletes: oracle-java7-jre
224Obsoletes: jre
225
226%description jre
227This package symlinks OpenJDK runtime environment tools provided by
228%{name}-jre-base to system-wide directories like %{_bindir}, making
229OpenJDK the default JRE.
230
231%description jre -l pl.UTF-8
232Ten pakiet tworzy symboliczne dowiązania do środowiska
233uruchomieniowego OpenJDK, dostarczanych przez pakiet %{name}-jre-base,
234w standardowych systemowych ścieżkach takich jak %{_bindir},
235sprawiając tym samym, że OpenJDK staje się domyślnym JRE w systemie.
236
237%package jre-X11
238Summary: OpenJDK - runtime environment - X11 support
239Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa X11
240Group: Development/Languages/Java
241Requires: %{name}-jre = %{version}-%{release}
242Requires: %{name}-jre-base-X11 = %{version}-%{release}
d8978afb 243Provides: jre-X11 = %{_jdkversion}
3899c70b
JK
244Obsoletes: icedtea6-jre-X11
245Obsoletes: icedtea7-jre-X11
246Obsoletes: java-sun-jre-X11
247Obsoletes: oracle-java7-jre-X11
248
249%description jre-X11
250X11 support for OpenJDK runtime environment built using free software
251only.
252
253%description jre-X11 -l pl.UTF-8
254Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu
255wolnego oprogramowania.
256
257%package jre-base
258Summary: OpenJDK - runtime environment
259Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe
260Group: Development/Languages/Java
261Requires: jpackage-utils >= 0:1.7.5-4
262Provides: jre(%{name})
263
264%description jre-base
265OpenJDK runtime environment built using free software only.
266
267%description jre-base -l pl.UTF-8
268Środowisko uruchomieniowe OpenJDK zbudowany wyłącznie przy użyciu
269wolnego oprogramowania.
270
271%package jre-base-X11
272Summary: OpenJDK - runtime environment - X11 support
273Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa X11
274Group: Development/Languages/Java
275Requires: %{name}-jre-base = %{version}-%{release}
276Requires: %{name}-jre-base-freetype = %{version}-%{release}
277
278%description jre-base-X11
279X11 support for OpenJDK runtime environment built using free software
280only.
281
282%description jre-base-X11 -l pl.UTF-8
283Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu
284wolnego oprogramowania.
285
286%package jre-base-alsa
287Summary: OpenJDK - runtime environment - ALSA support
288Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa ALSA
289Group: Development/Languages/Java
290Requires: %{name}-jre-base = %{version}-%{release}
291
292%description jre-base-alsa
293ALSA sound support for OpenJDK runtime environment build using free
294software only.
295
296%description jre-base-alsa -l pl.UTF-8
297Biblioteki ALSA rozszerzające środowisko OpenJDK o obsługę dźwięku
298zbudowane przy uzyciu wyłącznie wolnego oprogramowania.
299
300%package jre-base-freetype
301Summary: OpenJDK - runtime environment - font support
302Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa fontów
303Group: Development/Languages/Java
304Requires: %{name}-jre-base = %{version}-%{release}
305
306%description jre-base-freetype
307Font handling library for OpenJDK runtime environment built using free
308software only.
309
310%description jre-base-freetype -l pl.UTF-8
311Biblioteki obsługi czcionek dla OpenJDK zbudowane wyłącznie przy
312użyciu wolnego oprogramowania.
313
314%package jre-base-gtk
315Summary: OpenJDK - runtime environment - GTK support
316Summary(pl.UTF-8): OpenJDK - środowisko uruchomieniowe - obsługa GTK
317Group: Development/Languages/Java
318Requires: %{name}-jre-base = %{version}-%{release}
319
320%description jre-base-gtk
321GTK support for OpenJDK runtime environment.
322
323%description jre-base-gtk -l pl.UTF-8
324Biblioteki GTK dla OpenJDK.
325
326%package jar
327Summary: OpenJDK - JAR tool
328Summary(pl.UTF-8): OpenJDK - narzędzie JAR
329Group: Development/Languages/Java
330Requires: %{name}-jdk-base = %{version}-%{release}
331Provides: jar
332Obsoletes: fastjar
333Obsoletes: icedtea6-jar
334Obsoletes: icedtea7-jar
335Obsoletes: jar
336
337%description jar
338JAR tool from OpenJDK built using free software only.
339
340JAR is an archiver used to merge Java classes into a single library.
341
342%description jar -l pl.UTF-8
343Narzędzie jar z OpenJDK zbudowane przy uzyciu wyłącznie wolnego
344oprogramowania.
345
346JAR jest narzędziem pozwalającym wykonywać podstawowe operacje na
347archiwach javy .jar takie jak na przykład tworzenie lub rozpakowywanie
348archiwów.
349
350%package appletviewer
351Summary: OpenJDK - appletviewer tool
352Summary(pl.UTF-8): OpenJDK - narzędzie appletviewer
353Group: Development/Languages/Java
354Requires: %{name}-jdk-base = %{version}-%{release}
355Requires: %{name}-jre-X11 = %{version}-%{release}
356Obsoletes: icedtea6-appletviewer
357Obsoletes: icedtea7-appletviewer
358Obsoletes: java-sun-appletviewer
359Obsoletes: oracle-java7-appletviewer
360
361%description appletviewer
362Appletviewer from OpenJDK build using free software only.
363
364%description appletviewer -l pl.UTF-8
365Appletviewer pozwala uruchamiać aplety javy niezależnie od
366przeglądarki www. Ten appletviewer pochodzi z zestawu narzędzi OpenJDK
367i został zbudowany wyłącznie przy użyciu wolnego oprogramowania.
368
369%package jdk-sources
370Summary: OpenJDK - sources
371Summary(pl.UTF-8): OpenJDK - kod źródłowy
372Group: Documentation
373%if "%{_rpmversion}" >= "5"
374BuildArch: noarch
375%endif
376
377%description jdk-sources
378Source code for the OpenJDK development kit and Java standard library.
379
380%description jdk-sources -l pl.UTF-8
381Kod źródłowy narzędzi programistycznych OpenJDK oraz standardowej
382biblioteki Javy.
383
384%package examples
385Summary: OpenJDK - examples
386Summary(pl.UTF-8): OpenJDK - przykłady
387Group: Documentation
388%if "%{_rpmversion}" >= "5"
389BuildArch: noarch
390%endif
391
392%description examples
393Code examples for OpenJDK.
394
395%description examples -l pl.UTF-8
396Przykłady dla OpenJDK.
397
398%prep
d8978afb 399%setup -qn jdk8u-jdk8u%{ver_u}-b%{ver_b} -a1 -a2 -a3 -a4 -a5 -a6 -a7
3899c70b 400
d8978afb
JK
401for d in *-jdk8u*-b* ; do
402 ln -s "$d" "${d%%-jdk8u*-b*}"
3899c70b
JK
403done
404
5b4e4f20
JK
405%patch0 -p1
406%patch1 -p1
407
3899c70b
JK
408%build
409# Make sure we have /proc mounted - otherwise idlc will fail later.
410if [ ! -f /proc/self/stat ]; then
411 echo "You need to have /proc mounted in order to build this package!"
412 exit 1
413fi
414
415unset JAVA_HOME
5b4e4f20 416export SHELL=/bin/bash
3899c70b
JK
417
418mkdir -p build-bin
419export PATH="$(pwd)/build-bin:$PATH"
420
5b4e4f20
JK
421chmod a+x configure
422
423%configure \
424 --with-extra-cflags="%{rpmcflags}" \
425 --with-extra-cxxflags="%{rpmcxxflags}" \
426 --with-extra-ldflags="%{rpmldflags}" \
427 --with-giflib=bundled \
428 --with-zlib=system
429
430specdir="$(dirname build/*-release/spec.gmk)"
431cat > $specdir/custom-spec.gmk <<EOF
432SHELL=/bin/bash
433EOF
434[ -d tmp-bin ] || ln -s "$specdir/jdk/bin" tmp-bin
435
436%{__make} \
437 LOG=debug
3899c70b
JK
438
439%{?with_cacerts:%{__sh} %{SOURCE10}}
440
441%install
442rm -rf $RPM_BUILD_ROOT
443install -d $RPM_BUILD_ROOT{%{_bindir},%{dstdir},%{_mandir}/ja} \
444 $RPM_BUILD_ROOT{%{jvmjardir},%{_examplesdir}/%{name}-%{version},%{_javasrcdir}} \
445 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
446
447# install the 'JDK image', it contains the JRE too
448cp -a openjdk.build/j2sdk-image/* $RPM_BUILD_ROOT%{dstdir}
449
450# convenience symlinks without version number
451ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}
452ln -s %{jrereldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}-jre
453
454ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/java
455
456# move JDK sources and demo to /usr/src
457mv $RPM_BUILD_ROOT%{dstdir}/demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
458mv $RPM_BUILD_ROOT%{dstdir}/sample $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
459mv $RPM_BUILD_ROOT%{dstdir}/src.zip $RPM_BUILD_ROOT%{_javasrcdir}/%{name}-jdk.zip
460
461# move manual pages to its place
462mv $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.UTF-8/man1 $RPM_BUILD_ROOT%{_mandir}/ja/man1
463rmdir $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.UTF-8
464rm $RPM_BUILD_ROOT%{dstdir}/man/ja
465mv $RPM_BUILD_ROOT%{dstdir}/man/man1 $RPM_BUILD_ROOT%{_mandir}/man1
466rmdir $RPM_BUILD_ROOT%{dstdir}/man
467
468# replace duplicates with symlinks, link to %{_bindir}
469for path in $RPM_BUILD_ROOT%{dstdir}/bin/*; do
470 filename=$(basename $path)
471 if diff -q "$path" "$RPM_BUILD_ROOT%{jredir}/bin/$filename" > /dev/null; then
472 ln -sf "../jre/bin/$filename" "$path"
473 ln -sf "%{jredir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir}
474 else
475 ln -sf "%{dstdir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir}
476 fi
477done
478ln -sf ../jre/lib/jexec $RPM_BUILD_ROOT%{dstdir}/lib/jexec
479
480# keep configuration in /etc (not all *.properties go there)
481for config in management security content-types.properties \
482 logging.properties net.properties sound.properties; do
483
484 mv $RPM_BUILD_ROOT%{jredir}/lib/$config $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/$config
485 ln -s %{_sysconfdir}/%{name}/$config $RPM_BUILD_ROOT%{jredir}/lib/$config
486done
487
488ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jsse.jar
489ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jcert.jar
490ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jnet.jar
491ln -sf %{jredir}/lib/jce.jar $RPM_BUILD_ROOT%{jvmjardir}/jce.jar
492for f in jndi jndi-ldap jndi-cos jndi-rmi jaas jdbc-stdext jdbc-stdext-3.0 \
493 sasl jaxp_parser_impl jaxp_transform_impl jaxp jmx activation xml-commons-apis \
494 jndi-dns jndi-rmi; do
495 ln -sf %{jredir}/lib/rt.jar $RPM_BUILD_ROOT%{jvmjardir}/$f.jar
496done
497
498# some apps (like opera) looks for it in different place
499ln -s server/libjvm.so $RPM_BUILD_ROOT%{jredir}/lib/%{jre_arch}/libjvm.so
500
501# uses /usr/share/javazi if present and we require that package
502%{__rm} -r $RPM_BUILD_ROOT%{jredir}/lib/zi
503
504%{__rm} $RPM_BUILD_ROOT%{dstdir}/{,jre/}{ASSEMBLY_EXCEPTION,LICENSE,THIRD_PARTY_README}
505
506%{?with_cacerts:install cacerts $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/security}
507
508%clean
509rm -rf $RPM_BUILD_ROOT
510
511%files
512%defattr(644,root,root,755)
513%doc THIRD_PARTY_README ASSEMBLY_EXCEPTION
514
515%files jdk
516%defattr(644,root,root,755)
517%attr(755,root,root) %{_bindir}/apt
518%attr(755,root,root) %{_bindir}/extcheck
519%attr(755,root,root) %{_bindir}/idlj
520%attr(755,root,root) %{_bindir}/jarsigner
521%attr(755,root,root) %{_bindir}/java-rmi.cgi
522%attr(755,root,root) %{_bindir}/javac
523%attr(755,root,root) %{_bindir}/javadoc
524%attr(755,root,root) %{_bindir}/javah
525%attr(755,root,root) %{_bindir}/javap
526%attr(755,root,root) %{_bindir}/jcmd
527%attr(755,root,root) %{_bindir}/jconsole
528%attr(755,root,root) %{_bindir}/jdb
529%attr(755,root,root) %{_bindir}/jhat
530%attr(755,root,root) %{_bindir}/jinfo
531%attr(755,root,root) %{_bindir}/jmap
532%attr(755,root,root) %{_bindir}/jps
533%attr(755,root,root) %{_bindir}/jrunscript
534%attr(755,root,root) %{_bindir}/jsadebugd
535%attr(755,root,root) %{_bindir}/jstack
536%attr(755,root,root) %{_bindir}/jstat
537%attr(755,root,root) %{_bindir}/jstatd
538%attr(755,root,root) %{_bindir}/native2ascii
539%attr(755,root,root) %{_bindir}/rmic
540%attr(755,root,root) %{_bindir}/schemagen
541%attr(755,root,root) %{_bindir}/serialver
542%attr(755,root,root) %{_bindir}/wsgen
543%attr(755,root,root) %{_bindir}/wsimport
544%attr(755,root,root) %{_bindir}/xjc
545%{_jvmdir}/java
546%{_mandir}/man1/apt.1*
547%{_mandir}/man1/extcheck.1*
548%{_mandir}/man1/idlj.1*
549%{_mandir}/man1/jarsigner.1*
550%{_mandir}/man1/javac.1*
551%{_mandir}/man1/javadoc.1*
552%{_mandir}/man1/javah.1*
553%{_mandir}/man1/javap.1*
554%{_mandir}/man1/jcmd.1*
555%{_mandir}/man1/jconsole.1*
556%{_mandir}/man1/jdb.1*
557%{_mandir}/man1/jhat.1*
558%{_mandir}/man1/jinfo.1*
559%{_mandir}/man1/jmap.1*
560%{_mandir}/man1/jps.1*
561%{_mandir}/man1/jrunscript.1*
562%{_mandir}/man1/jsadebugd.1*
563%{_mandir}/man1/jstack.1*
564%{_mandir}/man1/jstat.1*
565%{_mandir}/man1/jstatd.1*
566%{_mandir}/man1/native2ascii.1*
567%{_mandir}/man1/schemagen.1*
568%{_mandir}/man1/serialver.1*
569%{_mandir}/man1/rmic.1*
570%{_mandir}/man1/wsgen.1*
571%{_mandir}/man1/wsimport.1*
572%{_mandir}/man1/xjc.1*
573%lang(ja) %{_mandir}/ja/man1/apt.1*
574%lang(ja) %{_mandir}/ja/man1/extcheck.1*
575%lang(ja) %{_mandir}/ja/man1/idlj.1*
576%lang(ja) %{_mandir}/ja/man1/jarsigner.1*
577%lang(ja) %{_mandir}/ja/man1/javac.1*
578%lang(ja) %{_mandir}/ja/man1/javadoc.1*
579%lang(ja) %{_mandir}/ja/man1/javah.1*
580%lang(ja) %{_mandir}/ja/man1/javap.1*
581%lang(ja) %{_mandir}/ja/man1/jcmd.1*
582%lang(ja) %{_mandir}/ja/man1/jconsole.1*
583%lang(ja) %{_mandir}/ja/man1/jdb.1*
584%lang(ja) %{_mandir}/ja/man1/jhat.1*
585%lang(ja) %{_mandir}/ja/man1/jinfo.1*
586%lang(ja) %{_mandir}/ja/man1/jmap.1*
587%lang(ja) %{_mandir}/ja/man1/jps.1*
588%lang(ja) %{_mandir}/ja/man1/jrunscript.1*
589%lang(ja) %{_mandir}/ja/man1/jsadebugd.1*
590%lang(ja) %{_mandir}/ja/man1/jstack.1*
591%lang(ja) %{_mandir}/ja/man1/jstat.1*
592%lang(ja) %{_mandir}/ja/man1/jstatd.1*
593%lang(ja) %{_mandir}/ja/man1/native2ascii.1*
594%lang(ja) %{_mandir}/ja/man1/schemagen.1*
595%lang(ja) %{_mandir}/ja/man1/serialver.1*
596%lang(ja) %{_mandir}/ja/man1/rmic.1*
597%lang(ja) %{_mandir}/ja/man1/wsgen.1*
598%lang(ja) %{_mandir}/ja/man1/wsimport.1*
599%lang(ja) %{_mandir}/ja/man1/xjc.1*
600
601%files jdk-base
602%defattr(644,root,root,755)
603%doc openjdk.build/j2sdk-image/THIRD_PARTY_README
604%doc openjdk.build/j2sdk-image/ASSEMBLY_EXCEPTION
605%dir %{dstdir}
606%{_jvmdir}/%{name}
607%attr(755,root,root) %{dstdir}/bin/appletviewer
608%attr(755,root,root) %{dstdir}/bin/apt
609%attr(755,root,root) %{dstdir}/bin/extcheck
610%attr(755,root,root) %{dstdir}/bin/idlj
611%attr(755,root,root) %{dstdir}/bin/jar
612%attr(755,root,root) %{dstdir}/bin/jarsigner
613%attr(755,root,root) %{dstdir}/bin/java-rmi.cgi
614%attr(755,root,root) %{dstdir}/bin/javac
615%attr(755,root,root) %{dstdir}/bin/javadoc
616%attr(755,root,root) %{dstdir}/bin/javah
617%attr(755,root,root) %{dstdir}/bin/javap
618%attr(755,root,root) %{dstdir}/bin/jconsole
619%attr(755,root,root) %{dstdir}/bin/jcmd
620%attr(755,root,root) %{dstdir}/bin/jdb
621%attr(755,root,root) %{dstdir}/bin/jhat
622%attr(755,root,root) %{dstdir}/bin/jinfo
623%attr(755,root,root) %{dstdir}/bin/jmap
624%attr(755,root,root) %{dstdir}/bin/jps
625%attr(755,root,root) %{dstdir}/bin/jrunscript
626%attr(755,root,root) %{dstdir}/bin/jsadebugd
627%attr(755,root,root) %{dstdir}/bin/jstack
628%attr(755,root,root) %{dstdir}/bin/jstat
629%attr(755,root,root) %{dstdir}/bin/jstatd
630%attr(755,root,root) %{dstdir}/bin/native2ascii
631%attr(755,root,root) %{dstdir}/bin/rmic
632%attr(755,root,root) %{dstdir}/bin/schemagen
633%attr(755,root,root) %{dstdir}/bin/serialver
634%attr(755,root,root) %{dstdir}/bin/wsgen
635%attr(755,root,root) %{dstdir}/bin/wsimport
636%attr(755,root,root) %{dstdir}/bin/xjc
637%{dstdir}/include
638%dir %{dstdir}/lib
639%{dstdir}/lib/ct.sym
640%{dstdir}/lib/dt.jar
641%{dstdir}/lib/ir.idl
642%{dstdir}/lib/jconsole.jar
643%attr(755,root,root) %{dstdir}/lib/jexec
644%{dstdir}/lib/orb.idl
645%ifnarch x32
646%{dstdir}/lib/sa-jdi.jar
647%endif
648%{dstdir}/lib/tools.jar
649%dir %{dstdir}/lib/%{jre_arch}
650%dir %{dstdir}/lib/%{jre_arch}/jli
651%attr(755,root,root) %{dstdir}/lib/%{jre_arch}/jli/*.so
652%{dstdir}/tapset
653
654%files jre
655%defattr(644,root,root,755)
656%attr(755,root,root) %{_bindir}/java
657%attr(755,root,root) %{_bindir}/keytool
658%attr(755,root,root) %{_bindir}/orbd
659%attr(755,root,root) %{_bindir}/pack200
660%attr(755,root,root) %{_bindir}/rmid
661%attr(755,root,root) %{_bindir}/rmiregistry
662%attr(755,root,root) %{_bindir}/servertool
663%attr(755,root,root) %{_bindir}/tnameserv
664%attr(755,root,root) %{_bindir}/unpack200
665%{_mandir}/man1/java.1*
666%{_mandir}/man1/keytool.1*
667%{_mandir}/man1/orbd.1*
668%{_mandir}/man1/pack200.1*
669%{_mandir}/man1/rmid.1*
670%{_mandir}/man1/rmiregistry.1*
671%{_mandir}/man1/servertool.1*
672%{_mandir}/man1/tnameserv.1*
673%{_mandir}/man1/unpack200.1*
674%lang(ja) %{_mandir}/ja/man1/java.1*
675%lang(ja) %{_mandir}/ja/man1/keytool.1*
676%lang(ja) %{_mandir}/ja/man1/orbd.1*
677%lang(ja) %{_mandir}/ja/man1/pack200.1*
678%lang(ja) %{_mandir}/ja/man1/rmid.1*
679%lang(ja) %{_mandir}/ja/man1/rmiregistry.1*
680%lang(ja) %{_mandir}/ja/man1/servertool.1*
681%lang(ja) %{_mandir}/ja/man1/tnameserv.1*
682%lang(ja) %{_mandir}/ja/man1/unpack200.1*
683
684%files jre-base
685%defattr(644,root,root,755)
686%doc openjdk.build/j2sdk-image/THIRD_PARTY_README
687%doc openjdk.build/j2sdk-image/ASSEMBLY_EXCEPTION
688%dir %{_sysconfdir}/%{name}
689%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
690%dir %{dstdir}
691%{dstdir}/release
692%dir %{jredir}
693%{_jvmdir}/%{name}-jre
694%dir %{jredir}/bin
695%dir %{dstdir}/bin
696%attr(755,root,root) %{jredir}/bin/java
697%attr(755,root,root) %{dstdir}/bin/java
698%attr(755,root,root) %{jredir}/bin/keytool
699%attr(755,root,root) %{dstdir}/bin/keytool
700%attr(755,root,root) %{jredir}/bin/orbd
701%attr(755,root,root) %{dstdir}/bin/orbd
702%attr(755,root,root) %{jredir}/bin/pack200
703%attr(755,root,root) %{dstdir}/bin/pack200
704%attr(755,root,root) %{jredir}/bin/rmid
705%attr(755,root,root) %{dstdir}/bin/rmid
706%attr(755,root,root) %{jredir}/bin/rmiregistry
707%attr(755,root,root) %{dstdir}/bin/rmiregistry
708%attr(755,root,root) %{jredir}/bin/servertool
709%attr(755,root,root) %{dstdir}/bin/servertool
710%attr(755,root,root) %{jredir}/bin/tnameserv
711%attr(755,root,root) %{dstdir}/bin/tnameserv
712%attr(755,root,root) %{jredir}/bin/unpack200
713%attr(755,root,root) %{dstdir}/bin/unpack200
714%dir %{jredir}/lib
715%dir %{jredir}/lib/applet
716%{jredir}/lib/cmm
717%{jredir}/lib/ext
718%dir %{jredir}/lib/%{jre_arch}
719%ifnarch %{x8664} x32
720%dir %{jredir}/lib/%{jre_arch}/client
721%{jredir}/lib/%{jre_arch}/client/Xusage.txt
722%attr(755,root,root) %{jredir}/lib/%{jre_arch}/client/*.so
723%endif
724%dir %{jredir}/lib/%{jre_arch}/headless
725%attr(755,root,root) %{jredir}/lib/%{jre_arch}/headless/*.so
726%dir %{jredir}/lib/%{jre_arch}/jli
727%attr(755,root,root) %{jredir}/lib/%{jre_arch}/jli/*.so
728%dir %{jredir}/lib/%{jre_arch}/server
729%{jredir}/lib/%{jre_arch}/server/Xusage.txt
730%ifnarch x32
731%{jredir}/lib/%{jre_arch}/server/classes.jsa
732%endif
733%attr(755,root,root) %{jredir}/lib/%{jre_arch}/server/*.so
734%{jredir}/lib/%{jre_arch}/jvm.cfg
735%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libattach.so
736%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libawt.so
737%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libdt_socket.so
738%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libhprof.so
739%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libinstrument.so
740%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2gss.so
741%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2krb5.so
742%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2pcsc.so
743%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2pkcs11.so
744%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjaas_unix.so
745%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjava.so
746%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjavajpeg.so
747%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjavalcms.so
748%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjavasctp.so
749%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjava_crw_demo.so
750%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjawt.so
751%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjdwp.so
752%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsdt.so
753%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsig.so
754%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsound.so
755%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjvm.so
756%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libmanagement.so
757%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libmlib_image.so
758%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnet.so
759%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnio.so
760%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnpt.so
761%ifnarch x32
762%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsaproc.so
763%endif
764%{?with_sunec:%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsunec.so}
765%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libunpack.so
766%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libverify.so
767%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libzip.so
768%{jredir}/lib/images
769%{jredir}/lib/management
770%{jredir}/lib/security
771
772%if %{with webstart}
773%{jredir}/lib/about.jar
774%{jredir}/lib/about.jnlp
775%endif
776%{jredir}/lib/calendars.properties
777%{jredir}/lib/charsets.jar
778%{jredir}/lib/classlist
779%{jredir}/lib/content-types.properties
780%{jredir}/lib/currency.data
781%{jredir}/lib/flavormap.properties
782%{jredir}/lib/fontconfig.*
783%{jredir}/lib/jce.jar
784%attr(755, root, root) %{jredir}/lib/jexec
785%{jredir}/lib/jsse.jar
786%{jredir}/lib/jvm.hprof.txt
787%{jredir}/lib/logging.properties
788%{jredir}/lib/management-agent.jar
789%{jredir}/lib/meta-index
790%{jredir}/lib/net.properties
791%{jredir}/lib/psfont.properties.ja
792%{jredir}/lib/psfontj2d.properties
793%{jredir}/lib/resources.jar
794%{jredir}/lib/rhino.jar
795%{jredir}/lib/rt.jar
796%{jredir}/lib/sound.properties
797%{jredir}/lib/tz.properties
798%{jvmjardir}
799
800%files jre-X11
801%defattr(644,root,root,755)
802%attr(755,root,root) %{_bindir}/policytool
803%{_mandir}/man1/policytool.1*
804%lang(ja) %{_mandir}/ja/man1/policytool.1*
805
806%files jre-base-X11
807%defattr(644,root,root,755)
808%attr(755,root,root) %{jredir}/bin/policytool
809%attr(755,root,root) %{dstdir}/bin/policytool
810%dir %{jredir}/lib/%{jre_arch}/xawt
811%attr(755,root,root) %{jredir}/lib/%{jre_arch}/xawt/*.so
812%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsplashscreen.so
813
814%files jre-base-alsa
815%defattr(644,root,root,755)
816%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsoundalsa.so
817
818%files jre-base-freetype
819%defattr(644,root,root,755)
820%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libfontmanager.so
821
822%files jre-base-gtk
823%defattr(644,root,root,755)
824%attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjavagtk.so
825
826%files jar
827%defattr(644,root,root,755)
828%attr(755,root,root) %{_bindir}/jar
829%{_mandir}/man1/jar.1*
830%lang(ja) %{_mandir}/ja/man1/jar.1*
831
832%files appletviewer
833%defattr(644,root,root,755)
834%attr(755,root,root) %{_bindir}/appletviewer
835%{_mandir}/man1/appletviewer.1*
836%lang(ja) %{_mandir}/ja/man1/appletviewer.1*
837
838%files jdk-sources
839%defattr(644,root,root,755)
840%{_javasrcdir}/%{name}-jdk.zip
841
842%files examples
843%defattr(644,root,root,755)
844%{_examplesdir}/%{name}-%{version}
This page took 0.254182 seconds and 4 git commands to generate.