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