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