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