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