]>
Commit | Line | Data |
---|---|---|
4a79198a | 1 | # TODO: |
2 | # - install .ttf fonts (same as in sun-java-base-jre-X11 package) or configure | |
3 | # it to use system fonts (is it possible?). | |
f10dfb12 | 4 | |
59e5d22e | 5 | %bcond_with bootstrap # don't use gcj, use an installed icedtea6 instead |
9461a5c5 | 6 | %bcond_without plugin # don't build browser plugin |
5785f56f | 7 | %bcond_without nss # don't use NSS |
ff6bf1e6 | 8 | |
f04e442b JK |
9 | %if %{with bootstrap} |
10 | %define use_jdk java-gcj-compat | |
11 | %else | |
12 | %define use_jdk icedtea6 | |
13 | %endif | |
14 | ||
a0a3eb4d JK |
15 | # class data version seen with file(1) that this jvm is able to load |
16 | %define _classdataversion 50.0 | |
9df6c1ee | 17 | # JDK/JRE version, as returned with `java -version`, '_' replaced with '.' |
ff6bf1e6 ER |
18 | %define _jdkversion 1.6.0.18 |
19 | ||
27d628db JK |
20 | Summary: OpenJDK and GNU Classpath code |
21 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath | |
22 | Name: icedtea6 | |
59e5d22e | 23 | Version: 1.8.3 |
117d25a1 | 24 | Release: 6 |
a0a3eb4d | 25 | License: GPL v2 |
27d628db JK |
26 | Group: Development/Languages/Java |
27 | Source0: http://icedtea.classpath.org/download/source/%{name}-%{version}.tar.gz | |
59e5d22e | 28 | # Source0-md5: 879bdc0160da9e0d0210bda75c8f6054 |
27d628db JK |
29 | # following sources should match those in Makefile.am |
30 | Source1: http://download.java.net/openjdk/jdk6/promoted/b18/openjdk-6-src-b18-16_feb_2010.tar.gz | |
31 | # Source1-md5: 94db01691ab38f98b7d42b2ebf4d5c0b | |
32 | Source2: http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaxws-2009_10_27.zip | |
33 | # Source2-md5: 3ea5728706169498b722b898a1008acf | |
34 | Source3: http://kenai.com/projects/jdk6-drops/downloads/download/jdk6-jaf-2009_10_27.zip | |
35 | # Source3-md5: 7a50bb540a27cdd0001885630088b758 | |
36 | Source4: https://jaxp.dev.java.net/files/documents/913/147329/jdk6-jaxp-2009_10_13.zip | |
37 | # Source4-md5: a2f7b972124cd776ff71e7754eb9a429 | |
cb598d79 | 38 | Patch0: %{name}-i486.patch |
3c17b35d | 39 | Patch1: %{name}-ecj_single_thread.patch |
53cb96e4 | 40 | Patch2: %{name}-no_dtdtype_patch.patch |
3fb28071 | 41 | Patch3: %{name}-rpath.patch |
7b91ed15 | 42 | Patch4: %{name}-libpath.patch |
0676719a | 43 | Patch5: %{name}-system_tray.patch |
117d25a1 | 44 | Patch6: %{name}-xul.patch |
27d628db JK |
45 | URL: http://icedtea.classpath.org/wiki/Main_Page |
46 | BuildRequires: alsa-lib-devel | |
8fb62ac6 | 47 | BuildRequires: ant-nodeps |
497a7426 | 48 | BuildRequires: ant |
cb598d79 JK |
49 | BuildRequires: autoconf |
50 | BuildRequires: automake | |
27d628db JK |
51 | BuildRequires: bash |
52 | BuildRequires: cups-devel | |
f04e442b | 53 | BuildRequires: /usr/bin/jar |
27d628db | 54 | BuildRequires: freetype-devel >= 2.3 |
e6b7128f | 55 | BuildRequires: gawk |
e6fdcc4c | 56 | %{?with_bootstrap:BuildRequires: gcc-java >= 6:4.3} |
27d628db JK |
57 | BuildRequires: giflib-devel |
58 | BuildRequires: glib2-devel | |
e6b7128f | 59 | BuildRequires: glibc-misc |
27d628db | 60 | BuildRequires: gtk+2-devel |
9df6c1ee JK |
61 | BuildRequires: java-rhino |
62 | BuildRequires: java-xalan | |
63 | BuildRequires: java-xerces | |
f04e442b | 64 | %buildrequires_jdk |
e6fdcc4c | 65 | BuildRequires: libffi-devel |
27d628db JK |
66 | BuildRequires: libjpeg-devel |
67 | BuildRequires: libpng-devel | |
c9ca23fb | 68 | BuildRequires: libstdc++-static |
e6b7128f | 69 | BuildRequires: lsb-release |
5785f56f | 70 | %{?with_nss:BuildRequires: nss-devel} |
e6b7128f | 71 | BuildRequires: pkgconfig |
c0800321 | 72 | BuildRequires: rpmbuild(macros) >= 1.557 |
27d628db | 73 | BuildRequires: unzip |
e6b7128f | 74 | BuildRequires: util-linux |
27d628db JK |
75 | BuildRequires: xorg-lib-libX11-devel |
76 | BuildRequires: xorg-lib-libXinerama-devel | |
77 | BuildRequires: xorg-lib-libXp-devel | |
55072b46 | 78 | BuildRequires: xorg-lib-libXrender-devel |
27d628db JK |
79 | BuildRequires: xorg-lib-libXt-devel |
80 | BuildRequires: xorg-lib-libXtst-devel | |
81 | BuildRequires: xorg-proto-printproto-devel | |
82 | BuildRequires: xorg-proto-xproto-devel | |
9461a5c5 | 83 | %{?with_plugin:BuildRequires: xulrunner-devel} |
27d628db | 84 | BuildRequires: zip |
9df6c1ee | 85 | BuildRequires: zlib-devel |
a868d107 | 86 | Requires: %{name}-appletviewer = %{version}-%{release} |
9df6c1ee | 87 | Requires: %{name}-jdk = %{version}-%{release} |
e063cb6d | 88 | Suggests: %{name}-jre-X11 |
e6b7128f | 89 | Suggests: browser-plugin-java-%{name} |
e242b7e0 | 90 | Obsoletes: java5-sun |
91 | Obsoletes: java5-sun-jre | |
92 | Obsoletes: java5-sun-jre-jdbc | |
93 | Obsoletes: java5-sun-jre-X11 | |
94 | Obsoletes: java5-sun-tools | |
a868d107 JK |
95 | Obsoletes: java-gcj-compat |
96 | Obsoletes: java-gcj-compat-devel | |
97 | Obsoletes: java-sun | |
98 | Obsoletes: java-sun-demos | |
e6b7128f | 99 | Obsoletes: java-sun-jre |
a868d107 JK |
100 | Obsoletes: java-sun-jre-alsa |
101 | Obsoletes: java-sun-jre-jdbc | |
e242b7e0 | 102 | Obsoletes: java-sun-jre-X11 |
a868d107 | 103 | Obsoletes: java-sun-tools |
27d628db JK |
104 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
105 | ||
a0a3eb4d JK |
106 | %define dstreldir %{name}-%{version} |
107 | %define dstdir %{_jvmdir}/%{dstreldir} | |
108 | %define jrereldir %{dstreldir}/jre | |
109 | %define jredir %{_jvmdir}/%{jrereldir} | |
110 | %define jvmjardir %{_jvmjardir}/%{name}-%{version} | |
111 | ||
4e14f108 JK |
112 | %ifarch x86_64 amd64 |
113 | %define jre_arch amd64 | |
114 | %else | |
115 | %define jre_arch i386 | |
116 | %endif | |
117 | ||
89796395 JK |
118 | # to break artificial subpackage dependency loops |
119 | %define _noautoreq 'libmawt.so' 'java(ClassDataVersion)' | |
120 | ||
27d628db JK |
121 | %description |
122 | The IcedTea project provides a harness to build the source code from | |
123 | http://openjdk.java.net/ using Free Software build tools and provides | |
124 | replacements libraries for the binary plugs with code from the GNU | |
125 | Classpath project. | |
126 | ||
9df6c1ee JK |
127 | This is a meta-package which provides, by its dependencies, all the |
128 | IcedTea6 components including the OpenJDK, Java 6 developement kit and | |
129 | runtime environment. | |
a0a3eb4d | 130 | |
27d628db JK |
131 | %description -l pl.UTF-8 |
132 | Projekt IcedTea daje możliwość kompilacji kodu źródłowego z | |
133 | http://openjdk.java.net/ przy użyciu wolnodostępnych narzędzi oraz | |
134 | dostarcza zamienniki biblioteczne binarnych wtyczek pochodzące z | |
135 | projektu GNU Classpath. | |
136 | ||
a0a3eb4d | 137 | To jest meta-pakiet, który, za pośrednictwem zależności, dostarcza |
9df6c1ee | 138 | wszystkie komponenty IcedTea6, w tym środowisko programistyczne |
a0a3eb4d JK |
139 | (OpenJDK) i uruchomieniowe (JRE). |
140 | ||
141 | %package jdk | |
a06ddc8a | 142 | Summary: OpenJDK and GNU Classpath code - software development kit |
a0a3eb4d JK |
143 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko programistyczne |
144 | Group: Development/Languages/Java | |
15a834e9 | 145 | Requires: %{name}-jar = %{version}-%{release} |
a0a3eb4d | 146 | Requires: %{name}-jdk-base = %{version}-%{release} |
9df6c1ee | 147 | Requires: %{name}-jre = %{version}-%{release} |
a0a3eb4d JK |
148 | Provides: j2sdk = %{_jdkversion} |
149 | Provides: jdk = %{_jdkversion} | |
150 | Obsoletes: blackdown-java-sdk | |
151 | Obsoletes: ibm-java | |
152 | Obsoletes: java-blackdown | |
e242b7e0 | 153 | Obsoletes: java-gcj-compat-devel |
154 | Obsoletes: java-sun | |
82c4da0e | 155 | Obsoletes: java5-sun |
a0a3eb4d JK |
156 | Obsoletes: jdk |
157 | Obsoletes: kaffe | |
158 | ||
159 | %description jdk | |
a42601b1 | 160 | This package symlinks OpenJDK development tools provided by |
161 | %{name}-jdk-base to system-wide directories like %{_bindir}, making | |
162 | IcedTea6 default JDK. | |
a06ddc8a | 163 | |
164 | %description jdk -l pl.UTF-8 | |
cde20a73 | 165 | Ten pakiet tworzy symboliczne dowiązania do narzędzi programistycznych |
166 | OpenJDK, dostarczanych przez pakiet %{name}-jdk-base, w standardowych | |
a42601b1 | 167 | systemowych ścieżkach takich jak %{_bindir}, sprawiając tym samym, że |
168 | IcedTea6 staje się domyślnym JDK w systemie. | |
a0a3eb4d JK |
169 | |
170 | %package jdk-base | |
a06ddc8a | 171 | Summary: OpenJDK and GNU Classpath code - software development kit |
a0a3eb4d JK |
172 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko programistyczne |
173 | Group: Development/Languages/Java | |
174 | Requires: %{name}-jre-base = %{version}-%{release} | |
175 | Requires: jpackage-utils >= 0:1.6.6-14 | |
34f58b99 | 176 | Provides: jdk(%{name}) |
a0a3eb4d JK |
177 | |
178 | %description jdk-base | |
cde20a73 | 179 | OpenJDK development tools built using free software only. |
a06ddc8a | 180 | |
181 | %description jdk-base -l pl.UTF-8 | |
cde20a73 | 182 | OpenJDK skompilowane wyłącznie przy użyciu wolnego oprogramowania. |
a0a3eb4d JK |
183 | |
184 | %package jre | |
185 | Summary: OpenJDK and GNU Classpath code - runtime environment | |
186 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko uruchomieniowe | |
187 | Group: Development/Languages/Java | |
188 | Requires: %{name}-jre-base = %{version}-%{release} | |
a0a3eb4d | 189 | Provides: java |
89796395 | 190 | Provides: java(ClassDataVersion) = %{_classdataversion} |
5e730f19 JK |
191 | Provides: java(jaas) = %{version} |
192 | Provides: java(jaf) = 1.1.1 | |
193 | Provides: java(jaxp) = 1.3 | |
194 | Provides: java(jaxp_parser_impl) | |
195 | Provides: java(jce) = %{version} | |
196 | Provides: java(jdbc-stdext) = %{version} | |
197 | Provides: java(jdbc-stdext) = 3.0 | |
198 | Provides: java(jmx) = 1.4 | |
199 | Provides: java(jndi) = %{version} | |
200 | Provides: java(jsse) = %{version} | |
a0a3eb4d JK |
201 | Provides: java1.4 |
202 | Provides: jre = %{_jdkversion} | |
5e730f19 JK |
203 | Obsoletes: java(jaas) |
204 | Obsoletes: java(jaf) | |
205 | Obsoletes: java(jaxp) | |
206 | Obsoletes: java(jaxp_parser_impl) | |
207 | Obsoletes: java(jce) | |
208 | Obsoletes: java(jdbc-stdext) | |
209 | Obsoletes: java(jdbc-stdext) | |
210 | Obsoletes: java(jmx) | |
211 | Obsoletes: java(jndi) | |
212 | Obsoletes: java(jsse) | |
e242b7e0 | 213 | Obsoletes: java-gcj-compat |
214 | Obsoletes: java-sun-jre | |
82c4da0e | 215 | Obsoletes: java5-sun-jre |
e6b7128f | 216 | Obsoletes: jre |
a0a3eb4d JK |
217 | |
218 | %description jre | |
cde20a73 | 219 | This package symlinks OpenJDK runtime environment tools provided by |
a42601b1 | 220 | %{name}-jre-base to system-wide directories like %{_bindir}, making |
221 | IcedTea6 default JRE. | |
a06ddc8a | 222 | |
223 | %description jre -l pl.UTF-8 | |
a42601b1 | 224 | Ten pakiet tworzy symboliczne dowiązania do środowiska |
225 | uruchomieniowego OpenJDK, dostarczanych przez pakiet %{name}-jre-base, | |
226 | w standardowych systemowych ścieżkach takich jak %{_bindir}, | |
227 | sprawiając tym samym, że IcedTea6 staje się domyślnym JRE w systemie. | |
a0a3eb4d | 228 | |
e992c999 JK |
229 | %package jre-X11 |
230 | Summary: IcedTea6 OpenJDK - runtime environment - X11 support | |
231 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa X11 | |
232 | Group: Development/Languages/Java | |
233 | Requires: %{name}-jre = %{version}-%{release} | |
234 | Requires: %{name}-jre-base-X11 = %{version}-%{release} | |
235 | Provides: jre-X11 = %{_jdkversion} | |
236 | ||
237 | %description jre-X11 | |
238 | X11 support for OpenJDK runtime environment built using free software | |
239 | only. | |
240 | ||
deed0bbd | 241 | %description jre-X11 -l pl.UTF-8 |
e992c999 JK |
242 | Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu |
243 | wolnego oprogramowania. | |
244 | ||
a0a3eb4d JK |
245 | %package jre-base |
246 | Summary: OpenJDK and GNU Classpath code - runtime environment | |
247 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - środowisko uruchomieniowe | |
248 | Group: Development/Languages/Java | |
a0a3eb4d | 249 | Requires: jpackage-utils >= 0:1.6.6-14 |
34f58b99 | 250 | Provides: jre(%{name}) |
a0a3eb4d JK |
251 | |
252 | %description jre-base | |
cde20a73 | 253 | OpenJDK runtime environment built using free software only. |
a06ddc8a | 254 | |
255 | %description jre-base -l pl.UTF-8 | |
cde20a73 | 256 | Środowisko uruchomieniowe OpenJDK zbudowany wyłącznie przy użyciu |
257 | wolnego oprogramowania. | |
a0a3eb4d | 258 | |
e992c999 | 259 | %package jre-base-X11 |
a0a3eb4d JK |
260 | Summary: IcedTea6 OpenJDK - runtime environment - X11 support |
261 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa X11 | |
262 | Group: Development/Languages/Java | |
263 | Requires: %{name}-jre-base = %{version}-%{release} | |
e992c999 | 264 | Requires: %{name}-jre-base-freetype = %{version}-%{release} |
a0a3eb4d | 265 | |
e992c999 | 266 | %description jre-base-X11 |
a06ddc8a | 267 | X11 support for OpenJDK runtime environment built using free software |
268 | only. | |
269 | ||
deed0bbd | 270 | %description jre-base-X11 -l pl.UTF-8 |
a06ddc8a | 271 | Biblioteki X11 dla środowiska OpenJDK zbudowany wyłocznie przy uzyciu |
272 | wolnego oprogramowania. | |
a0a3eb4d | 273 | |
e992c999 | 274 | %package jre-base-alsa |
a0a3eb4d JK |
275 | Summary: IcedTea6 OpenJDK - runtime environment - ALSA support |
276 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa ALSA | |
277 | Group: Development/Languages/Java | |
278 | Requires: %{name}-jre-base = %{version}-%{release} | |
279 | ||
e992c999 | 280 | %description jre-base-alsa |
a06ddc8a | 281 | ALSA sound support for OpenJDK runtime environment build using free |
282 | software only. | |
283 | ||
e992c999 | 284 | %description jre-base-alsa -l pl.UTF-8 |
a06ddc8a | 285 | Biblioteki ALSA rozszerzające środowisko OpenJDK o obsługę dźwięku |
286 | zbudowane przy uzyciu wyłącznie wolnego oprogramowania. | |
a0a3eb4d | 287 | |
e992c999 | 288 | %package jre-base-freetype |
a0a3eb4d JK |
289 | Summary: IcedTea6 OpenJDK - runtime environment - font support |
290 | Summary(pl.UTF-8): IcedTea6 OpenJDK - środowisko uruchomieniowe - obsługa fontów | |
291 | Group: Development/Languages/Java | |
292 | Requires: %{name}-jre-base = %{version}-%{release} | |
293 | ||
e992c999 | 294 | %description jre-base-freetype |
a06ddc8a | 295 | Font handling library for OpenJDK runtime environment built using free |
296 | software only. | |
297 | ||
e992c999 | 298 | %description jre-base-freetype -l pl.UTF-8 |
a06ddc8a | 299 | Biblioteki obsługi czcionek dla OpenJDK zbudowane wyłącznie przy |
300 | użyciu wolnego oprogramowania. | |
a0a3eb4d | 301 | |
e992c999 | 302 | %package jre-base-mozilla-plugin |
1702906b JK |
303 | Summary: IceTea Java plugin for WWW browsers |
304 | Summary(pl.UTF-8): Wtyczka Javy do przeglądarek WWW | |
305 | Group: Development/Languages/Java | |
e992c999 | 306 | Requires: %{name}-jre-base-X11 = %{version}-%{release} |
1702906b | 307 | |
e992c999 | 308 | %description jre-base-mozilla-plugin |
a06ddc8a | 309 | OpenJDK Java plugin for WWW browsers built using free software only. |
1702906b JK |
310 | |
311 | To install this plugin automatically in PLD web browsers install | |
312 | 'browser-plugin-java-%{name}' package too. | |
313 | ||
92000897 | 314 | %description jre-base-mozilla-plugin -l pl.UTF-8 |
a06ddc8a | 315 | Wtyczka dla przeglądarek oferująca wsparcie dla javy za pośrednictwem |
316 | środowiska OpenJDK zbudowana wyłącznie przy użyciu wolnego | |
317 | oprogramowania. | |
1702906b | 318 | |
a06ddc8a | 319 | Aby zainstalować tę wtyczke automatycznie w przeglądarkach dostępnych |
320 | w PLD, zainstaluj również pakiet 'browser-plugin-java-%{name}. | |
1702906b | 321 | |
a0a3eb4d JK |
322 | %package jar |
323 | Summary: OpenJDK and GNU Classpath code - JAR tool | |
324 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - narzędzie JAR | |
9df6c1ee | 325 | Group: Development/Languages/Java |
a868d107 | 326 | Requires: %{name}-jdk-base = %{version}-%{release} |
a0a3eb4d | 327 | Provides: jar |
a868d107 | 328 | Obsoletes: fastjar |
9df6c1ee | 329 | Obsoletes: jar |
a0a3eb4d JK |
330 | |
331 | %description jar | |
a06ddc8a | 332 | JAR tool from OpenJDK built using free software only. |
a0a3eb4d JK |
333 | |
334 | JAR is an archiver used to merge Java classes into a single library. | |
335 | ||
a06ddc8a | 336 | %description jar -l pl.UTF-8 |
337 | Narzędzie jar z OpenJDK zbudowane przy uzyciu wyłącznie wolnego | |
338 | oprogramowania. | |
339 | ||
340 | JAR jest narzędziem pozwalającym wykonywać podstawowe operacje na | |
341 | archiwach javy .jar takie jak na przykład tworzenie lub rozpakowywanie | |
342 | archiwów. | |
343 | ||
a868d107 JK |
344 | %package appletviewer |
345 | Summary: OpenJDK and GNU Classpath code - appletviewer tool | |
346 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - narzędzie appletviewer | |
9df6c1ee | 347 | Group: Development/Languages/Java |
a868d107 JK |
348 | Requires: %{name}-jdk-base = %{version}-%{release} |
349 | Requires: %{name}-jre-X11 = %{version}-%{release} | |
350 | Obsoletes: java-sun-appletviewer | |
a868d107 | 351 | |
9df6c1ee | 352 | %description appletviewer |
a06ddc8a | 353 | Appletviewer from OpenJDK build using free software only. |
354 | ||
355 | %description appletviewer -l pl.UTF-8 | |
356 | Appletviewer pozwala uruchamiać aplety javy niezależnie od | |
357 | przeglądarki www. Ten appletviewer pochodzi z zestawu narzędzi OpenJDK | |
358 | i został zbudowany wyłącznie przy użyciu wolnego oprogramowania. | |
a868d107 | 359 | |
a0a3eb4d JK |
360 | %package jdk-sources |
361 | Summary: OpenJDK and GNU Classpath code - sources | |
362 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - kod źródłowy | |
5f68898e | 363 | Group: Documentation |
a0a3eb4d JK |
364 | |
365 | %description jdk-sources | |
a06ddc8a | 366 | Source code for the OpenJDK development kit and Java standard library. |
367 | ||
368 | %description jdk-sources -l pl.UTF-8 | |
369 | Kod źródłowy narzędzi programistycznych OpenJDK oraz standardowej | |
370 | biblioteki Javy. | |
a0a3eb4d JK |
371 | |
372 | %package examples | |
373 | Summary: OpenJDK and GNU Classpath code - examples | |
374 | Summary(pl.UTF-8): Kod OpenJDK i GNU Classpath - przykłady | |
5f68898e | 375 | Group: Documentation |
a0a3eb4d JK |
376 | |
377 | %description examples | |
a06ddc8a | 378 | Code examples for OpenJDK. |
379 | ||
380 | %description examples -l pl.UTF-8 | |
381 | Przykłady dla OpenJDK. | |
a0a3eb4d | 382 | |
926503ea JK |
383 | %package -n browser-plugin-java-%{name} |
384 | Summary: IceTea Java plugin for WWW browsers | |
385 | Summary(pl.UTF-8): Wtyczka Javy do przeglądarek WWW | |
386 | Group: Development/Languages/Java | |
e992c999 | 387 | Requires: %{name}-jre-base-mozilla-plugin = %{version}-%{release} |
926503ea JK |
388 | Requires: browser-plugins >= 2.0 |
389 | Requires: browser-plugins(%{_target_base_arch}) | |
390 | ||
391 | %description -n browser-plugin-java-%{name} | |
392 | Java plugin for WWW browsers. | |
393 | ||
394 | %description -n browser-plugin-java-%{name} -l pl.UTF-8 | |
395 | Wtyczka z obsługą Javy dla przeglądarek WWW. | |
396 | ||
27d628db JK |
397 | %prep |
398 | %setup -q | |
0676719a | 399 | |
cb598d79 | 400 | %patch0 -p1 |
96546287 | 401 | |
3c17b35d | 402 | # workaround for an ECJ bug |
8b85be3a | 403 | #%patch1 -p1 |
3c17b35d | 404 | |
53cb96e4 JK |
405 | %patch2 -p1 |
406 | ||
3fb28071 AM |
407 | # rpath so IcedTeaPlugin.so can find libxul.so and libxpcom.so |
408 | %patch3 -p1 | |
409 | ||
7b91ed15 JK |
410 | %patch4 -p1 |
411 | ||
0676719a JK |
412 | # patches to applied to the extracted sources |
413 | mkdir -p pld-patches | |
414 | cp "%{PATCH5}" pld-patches | |
415 | ||
117d25a1 AM |
416 | %patch6 -p1 |
417 | ||
96546287 | 418 | # let the build system extract the sources where it wants them |
27d628db JK |
419 | mkdir drops |
420 | ln -s %{SOURCE1} . | |
421 | ln -s %{SOURCE2} drops | |
422 | ln -s %{SOURCE3} drops | |
423 | ln -s %{SOURCE4} drops | |
424 | ||
425 | %build | |
1ee33f1f ER |
426 | # Make sure we have /proc mounted - otherwise idlc will fail later. |
427 | if [ ! -f /proc/self/stat ]; then | |
428 | echo "You need to have /proc mounted in order to build this package!" | |
429 | exit 1 | |
430 | fi | |
431 | ||
f04e442b | 432 | export JAVA_HOME=%{java_home} |
380399dc | 433 | export PATH="$JAVA_HOME/bin:$PATH" |
cb598d79 JK |
434 | |
435 | %{__aclocal} | |
436 | %{__autoconf} | |
437 | %{__automake} | |
438 | ||
27d628db | 439 | %configure \ |
e6b7128f | 440 | WGET=%{_bindir}/wget \ |
e6fdcc4c | 441 | %if %{with bootstrap} |
f04e442b | 442 | --with-gcj-home=%{java_home} \ |
e6fdcc4c JK |
443 | --with-ecj-jar=%{_javadir}/ecj.jar \ |
444 | %else | |
f04e442b | 445 | --with-openjdk=%{java_home} \ |
9461a5c5 JK |
446 | %endif |
447 | %if %{with plugin} | |
448 | --enable-plugin \ | |
449 | %else | |
450 | --disable-plugin \ | |
e6fdcc4c | 451 | %endif |
5785f56f | 452 | %{!?with_nss:--disable-nss} \ |
27d628db JK |
453 | --with-xalan2-jar=%{_javadir}/xalan.jar \ |
454 | --with-xalan2-serializer-jar=%{_javadir}/serializer.jar \ | |
9461a5c5 | 455 | --with-rhino=%{_javadir}/js.jar |
27d628db | 456 | |
0676719a JK |
457 | %{__make} extract extract-ecj \ |
458 | DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)" | |
96546287 | 459 | |
e6fdcc4c | 460 | %if %{with bootstrap} |
96546287 JK |
461 | # Cannot do that as patch, as the sources are prepared by make |
462 | %{__sed} -i -e's/CORBA_BUILD_ARGUMENTS = \\/CORBA_BUILD_ARGUMENTS = JVMLIB="" \\/' openjdk-ecj/make/corba-rules.gmk | |
e6fdcc4c | 463 | %endif |
fcb2e40e JK |
464 | # if dpkg-architecure is installed (like on carme) it will break the build |
465 | # unless we disable using it somehow. As patching is difficult here: | |
3c17b35d | 466 | sed -i -e's/dpkg-architecture/dpkg-architecture__/' openjdk*/*/make/common/shared/Platform.gmk |
96546287 | 467 | |
27d628db | 468 | %{__make} -j1 \ |
e4b79625 | 469 | DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \ |
0676719a | 470 | DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)" \ |
96546287 | 471 | PRINTF=/bin/printf |
27d628db JK |
472 | |
473 | %install | |
474 | rm -rf $RPM_BUILD_ROOT | |
ff6bf1e6 | 475 | install -d $RPM_BUILD_ROOT{%{_bindir},%{dstdir},%{_mandir}/ja,%{_browserpluginsdir}} \ |
5f68898e | 476 | $RPM_BUILD_ROOT{%{jvmjardir},%{_examplesdir}/%{name}-%{version},%{_javasrcdir}} \ |
9cce1afc | 477 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
a0a3eb4d JK |
478 | |
479 | # install the 'JDK image', it contains the JRE too | |
ff6bf1e6 | 480 | cp -a openjdk/build/linux-*/j2sdk-image/* $RPM_BUILD_ROOT%{dstdir} |
a0a3eb4d JK |
481 | |
482 | # convenience symlinks without version number | |
483 | ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name} | |
abc4f92a | 484 | ln -s %{jrereldir} $RPM_BUILD_ROOT%{_jvmdir}/%{name}-jre |
a0a3eb4d | 485 | |
8e3c63c8 AF |
486 | ln -s %{dstreldir} $RPM_BUILD_ROOT%{_jvmdir}/java |
487 | ||
5f68898e | 488 | # move JDK sources and demo to /usr/src |
489 | mv $RPM_BUILD_ROOT%{dstdir}/demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
490 | mv $RPM_BUILD_ROOT%{dstdir}/sample $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
491 | mv $RPM_BUILD_ROOT%{dstdir}/src.zip $RPM_BUILD_ROOT%{_javasrcdir}/%{name}-jdk.zip | |
a0a3eb4d JK |
492 | |
493 | # move manual pages to its place | |
494 | mv $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.eucJP/man1 $RPM_BUILD_ROOT%{_mandir}/ja/man1 | |
495 | rmdir $RPM_BUILD_ROOT%{dstdir}/man/ja_JP.eucJP | |
496 | rm $RPM_BUILD_ROOT%{dstdir}/man/ja | |
497 | mv $RPM_BUILD_ROOT%{dstdir}/man/man1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
498 | rmdir $RPM_BUILD_ROOT%{dstdir}/man | |
27d628db | 499 | |
a0a3eb4d | 500 | # replace duplicates with symlinks, link to %{_bindir} |
ff6bf1e6 ER |
501 | for path in $RPM_BUILD_ROOT%{dstdir}/bin/*; do |
502 | filename=$(basename $path) | |
503 | if diff -q "$path" "$RPM_BUILD_ROOT%{jredir}/bin/$filename" > /dev/null; then | |
1702906b JK |
504 | ln -sf "../jre/bin/$filename" "$path" |
505 | ln -sf "%{jredir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir} | |
506 | else | |
507 | ln -sf "%{dstdir}/bin/$filename" $RPM_BUILD_ROOT%{_bindir} | |
508 | fi | |
a0a3eb4d JK |
509 | done |
510 | ln -sf ../jre/lib/jexec $RPM_BUILD_ROOT%{dstdir}/lib/jexec | |
511 | ||
9cce1afc JK |
512 | # keep configuration in /etc (not all *.properties go there) |
513 | for config in management security content-types.properties \ | |
514 | logging.properties net.properties sound.properties ; do | |
515 | ||
0d5bd1ef JK |
516 | mv $RPM_BUILD_ROOT%{jredir}/lib/$config $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/$config |
517 | ln -s %{_sysconfdir}/%{name}/$config $RPM_BUILD_ROOT%{jredir}/lib/$config | |
9cce1afc JK |
518 | done |
519 | ||
6984a289 | 520 | %if %{with plugin} |
ff6bf1e6 | 521 | ln -s %{jredir}/lib/%{jre_arch}/IcedTeaPlugin.so $RPM_BUILD_ROOT%{_browserpluginsdir} |
1702906b JK |
522 | %endif |
523 | ||
a0a3eb4d JK |
524 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jsse.jar |
525 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jcert.jar | |
526 | ln -sf %{jredir}/lib/jsse.jar $RPM_BUILD_ROOT%{jvmjardir}/jnet.jar | |
527 | ln -sf %{jredir}/lib/jce.jar $RPM_BUILD_ROOT%{jvmjardir}/jce.jar | |
528 | for f in jndi jndi-ldap jndi-cos jndi-rmi jaas jdbc-stdext jdbc-stdext-3.0 \ | |
529 | sasl jaxp_parser_impl jaxp_transform_impl jaxp jmx activation xml-commons-apis \ | |
530 | jndi-dns jndi-rmi; do | |
531 | ln -sf %{jredir}/lib/rt.jar $RPM_BUILD_ROOT%{jvmjardir}/$f.jar | |
532 | done | |
533 | ||
534 | rm -f $RPM_BUILD_ROOT%{dstdir}/{,jre/}{ASSEMBLY_EXCEPTION,LICENSE,THIRD_PARTY_README} | |
27d628db | 535 | |
926503ea JK |
536 | %post -n browser-plugin-java-%{name} |
537 | %update_browser_plugins | |
538 | ||
539 | %postun -n browser-plugin-java-%{name} | |
540 | if [ "$1" = 0 ]; then | |
541 | %update_browser_plugins | |
542 | fi | |
543 | ||
27d628db JK |
544 | %clean |
545 | rm -rf $RPM_BUILD_ROOT | |
546 | ||
547 | %files | |
548 | %defattr(644,root,root,755) | |
a0a3eb4d JK |
549 | %doc AUTHORS ChangeLog HACKING NEWS README THANKYOU |
550 | ||
551 | %files jdk | |
552 | %defattr(644,root,root,755) | |
a0a3eb4d JK |
553 | %attr(755,root,root) %{_bindir}/apt |
554 | %attr(755,root,root) %{_bindir}/extcheck | |
555 | %attr(755,root,root) %{_bindir}/idlj | |
a0a3eb4d JK |
556 | %attr(755,root,root) %{_bindir}/jarsigner |
557 | %attr(755,root,root) %{_bindir}/java-rmi.cgi | |
558 | %attr(755,root,root) %{_bindir}/javac | |
559 | %attr(755,root,root) %{_bindir}/javadoc | |
560 | %attr(755,root,root) %{_bindir}/javah | |
561 | %attr(755,root,root) %{_bindir}/javap | |
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 | |
8e3c63c8 | 580 | %{_jvmdir}/java |
c424689e | 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* | |
589 | %{_mandir}/man1/jconsole.1* | |
590 | %{_mandir}/man1/jdb.1* | |
591 | %{_mandir}/man1/jhat.1* | |
592 | %{_mandir}/man1/jinfo.1* | |
593 | %{_mandir}/man1/jmap.1* | |
594 | %{_mandir}/man1/jps.1* | |
595 | %{_mandir}/man1/jrunscript.1* | |
596 | %{_mandir}/man1/jsadebugd.1* | |
597 | %{_mandir}/man1/jstack.1* | |
598 | %{_mandir}/man1/jstat.1* | |
599 | %{_mandir}/man1/jstatd.1* | |
600 | %{_mandir}/man1/native2ascii.1* | |
601 | %{_mandir}/man1/schemagen.1* | |
602 | %{_mandir}/man1/serialver.1* | |
603 | %{_mandir}/man1/rmic.1* | |
604 | %{_mandir}/man1/wsgen.1* | |
605 | %{_mandir}/man1/wsimport.1* | |
606 | %{_mandir}/man1/xjc.1* | |
607 | %lang(ja) %{_mandir}/ja/man1/apt.1* | |
608 | %lang(ja) %{_mandir}/ja/man1/extcheck.1* | |
609 | %lang(ja) %{_mandir}/ja/man1/idlj.1* | |
610 | %lang(ja) %{_mandir}/ja/man1/jarsigner.1* | |
611 | %lang(ja) %{_mandir}/ja/man1/javac.1* | |
612 | %lang(ja) %{_mandir}/ja/man1/javadoc.1* | |
613 | %lang(ja) %{_mandir}/ja/man1/javah.1* | |
614 | %lang(ja) %{_mandir}/ja/man1/javap.1* | |
615 | %lang(ja) %{_mandir}/ja/man1/jconsole.1* | |
616 | %lang(ja) %{_mandir}/ja/man1/jdb.1* | |
617 | %lang(ja) %{_mandir}/ja/man1/jhat.1* | |
618 | %lang(ja) %{_mandir}/ja/man1/jinfo.1* | |
619 | %lang(ja) %{_mandir}/ja/man1/jmap.1* | |
620 | %lang(ja) %{_mandir}/ja/man1/jps.1* | |
621 | %lang(ja) %{_mandir}/ja/man1/jrunscript.1* | |
622 | %lang(ja) %{_mandir}/ja/man1/jsadebugd.1* | |
623 | %lang(ja) %{_mandir}/ja/man1/jstack.1* | |
624 | %lang(ja) %{_mandir}/ja/man1/jstat.1* | |
625 | %lang(ja) %{_mandir}/ja/man1/jstatd.1* | |
626 | %lang(ja) %{_mandir}/ja/man1/native2ascii.1* | |
627 | %lang(ja) %{_mandir}/ja/man1/schemagen.1* | |
628 | %lang(ja) %{_mandir}/ja/man1/serialver.1* | |
629 | %lang(ja) %{_mandir}/ja/man1/rmic.1* | |
630 | %lang(ja) %{_mandir}/ja/man1/wsgen.1* | |
631 | %lang(ja) %{_mandir}/ja/man1/wsimport.1* | |
632 | %lang(ja) %{_mandir}/ja/man1/xjc.1* | |
a0a3eb4d JK |
633 | |
634 | %files jdk-base | |
635 | %defattr(644,root,root,755) | |
636 | %doc openjdk/build/linux-*/j2sdk-image/THIRD_PARTY_README | |
637 | %doc openjdk/build/linux-*/j2sdk-image/ASSEMBLY_EXCEPTION | |
638 | %dir %{dstdir} | |
639 | %{_jvmdir}/%{name} | |
a0a3eb4d JK |
640 | %attr(755,root,root) %{dstdir}/bin/appletviewer |
641 | %attr(755,root,root) %{dstdir}/bin/apt | |
642 | %attr(755,root,root) %{dstdir}/bin/extcheck | |
643 | %attr(755,root,root) %{dstdir}/bin/idlj | |
644 | %attr(755,root,root) %{dstdir}/bin/jar | |
645 | %attr(755,root,root) %{dstdir}/bin/jarsigner | |
a0a3eb4d JK |
646 | %attr(755,root,root) %{dstdir}/bin/java-rmi.cgi |
647 | %attr(755,root,root) %{dstdir}/bin/javac | |
648 | %attr(755,root,root) %{dstdir}/bin/javadoc | |
649 | %attr(755,root,root) %{dstdir}/bin/javah | |
650 | %attr(755,root,root) %{dstdir}/bin/javap | |
a0a3eb4d JK |
651 | %attr(755,root,root) %{dstdir}/bin/jconsole |
652 | %attr(755,root,root) %{dstdir}/bin/jdb | |
653 | %attr(755,root,root) %{dstdir}/bin/jhat | |
654 | %attr(755,root,root) %{dstdir}/bin/jinfo | |
655 | %attr(755,root,root) %{dstdir}/bin/jmap | |
656 | %attr(755,root,root) %{dstdir}/bin/jps | |
657 | %attr(755,root,root) %{dstdir}/bin/jrunscript | |
658 | %attr(755,root,root) %{dstdir}/bin/jsadebugd | |
659 | %attr(755,root,root) %{dstdir}/bin/jstack | |
660 | %attr(755,root,root) %{dstdir}/bin/jstat | |
661 | %attr(755,root,root) %{dstdir}/bin/jstatd | |
a0a3eb4d | 662 | %attr(755,root,root) %{dstdir}/bin/native2ascii |
a0a3eb4d | 663 | %attr(755,root,root) %{dstdir}/bin/rmic |
a0a3eb4d JK |
664 | %attr(755,root,root) %{dstdir}/bin/schemagen |
665 | %attr(755,root,root) %{dstdir}/bin/serialver | |
666 | %attr(755,root,root) %{dstdir}/bin/servertool | |
a0a3eb4d JK |
667 | %attr(755,root,root) %{dstdir}/bin/wsgen |
668 | %attr(755,root,root) %{dstdir}/bin/wsimport | |
669 | %attr(755,root,root) %{dstdir}/bin/xjc | |
670 | %{dstdir}/include | |
671 | %dir %{dstdir}/lib | |
672 | %{dstdir}/lib/ct.sym | |
673 | %{dstdir}/lib/dt.jar | |
674 | %{dstdir}/lib/ir.idl | |
675 | %{dstdir}/lib/jconsole.jar | |
676 | %attr(755,root,root) %{dstdir}/lib/jexec | |
677 | %{dstdir}/lib/orb.idl | |
d8fbfd06 | 678 | %ifnarch i486 |
a0a3eb4d | 679 | %{dstdir}/lib/sa-jdi.jar |
d8fbfd06 | 680 | %endif |
a0a3eb4d JK |
681 | %{dstdir}/lib/tools.jar |
682 | ||
683 | %files jre | |
684 | %defattr(644,root,root,755) | |
685 | %attr(755,root,root) %{_bindir}/java | |
686 | %attr(755,root,root) %{_bindir}/javaws | |
687 | %attr(755,root,root) %{_bindir}/keytool | |
688 | %attr(755,root,root) %{_bindir}/orbd | |
689 | %attr(755,root,root) %{_bindir}/pack200 | |
a0a3eb4d JK |
690 | %attr(755,root,root) %{_bindir}/rmid |
691 | %attr(755,root,root) %{_bindir}/rmiregistry | |
692 | %attr(755,root,root) %{_bindir}/servertool | |
693 | %attr(755,root,root) %{_bindir}/tnameserv | |
694 | %attr(755,root,root) %{_bindir}/unpack200 | |
c424689e | 695 | %{_mandir}/man1/java.1* |
c424689e | 696 | %{_mandir}/man1/javaws.1* |
c424689e | 697 | %{_mandir}/man1/keytool.1* |
698 | %{_mandir}/man1/orbd.1* | |
699 | %{_mandir}/man1/pack200.1* | |
c424689e | 700 | %{_mandir}/man1/rmid.1* |
701 | %{_mandir}/man1/rmiregistry.1* | |
702 | %{_mandir}/man1/servertool.1* | |
703 | %{_mandir}/man1/tnameserv.1* | |
704 | %{_mandir}/man1/unpack200.1* | |
705 | %lang(ja) %{_mandir}/ja/man1/java.1* | |
e2451a3e | 706 | %ifnarch x86_64 |
c424689e | 707 | %lang(ja) %{_mandir}/ja/man1/javaws.1* |
e2451a3e | 708 | %endif |
c424689e | 709 | %lang(ja) %{_mandir}/ja/man1/keytool.1* |
710 | %lang(ja) %{_mandir}/ja/man1/orbd.1* | |
711 | %lang(ja) %{_mandir}/ja/man1/pack200.1* | |
c424689e | 712 | %lang(ja) %{_mandir}/ja/man1/rmid.1* |
713 | %lang(ja) %{_mandir}/ja/man1/rmiregistry.1* | |
714 | %lang(ja) %{_mandir}/ja/man1/servertool.1* | |
715 | %lang(ja) %{_mandir}/ja/man1/tnameserv.1* | |
716 | %lang(ja) %{_mandir}/ja/man1/unpack200.1* | |
a0a3eb4d JK |
717 | |
718 | %files jre-base | |
719 | %defattr(644,root,root,755) | |
720 | %doc openjdk/build/linux-*/j2sdk-image/THIRD_PARTY_README | |
721 | %doc openjdk/build/linux-*/j2sdk-image/ASSEMBLY_EXCEPTION | |
9cce1afc JK |
722 | %dir %{_sysconfdir}/%{name} |
723 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* | |
a0a3eb4d JK |
724 | %dir %{dstdir} |
725 | %dir %{jredir} | |
abc4f92a | 726 | %{_jvmdir}/%{name}-jre |
a0a3eb4d | 727 | %dir %{jredir}/bin |
1702906b | 728 | %dir %{dstdir}/bin |
a0a3eb4d | 729 | %attr(755,root,root) %{jredir}/bin/java |
1702906b | 730 | %attr(755,root,root) %{dstdir}/bin/java |
a0a3eb4d | 731 | %attr(755,root,root) %{jredir}/bin/javaws |
1702906b | 732 | %attr(755,root,root) %{dstdir}/bin/javaws |
a0a3eb4d | 733 | %attr(755,root,root) %{jredir}/bin/keytool |
1702906b | 734 | %attr(755,root,root) %{dstdir}/bin/keytool |
a0a3eb4d | 735 | %attr(755,root,root) %{jredir}/bin/orbd |
1702906b | 736 | %attr(755,root,root) %{dstdir}/bin/orbd |
a0a3eb4d | 737 | %attr(755,root,root) %{jredir}/bin/pack200 |
1702906b | 738 | %attr(755,root,root) %{dstdir}/bin/pack200 |
a0a3eb4d | 739 | %attr(755,root,root) %{jredir}/bin/rmid |
1702906b | 740 | %attr(755,root,root) %{dstdir}/bin/rmid |
a0a3eb4d | 741 | %attr(755,root,root) %{jredir}/bin/rmiregistry |
1702906b | 742 | %attr(755,root,root) %{dstdir}/bin/rmiregistry |
a0a3eb4d | 743 | %attr(755,root,root) %{jredir}/bin/servertool |
1702906b | 744 | %attr(755,root,root) %{dstdir}/bin/servertool |
a0a3eb4d | 745 | %attr(755,root,root) %{jredir}/bin/tnameserv |
1702906b | 746 | %attr(755,root,root) %{dstdir}/bin/tnameserv |
a0a3eb4d | 747 | %attr(755,root,root) %{jredir}/bin/unpack200 |
1702906b | 748 | %attr(755,root,root) %{dstdir}/bin/unpack200 |
a0a3eb4d JK |
749 | %dir %{jredir}/lib |
750 | %dir %{jredir}/lib/applet | |
751 | %{jredir}/lib/cmm | |
752 | %{jredir}/lib/ext | |
4e14f108 | 753 | %dir %{jredir}/lib/%{jre_arch} |
d8fbfd06 | 754 | %ifnarch x86_64 i486 |
4e14f108 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 | |
7b5d2b14 | 758 | %endif |
4e14f108 JK |
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 | |
763 | %dir %{jredir}/lib/%{jre_arch}/native_threads | |
764 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/native_threads/*.so | |
765 | %dir %{jredir}/lib/%{jre_arch}/server | |
766 | %{jredir}/lib/%{jre_arch}/server/Xusage.txt | |
767 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/server/*.so | |
768 | %{jredir}/lib/%{jre_arch}/jvm.cfg | |
769 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libattach.so | |
770 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libawt.so | |
771 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libdt_socket.so | |
772 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libhprof.so | |
773 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libinstrument.so | |
774 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libj2gss.so | |
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 | |
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 | |
782 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjpeg.so | |
783 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsig.so | |
784 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsound.so | |
4e14f108 JK |
785 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/liblcms.so |
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 | |
791 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/librmi.so | |
d8fbfd06 | 792 | %ifnarch i486 |
4e14f108 | 793 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsaproc.so |
d8fbfd06 | 794 | %endif |
4e14f108 JK |
795 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libunpack.so |
796 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libverify.so | |
797 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libzip.so | |
a0a3eb4d JK |
798 | %{jredir}/lib/im |
799 | %{jredir}/lib/images | |
800 | %{jredir}/lib/management | |
801 | %{jredir}/lib/security | |
802 | %{jredir}/lib/zi | |
803 | # | |
804 | %{jredir}/lib/about.jar | |
805 | %{jredir}/lib/about.jnlp | |
806 | %{jredir}/lib/calendars.properties | |
807 | %{jredir}/lib/charsets.jar | |
808 | %{jredir}/lib/classlist | |
809 | %{jredir}/lib/content-types.properties | |
810 | %{jredir}/lib/currency.data | |
811 | %{jredir}/lib/flavormap.properties | |
812 | %{jredir}/lib/fontconfig.* | |
813 | %{jredir}/lib/jce.jar | |
814 | %attr(755, root, root) %{jredir}/lib/jexec | |
815 | %{jredir}/lib/jsse.jar | |
816 | %{jredir}/lib/jvm.hprof.txt | |
817 | %{jredir}/lib/logging.properties | |
818 | %{jredir}/lib/management-agent.jar | |
819 | %{jredir}/lib/meta-index | |
820 | %{jredir}/lib/net.properties | |
821 | %{jredir}/lib/psfont.properties.ja | |
822 | %{jredir}/lib/psfontj2d.properties | |
823 | %{jredir}/lib/resources.jar | |
824 | %{jredir}/lib/rhino.jar | |
825 | %{jredir}/lib/rt.jar | |
826 | %{jredir}/lib/sound.properties | |
827 | %{jredir}/lib/tz.properties | |
828 | %{jvmjardir} | |
829 | ||
830 | %files jre-X11 | |
831 | %defattr(644,root,root,755) | |
e992c999 JK |
832 | %attr(755,root,root) %{_bindir}/policytool |
833 | %{_mandir}/man1/policytool.1* | |
834 | %lang(ja) %{_mandir}/ja/man1/policytool.1* | |
835 | ||
836 | %files jre-base-X11 | |
837 | %defattr(644,root,root,755) | |
1702906b JK |
838 | %attr(755,root,root) %{jredir}/bin/policytool |
839 | %attr(755,root,root) %{dstdir}/bin/policytool | |
4e14f108 JK |
840 | %dir %{jredir}/lib/%{jre_arch}/xawt |
841 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/xawt/*.so | |
842 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libsplashscreen.so | |
a0a3eb4d | 843 | |
e992c999 | 844 | %files jre-base-alsa |
a0a3eb4d | 845 | %defattr(644,root,root,755) |
1702906b | 846 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libjsoundalsa.so |
a0a3eb4d | 847 | |
e992c999 | 848 | %files jre-base-freetype |
a0a3eb4d | 849 | %defattr(644,root,root,755) |
4e14f108 | 850 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/libfontmanager.so |
a0a3eb4d JK |
851 | |
852 | %files jar | |
853 | %defattr(644,root,root,755) | |
854 | %attr(755,root,root) %{_bindir}/jar | |
c424689e | 855 | %{_mandir}/man1/jar.1* |
856 | %lang(ja) %{_mandir}/ja/man1/jar.1* | |
a0a3eb4d | 857 | |
a868d107 JK |
858 | %files appletviewer |
859 | %defattr(644,root,root,755) | |
860 | %attr(755,root,root) %{_bindir}/appletviewer | |
c424689e | 861 | %{_mandir}/man1/appletviewer.1* |
862 | %lang(ja) %{_mandir}/ja/man1/appletviewer.1* | |
a868d107 | 863 | |
a0a3eb4d JK |
864 | %files jdk-sources |
865 | %defattr(644,root,root,755) | |
5f68898e | 866 | %{_javasrcdir}/%{name}-jdk.zip |
a0a3eb4d JK |
867 | |
868 | %files examples | |
869 | %defattr(644,root,root,755) | |
5f68898e | 870 | %{_examplesdir}/%{name}-%{version} |
926503ea JK |
871 | |
872 | %if %{with plugin} | |
e992c999 | 873 | %files jre-base-mozilla-plugin |
1702906b | 874 | %defattr(644,root,root,755) |
926503ea | 875 | %attr(755,root,root) %{jredir}/bin/pluginappletviewer |
1702906b | 876 | %attr(755,root,root) %{dstdir}/bin/pluginappletviewer |
926503ea | 877 | %attr(755,root,root) %{jredir}/lib/%{jre_arch}/IcedTeaPlugin.so |
1702906b JK |
878 | |
879 | %files -n browser-plugin-java-%{name} | |
880 | %defattr(644,root,root,755) | |
881 | %attr(755,root,root) %{_bindir}/pluginappletviewer | |
ff6bf1e6 | 882 | %attr(755,root,root) %{_browserpluginsdir}/IcedTeaPlugin.so |
926503ea | 883 | %endif |