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