]>
Commit | Line | Data |
---|---|---|
17425ea9 | 1 | # TODO: |
01897108 JK |
2 | # - install .ttf fonts (same as in sun-java-base-jre-X11 package) or configure |
3 | # it to use system fonts (is it possible?). | |
4 | ||
f360048b | 5 | %bcond_without bootstrap # don't build a bootstrap version, using icedtea6 |
01897108 JK |
6 | %bcond_without nss # don't use NSS |
7 | ||
8 | %if %{with bootstrap} | |
01897108 | 9 | %define use_jdk icedtea6 |
f360048b JK |
10 | %else |
11 | %define use_jdk icedtea7 | |
01897108 JK |
12 | %endif |
13 | ||
14 | # class data version seen with file(1) that this jvm is able to load | |
15 | %define _classdataversion 50.0 | |
16 | # JDK/JRE version, as returned with `java -version`, '_' replaced with '.' | |
17 | %define _jdkversion 1.6.0.24 | |
18 | ||
f360048b JK |
19 | # hardcoded in Makefile.am |
20 | %define corba_changeset 516aae5f27cf | |
21 | %define jaxp_changeset 1fbe99283d97 | |
22 | %define jaxws_changeset 3c7be82314bf | |
23 | %define jdk_changeset deac45dc94f0 | |
24 | %define langtools_changeset 41426c72b802 | |
25 | %define openjdk_changeset ed02a059ea15 | |
26 | %define cacao_version a567bcb7f589 | |
27 | %define jamvm_version 0972452d441544f7dd29c55d64f1ce3a5db90d82 | |
28 | ||
29 | # computed in Makefile.am | |
30 | %define hotspot_changeset a152dced63a1 | |
31 | ||
17425ea9 | 32 | Summary: OpenJDK and GNU Classpath code |
cc51fe79 | 33 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath |
f360048b JK |
34 | Name: icedtea7 |
35 | Version: 2.3.8 | |
01897108 JK |
36 | Release: 1 |
37 | License: GPL v2 | |
17425ea9 | 38 | Group: Development/Languages/Java |
f360048b JK |
39 | Source0: http://icedtea.wildebeest.org/download/source/icedtea-%{version}.tar.gz |
40 | # Source0-md5: d97294091190630d5a3bf78dd5ced8a8 | |
41 | Source1: http://icedtea.wildebeest.org/hg/release/icedtea7-forest-2.3/archive/%{openjdk_changeset}.tar.gz | |
42 | # Source1-md5: 8dfe5ea25699beca3790e571f6d022f2 | |
43 | Source2: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/corba/archive/%{corba_changeset}.tar.gz | |
44 | # Source2-md5: e422bbb643536aae24ab3b9b01fb2d9e | |
45 | Source3: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jaxp/archive/%{jaxp_changeset}.tar.gz | |
46 | # Source3-md5: 2f03474793a19be65d202107e8e9dba8 | |
47 | Source4: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jaxws/archive/%{jaxws_changeset}.tar.gz | |
48 | # Source4-md5: 1d2bb2d5a378942dc9f6afb1c7d22ae2 | |
49 | Source5: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/jdk/archive/%{jdk_changeset}.tar.gz | |
50 | # Source5-md5: 889476393eb7c9d3ffd0eec31ebed118 | |
51 | Source6: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/langtools/archive/%{langtools_changeset}.tar.gz | |
52 | # Source6-md5: afca36dae45fd483e2a455ccb57a1c8f | |
53 | Source7: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/hotspot/archive/%{hotspot_changeset}.tar.gz | |
54 | # Source7-md5: 35798cd6f8a870d8c0925fe907c561f7 | |
01897108 JK |
55 | Patch0: %{name}-i486.patch |
56 | Patch1: %{name}-libpath.patch | |
17425ea9 | 57 | URL: http://icedtea.classpath.org/wiki/Main_Page |
365a3e15 | 58 | BuildRequires: alsa-lib-devel |
01897108 JK |
59 | BuildRequires: ant |
60 | BuildRequires: autoconf | |
61 | BuildRequires: automake | |
17425ea9 AM |
62 | BuildRequires: bash |
63 | BuildRequires: cups-devel | |
01897108 | 64 | BuildRequires: /usr/bin/jar |
531f6b8a | 65 | BuildRequires: freetype-devel >= 2.3 |
01897108 | 66 | BuildRequires: gawk |
365a3e15 AM |
67 | BuildRequires: giflib-devel |
68 | BuildRequires: glib2-devel | |
01897108 | 69 | BuildRequires: glibc-misc |
365a3e15 | 70 | BuildRequires: gtk+2-devel |
01897108 JK |
71 | BuildRequires: java-rhino |
72 | BuildRequires: java-xalan | |
01897108 JK |
73 | %buildrequires_jdk |
74 | BuildRequires: libffi-devel | |
75 | # for /usr/share/java/ecj.jar: | |
17425ea9 | 76 | BuildRequires: libgcj |
365a3e15 AM |
77 | BuildRequires: libjpeg-devel |
78 | BuildRequires: libpng-devel | |
01897108 JK |
79 | BuildRequires: libstdc++-static |
80 | BuildRequires: lsb-release | |
81 | %{?with_nss:BuildRequires: nss-devel} | |
82 | BuildRequires: pkgconfig | |
83 | BuildRequires: rpmbuild(macros) >= 1.557 | |
17425ea9 | 84 | BuildRequires: unzip |
01897108 | 85 | BuildRequires: util-linux |
17425ea9 | 86 | BuildRequires: xorg-lib-libX11-devel |
365a3e15 | 87 | BuildRequires: xorg-lib-libXinerama-devel |
531f6b8a | 88 | BuildRequires: xorg-lib-libXp-devel |
01897108 | 89 | BuildRequires: xorg-lib-libXrender-devel |
17425ea9 | 90 | BuildRequires: xorg-lib-libXt-devel |
365a3e15 | 91 | BuildRequires: xorg-lib-libXtst-devel |
17425ea9 AM |
92 | BuildRequires: xorg-proto-printproto-devel |
93 | BuildRequires: xorg-proto-xproto-devel | |
27f9c0f6 | 94 | BuildRequires: zip |
01897108 JK |
95 | BuildRequires: zlib-devel |
96 | Requires: %{name}-appletviewer = %{version}-%{release} | |
97 | Requires: %{name}-jdk = %{version}-%{release} | |
98 | Suggests: %{name}-jre-X11 | |
99 | Suggests: icedtea-web | |
100 | Obsoletes: java5-sun | |
101 | Obsoletes: java5-sun-jre | |
102 | Obsoletes: java5-sun-jre-jdbc | |
103 | Obsoletes: java5-sun-jre-X11 | |
104 | Obsoletes: java5-sun-tools | |
105 | Obsoletes: java-gcj-compat | |
106 | Obsoletes: java-gcj-compat-devel | |
107 | Obsoletes: java-sun | |
108 | Obsoletes: java-sun-demos | |
109 | Obsoletes: java-sun-jre | |
110 | Obsoletes: java-sun-jre-alsa | |
111 | Obsoletes: java-sun-jre-jdbc | |
112 | Obsoletes: java-sun-jre-X11 | |
113 | Obsoletes: java-sun-tools | |
17425ea9 AM |
114 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
115 | ||
01897108 JK |
116 | %define dstreldir %{name}-%{version} |
117 | %define dstdir %{_jvmdir}/%{dstreldir} | |
118 | %define jrereldir %{dstreldir}/jre | |
119 | %define jredir %{_jvmdir}/%{jrereldir} | |
120 | %define jvmjardir %{_jvmjardir}/%{name}-%{version} | |
121 | ||
122 | %ifarch x86_64 amd64 | |
123 | %define jre_arch amd64 | |
124 | %else | |
125 | %define jre_arch i386 | |
126 | %endif | |
127 | ||
128 | # to break artificial subpackage dependency loops | |
129 | %define _noautoreq 'libmawt.so' 'java(ClassDataVersion)' | |
130 | ||
17425ea9 AM |
131 | %description |
132 | The IcedTea project provides a harness to build the source code from | |
48edbe02 | 133 | http://openjdk.java.net/ using Free Software build tools and provides |
17425ea9 AM |
134 | replacements libraries for the binary plugs with code from the GNU |
135 | Classpath project. | |
136 | ||
01897108 JK |
137 | This is a meta-package which provides, by its dependencies, all the |
138 | IcedTea6 components including the OpenJDK, Java 6 developement kit and | |
139 | runtime environment. | |
140 | ||
48edbe02 JB |
141 | %description -l pl.UTF-8 |
142 | Projekt IcedTea daje możliwość kompilacji kodu źródłowego z | |
143 | http://openjdk.java.net/ przy użyciu wolnodostępnych narzędzi oraz | |
144 | dostarcza zamienniki biblioteczne binarnych wtyczek pochodzące z | |
145 | projektu GNU Classpath. | |
146 | ||
01897108 JK |
147 | To jest meta-pakiet, który, za pośrednictwem zależności, dostarcza |
148 | wszystkie komponenty IcedTea6, w tym środowisko programistyczne | |
149 | (OpenJDK) i uruchomieniowe (JRE). | |
150 | ||
151 | %package jdk | |
152 | Summary: OpenJDK and GNU Classpath code - software development kit | |
153 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko programistyczne | |
154 | Group: Development/Languages/Java | |
155 | Requires: %{name}-jar = %{version}-%{release} | |
156 | Requires: %{name}-jdk-base = %{version}-%{release} | |
157 | Requires: %{name}-jre = %{version}-%{release} | |
158 | Provides: j2sdk = %{_jdkversion} | |
159 | Provides: jdk = %{_jdkversion} | |
160 | Obsoletes: blackdown-java-sdk | |
161 | Obsoletes: ibm-java | |
162 | Obsoletes: java-blackdown | |
163 | Obsoletes: java-gcj-compat-devel | |
164 | Obsoletes: java-sun | |
165 | Obsoletes: java5-sun | |
166 | Obsoletes: jdk | |
167 | Obsoletes: kaffe | |
168 | ||
169 | %description jdk | |
170 | This package symlinks OpenJDK development tools provided by | |
171 | %{name}-jdk-base to system-wide directories like %{_bindir}, making | |
172 | IcedTea6 default JDK. | |
173 | ||
174 | %description jdk -l pl.UTF-8 | |
175 | Ten pakiet tworzy symboliczne dowiązania do narzędzi programistycznych | |
176 | OpenJDK, dostarczanych przez pakiet %{name}-jdk-base, w standardowych | |
177 | systemowych ścieżkach takich jak %{_bindir}, sprawiając tym samym, że | |
178 | IcedTea6 staje się domyślnym JDK w systemie. | |
179 | ||
180 | %package jdk-base | |
181 | Summary: OpenJDK and GNU Classpath code - software development kit | |
182 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko programistyczne | |
183 | Group: Development/Languages/Java | |
184 | Requires: %{name}-jre-base = %{version}-%{release} | |
185 | Requires: jpackage-utils >= 0:1.6.6-14 | |
186 | Provides: jdk(%{name}) | |
187 | ||
188 | %description jdk-base | |
189 | OpenJDK development tools built using free software only. | |
190 | ||
191 | %description jdk-base -l pl.UTF-8 | |
192 | OpenJDK skompilowane wyłącznie przy użyciu wolnego oprogramowania. | |
193 | ||
194 | %package jre | |
195 | Summary: OpenJDK and GNU Classpath code - runtime environment | |
196 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko uruchomieniowe | |
197 | Group: Development/Languages/Java | |
198 | Requires: %{name}-jre-base = %{version}-%{release} | |
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: java(jaas) | |
214 | Obsoletes: java(jaf) | |
215 | Obsoletes: java(jaxp) | |
216 | Obsoletes: java(jce) | |
217 | Obsoletes: java(jdbc-stdext) | |
218 | Obsoletes: java(jdbc-stdext) | |
219 | Obsoletes: java(jmx) | |
220 | Obsoletes: java(jndi) | |
221 | Obsoletes: java(jsse) | |
222 | Obsoletes: java-gcj-compat | |
223 | Obsoletes: java-sun-jre | |
224 | Obsoletes: java5-sun-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 | IcedTea6 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 IcedTea6 staje się domyślnym JRE w systemie. | |
237 | ||
238 | %package jre-X11 | |
239 | Summary: IcedTea6 OpenJDK - runtime environment - X11 support | |
240 | Summary(pl.UTF-8): IcedTea6 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 | ||
246 | %description jre-X11 | |
247 | X11 support for OpenJDK runtime environment built using free software | |
248 | only. | |
249 | ||
250 | %description jre-X11 -l pl.UTF-8 | |
251 | Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu | |
252 | wolnego oprogramowania. | |
253 | ||
254 | %package jre-base | |
255 | Summary: OpenJDK and GNU Classpath code - runtime environment | |
256 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko uruchomieniowe | |
257 | Group: Development/Languages/Java | |
258 | Requires: jpackage-utils >= 0:1.6.6-14 | |
259 | Provides: jre(%{name}) | |
260 | ||
261 | %description jre-base | |
262 | OpenJDK runtime environment built using free software only. | |
263 | ||
264 | %description jre-base -l pl.UTF-8 | |
265 | Środowisko uruchomieniowe OpenJDK zbudowany wyłącznie przy użyciu | |
266 | wolnego oprogramowania. | |
267 | ||
268 | %package jre-base-X11 | |
269 | Summary: IcedTea6 OpenJDK - runtime environment - X11 support | |
270 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa X11 | |
271 | Group: Development/Languages/Java | |
272 | Requires: %{name}-jre-base = %{version}-%{release} | |
273 | Requires: %{name}-jre-base-freetype = %{version}-%{release} | |
274 | ||
275 | %description jre-base-X11 | |
276 | X11 support for OpenJDK runtime environment built using free software | |
277 | only. | |
278 | ||
279 | %description jre-base-X11 -l pl.UTF-8 | |
280 | Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu | |
281 | wolnego oprogramowania. | |
282 | ||
283 | %package jre-base-alsa | |
284 | Summary: IcedTea6 OpenJDK - runtime environment - ALSA support | |
285 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa ALSA | |
286 | Group: Development/Languages/Java | |
287 | Requires: %{name}-jre-base = %{version}-%{release} | |
288 | ||
289 | %description jre-base-alsa | |
290 | ALSA sound support for OpenJDK runtime environment build using free | |
291 | software only. | |
292 | ||
293 | %description jre-base-alsa -l pl.UTF-8 | |
294 | Biblioteki ALSA rozszerzające środowisko OpenJDK o obsługę dźwięku | |
295 | zbudowane przy uzyciu wyłącznie wolnego oprogramowania. | |
296 | ||
297 | %package jre-base-freetype | |
298 | Summary: IcedTea6 OpenJDK - runtime environment - font support | |
299 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa fontów | |
300 | Group: Development/Languages/Java | |
301 | Requires: %{name}-jre-base = %{version}-%{release} | |
302 | ||
303 | %description jre-base-freetype | |
304 | Font handling library for OpenJDK runtime environment built using free | |
305 | software only. | |
306 | ||
307 | %description jre-base-freetype -l pl.UTF-8 | |
308 | Biblioteki obsługi czcionek dla OpenJDK zbudowane wyłącznie przy | |
309 | użyciu wolnego oprogramowania. | |
310 | ||
311 | %package jar | |
312 | Summary: OpenJDK and GNU Classpath code - JAR tool | |
313 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - narzędzie JAR | |
314 | Group: Development/Languages/Java | |
315 | Requires: %{name}-jdk-base = %{version}-%{release} | |
316 | Provides: jar | |
317 | Obsoletes: fastjar | |
318 | Obsoletes: jar | |
319 | ||
320 | %description jar | |
321 | JAR tool from OpenJDK built using free software only. | |
322 | ||
323 | JAR is an archiver used to merge Java classes into a single library. | |
324 | ||
325 | %description jar -l pl.UTF-8 | |
326 | Narzędzie jar z OpenJDK zbudowane przy uzyciu wyłącznie wolnego | |
327 | oprogramowania. | |
328 | ||
329 | JAR jest narzędziem pozwalającym wykonywać podstawowe operacje na | |
330 | archiwach javy .jar takie jak na przykład tworzenie lub rozpakowywanie | |
331 | archiwów. | |
332 | ||
333 | %package appletviewer | |
334 | Summary: OpenJDK and GNU Classpath code - appletviewer tool | |
335 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - narzędzie appletviewer | |
336 | Group: Development/Languages/Java | |
337 | Requires: %{name}-jdk-base = %{version}-%{release} | |
338 | Requires: %{name}-jre-X11 = %{version}-%{release} | |
339 | Obsoletes: java-sun-appletviewer | |
340 | ||
341 | %description appletviewer | |
342 | Appletviewer from OpenJDK build using free software only. | |
343 | ||
344 | %description appletviewer -l pl.UTF-8 | |
345 | Appletviewer pozwala uruchamiać aplety javy niezależnie od | |
346 | przeglądarki www. Ten appletviewer pochodzi z zestawu narzędzi OpenJDK | |
347 | i został zbudowany wyłącznie przy użyciu wolnego oprogramowania. | |
348 | ||
349 | %package jdk-sources | |
350 | Summary: OpenJDK and GNU Classpath code - sources | |
351 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - kod źródłowy | |
352 | Group: Documentation | |
353 | ||
354 | %description jdk-sources | |
355 | Source code for the OpenJDK development kit and Java standard library. | |
356 | ||
357 | %description jdk-sources -l pl.UTF-8 | |
358 | Kod źródłowy narzędzi programistycznych OpenJDK oraz standardowej | |
359 | biblioteki Javy. | |
360 | ||
361 | %package examples | |
362 | Summary: OpenJDK and GNU Classpath code - examples | |
363 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - przykłady | |
364 | Group: Documentation | |
365 | ||
366 | %description examples | |
367 | Code examples for OpenJDK. | |
368 | ||
369 | %description examples -l pl.UTF-8 | |
370 | Przykłady dla OpenJDK. | |
371 | ||
17425ea9 | 372 | %prep |
f360048b | 373 | %setup -qn icedtea-%{version} |
01897108 | 374 | %patch0 -p1 |
17425ea9 | 375 | |
01897108 JK |
376 | # patches to applied to the extracted sources |
377 | install -d pld-patches | |
378 | cp -p %{PATCH1} pld-patches | |
4fc18828 | 379 | |
01897108 JK |
380 | # let the build system extract the sources where it wants them |
381 | install -d drops | |
f360048b JK |
382 | ln -s %{SOURCE1} openjdk.tar.gz |
383 | ln -s %{SOURCE2} corba.tar.gz | |
384 | ln -s %{SOURCE3} jaxp.tar.gz | |
385 | ln -s %{SOURCE4} jaxws.tar.gz | |
386 | ln -s %{SOURCE5} jdk.tar.gz | |
387 | ln -s %{SOURCE6} langtools.tar.gz | |
388 | ln -s %{SOURCE7} hotspot.tar.gz | |
6354fbd3 | 389 | |
17425ea9 | 390 | %build |
01897108 JK |
391 | # Make sure we have /proc mounted - otherwise idlc will fail later. |
392 | if [ ! -f /proc/self/stat ]; then | |
393 | echo "You need to have /proc mounted in order to build this package!" | |
394 | exit 1 | |
395 | fi | |
396 | ||
f360048b JK |
397 | unset JAVA_HOME |
398 | ||
399 | mkdir build-bin | |
400 | export PATH="$(pwd)/build-bin:$PATH" | |
401 | ||
402 | # our /usr/bin/ant is quite broken and won't run properly | |
403 | # in the bootstrap JDK environment prepared by IcedTea build process | |
404 | cat >>build-bin/ant <<'EOF' | |
405 | #!/bin/sh | |
406 | ||
407 | exec java \ | |
408 | -classpath /usr/share/java/ant-launcher.jar \ | |
409 | -Dant.home=/usr/share/ant \ | |
0c97a90f | 410 | -Dant.lib=/usr/share/ant/lib \ |
f360048b JK |
411 | org.apache.tools.ant.launch.Launcher \ |
412 | "$@" | |
413 | EOF | |
414 | chmod a+x build-bin/ant | |
01897108 JK |
415 | |
416 | %{__aclocal} | |
417 | %{__autoconf} | |
418 | %{__automake} | |
419 | ||
f360048b JK |
420 | # NOTE: the weird '--disable-bootstrap' is how it is supposed to be |
421 | # http://icedtea.classpath.org/wiki/CommonIssues#IcedTea7_building_on_systems_with_JDK_5_or_JDK_6 | |
17425ea9 | 422 | %configure \ |
01897108 | 423 | WGET=%{_bindir}/wget \ |
01897108 | 424 | --with-jdk-home=%{java_home} \ |
f360048b JK |
425 | %{?with_bootstrap:--disable-bootstrap} \ |
426 | --%{!?with_nss:dis}%{?with_nss:en}able-nss \ | |
91a47420 | 427 | --with-rhino=%{_javadir}/js.jar |
17425ea9 | 428 | |
f360048b JK |
429 | %{__make} extract \ |
430 | SHELL=/bin/bash \ | |
01897108 JK |
431 | DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)" |
432 | ||
01897108 JK |
433 | # if dpkg-architecure is installed (like on carme) it will break the build |
434 | # unless we disable using it somehow. As patching is difficult here: | |
f360048b | 435 | %{__sed} -i -e's/dpkg-architecture/dpkg-architecture__/' openjdk/*/make/common/shared/Platform.gmk |
01897108 | 436 | |
365a3e15 | 437 | %{__make} -j1 \ |
f360048b | 438 | SHELL=/bin/bash \ |
01897108 JK |
439 | DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \ |
440 | DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)" \ | |
441 | PRINTF=/bin/printf | |
17425ea9 AM |
442 | |
443 | %install | |
444 | rm -rf $RPM_BUILD_ROOT | |
01897108 JK |
445 | install -d $RPM_BUILD_ROOT{%{_bindir},%{dstdir},%{_mandir}/ja} \ |
446 | $RPM_BUILD_ROOT{%{jvmjardir},%{_examplesdir}/%{name}-%{version},%{_javasrcdir}} \ | |
447 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name} | |
448 | ||
449 | # install the 'JDK image', it contains the JRE too | |
450 | cp -a openjdk.build/j2sdk-image/* $RPM_BUILD_ROOT%{dstdir} | |
451 | ||
452 | # convenience symlinks without version number | |
453 | ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name} | |
454 | ln -s %{jrereldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}-jre | |
455 | ||
456 | ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/java | |
457 | ||
458 | # move JDK sources and demo to /usr/src | |
459 | mv $RPM_BUILD_ROOT%{dstdir}/demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
460 | mv $RPM_BUILD_ROOT%{dstdir}/sample $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
461 | mv $RPM_BUILD_ROOT%{dstdir}/src.zip $RPM_BUILD_ROOT%{_javasrcdir}/%{name}-jdk.zip | |
462 | ||
463 | # move manual pages to its place | |
464 | mv $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.eucJP/man1 $RPM_BUILD_ROOT%{_mandir}/ja/man1 | |
465 | rmdir $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.eucJP | |
466 | rm $RPM_BUILD_ROOT%{dstdir}/man/ja | |
467 | mv $RPM_BUILD_ROOT%{dstdir}/man/man1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
468 | rmdir $RPM_BUILD_ROOT%{dstdir}/man | |
469 | ||
470 | # replace duplicates with symlinks, link to %{_bindir} | |
471 | for path in $RPM_BUILD_ROOT%{dstdir}/bin/*; do | |
472 | filename=$(basename $path) | |
473 | if diff -q "$path" "$RPM_BUILD_ROOT%{jredir}/bin/$filename" > /dev/null; then | |
474 | ln -sf "../jre/bin/$filename" "$path" | |
475 | ln -sf "%{jredir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir} | |
476 | else | |
477 | ln -sf "%{dstdir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir} | |
478 | fi | |
479 | done | |
480 | ln -sf ../jre/lib/jexec $RPM_BUILD_ROOT%{dstdir}/lib/jexec | |
481 | ||
482 | # keep configuration in /etc (not all *.properties go there) | |
483 | for config in management security content-types.properties \ | |
484 | logging.properties net.properties sound.properties; do | |
485 | ||
486 | mv $RPM_BUILD_ROOT%{jredir}/lib/$config $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/$config | |
487 | ln -s %{_sysconfdir}/%{name}/$config $RPM_BUILD_ROOT%{jredir}/lib/$config | |
488 | done | |
489 | ||
490 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jsse.jar | |
491 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jcert.jar | |
492 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jnet.jar | |
493 | ln -sf %{jredir}/lib/jce.jar $RPM_BUILD_ROOT%{jvmjardir}/jce.jar | |
494 | for f in jndi jndi-ldap jndi-cos jndi-rmi jaas jdbc-stdext jdbc-stdext-3.0 \ | |
495 | sasl jaxp_parser_impl jaxp_transform_impl jaxp jmx activation xml-commons-apis \ | |
496 | jndi-dns jndi-rmi; do | |
497 | ln -sf %{jredir}/lib/rt.jar $RPM_BUILD_ROOT%{jvmjardir}/$f.jar | |
498 | done | |
499 | ||
500 | # some apps (like opera) looks for it in different place | |
501 | ln -s server/libjvm.so $RPM_BUILD_ROOT%{jredir}/lib/%{jre_arch}/libjvm.so | |
17425ea9 | 502 | |
01897108 | 503 | %{__rm} $RPM_BUILD_ROOT%{dstdir}/{,jre/}{ASSEMBLY_EXCEPTION,LICENSE,THIRD_PARTY_README} |
17425ea9 AM |
504 | |
505 | %clean | |
506 | rm -rf $RPM_BUILD_ROOT | |
507 | ||
508 | %files | |
509 | %defattr(644,root,root,755) | |
01897108 JK |
510 | %doc AUTHORS ChangeLog HACKING NEWS README THANKYOU |
511 | ||
512 | %files jdk | |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{_bindir}/apt | |
515 | %attr(755,root,root) %{_bindir}/extcheck | |
516 | %attr(755,root,root) %{_bindir}/idlj | |
517 | %attr(755,root,root) %{_bindir}/jarsigner | |
518 | %attr(755,root,root) %{_bindir}/java-rmi.cgi | |
519 | %attr(755,root,root) %{_bindir}/javac | |
520 | %attr(755,root,root) %{_bindir}/javadoc | |
521 | %attr(755,root,root) %{_bindir}/javah | |
522 | %attr(755,root,root) %{_bindir}/javap | |
523 | %attr(755,root,root) %{_bindir}/jconsole | |
524 | %attr(755,root,root) %{_bindir}/jdb | |
525 | %attr(755,root,root) %{_bindir}/jhat | |
526 | %attr(755,root,root) %{_bindir}/jinfo | |
527 | %attr(755,root,root) %{_bindir}/jmap | |
528 | %attr(755,root,root) %{_bindir}/jps | |
529 | %attr(755,root,root) %{_bindir}/jrunscript | |
530 | %attr(755,root,root) %{_bindir}/jsadebugd | |
531 | %attr(755,root,root) %{_bindir}/jstack | |
532 | %attr(755,root,root) %{_bindir}/jstat | |
533 | %attr(755,root,root) %{_bindir}/jstatd | |
534 | %attr(755,root,root) %{_bindir}/native2ascii | |
535 | %attr(755,root,root) %{_bindir}/rmic | |
536 | %attr(755,root,root) %{_bindir}/schemagen | |
537 | %attr(755,root,root) %{_bindir}/serialver | |
538 | %attr(755,root,root) %{_bindir}/wsgen | |
539 | %attr(755,root,root) %{_bindir}/wsimport | |
540 | %attr(755,root,root) %{_bindir}/xjc | |
541 | %{_jvmdir}/java | |
542 | %{_mandir}/man1/apt.1* | |
543 | %{_mandir}/man1/extcheck.1* | |
544 | %{_mandir}/man1/idlj.1* | |
545 | %{_mandir}/man1/jarsigner.1* | |
546 | %{_mandir}/man1/javac.1* | |
547 | %{_mandir}/man1/javadoc.1* | |
548 | %{_mandir}/man1/javah.1* | |
549 | %{_mandir}/man1/javap.1* | |
550 | %{_mandir}/man1/jconsole.1* | |
551 | %{_mandir}/man1/jdb.1* | |
552 | %{_mandir}/man1/jhat.1* | |
553 | %{_mandir}/man1/jinfo.1* | |
554 | %{_mandir}/man1/jmap.1* | |
555 | %{_mandir}/man1/jps.1* | |
556 | %{_mandir}/man1/jrunscript.1* | |
557 | %{_mandir}/man1/jsadebugd.1* | |
558 | %{_mandir}/man1/jstack.1* | |
559 | %{_mandir}/man1/jstat.1* | |
560 | %{_mandir}/man1/jstatd.1* | |
561 | %{_mandir}/man1/native2ascii.1* | |
562 | %{_mandir}/man1/schemagen.1* | |
563 | %{_mandir}/man1/serialver.1* | |
564 | %{_mandir}/man1/rmic.1* | |
565 | %{_mandir}/man1/wsgen.1* | |
566 | %{_mandir}/man1/wsimport.1* | |
567 | %{_mandir}/man1/xjc.1* | |
568 | %lang(ja) %{_mandir}/ja/man1/apt.1* | |
569 | %lang(ja) %{_mandir}/ja/man1/extcheck.1* | |
570 | %lang(ja) %{_mandir}/ja/man1/idlj.1* | |
571 | %lang(ja) %{_mandir}/ja/man1/jarsigner.1* | |
572 | %lang(ja) %{_mandir}/ja/man1/javac.1* | |
573 | %lang(ja) %{_mandir}/ja/man1/javadoc.1* | |
574 | %lang(ja) %{_mandir}/ja/man1/javah.1* | |
575 | %lang(ja) %{_mandir}/ja/man1/javap.1* | |
576 | %lang(ja) %{_mandir}/ja/man1/jconsole.1* | |
577 | %lang(ja) %{_mandir}/ja/man1/jdb.1* | |
578 | %lang(ja) %{_mandir}/ja/man1/jhat.1* | |
579 | %lang(ja) %{_mandir}/ja/man1/jinfo.1* | |
580 | %lang(ja) %{_mandir}/ja/man1/jmap.1* | |
581 | %lang(ja) %{_mandir}/ja/man1/jps.1* | |
582 | %lang(ja) %{_mandir}/ja/man1/jrunscript.1* | |
583 | %lang(ja) %{_mandir}/ja/man1/jsadebugd.1* | |
584 | %lang(ja) %{_mandir}/ja/man1/jstack.1* | |
585 | %lang(ja) %{_mandir}/ja/man1/jstat.1* | |
586 | %lang(ja) %{_mandir}/ja/man1/jstatd.1* | |
587 | %lang(ja) %{_mandir}/ja/man1/native2ascii.1* | |
588 | %lang(ja) %{_mandir}/ja/man1/schemagen.1* | |
589 | %lang(ja) %{_mandir}/ja/man1/serialver.1* | |
590 | %lang(ja) %{_mandir}/ja/man1/rmic.1* | |
591 | %lang(ja) %{_mandir}/ja/man1/wsgen.1* | |
592 | %lang(ja) %{_mandir}/ja/man1/wsimport.1* | |
593 | %lang(ja) %{_mandir}/ja/man1/xjc.1* | |
594 | ||
595 | %files jdk-base | |
596 | %defattr(644,root,root,755) | |
597 | %doc openjdk.build/j2sdk-image/THIRD_PARTY_README | |
598 | %doc openjdk.build/j2sdk-image/ASSEMBLY_EXCEPTION | |
599 | %dir %{dstdir} | |
600 | %{_jvmdir}/%{name} | |
601 | %attr(755,root,root) %{dstdir}/bin/appletviewer | |
602 | %attr(755,root,root) %{dstdir}/bin/apt | |
603 | %attr(755,root,root) %{dstdir}/bin/extcheck | |
604 | %attr(755,root,root) %{dstdir}/bin/idlj | |
605 | %attr(755,root,root) %{dstdir}/bin/jar | |
606 | %attr(755,root,root) %{dstdir}/bin/jarsigner | |
607 | %attr(755,root,root) %{dstdir}/bin/java-rmi.cgi | |
608 | %attr(755,root,root) %{dstdir}/bin/javac | |
609 | %attr(755,root,root) %{dstdir}/bin/javadoc | |
610 | %attr(755,root,root) %{dstdir}/bin/javah | |
611 | %attr(755,root,root) %{dstdir}/bin/javap | |
612 | %attr(755,root,root) %{dstdir}/bin/jconsole | |
613 | %attr(755,root,root) %{dstdir}/bin/jdb | |
614 | %attr(755,root,root) %{dstdir}/bin/jhat | |
615 | %attr(755,root,root) %{dstdir}/bin/jinfo | |
616 | %attr(755,root,root) %{dstdir}/bin/jmap | |
617 | %attr(755,root,root) %{dstdir}/bin/jps | |
618 | %attr(755,root,root) %{dstdir}/bin/jrunscript | |
619 | %attr(755,root,root) %{dstdir}/bin/jsadebugd | |
620 | %attr(755,root,root) %{dstdir}/bin/jstack | |
621 | %attr(755,root,root) %{dstdir}/bin/jstat | |
622 | %attr(755,root,root) %{dstdir}/bin/jstatd | |
623 | %attr(755,root,root) %{dstdir}/bin/native2ascii | |
624 | %attr(755,root,root) %{dstdir}/bin/rmic | |
625 | %attr(755,root,root) %{dstdir}/bin/schemagen | |
626 | %attr(755,root,root) %{dstdir}/bin/serialver | |
627 | %attr(755,root,root) %{dstdir}/bin/wsgen | |
628 | %attr(755,root,root) %{dstdir}/bin/wsimport | |
629 | %attr(755,root,root) %{dstdir}/bin/xjc | |
630 | %{dstdir}/include | |
631 | %dir %{dstdir}/lib | |
632 | %{dstdir}/lib/ct.sym | |
633 | %{dstdir}/lib/dt.jar | |
634 | %{dstdir}/lib/ir.idl | |
635 | %{dstdir}/lib/jconsole.jar | |
636 | %attr(755,root,root) %{dstdir}/lib/jexec | |
637 | %{dstdir}/lib/orb.idl | |
638 | %ifnarch i486 | |
639 | %{dstdir}/lib/sa-jdi.jar | |
640 | %endif | |
641 | %{dstdir}/lib/tools.jar | |
642 | ||
643 | %files jre | |
644 | %defattr(644,root,root,755) | |
645 | %attr(755,root,root) %{_bindir}/java | |
646 | %attr(755,root,root) %{_bindir}/keytool | |
647 | %attr(755,root,root) %{_bindir}/orbd | |
648 | %attr(755,root,root) %{_bindir}/pack200 | |
649 | %attr(755,root,root) %{_bindir}/rmid | |
650 | %attr(755,root,root) %{_bindir}/rmiregistry | |
651 | %attr(755,root,root) %{_bindir}/servertool | |
652 | %attr(755,root,root) %{_bindir}/tnameserv | |
653 | %attr(755,root,root) %{_bindir}/unpack200 | |
654 | %{_mandir}/man1/java.1* | |
655 | %{_mandir}/man1/keytool.1* | |
656 | %{_mandir}/man1/orbd.1* | |
657 | %{_mandir}/man1/pack200.1* | |
658 | %{_mandir}/man1/rmid.1* | |
659 | %{_mandir}/man1/rmiregistry.1* | |
660 | %{_mandir}/man1/servertool.1* | |
661 | %{_mandir}/man1/tnameserv.1* | |
662 | %{_mandir}/man1/unpack200.1* | |
663 | %lang(ja) %{_mandir}/ja/man1/java.1* | |
664 | %ifnarch x86_64 | |
665 | %endif | |
666 | %lang(ja) %{_mandir}/ja/man1/keytool.1* | |
667 | %lang(ja) %{_mandir}/ja/man1/orbd.1* | |
668 | %lang(ja) %{_mandir}/ja/man1/pack200.1* | |
669 | %lang(ja) %{_mandir}/ja/man1/rmid.1* | |
670 | %lang(ja) %{_mandir}/ja/man1/rmiregistry.1* | |
671 | %lang(ja) %{_mandir}/ja/man1/servertool.1* | |
672 | %lang(ja) %{_mandir}/ja/man1/tnameserv.1* | |
673 | %lang(ja) %{_mandir}/ja/man1/unpack200.1* | |
674 | ||
675 | %files jre-base | |
676 | %defattr(644,root,root,755) | |
677 | %doc openjdk.build/j2sdk-image/THIRD_PARTY_README | |
678 | %doc openjdk.build/j2sdk-image/ASSEMBLY_EXCEPTION | |
679 | %dir %{_sysconfdir}/%{name} | |
680 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* | |
681 | %dir %{dstdir} | |
682 | %dir %{jredir} | |
683 | %{_jvmdir}/%{name}-jre | |
684 | %dir %{jredir}/bin | |
685 | %dir %{dstdir}/bin | |
686 | %attr(755,root,root) %{jredir}/bin/java | |
687 | %attr(755,root,root) %{dstdir}/bin/java | |
688 | %attr(755,root,root) %{jredir}/bin/keytool | |
689 | %attr(755,root,root) %{dstdir}/bin/keytool | |
690 | %attr(755,root,root) %{jredir}/bin/orbd | |
691 | %attr(755,root,root) %{dstdir}/bin/orbd | |
692 | %attr(755,root,root) %{jredir}/bin/pack200 | |
693 | %attr(755,root,root) %{dstdir}/bin/pack200 | |
694 | %attr(755,root,root) %{jredir}/bin/rmid | |
695 | %attr(755,root,root) %{dstdir}/bin/rmid | |
696 | %attr(755,root,root) %{jredir}/bin/rmiregistry | |
697 | %attr(755,root,root) %{dstdir}/bin/rmiregistry | |
698 | %attr(755,root,root) %{jredir}/bin/servertool | |
699 | %attr(755,root,root) %{dstdir}/bin/servertool | |
700 | %attr(755,root,root) %{jredir}/bin/tnameserv | |
701 | %attr(755,root,root) %{dstdir}/bin/tnameserv | |
702 | %attr(755,root,root) %{jredir}/bin/unpack200 | |
703 | %attr(755,root,root) %{dstdir}/bin/unpack200 | |
704 | %dir %{jredir}/lib | |
705 | %dir %{jredir}/lib/applet | |
706 | %{jredir}/lib/cmm | |
707 | %{jredir}/lib/ext | |
708 | %dir %{jredir}/lib/%{jre_arch} | |
709 | %ifnarch x86_64 i486 | |
710 | %dir %{jredir}/lib/%{jre_arch}/client | |
711 | %{jredir}/lib/%{jre_arch}/client/Xusage.txt | |
712 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/client/*.so | |
713 | %endif | |
714 | %dir %{jredir}/lib/%{jre_arch}/headless | |
715 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/headless/*.so | |
716 | %dir %{jredir}/lib/%{jre_arch}/jli | |
717 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/jli/*.so | |
718 | %dir %{jredir}/lib/%{jre_arch}/native_threads | |
719 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/native_threads/*.so | |
720 | %dir %{jredir}/lib/%{jre_arch}/server | |
721 | %{jredir}/lib/%{jre_arch}/server/Xusage.txt | |
722 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/server/*.so | |
723 | %{jredir}/lib/%{jre_arch}/jvm.cfg | |
724 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libattach.so | |
725 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libawt.so | |
726 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libdt_socket.so | |
727 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libhprof.so | |
728 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libinstrument.so | |
729 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2gss.so | |
730 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2pcsc.so | |
731 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2pkcs11.so | |
732 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjaas_unix.so | |
733 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjava.so | |
734 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjava_crw_demo.so | |
735 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjawt.so | |
736 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjdwp.so | |
737 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjpeg.so | |
738 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsig.so | |
739 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsound.so | |
740 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjvm.so | |
741 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/liblcms.so | |
742 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libmanagement.so | |
743 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libmlib_image.so | |
744 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnet.so | |
745 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnio.so | |
746 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libnpt.so | |
747 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/librmi.so | |
748 | %ifnarch i486 | |
749 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsaproc.so | |
750 | %endif | |
751 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libunpack.so | |
752 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libverify.so | |
753 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libzip.so | |
754 | %{jredir}/lib/im | |
755 | %{jredir}/lib/images | |
756 | %{jredir}/lib/management | |
757 | %{jredir}/lib/security | |
758 | %{jredir}/lib/zi | |
759 | # | |
760 | %if %{with webstart} | |
761 | %{jredir}/lib/about.jar | |
762 | %{jredir}/lib/about.jnlp | |
763 | %endif | |
764 | %{jredir}/lib/calendars.properties | |
765 | %{jredir}/lib/charsets.jar | |
766 | %{jredir}/lib/classlist | |
767 | %{jredir}/lib/content-types.properties | |
768 | %{jredir}/lib/currency.data | |
769 | %{jredir}/lib/flavormap.properties | |
770 | %{jredir}/lib/fontconfig.* | |
771 | %{jredir}/lib/jce.jar | |
772 | %attr(755, root, root) %{jredir}/lib/jexec | |
773 | %{jredir}/lib/jsse.jar | |
774 | %{jredir}/lib/jvm.hprof.txt | |
775 | %{jredir}/lib/logging.properties | |
776 | %{jredir}/lib/management-agent.jar | |
777 | %{jredir}/lib/meta-index | |
778 | %{jredir}/lib/net.properties | |
779 | %{jredir}/lib/psfont.properties.ja | |
780 | %{jredir}/lib/psfontj2d.properties | |
781 | %{jredir}/lib/resources.jar | |
782 | %{jredir}/lib/rhino.jar | |
783 | %{jredir}/lib/rt.jar | |
784 | %{jredir}/lib/sound.properties | |
785 | %{jredir}/lib/tz.properties | |
786 | %{jvmjardir} | |
787 | ||
788 | %files jre-X11 | |
789 | %defattr(644,root,root,755) | |
790 | %attr(755,root,root) %{_bindir}/policytool | |
791 | %{_mandir}/man1/policytool.1* | |
792 | %lang(ja) %{_mandir}/ja/man1/policytool.1* | |
793 | ||
794 | %files jre-base-X11 | |
795 | %defattr(644,root,root,755) | |
796 | %attr(755,root,root) %{jredir}/bin/policytool | |
797 | %attr(755,root,root) %{dstdir}/bin/policytool | |
798 | %dir %{jredir}/lib/%{jre_arch}/xawt | |
799 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/xawt/*.so | |
800 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsplashscreen.so | |
801 | ||
802 | %files jre-base-alsa | |
803 | %defattr(644,root,root,755) | |
804 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsoundalsa.so | |
805 | ||
806 | %files jre-base-freetype | |
807 | %defattr(644,root,root,755) | |
808 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libfontmanager.so | |
809 | ||
810 | %files jar | |
811 | %defattr(644,root,root,755) | |
812 | %attr(755,root,root) %{_bindir}/jar | |
813 | %{_mandir}/man1/jar.1* | |
814 | %lang(ja) %{_mandir}/ja/man1/jar.1* | |
815 | ||
816 | %files appletviewer | |
817 | %defattr(644,root,root,755) | |
818 | %attr(755,root,root) %{_bindir}/appletviewer | |
819 | %{_mandir}/man1/appletviewer.1* | |
820 | %lang(ja) %{_mandir}/ja/man1/appletviewer.1* | |
821 | ||
822 | %files jdk-sources | |
823 | %defattr(644,root,root,755) | |
824 | %{_javasrcdir}/%{name}-jdk.zip | |
825 | ||
826 | %files examples | |
827 | %defattr(644,root,root,755) | |
828 | %{_examplesdir}/%{name}-%{version} |