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