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