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