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