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