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