1 | # python support for aot-compile |
---|
2 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
3 | |
---|
4 | # convert an absolute path to a relative path. each symbolic link is |
---|
5 | # specified relative to the directory in which it is installed so that |
---|
6 | # it will resolve properly within chrooted installations. |
---|
7 | %define abs2rel %{_datadir}/java-utils/abs2rel.sh |
---|
8 | |
---|
9 | # resolve circular dependency between sinjdoc and java-1.5.0-gcj. |
---|
10 | # define to 1 if sinjdoc has not been built yet. |
---|
11 | %define bootstrap 1 |
---|
12 | |
---|
13 | # the plugin subpackage is disabled because libgcj's security |
---|
14 | # infrastructure isn't ready to run untrusted applets. |
---|
15 | %define enable_plugin 0 |
---|
16 | |
---|
17 | # the naming suffix for the gcc rpms we require (e.g., gcc4, libgcj4) |
---|
18 | %define gccsuffix %{nil} |
---|
19 | # the version-release string for the gcj rpms we require |
---|
20 | %define gccver 4.4.3-9 |
---|
21 | # the version string for the java-gcj-compat release we require |
---|
22 | %define jgcver 1.0.79 |
---|
23 | |
---|
24 | # hard-code libdir on 64-bit architectures to make the 64-bit JDK |
---|
25 | # simply be another alternative |
---|
26 | %ifarch ppc64 s390x x86_64 sparc64 |
---|
27 | %define syslibdir %{_prefix}/lib64 |
---|
28 | %define _libdir %{_prefix}/lib |
---|
29 | %else |
---|
30 | %define syslibdir %{_libdir} |
---|
31 | %endif |
---|
32 | |
---|
33 | # standard JPackage naming and versioning defines |
---|
34 | %define origin gcj%{gccsuffix} |
---|
35 | %define priority 1500 |
---|
36 | %define javaver 1.5.0 |
---|
37 | %define buildver 0 |
---|
38 | %define name java-%{javaver}-%{origin} |
---|
39 | |
---|
40 | # standard JPackage directories and symbolic links |
---|
41 | # make 64-bit JDKs just another alternative on 64-bit architectures |
---|
42 | %define sdklnk java-%{javaver}-%{origin} |
---|
43 | %define jrelnk jre-%{javaver}-%{origin} |
---|
44 | %define sdkdir %{name}-%{version} |
---|
45 | %define jredir %{sdkdir}/jre |
---|
46 | %define sdkbindir %{_jvmdir}/%{sdklnk}/bin |
---|
47 | %define jrebindir %{_jvmdir}/%{jrelnk}/bin |
---|
48 | %define jvmjardir %{_jvmjardir}/%{name}-%{version} |
---|
49 | |
---|
50 | %if %{enable_plugin} |
---|
51 | %define plugindir %{_libdir}/mozilla/plugins |
---|
52 | %endif |
---|
53 | |
---|
54 | %define debug_package %{nil} |
---|
55 | |
---|
56 | Name: %{name} |
---|
57 | Summary: JPackage runtime compatibility layer for GCJ |
---|
58 | Version: %{javaver}.%{buildver} |
---|
59 | Release: 36%{?_dist_release} |
---|
60 | Group: Development/Languages |
---|
61 | # The LICENSE file has the classpath exception, but nothing in this package |
---|
62 | # seems to use or even need it. |
---|
63 | License: GPLv2+ |
---|
64 | URL: http://sources.redhat.com/rhug/java-gcj-compat.html |
---|
65 | Source0: ftp://sources.redhat.com/pub/rhug/java-gcj-compat-%{jgcver}.tar.gz |
---|
66 | Source1: javadoc-workaround.patch |
---|
67 | |
---|
68 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
69 | |
---|
70 | # required to calculate gcj binary's path to encode in aotcompile.py |
---|
71 | # and rebuild-gcj-db |
---|
72 | BuildRequires: gcc%{gccsuffix}-java >= %{gccver} |
---|
73 | BuildRequires: libgcj%{gccsuffix}-src >= %{gccver} |
---|
74 | # required for cacerts generation |
---|
75 | %ifnarch %{ix86} |
---|
76 | BuildRequires: openssl |
---|
77 | %else |
---|
78 | # work around bug #500314 |
---|
79 | BuildRequires: openssl-devel |
---|
80 | %endif |
---|
81 | BuildRequires: python-devel |
---|
82 | %if !%{bootstrap} |
---|
83 | # required for javadoc |
---|
84 | BuildRequires: java-1.6.0-openjdk-devel |
---|
85 | %endif |
---|
86 | BuildRequires: unzip |
---|
87 | # required for abs2rel |
---|
88 | BuildRequires: jpackage-utils >= 1.7.5-1vl6 |
---|
89 | |
---|
90 | # required for tools and libgcj.jar |
---|
91 | Requires: libgcj%{gccsuffix} >= %{gccver} |
---|
92 | # required for directory structures |
---|
93 | Requires: jpackage-utils >= 1.7.5-1 |
---|
94 | # required for java.security symlink. also ensures that the proper |
---|
95 | # libgcj is installed on multilib systems. |
---|
96 | #Requires: %{syslibdir}/security/classpath.security |
---|
97 | %if !%{bootstrap} |
---|
98 | # required for javadoc symlink |
---|
99 | Requires: sinjdoc |
---|
100 | %endif |
---|
101 | |
---|
102 | # post requires alternatives to install tool alternatives |
---|
103 | Requires(post): alternatives |
---|
104 | # rebuild-gcj-db requires gcj-dbtool, findutils |
---|
105 | Requires(post): libgcj%{gccsuffix} |
---|
106 | Requires(post): findutils |
---|
107 | # postun requires alternatives to uninstall tool alternatives |
---|
108 | Requires(postun): alternatives |
---|
109 | # rebuild-gcj-db requires gcj-dbtool, findutils |
---|
110 | Requires(postun): libgcj%{gccsuffix} |
---|
111 | Requires(postun): findutils |
---|
112 | # triggerin requires alternatives to install tool alternatives |
---|
113 | Requires(triggerin): alternatives |
---|
114 | Requires(triggerin): libgcj%{gccsuffix} |
---|
115 | # triggerin requires jpackage-utils for abs2rel |
---|
116 | Requires(triggerin): jpackage-utils >= 1.7.5-1 |
---|
117 | |
---|
118 | # standard JPackage base provides |
---|
119 | Provides: jre-%{javaver}-%{origin} = %{version}-%{release} |
---|
120 | Provides: jre-%{origin} = %{version}-%{release} |
---|
121 | Provides: jre-%{javaver} = %{version}-%{release} |
---|
122 | Provides: java-%{javaver} = %{version}-%{release} |
---|
123 | Provides: jre = %{javaver} |
---|
124 | Provides: java-%{origin} = %{version}-%{release} |
---|
125 | Provides: java = %{javaver} |
---|
126 | # libgcj provides, translated to JPackage provides |
---|
127 | Provides: jaas = %{version}-%{release} |
---|
128 | Provides: jce = %{version}-%{release} |
---|
129 | Provides: jdbc-stdext = %{version}-%{release} |
---|
130 | Provides: jdbc-stdext = 3.0 |
---|
131 | Provides: jndi = %{version}-%{release} |
---|
132 | Provides: jndi-cos = %{version}-%{release} |
---|
133 | Provides: jndi-dns = %{version}-%{release} |
---|
134 | Provides: jndi-ldap = %{version}-%{release} |
---|
135 | Provides: jndi-rmi = %{version}-%{release} |
---|
136 | Provides: jsse = %{version}-%{release} |
---|
137 | Provides: java-sasl = %{version}-%{release} |
---|
138 | Provides: jaxp_parser_impl = 1.3 |
---|
139 | # java-gcj-compat base provides |
---|
140 | Provides: java-gcj-compat = %{jgcver} |
---|
141 | Provides: java-1.4.2-gcj-compat > 1.4.2.0-40jpp.111 |
---|
142 | |
---|
143 | Obsoletes: java-1.4.2-gcj-compat <= 1.4.2.0-40jpp.111 |
---|
144 | Obsoletes: gnu-crypto <= 2.1.0-2jpp.1 |
---|
145 | Obsoletes: gnu-crypto-sasl-jdk1.4 <= 2.1.0-2jpp.1 |
---|
146 | Obsoletes: jessie <= 1.0.1-7 |
---|
147 | |
---|
148 | %description |
---|
149 | This package installs directory structures, shell scripts and symbolic |
---|
150 | links to simulate a JPackage-compatible runtime environment with GCJ. |
---|
151 | |
---|
152 | %package devel |
---|
153 | Summary: JPackage development compatibility layer for GCJ |
---|
154 | Group: Development/Tools |
---|
155 | |
---|
156 | # FIXME: require libgcj-src for tools.jar symlink |
---|
157 | Requires: libgcj%{gccsuffix}-src >= %{gccver} |
---|
158 | # require base package |
---|
159 | Requires: %{name} = %{version}-%{release} |
---|
160 | # require eclipse-ecj for ecj binary |
---|
161 | Requires: ecj >= 3.2.1 |
---|
162 | # require python for aot-compile |
---|
163 | Requires: python |
---|
164 | # require gcc-java for gjavah binary |
---|
165 | Requires: gcc%{gccsuffix}-java >= %{gccver} |
---|
166 | # post requires alternatives to install tool alternatives |
---|
167 | Requires(post): alternatives |
---|
168 | # post requires gcj to retrieve gcj header file locations |
---|
169 | Requires(post): gcc-java |
---|
170 | # postun requires alternatives to uninstall tool alternatives |
---|
171 | Requires(postun): alternatives |
---|
172 | # triggerin requires gij to retrieve gcc version |
---|
173 | Requires(triggerin): libgcj%{gccsuffix} |
---|
174 | # triggerin requires gcj to retrieve gcj header file locations |
---|
175 | Requires(triggerin): gcc-java |
---|
176 | # triggerin requires jpackage-utils for abs2rel |
---|
177 | Requires(triggerin): jpackage-utils >= 1.7.5-1 |
---|
178 | |
---|
179 | # standard JPackage devel provides |
---|
180 | Provides: java-sdk-%{javaver}-%{origin} = %{version} |
---|
181 | Provides: java-sdk-%{javaver} = %{version} |
---|
182 | Provides: java-sdk-%{origin} = %{version} |
---|
183 | Provides: java-sdk = %{javaver} |
---|
184 | Provides: java-%{javaver}-devel = %{version} |
---|
185 | Provides: java-devel-%{origin} = %{version} |
---|
186 | Provides: java-devel = %{javaver} |
---|
187 | # java-gcj-compat devel provides |
---|
188 | Provides: java-gcj-compat-devel = %{jgcver} |
---|
189 | Provides: java-1.4.2-gcj-compat-devel > 1.4.2.0-40jpp.111 |
---|
190 | |
---|
191 | Obsoletes: java-1.4.2-gcj-compat-devel <= 1.4.2.0-40jpp.111 |
---|
192 | |
---|
193 | %description devel |
---|
194 | This package installs directory structures, shell scripts and symbolic |
---|
195 | links to simulate a JPackage-compatible development environment with |
---|
196 | GCJ. |
---|
197 | |
---|
198 | %package src |
---|
199 | Summary: Source files for libgcj |
---|
200 | Summary: libgcj のソースファイル |
---|
201 | Group: Development/Libraries |
---|
202 | |
---|
203 | Requires: %{name} = %{version}-%{release} |
---|
204 | Requires: libgcj%{gccsuffix}-src >= %{gccver} |
---|
205 | Requires(post): libgcj%{gccsuffix} |
---|
206 | Requires(triggerin): libgcj%{gccsuffix} |
---|
207 | # triggerin requires jpackage-utils for abs2rel |
---|
208 | Requires(triggerin): jpackage-utils >= 1.7.5-1 |
---|
209 | |
---|
210 | # java-gcj-compat src provides |
---|
211 | Provides: java-1.4.2-gcj-compat-src > 1.4.2.0-40jpp.111 |
---|
212 | |
---|
213 | Obsoletes: java-1.4.2-gcj-compat-src <= 1.4.2.0-40jpp.111 |
---|
214 | |
---|
215 | %description src |
---|
216 | This package installs a src.zip symbolic link that points to a |
---|
217 | specific version of the libgcj sources. |
---|
218 | |
---|
219 | %if !%{bootstrap} |
---|
220 | %package javadoc |
---|
221 | Summary: API documentation for libgcj |
---|
222 | Summary(ja): libgcj の API ドキュメント |
---|
223 | Group: Documentation |
---|
224 | |
---|
225 | # require base package |
---|
226 | Requires: %{name} = %{version}-%{release} |
---|
227 | |
---|
228 | # Post requires alternatives to install javadoc alternative. |
---|
229 | Requires(post): alternatives |
---|
230 | # Postun requires alternatives to uninstall javadoc alternative. |
---|
231 | Requires(postun): alternatives |
---|
232 | |
---|
233 | # standard JPackage javadoc provides |
---|
234 | Provides: java-javadoc = %{version}-%{release} |
---|
235 | Provides: java-%{javaver}-javadoc = %{version}-%{release} |
---|
236 | # java-gcj-compat javadoc provides |
---|
237 | Provides: java-1.4.2-gcj-compat-javadoc > 1.4.2.0-40jpp.111 |
---|
238 | |
---|
239 | Obsoletes: java-1.4.2-gcj-compat-javadoc <= 1.4.2.0-40jpp.111 |
---|
240 | Obsoletes: gnu-crypto-javadoc <= 2.1.0-2jpp.1 |
---|
241 | |
---|
242 | %description javadoc |
---|
243 | This package installs Javadoc API documentation for libgcj. |
---|
244 | %endif |
---|
245 | |
---|
246 | %if %{enable_plugin} |
---|
247 | %package plugin |
---|
248 | Summary: Web browser plugin that handles applets |
---|
249 | Group: Applications/Internet |
---|
250 | |
---|
251 | # require base package |
---|
252 | Requires: %{name} = %{version}-%{release} |
---|
253 | # require libgcj for plugin shared object |
---|
254 | Requires: libgcj%{gccsuffix} >= %{gccver} |
---|
255 | # require Mozilla plugin directory |
---|
256 | Requires: %{plugindir} |
---|
257 | # post requires gij to retrieve gcc version |
---|
258 | Requires(post): %{_bindir}/gij%{gccsuffix} |
---|
259 | # post requires alternatives to install plugin alternative |
---|
260 | Requires(post): alternatives |
---|
261 | # post requires Mozilla plugin directory |
---|
262 | Requires(post): %{plugindir} |
---|
263 | # postun requires gij to retrieve gcc version |
---|
264 | Requires(postun): %{_bindir}/gij%{gccsuffix} |
---|
265 | # postun requires alternatives to uninstall plugin alternative |
---|
266 | Requires(postun): alternatives |
---|
267 | # triggerin requires gij to retrieve gcc version |
---|
268 | Requires(triggerin): %{_bindir}/gij%{gccsuffix} |
---|
269 | # triggerin requires alternatives to install plugin alternative |
---|
270 | Requires(triggerin): alternatives |
---|
271 | |
---|
272 | # standard JPackage plugin provides |
---|
273 | Provides: java-plugin = %{javaver} |
---|
274 | Provides: java-%{javaver}-plugin = %{version} |
---|
275 | # java-gcj-compat plugin provides |
---|
276 | Provides: java-1.4.2-gcj-compat-plugin > 1.4.2.0-40jpp.111 |
---|
277 | |
---|
278 | Obsoletes: java-1.4.2-gcj-compat-plugin <= 1.4.2.0-40jpp.111 |
---|
279 | |
---|
280 | %description plugin |
---|
281 | This package installs a symbolic link to gcjwebplugin, a Mozilla |
---|
282 | plugin for applets. |
---|
283 | %endif |
---|
284 | |
---|
285 | %prep |
---|
286 | %setup -q -n java-gcj-compat-%{jgcver} |
---|
287 | |
---|
288 | # fix cert.pem path |
---|
289 | sed -i -e 's:/etc/pki/tls:/usr/share/ssl:g' generate-cacerts.pl |
---|
290 | |
---|
291 | %build |
---|
292 | # Print kernel version in logs. |
---|
293 | uname -a |
---|
294 | %configure --disable-symlinks --with-arch-directory=%{_arch} \ |
---|
295 | --with-os-directory=linux |
---|
296 | make |
---|
297 | # --with-security-directory=%{_sysconfdir}/java/security/security.d |
---|
298 | |
---|
299 | # the python compiler encodes the source file's timestamp in the .pyc |
---|
300 | # and .pyo headers. since aotcompile.py is generated by configure, |
---|
301 | # its timestamp will differ from build to build. this causes multilib |
---|
302 | # conflicts. we work around this by setting aotcompile.py's timestamp |
---|
303 | # to equal aotcompile.py.in's timestamp. (205216) |
---|
304 | touch --reference=aotcompile.py.in aotcompile.py |
---|
305 | |
---|
306 | %install |
---|
307 | rm -rf $RPM_BUILD_ROOT |
---|
308 | |
---|
309 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
310 | |
---|
311 | # extensions handling |
---|
312 | install -dm 755 $RPM_BUILD_ROOT%{jvmjardir} |
---|
313 | pushd $RPM_BUILD_ROOT%{jvmjardir} |
---|
314 | RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir}) |
---|
315 | for jarname in jaas jce jdbc-stdext jndi jndi-cos jndi-dns \ |
---|
316 | jndi-ldap jndi-rmi jsse sasl |
---|
317 | do |
---|
318 | ln -s $RELATIVE/$jarname.jar $jarname-%{version}.jar |
---|
319 | done |
---|
320 | for jar in *-%{version}.jar |
---|
321 | do |
---|
322 | ln -sf ${jar} $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g") |
---|
323 | ln -sf ${jar} $(echo $jar | sed "s|-%{version}.jar|.jar|g") |
---|
324 | done |
---|
325 | popd |
---|
326 | |
---|
327 | # security directory and provider list |
---|
328 | install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security |
---|
329 | pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security |
---|
330 | RELATIVE=$(%{abs2rel} %{syslibdir}/security \ |
---|
331 | %{_jvmdir}/%{jredir}/lib/security) |
---|
332 | ln -sf $RELATIVE/classpath.security java.security |
---|
333 | popd |
---|
334 | # default security providers, provided by libgcj |
---|
335 | install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/java/security/security.d |
---|
336 | for provider in \ |
---|
337 | 1000-gnu.java.security.provider.Gnu \ |
---|
338 | 1001-gnu.javax.crypto.jce.GnuCrypto \ |
---|
339 | 1002-gnu.javax.crypto.jce.GnuSasl \ |
---|
340 | 1003-gnu.javax.net.ssl.provider.Jessie \ |
---|
341 | 1004-gnu.javax.security.auth.callback.GnuCallbacks |
---|
342 | do |
---|
343 | cat > $RPM_BUILD_ROOT%{_sysconfdir}/java/security/security.d/$provider << EOF |
---|
344 | # This file's contents are ignored. Its name, of the form |
---|
345 | # <priority>-<provider name>, is used by post and postun scripts to |
---|
346 | # rebuild the list of security providers in libgcj's |
---|
347 | # classpath.security file. |
---|
348 | EOF |
---|
349 | done |
---|
350 | # cacerts |
---|
351 | %{__perl} generate-cacerts.pl |
---|
352 | install -m 644 cacerts $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security |
---|
353 | |
---|
354 | # versionless symbolic links |
---|
355 | pushd $RPM_BUILD_ROOT%{_jvmdir} |
---|
356 | ln -s %{jredir} %{jrelnk} |
---|
357 | ln -s %{sdkdir} %{sdklnk} |
---|
358 | popd |
---|
359 | pushd $RPM_BUILD_ROOT%{_jvmjardir} |
---|
360 | ln -s %{sdkdir} %{jrelnk} |
---|
361 | ln -s %{sdkdir} %{sdklnk} |
---|
362 | popd |
---|
363 | |
---|
364 | # classmap database directory |
---|
365 | install -dm 755 $RPM_BUILD_ROOT%{syslibdir}/gcj |
---|
366 | |
---|
367 | %if !%{bootstrap} |
---|
368 | # build and install API documentation |
---|
369 | install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} |
---|
370 | #pushd $RPM_BUILD_ROOT%{_javadocdir} |
---|
371 | # ln -s %{name} java |
---|
372 | #popd |
---|
373 | mkdir docsbuild |
---|
374 | pushd docsbuild |
---|
375 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
376 | | awk '{ print $5 }') |
---|
377 | echo ==== CHECK ZIP ==== |
---|
378 | unzip -tq /usr/share/java/src-$GIJ_VERSION.zip || : |
---|
379 | echo ==== END CHECK ZIP ==== |
---|
380 | if unzip -tq /usr/share/java/src-$GIJ_VERSION.zip |
---|
381 | then |
---|
382 | fastjar xvf /usr/share/java/src-$GIJ_VERSION.zip |
---|
383 | rm -rf gnu |
---|
384 | patch -p0 < %{SOURCE1} |
---|
385 | find ./ -name \*.java | xargs -n 1 dirname | sort | uniq \ |
---|
386 | | sed -e "s/\.\///" | sed -e "s/\//\./" \ |
---|
387 | | sed -e "s/\//\./" | sed -e "s/\//\./" \ |
---|
388 | | sed -e "s/\//\./" | sed -e "s/\//\./" \ |
---|
389 | | xargs javadoc -quiet \ |
---|
390 | -d $RPM_BUILD_ROOT%{_javadocdir}/%{name} \ |
---|
391 | -encoding UTF-8 -breakiterator \ |
---|
392 | -linksource -splitindex -doctitle "GNU libgcj $GIJ_VERSION" \ |
---|
393 | -windowtitle "GNU libgcj $GIJ_VERSION Documentation" |
---|
394 | else |
---|
395 | # Work around https://bugzilla.redhat.com/show_bug.cgi?id=404981 |
---|
396 | touch $RPM_BUILD_ROOT%{_javadocdir}/%{name}/package-list |
---|
397 | fi |
---|
398 | popd |
---|
399 | %endif |
---|
400 | |
---|
401 | # amd64 compatibility link |
---|
402 | %ifarch x86_64 |
---|
403 | pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib |
---|
404 | ln -s %{_arch} amd64 |
---|
405 | popd |
---|
406 | %endif |
---|
407 | |
---|
408 | # install operating system include directory |
---|
409 | install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/include/linux |
---|
410 | |
---|
411 | # install libjvm.so directories |
---|
412 | install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{_arch}/client |
---|
413 | install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{_arch}/server |
---|
414 | |
---|
415 | # install tools.jar directory |
---|
416 | install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/lib |
---|
417 | |
---|
418 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/include/jawt.h |
---|
419 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/include/jni.h |
---|
420 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/include/linux/jawt_md.h |
---|
421 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/include/linux/jni_md.h |
---|
422 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/lib/tools.jar |
---|
423 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{_arch}/libjawt.so |
---|
424 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{_arch}/client/libjvm.so |
---|
425 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/%{_arch}/server/libjvm.so |
---|
426 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/rt.jar |
---|
427 | touch $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/src.zip |
---|
428 | |
---|
429 | pushd $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/jre/lib |
---|
430 | for jarname in jaas jce jdbc-stdext jndi jndi-cos jndi-dns \ |
---|
431 | jndi-ldap jndi-rmi jsse sasl |
---|
432 | do |
---|
433 | ln -s rt.jar $jarname.jar |
---|
434 | done |
---|
435 | popd |
---|
436 | |
---|
437 | # overwrite javac with our own version (rhbz# 460761) |
---|
438 | rm -f $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir}/bin/javac |
---|
439 | echo "export PATH=%{_jvmdir}/%{sdkdir}/bin:\${PATH}" > $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir}/bin/javac |
---|
440 | echo "%{_bindir}/ecj \"\$@\"" >> $RPM_BUILD_ROOT/%{_jvmdir}/%{sdkdir}/bin/javac |
---|
441 | |
---|
442 | %clean |
---|
443 | rm -rf $RPM_BUILD_ROOT |
---|
444 | |
---|
445 | %post |
---|
446 | /sbin/update-alternatives \ |
---|
447 | --install %{_bindir}/java java %{jrebindir}/java %{priority} \ |
---|
448 | --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
---|
449 | --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \ |
---|
450 | --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \ |
---|
451 | --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry |
---|
452 | |
---|
453 | /sbin/update-alternatives \ |
---|
454 | --install %{_jvmdir}/jre-%{origin} \ |
---|
455 | jre_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \ |
---|
456 | --slave %{_jvmjardir}/jre-%{origin} \ |
---|
457 | jre_%{origin}_exports %{_jvmjardir}/%{jrelnk} |
---|
458 | |
---|
459 | /sbin/update-alternatives \ |
---|
460 | --install %{_jvmdir}/jre-%{javaver} \ |
---|
461 | jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} \ |
---|
462 | --slave %{_jvmjardir}/jre-%{javaver} \ |
---|
463 | jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk} |
---|
464 | |
---|
465 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
466 | | awk '{ print $5 }') |
---|
467 | |
---|
468 | # jaxp_parser_impl |
---|
469 | /sbin/update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \ |
---|
470 | jaxp_parser_impl %{_javadir}/libgcj-$GIJ_VERSION.jar 20 |
---|
471 | |
---|
472 | # fix broken symlink if it's there |
---|
473 | if [ ! -f %{_bindir}/java ] ; then |
---|
474 | /sbin/update-alternatives --auto java |
---|
475 | /sbin/update-alternatives --auto jre_%{origin} |
---|
476 | /sbin/update-alternatives --auto jre_%{javaver} |
---|
477 | fi |
---|
478 | if [ ! -f %{_javadir}/jaxp_parser_impl.jar ] ; then |
---|
479 | /sbin/update-alternatives --auto jaxp_parser_impl |
---|
480 | fi |
---|
481 | |
---|
482 | { |
---|
483 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
484 | | awk '{ print $5 }') |
---|
485 | |
---|
486 | # Rebuild the list of security providers in classpath.security. |
---|
487 | # This used to be a standalone script, rebuild-security-providers, |
---|
488 | # provided by the Fedora version of jpackage-utils. Now it is |
---|
489 | # inlined here and removed from Fedora's jpackage-utils for |
---|
490 | # compatibility with jpackage.org's jpackage-utils. See: |
---|
491 | # https://bugzilla.redhat.com/show_bug.cgi?id=260161 |
---|
492 | suffix=security/classpath.security-$GIJ_VERSION |
---|
493 | secfiles="/usr/lib/$suffix /usr/lib64/$suffix" |
---|
494 | |
---|
495 | for secfile in $secfiles |
---|
496 | do |
---|
497 | # check if this classpath.security file exists |
---|
498 | [ -f "$secfile" ] || continue |
---|
499 | |
---|
500 | sed -i '/^security\.provider\./d' "$secfile" |
---|
501 | |
---|
502 | count=0 |
---|
503 | for provider in $(ls /etc/java/security/security.d) |
---|
504 | do |
---|
505 | count=$((count + 1)) |
---|
506 | echo "security.provider.${count}=${provider#*-}" >> "$secfile" |
---|
507 | done |
---|
508 | done |
---|
509 | } || : |
---|
510 | |
---|
511 | if [ -x %{_bindir}/rebuild-gcj-db ]; then |
---|
512 | %{_bindir}/rebuild-gcj-db |
---|
513 | fi |
---|
514 | |
---|
515 | %triggerin -- libgcj%{gccsuffix} >= %{gccver} |
---|
516 | { |
---|
517 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
518 | | awk '{ print $5 }') |
---|
519 | |
---|
520 | # jaxp_parser_impl |
---|
521 | /sbin/update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \ |
---|
522 | jaxp_parser_impl \ |
---|
523 | %{_javadir}/libgcj-$GIJ_VERSION.jar 20 |
---|
524 | |
---|
525 | # rt.jar |
---|
526 | RELATIVE=$(%{abs2rel} %{_javadir} %{_jvmdir}/%{sdkdir}/jre/lib) |
---|
527 | ln -sf \ |
---|
528 | $RELATIVE/libgcj-$GIJ_VERSION.jar \ |
---|
529 | %{_jvmdir}/%{sdkdir}/jre/lib/rt.jar |
---|
530 | |
---|
531 | # libjawt.so |
---|
532 | RELATIVE=$(%{abs2rel} %{syslibdir}/gcj-$GIJ_VERSION \ |
---|
533 | %{_jvmdir}/%{jredir}/lib/%{_arch}) |
---|
534 | ln -sf $RELATIVE/libjawt.so \ |
---|
535 | %{_jvmdir}/%{jredir}/lib/%{_arch}/libjawt.so |
---|
536 | |
---|
537 | # libjvm.so |
---|
538 | RELATIVE=$(%{abs2rel} %{syslibdir}/gcj-$GIJ_VERSION \ |
---|
539 | %{_jvmdir}/%{jredir}/lib/%{_arch}/client) |
---|
540 | ln -sf $RELATIVE/libjvm.so \ |
---|
541 | %{_jvmdir}/%{jredir}/lib/%{_arch}/client/libjvm.so |
---|
542 | RELATIVE=$(%{abs2rel} %{syslibdir}/gcj-$GIJ_VERSION \ |
---|
543 | %{_jvmdir}/%{jredir}/lib/%{_arch}/server) |
---|
544 | ln -sf $RELATIVE/libjvm.so \ |
---|
545 | %{_jvmdir}/%{jredir}/lib/%{_arch}/server/libjvm.so |
---|
546 | } || : |
---|
547 | |
---|
548 | %postun |
---|
549 | if [ $1 -eq 0 ]; then |
---|
550 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
551 | | awk '{ print $5 }') |
---|
552 | /sbin/update-alternatives --remove java %{jrebindir}/java |
---|
553 | /sbin/update-alternatives --remove jre_%{origin} %{_jvmdir}/%{jrelnk} |
---|
554 | /sbin/update-alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} |
---|
555 | /sbin/update-alternatives --remove jaxp_parser_impl \ |
---|
556 | %{_javadir}/libgcj-$GIJ_VERSION.jar |
---|
557 | /sbin/update-alternatives --auto java |
---|
558 | /sbin/update-alternatives --auto jre_%{origin} |
---|
559 | /sbin/update-alternatives --auto jre_%{javaver} |
---|
560 | /sbin/update-alternatives --auto jaxp_parser_impl |
---|
561 | fi |
---|
562 | |
---|
563 | { |
---|
564 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
565 | | awk '{ print $5 }') |
---|
566 | |
---|
567 | # Rebuild the list of security providers in classpath.security |
---|
568 | suffix=security/classpath.security-$GIJ_VERSION |
---|
569 | secfiles="/usr/lib/$suffix /usr/lib64/$suffix" |
---|
570 | |
---|
571 | for secfile in $secfiles |
---|
572 | do |
---|
573 | # check if this classpath.security file exists |
---|
574 | [ -f "$secfile" ] || continue |
---|
575 | |
---|
576 | sed -i '/^security\.provider\./d' "$secfile" |
---|
577 | |
---|
578 | count=0 |
---|
579 | for provider in $(ls /etc/java/security/security.d) |
---|
580 | do |
---|
581 | count=$((count + 1)) |
---|
582 | echo "security.provider.${count}=${provider#*-}" >> "$secfile" |
---|
583 | done |
---|
584 | done |
---|
585 | } || : |
---|
586 | |
---|
587 | if [ -x %{_bindir}/rebuild-gcj-db ]; then |
---|
588 | %{_bindir}/rebuild-gcj-db |
---|
589 | fi |
---|
590 | |
---|
591 | %post devel |
---|
592 | /sbin/update-alternatives \ |
---|
593 | --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \ |
---|
594 | --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |
---|
595 | --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdklnk} \ |
---|
596 | --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \ |
---|
597 | --slave %{_bindir}/javah javah %{sdkbindir}/javah \ |
---|
598 | --slave %{_bindir}/jar jar %{sdkbindir}/jar \ |
---|
599 | --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \ |
---|
600 | --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \ |
---|
601 | --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic |
---|
602 | |
---|
603 | /sbin/update-alternatives \ |
---|
604 | --install %{_jvmdir}/java-%{origin} \ |
---|
605 | java_sdk_%{origin} %{_jvmdir}/%{sdklnk} %{priority} \ |
---|
606 | --slave %{_jvmjardir}/java-%{origin} \ |
---|
607 | java_sdk_%{origin}_exports %{_jvmjardir}/%{sdklnk} |
---|
608 | |
---|
609 | /sbin/update-alternatives \ |
---|
610 | --install %{_jvmdir}/java-%{javaver} \ |
---|
611 | java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} \ |
---|
612 | --slave %{_jvmjardir}/java-%{javaver} \ |
---|
613 | java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk} |
---|
614 | |
---|
615 | # fix broken symlink if it's there |
---|
616 | if [ ! -f %{_bindir}/javac ] ; then |
---|
617 | /sbin/update-alternatives --auto javac |
---|
618 | /sbin/update-alternatives --auto java_sdk_%{origin} |
---|
619 | /sbin/update-alternatives --auto java_sdk_%{javaver} |
---|
620 | fi |
---|
621 | |
---|
622 | # gcc-java requires libgcj-devel which provides jni.h |
---|
623 | %triggerin devel -- gcc%{gccsuffix}-java >= %{gccver} |
---|
624 | { |
---|
625 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
626 | | awk '{ print $5 }') |
---|
627 | |
---|
628 | # tools.jar |
---|
629 | RELATIVE=$(%{abs2rel} %{_javadir} %{_jvmdir}/%{sdkdir}/lib) |
---|
630 | ln -sf \ |
---|
631 | $RELATIVE/libgcj-tools-$GIJ_VERSION.jar \ |
---|
632 | %{_jvmdir}/%{sdkdir}/lib/tools.jar |
---|
633 | |
---|
634 | # create symbolic links to headers in gcj's versioned directory |
---|
635 | for headername in jawt jni |
---|
636 | do |
---|
637 | DIRECTORY=$(dirname $(gcj%{gccsuffix} \ |
---|
638 | -print-file-name=include/$headername.h)) |
---|
639 | RELATIVE=$(%{abs2rel} $DIRECTORY %{_jvmdir}/%{sdkdir}/include) |
---|
640 | ln -sf $RELATIVE/$headername.h \ |
---|
641 | %{_jvmdir}/%{sdkdir}/include/$headername.h |
---|
642 | done |
---|
643 | for headername in jawt_md jni_md |
---|
644 | do |
---|
645 | DIRECTORY=$(dirname $(gcj%{gccsuffix} \ |
---|
646 | -print-file-name=include/$headername.h)) |
---|
647 | RELATIVE=$(%{abs2rel} $DIRECTORY %{_jvmdir}/%{sdkdir}/include/linux) |
---|
648 | ln -sf $RELATIVE/$headername.h \ |
---|
649 | %{_jvmdir}/%{sdkdir}/include/linux/$headername.h |
---|
650 | done |
---|
651 | } || : |
---|
652 | |
---|
653 | %postun devel |
---|
654 | if [ $1 -eq 0 ] |
---|
655 | then |
---|
656 | /sbin/update-alternatives --remove javac %{sdkbindir}/javac |
---|
657 | /sbin/update-alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdklnk} |
---|
658 | /sbin/update-alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} |
---|
659 | /sbin/update-alternatives --auto javac |
---|
660 | /sbin/update-alternatives --auto java_sdk_%{origin} |
---|
661 | /sbin/update-alternatives --auto java_sdk_%{javaver} |
---|
662 | fi |
---|
663 | |
---|
664 | %triggerin src -- libgcj%{gccsuffix}-src >= %{gccver} |
---|
665 | { |
---|
666 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
667 | | awk '{ print $5 }') |
---|
668 | RELATIVE=$(%{abs2rel} %{_javadir} %{_jvmdir}/%{sdkdir}) |
---|
669 | ln -sf \ |
---|
670 | $RELATIVE/src-$GIJ_VERSION.zip \ |
---|
671 | %{_jvmdir}/%{sdkdir}/src.zip |
---|
672 | } || : |
---|
673 | |
---|
674 | |
---|
675 | %if !%{bootstrap} |
---|
676 | %post javadoc |
---|
677 | /sbin/update-alternatives \ |
---|
678 | --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{name} %{priority} |
---|
679 | |
---|
680 | # fix broken symlink if it's there |
---|
681 | if [ ! -f %{_javadocdir}/java ] ; then |
---|
682 | /sbin/update-alternatives --auto javadocdir |
---|
683 | fi |
---|
684 | |
---|
685 | %postun javadoc |
---|
686 | if [ $1 -eq 0 ]; then |
---|
687 | /sbin/update-alternatives --remove javadocdir %{_javadocdir}/%{name} |
---|
688 | /sbin/update-alternatives --auto javadocdir |
---|
689 | fi |
---|
690 | %endif |
---|
691 | |
---|
692 | %if %{enable_plugin} |
---|
693 | %triggerin plugin -- libgcj%{gccsuffix} >= %{gccver} |
---|
694 | { |
---|
695 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
696 | | awk '{ print $5 }') |
---|
697 | /sbin/update-alternatives --install %{plugindir}/libjavaplugin.so \ |
---|
698 | libjavaplugin.so %{syslibdir}/gcj-$GIJ_VERSION/libgcjwebplugin.so \ |
---|
699 | %{priority} |
---|
700 | } || : |
---|
701 | |
---|
702 | %postun plugin |
---|
703 | if [ $1 -eq 0 ] |
---|
704 | then |
---|
705 | GIJ_VERSION=$(gij%{gccsuffix} --version | head -n 2 | tail -n 1 \ |
---|
706 | | awk '{ print $5 }') |
---|
707 | /sbin/update-alternatives --remove libjavaplugin.so \ |
---|
708 | %{syslibdir}/gcj-$GIJ_VERSION/libgcjwebplugin.so |
---|
709 | fi |
---|
710 | %endif |
---|
711 | |
---|
712 | %files |
---|
713 | %defattr(-,root,root,-) |
---|
714 | %doc AUTHORS ChangeLog COPYING LICENSE README |
---|
715 | %dir %{_jvmdir}/%{sdkdir} |
---|
716 | %dir %{_jvmdir}/%{jredir} |
---|
717 | %dir %{_jvmdir}/%{jredir}/bin |
---|
718 | %dir %{_jvmdir}/%{jredir}/lib |
---|
719 | %dir %{_jvmdir}/%{jredir}/lib/%{_arch} |
---|
720 | %dir %{_jvmdir}/%{jredir}/lib/%{_arch}/client |
---|
721 | %dir %{_jvmdir}/%{jredir}/lib/%{_arch}/server |
---|
722 | %dir %{_jvmdir}/%{jredir}/lib/security |
---|
723 | %dir %{jvmjardir} |
---|
724 | %dir %{syslibdir}/gcj |
---|
725 | %{_bindir}/rebuild-gcj-db |
---|
726 | %{_jvmdir}/%{jredir}/bin/java |
---|
727 | %{_jvmdir}/%{jredir}/bin/keytool |
---|
728 | %{_jvmdir}/%{jredir}/bin/rmiregistry |
---|
729 | %{_jvmdir}/%{jredir}/lib/security/cacerts |
---|
730 | %{_jvmdir}/%{jredir}/lib/security/java.security |
---|
731 | %{_jvmdir}/%{jredir}/lib/jaas.jar |
---|
732 | %{_jvmdir}/%{jredir}/lib/jce.jar |
---|
733 | %{_jvmdir}/%{jredir}/lib/jdbc-stdext.jar |
---|
734 | %{_jvmdir}/%{jredir}/lib/jndi-cos.jar |
---|
735 | %{_jvmdir}/%{jredir}/lib/jndi-dns.jar |
---|
736 | %{_jvmdir}/%{jredir}/lib/jndi-ldap.jar |
---|
737 | %{_jvmdir}/%{jredir}/lib/jndi-rmi.jar |
---|
738 | %{_jvmdir}/%{jredir}/lib/jndi.jar |
---|
739 | %{_jvmdir}/%{jredir}/lib/jsse.jar |
---|
740 | %{_jvmdir}/%{jredir}/lib/sasl.jar |
---|
741 | %ifarch x86_64 |
---|
742 | %{_jvmdir}/%{jredir}/lib/amd64 |
---|
743 | %endif |
---|
744 | %{_jvmdir}/%{jrelnk} |
---|
745 | %{jvmjardir}/jaas.jar |
---|
746 | %{jvmjardir}/jaas-%{javaver}.jar |
---|
747 | %{jvmjardir}/jaas-%{version}.jar |
---|
748 | %{jvmjardir}/jce.jar |
---|
749 | %{jvmjardir}/jce-%{javaver}.jar |
---|
750 | %{jvmjardir}/jce-%{version}.jar |
---|
751 | %{jvmjardir}/jdbc-stdext.jar |
---|
752 | %{jvmjardir}/jdbc-stdext-%{javaver}.jar |
---|
753 | %{jvmjardir}/jdbc-stdext-%{version}.jar |
---|
754 | %{jvmjardir}/jndi.jar |
---|
755 | %{jvmjardir}/jndi-%{javaver}.jar |
---|
756 | %{jvmjardir}/jndi-%{version}.jar |
---|
757 | %{jvmjardir}/jndi-cos.jar |
---|
758 | %{jvmjardir}/jndi-cos-%{javaver}.jar |
---|
759 | %{jvmjardir}/jndi-cos-%{version}.jar |
---|
760 | %{jvmjardir}/jndi-dns.jar |
---|
761 | %{jvmjardir}/jndi-dns-%{javaver}.jar |
---|
762 | %{jvmjardir}/jndi-dns-%{version}.jar |
---|
763 | %{jvmjardir}/jndi-ldap.jar |
---|
764 | %{jvmjardir}/jndi-ldap-%{javaver}.jar |
---|
765 | %{jvmjardir}/jndi-ldap-%{version}.jar |
---|
766 | %{jvmjardir}/jndi-rmi.jar |
---|
767 | %{jvmjardir}/jndi-rmi-%{javaver}.jar |
---|
768 | %{jvmjardir}/jndi-rmi-%{version}.jar |
---|
769 | %{jvmjardir}/jsse.jar |
---|
770 | %{jvmjardir}/jsse-%{javaver}.jar |
---|
771 | %{jvmjardir}/jsse-%{version}.jar |
---|
772 | %{jvmjardir}/sasl.jar |
---|
773 | %{jvmjardir}/sasl-%{javaver}.jar |
---|
774 | %{jvmjardir}/sasl-%{version}.jar |
---|
775 | %{_jvmjardir}/%{jrelnk} |
---|
776 | %ghost %{_jvmdir}/%{sdkdir}/jre/lib/rt.jar |
---|
777 | %ghost %{_jvmdir}/%{jredir}/lib/%{_arch}/libjawt.so |
---|
778 | %ghost %{_jvmdir}/%{jredir}/lib/%{_arch}/client/libjvm.so |
---|
779 | %ghost %{_jvmdir}/%{jredir}/lib/%{_arch}/server/libjvm.so |
---|
780 | # These must not be marked %config(noreplace). Their file names are |
---|
781 | # used in post and postun. Their contents are ignored, so replacing |
---|
782 | # them doesn't matter. .rpmnew files are harmful since they're |
---|
783 | # interpreted by post and postun as classnames ending in rpmnew. |
---|
784 | %{_sysconfdir}/java/security/security.d/1000-gnu.java.security.provider.Gnu |
---|
785 | %{_sysconfdir}/java/security/security.d/1001-gnu.javax.crypto.jce.GnuCrypto |
---|
786 | %{_sysconfdir}/java/security/security.d/1002-gnu.javax.crypto.jce.GnuSasl |
---|
787 | %{_sysconfdir}/java/security/security.d/1003-gnu.javax.net.ssl.provider.Jessie |
---|
788 | %{_sysconfdir}/java/security/security.d/1004-gnu.javax.security.auth.callback.GnuCallbacks |
---|
789 | |
---|
790 | %files devel |
---|
791 | %defattr(-,root,root,-) |
---|
792 | %dir %{_jvmdir}/%{sdkdir}/bin |
---|
793 | %dir %{_jvmdir}/%{sdkdir}/include |
---|
794 | %dir %{_jvmdir}/%{sdkdir}/include/linux |
---|
795 | %dir %{_jvmdir}/%{sdkdir}/lib |
---|
796 | %{_bindir}/aot-compile |
---|
797 | %{_bindir}/aot-compile-rpm |
---|
798 | %{python_sitelib}/aotcompile.py* |
---|
799 | %{python_sitelib}/classfile.py* |
---|
800 | %{python_sitelib}/java_gcj_compat-%{jgcver}-py?.?.egg-info |
---|
801 | %{_jvmdir}/%{sdkdir}/bin/appletviewer |
---|
802 | %{_jvmdir}/%{sdkdir}/bin/jar |
---|
803 | %{_jvmdir}/%{sdkdir}/bin/jarsigner |
---|
804 | %{_jvmdir}/%{sdkdir}/bin/java |
---|
805 | %attr(755, root, root) %{_jvmdir}/%{sdkdir}/bin/javac |
---|
806 | %{_jvmdir}/%{sdkdir}/bin/javadoc |
---|
807 | %{_jvmdir}/%{sdkdir}/bin/javah |
---|
808 | %{_jvmdir}/%{sdkdir}/bin/keytool |
---|
809 | %{_jvmdir}/%{sdkdir}/bin/rmic |
---|
810 | %{_jvmdir}/%{sdkdir}/bin/rmiregistry |
---|
811 | %{_jvmdir}/%{sdklnk} |
---|
812 | %{_jvmjardir}/%{sdklnk} |
---|
813 | %ghost %{_jvmdir}/%{sdkdir}/include/jawt.h |
---|
814 | %ghost %{_jvmdir}/%{sdkdir}/include/jni.h |
---|
815 | %ghost %{_jvmdir}/%{sdkdir}/include/linux/jawt_md.h |
---|
816 | %ghost %{_jvmdir}/%{sdkdir}/include/linux/jni_md.h |
---|
817 | %ghost %{_jvmdir}/%{sdkdir}/lib/tools.jar |
---|
818 | |
---|
819 | %files src |
---|
820 | %defattr(-,root,root,-) |
---|
821 | %ghost %{_jvmdir}/%{sdkdir}/src.zip |
---|
822 | |
---|
823 | %if !%{bootstrap} |
---|
824 | %files javadoc |
---|
825 | %defattr(-,root,root,-) |
---|
826 | %doc %{_javadocdir}/%{name} |
---|
827 | # A JPackage that "provides" this directory will, in its %post script, |
---|
828 | # remove the existing directory and install a new symbolic link to its |
---|
829 | # versioned directory. For Fedora we want clear file ownership so we |
---|
830 | # make java-1.5.0-gcj-javadoc own this file. Installing the |
---|
831 | # corresponding JPackage over java-1.5.0-gcj-javadoc will work but |
---|
832 | # will invalidate this file. |
---|
833 | #doc %{_javadocdir}/java |
---|
834 | %endif |
---|
835 | |
---|
836 | %if %{enable_plugin} |
---|
837 | %files plugin |
---|
838 | %defattr(-,root,root,-) |
---|
839 | %endif |
---|
840 | |
---|
841 | %changelog |
---|
842 | * Sun Sep 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwka.com> - 1.5.0.0-36 |
---|
843 | - updated %%post, %%postun section to run update-alternatives --auto |
---|
844 | - updated classpath.security handling |
---|
845 | |
---|
846 | * Fri Aug 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwka.com> - 1.5.0.0-35 |
---|
847 | - Initial build for Vine Linux |
---|
848 | |
---|
849 | * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.0.0-34 |
---|
850 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
---|
851 | |
---|
852 | * Tue Jun 08 2010 Deepak Bhole <dbhole@redhat.com> - 1.5.0.0-33 |
---|
853 | - Make javac a wrapper that sets PATH before calling ecj (rhbz# 460761) |
---|
854 | |
---|
855 | * Tue May 4 2010 Michel Salim <salimma@fedoraproject.org> - 1.5.0.0-32 |
---|
856 | - no longer require perl; Lua abs2rel script now in jpackage-utils |
---|
857 | |
---|
858 | * Tue Mar 30 2010 Stepan Kasal <skasal@redhat.com> - 1.5.0.0-31 |
---|
859 | - require perl(File::Spec) for the triggerin |
---|
860 | |
---|
861 | * Fri Jan 22 2010 Andrew Overholt <overholt@redhat.com> - 1.5.0.0-30 |
---|
862 | - Version jaxp_parser_impl Provides to be 1.3 and not this package's version. |
---|
863 | |
---|
864 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0.0-29 |
---|
865 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
866 | |
---|
867 | * Tue May 12 2009 Stepan Kasal <skasal@redhat.com> 1.5.0.0-28 |
---|
868 | - another attempt to rebuild, adding a workaround for #500314 |
---|
869 | |
---|
870 | * Fri Apr 03 2009 Karsten Hopp <karsten@redhat.com> 1.5.0.0-27 |
---|
871 | - update workaround patch to fix rebuild problems |
---|
872 | |
---|
873 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0.0-26 |
---|
874 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
875 | |
---|
876 | * Wed Dec 17 2008 Lillian Angel <langel@redhat.com> - 1.5.0.0-25 |
---|
877 | - Updated jgcver to 1.0.79. |
---|
878 | - Updated release. |
---|
879 | |
---|
880 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0.0-24 |
---|
881 | - Fix locations for Python 2.6 |
---|
882 | |
---|
883 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.0.0-23 |
---|
884 | - Rebuild for Python 2.6 |
---|
885 | |
---|
886 | * Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.0.0-22 |
---|
887 | - fix license tag |
---|
888 | |
---|
889 | * Thu Apr 3 2008 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-21 |
---|
890 | - Import java-gcj-compat 1.0.78. |
---|
891 | - Resolves: rhbz#283831 |
---|
892 | |
---|
893 | * Thu Apr 3 2008 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-21 |
---|
894 | - Re-add python egg-info file. |
---|
895 | |
---|
896 | * Thu Apr 3 2008 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-21 |
---|
897 | - Require java-1.6.0-openjdk-devel for javadoc instead of sinjdoc. |
---|
898 | |
---|
899 | * Wed Apr 2 2008 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-21 |
---|
900 | - Commit patch to add proper triggerin requires from Orion Poplawski |
---|
901 | <orion@cora.nwra.com>. |
---|
902 | - Resolves: rhbz#436838 |
---|
903 | |
---|
904 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.0-20 |
---|
905 | - Autorebuild for GCC 4.3 |
---|
906 | |
---|
907 | * Mon Jan 21 2008 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-19 |
---|
908 | - Include python egg-info file. |
---|
909 | - Work around rhbz#404981 |
---|
910 | - Inline rebuild-security-providers. |
---|
911 | - Resolves: rhbz#260161 |
---|
912 | |
---|
913 | * Tue Nov 27 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-18 |
---|
914 | - Import java-gcj-compat 1.0.77. |
---|
915 | |
---|
916 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.0.0-17 |
---|
917 | - fix aot-compile-rpm to not run inside the buildroot |
---|
918 | |
---|
919 | * Tue Oct 16 2007 Dennis Gilmore <dennis@ausil.us> - 1.5.0.0-16 |
---|
920 | - add sparc64 to the list of 64 bit archs |
---|
921 | |
---|
922 | * Tue May 15 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-15 |
---|
923 | - Require findutils for post and postun. |
---|
924 | - Resolves: rhbz#240159 |
---|
925 | |
---|
926 | * Mon Apr 16 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-14 |
---|
927 | - Import java-gcj-compat 1.0.76. |
---|
928 | - Related: rhbz#200836 |
---|
929 | |
---|
930 | * Tue Apr 10 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-13 |
---|
931 | - Import java-gcj-compat 1.0.75. |
---|
932 | - Point URL field at java-gcj-compat home page. |
---|
933 | - Require openssl for build. |
---|
934 | - Generate and include cacerts. |
---|
935 | - Resolves: rhbz#200836 rhbz#233239 |
---|
936 | |
---|
937 | * Tue Apr 3 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-12 |
---|
938 | - Obsolete gnu-crypto, gnu-crypto-sasl-jdk1.4 and jessie in base |
---|
939 | package. |
---|
940 | - Obsolete gnu-crypto-javadoc in javadoc subpackage. |
---|
941 | |
---|
942 | * Mon Mar 26 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-11 |
---|
943 | - Disable bootstrap mode. |
---|
944 | |
---|
945 | * Mon Mar 26 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-10 |
---|
946 | - Import java-gcj-compat 1.0.74. |
---|
947 | |
---|
948 | * Mon Mar 26 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-9 |
---|
949 | - Re-add gcj-java build requirement. |
---|
950 | |
---|
951 | * Mon Mar 26 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-8 |
---|
952 | - Make -devel subpackage require libgcj-src. |
---|
953 | |
---|
954 | * Sat Mar 24 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-7 |
---|
955 | - Import java-gcj-compat 1.0.73. |
---|
956 | - Remove java-1.4.2-gcj-compat compatibility symlinks. |
---|
957 | - Install tools.jar symlink to libgcj-tools.jar. |
---|
958 | - Remove gcc-java and eclipse-ecj build requirements. |
---|
959 | - Remove workaround for ppc64 file system corruption. |
---|
960 | - Remove workaround for gjdoc/libgcj rounding error. |
---|
961 | |
---|
962 | * Mon Mar 19 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-6 |
---|
963 | - Set bootstrap to 0. |
---|
964 | - Remove bootstrap hacks. |
---|
965 | |
---|
966 | * Mon Mar 19 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-5 |
---|
967 | - Remove broken multilib support. |
---|
968 | - Set bootstrap to 1. |
---|
969 | - Add JAVA_HOME bootstrap hack. |
---|
970 | - Add java-1.4.2-gcj-compat-devel bootstrap hack. |
---|
971 | - Add bootstrap ecj script. |
---|
972 | - Remove JAVA_HOME and java-1.4.2-gcj-compat-devel bootstrap hacks. |
---|
973 | - Another bootstrap attempt. |
---|
974 | |
---|
975 | * Fri Mar 16 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-4 |
---|
976 | - Remove config(noreplace) markings on security.d files. |
---|
977 | - Make java-1.4.2-gcj-compat* provides strictly-greater-than |
---|
978 | 1.4.2.0-40jpp.111. |
---|
979 | - Remove gjdoc build requirement. |
---|
980 | - Import java-gcj-compat 1.0.72. |
---|
981 | |
---|
982 | * Fri Mar 16 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-3 |
---|
983 | - Require sinjdoc. |
---|
984 | |
---|
985 | * Thu Mar 15 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-2 |
---|
986 | - Set bootstrap to 0 to build javadoc sub-package, now that sinjdoc |
---|
987 | has been built. |
---|
988 | - Add temporary gjdoc build requirement. |
---|
989 | |
---|
990 | * Thu Mar 15 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 1.5.0.0-1 |
---|
991 | - Set bootstrap to 1 since sinjdoc is not yet available to build |
---|
992 | javadocs. |
---|
993 | - Import java-gcj-compat 1.0.70. |
---|
994 | - Port java-1.4.2-gcj-compat to java-1.5.0-gcj. |
---|
995 | |
---|
996 | * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0:1.4.2.0-40jpp.111 |
---|
997 | - rebuild for python 2.5 |
---|
998 | |
---|
999 | * Tue Oct 10 2006 Thomas Fitzsimmons <fitzsim@redhat.com> |
---|
1000 | - Require gij binary explicitly. (208913) |
---|
1001 | |
---|
1002 | * Wed Sep 13 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.109 |
---|
1003 | - Require gcj-dbtool for post and postun. (205103) |
---|
1004 | |
---|
1005 | * Thu Sep 7 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.108 |
---|
1006 | - Move Double.html manipulation within ppc64 filesystem check. |
---|
1007 | - Import java-gcj-compat 1.0.68 to eliminate rebuild-gcj-db multilib |
---|
1008 | conflict. |
---|
1009 | - Work around gjdoc/libgcj rounding error in Double.html. |
---|
1010 | |
---|
1011 | * Thu Sep 7 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.107 |
---|
1012 | - Give aotcompile.py a consistent timestamp. (205216) |
---|
1013 | |
---|
1014 | * Wed Sep 6 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.106 |
---|
1015 | - Bump release number. |
---|
1016 | |
---|
1017 | * Thu Aug 31 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.105 |
---|
1018 | - Comment out and obsolete plugin subpackage. (204728) |
---|
1019 | - Import java-gcj-compat 1.0.65. |
---|
1020 | |
---|
1021 | * Wed Aug 30 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.104 |
---|
1022 | - Import java-gcj-compat 1.0.64. |
---|
1023 | |
---|
1024 | * Tue Aug 29 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp.103 |
---|
1025 | - Import java-gcj-compat 1.0.63. |
---|
1026 | |
---|
1027 | * Wed Aug 23 2006 Fernando Nasser <fnasser@redhat.com> - 0:1.4.2.0-40jpp.102 |
---|
1028 | - Remove duplicate macro definitions |
---|
1029 | - Rebuild |
---|
1030 | |
---|
1031 | * Mon Aug 14 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_101rh |
---|
1032 | - Add libgcj-devel to devel and src post and postun |
---|
1033 | requirements. (202007) |
---|
1034 | - Require libgcj in plugin package. (202268) |
---|
1035 | |
---|
1036 | * Fri Aug 4 2006 Gary Benson <gbenson@redhat.com> |
---|
1037 | - Move aot-compile and its libraries to the devel subpackage. |
---|
1038 | |
---|
1039 | * Tue Aug 1 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_100rh |
---|
1040 | - Require gcc-java for devel and src post and postun. (199942) |
---|
1041 | - Require libgcj for plugin post and postun. (199942) |
---|
1042 | |
---|
1043 | * Mon Jul 31 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_99rh |
---|
1044 | - Add new built-in security providers. |
---|
1045 | |
---|
1046 | * Mon Jul 24 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_98rh |
---|
1047 | - Import java-gcj-compat 1.0.61. |
---|
1048 | |
---|
1049 | * Sun Jul 23 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_97rh |
---|
1050 | - Link jsse.jar to libgcj.jar. |
---|
1051 | |
---|
1052 | * Sat Jul 22 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_96rh |
---|
1053 | - Remove gjdoc workaround. |
---|
1054 | |
---|
1055 | * Sat Jul 22 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_95rh |
---|
1056 | - Remove hack-libgcj requirement. |
---|
1057 | - Work around gjdoc failure by not building javadocs. |
---|
1058 | |
---|
1059 | * Fri Jul 21 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_95rh |
---|
1060 | - Require hack-libgcj for build. (dist-fc6-java) |
---|
1061 | |
---|
1062 | * Fri Jul 21 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_94rh |
---|
1063 | - Add plugin subpackage. |
---|
1064 | - Install libjawt.so and libjvm.so symlinks. |
---|
1065 | - Install appletviewer, jarsigner and keytool symlinks. |
---|
1066 | - Import java-gcj-compat 1.0.60. |
---|
1067 | |
---|
1068 | * Fri Jul 21 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_93rh |
---|
1069 | - Import java-gcj-compat 1.0.59. |
---|
1070 | - Use standard BuildRoot tag. |
---|
1071 | - Remove gnu-crypto and jessie requires. |
---|
1072 | - Remove static compile method patch. |
---|
1073 | |
---|
1074 | * Mon Jul 17 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_89rh |
---|
1075 | - Remove BouncyCastle. |
---|
1076 | |
---|
1077 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:1.4.2.0-40jpp_88rh |
---|
1078 | - rebuild |
---|
1079 | |
---|
1080 | * Tue Jun 20 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_87rh |
---|
1081 | - Make com.sun.tools.javac.Main.compile method static. |
---|
1082 | |
---|
1083 | * Mon Jun 19 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_86rh |
---|
1084 | - Provide jdbc-stdext. |
---|
1085 | |
---|
1086 | * Wed Jun 14 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_85rh |
---|
1087 | - Require zip. |
---|
1088 | |
---|
1089 | * Mon Jun 12 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_84rh |
---|
1090 | - Remove bootstrap logic. |
---|
1091 | - Fix ppc64 file system corruption workaround. |
---|
1092 | - Make ecj.sh.in call gij. |
---|
1093 | - Require eclipse-ecj to build. |
---|
1094 | |
---|
1095 | * Fri Mar 3 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_83rh |
---|
1096 | - Make javadoc post scriplet pass unconditionally. |
---|
1097 | - Force symlinks in javadoc post scriptlet. |
---|
1098 | |
---|
1099 | * Wed Mar 1 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_82rh |
---|
1100 | - Add chkconfig as a prerequisite. |
---|
1101 | |
---|
1102 | * Wed Mar 1 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_81rh |
---|
1103 | - Natively compile BouncyCastle. |
---|
1104 | - Move bcprov in the build section so that it is found by bootstrap |
---|
1105 | architectures in the install section. |
---|
1106 | - Only include BC library directory on non-boostrap architectures. |
---|
1107 | |
---|
1108 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:1.4.2.0-40jpp_80rh |
---|
1109 | - bump again for double-long bug on ppc(64) |
---|
1110 | |
---|
1111 | * Fri Feb 10 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_79rh |
---|
1112 | - Install compatibility amd64 symlink. |
---|
1113 | |
---|
1114 | * Wed Feb 8 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_78rh |
---|
1115 | - Install javadocs in versioned directory. |
---|
1116 | |
---|
1117 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:1.4.2.0-40jpp_77rh |
---|
1118 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
1119 | |
---|
1120 | * Mon Feb 6 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_76rh |
---|
1121 | - Test src.zip before extracting its contents. |
---|
1122 | |
---|
1123 | * Mon Feb 6 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_75rh |
---|
1124 | - Use fastjar to extract libgcj sources instead of unzip. |
---|
1125 | |
---|
1126 | * Mon Feb 6 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_74rh |
---|
1127 | - Require gjdoc and libgcj-src packages for build. |
---|
1128 | - Build API documentation. |
---|
1129 | - Add -javadoc package. |
---|
1130 | |
---|
1131 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_73rh |
---|
1132 | - Adjust Jessie and GNU Crypto version requirements. |
---|
1133 | - Uncomment ifnarch ia64 sections. |
---|
1134 | |
---|
1135 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_71rh |
---|
1136 | - Obsolete gnu-crypto-sasl-jdk1.4 and gnu-crypto-jce-jdk1.4 regardless of versions. |
---|
1137 | |
---|
1138 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_70rh |
---|
1139 | - Remove all ifnarch ia64 sections. |
---|
1140 | |
---|
1141 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_69rh |
---|
1142 | - Don't call aot-compile-rpm on bootstrap architectures. |
---|
1143 | |
---|
1144 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_68rh |
---|
1145 | - Obsolete gnu-crypto-sasl-jdk1.4 and gnu-crypto-jce-jdk1.4. |
---|
1146 | - Provide java-sasl and jce. |
---|
1147 | |
---|
1148 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_67rh |
---|
1149 | - Remove conditional BuildRequires, which isn't supported by beehive. |
---|
1150 | |
---|
1151 | * Thu Feb 2 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_66rh |
---|
1152 | - Fix ecj script location when building BouncyCastle in bootstrap mode. |
---|
1153 | - Do not BuildRequires eclipse-ecj in bootstrap mode. |
---|
1154 | - Build BouncyCastle with bootstrap ecj script in bootstrap mode. |
---|
1155 | |
---|
1156 | * Fri Jan 27 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_64rh |
---|
1157 | - Import BouncyCastle 1.3.1. |
---|
1158 | - Re-enable BouncyCastle provider. |
---|
1159 | |
---|
1160 | * Wed Jan 25 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_63rh |
---|
1161 | - Import java-gcj-compat 1.0.52. |
---|
1162 | |
---|
1163 | * Mon Jan 16 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_62rh |
---|
1164 | - Remove aot-compile-rpm and rebuild-gcj-db when building a custom RPM. |
---|
1165 | - Import java-gcj-compat 1.0.51. |
---|
1166 | |
---|
1167 | * Mon Jan 9 2006 Archit Shah <ashah@redhat.com> - 0:1.4.2.0-40jpp_61rh |
---|
1168 | - Import java-gcj-compat 1.0.50. |
---|
1169 | |
---|
1170 | * Fri Jan 6 2006 Archit Shah <ashah@redhat.com> - 0:1.4.2.0-40jpp_60rh |
---|
1171 | - Import java-gcj-compat 1.0.48. |
---|
1172 | |
---|
1173 | * Wed Jan 4 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_59rh |
---|
1174 | - Import java-gcj-compat 1.0.47. |
---|
1175 | |
---|
1176 | * Wed Jan 4 2006 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_58rh |
---|
1177 | - Import java-gcj-compat 1.0.46. |
---|
1178 | |
---|
1179 | * Wed Dec 21 2005 Jesse Keating <jkeating@redhat.com> - 0:1.4.2.0-40jpp_57rh |
---|
1180 | - rebuilt again w/ another new gcc |
---|
1181 | |
---|
1182 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
1183 | - rebuilt |
---|
1184 | |
---|
1185 | * Wed Nov 30 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_56rh |
---|
1186 | - Bump release number. |
---|
1187 | |
---|
1188 | * Wed Nov 16 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_55rh |
---|
1189 | - Call rebuild-security-providers conditionally on its existence. |
---|
1190 | |
---|
1191 | * Tue Nov 15 2005 Archit Shah <ashah@redhat.com> 0:1.4.2.0-40jpp_54rh |
---|
1192 | - Import java-gcj-compat 1.0.45. |
---|
1193 | |
---|
1194 | * Mon Nov 14 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_53rh |
---|
1195 | - Bump release number. |
---|
1196 | |
---|
1197 | * Mon Nov 14 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_52rh |
---|
1198 | - Import java-gcj-compat 1.0.44. |
---|
1199 | - Make aot-compile-rpm and rebuild-gcj-db real scripts, not |
---|
1200 | alternatives symlinks. |
---|
1201 | - Put rebuild-gcj-db in base package. |
---|
1202 | |
---|
1203 | * Wed Sep 21 2005 Gary Benson <gbenson@redhat.com> - 0:1.4.2.0-40jpp_51rh |
---|
1204 | - Import java-gcj-compat 1.0.43. |
---|
1205 | |
---|
1206 | * Tue Sep 20 2005 Gary Benson <gbenson@redhat.com> - 0:1.4.2.0-40jpp_50rh |
---|
1207 | - Import java-gcj-compat 1.0.42. |
---|
1208 | |
---|
1209 | * Tue Sep 6 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_49rh |
---|
1210 | - Import java-gcj-compat 1.0.41. |
---|
1211 | |
---|
1212 | * Tue Sep 6 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_48rh |
---|
1213 | - Don't include security provider file in custom builds. |
---|
1214 | - Don't mark security provider file as config(noreplace). |
---|
1215 | |
---|
1216 | * Wed Aug 31 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_47rh |
---|
1217 | - Import java-gcj-compat 1.0.40. |
---|
1218 | - Point jaxp_parser_impl at proper libgcj-<version>.jar for custom |
---|
1219 | builds. |
---|
1220 | |
---|
1221 | * Wed Aug 31 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_46rh |
---|
1222 | - Don't autogenerate libjawt.so dependencies in custom builds. |
---|
1223 | |
---|
1224 | * Tue Aug 30 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_45rh |
---|
1225 | - Import java-gcj-compat 1.0.39. |
---|
1226 | - Remove libjawt.so symlinks. |
---|
1227 | - Symlink to jni_md.h. |
---|
1228 | |
---|
1229 | * Tue Aug 30 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_44rh |
---|
1230 | - Install ecj when building a custom java-1.4.2-gcj-compat. |
---|
1231 | - Fix removal of jaxp_parser_impl.jar alternative. |
---|
1232 | |
---|
1233 | * Mon Aug 29 2005 Thomas Fitzsimmons <fitzsim@redhat.com> - 0:1.4.2.0-40jpp_44rh |
---|
1234 | - Import java-gcj-compat 1.0.37. |
---|
1235 | - Remove aot-compile and find-and-aot-compile. |
---|
1236 | - Make aot-compile-rpm and rebuild-gcj-db alternatives symlinks. |
---|
1237 | - Mark security file config(noreplace). |
---|
1238 | |
---|
1239 | * Thu Jul 28 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_43rh |
---|
1240 | - Upgrade bootstrap ecj to pick up classpath parser fix. |
---|
1241 | - Import java-gcj-compat 1.0.36. |
---|
1242 | |
---|
1243 | * Fri Jul 22 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_42rh |
---|
1244 | - Remove jta compatibility stuff. |
---|
1245 | |
---|
1246 | * Thu Jul 21 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_41rh |
---|
1247 | - Remove servletapi and jspapi now that tomcat5 is built. |
---|
1248 | |
---|
1249 | * Wed Jul 20 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_40rh |
---|
1250 | - Import java-gcj-compat 1.0.35. |
---|
1251 | |
---|
1252 | * Tue Jul 19 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_39rh |
---|
1253 | - Import java-gcj-compat 1.0.34. |
---|
1254 | - Provide servletapi and jspapi for bootstrapping. |
---|
1255 | |
---|
1256 | * Thu Jul 14 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_38rh |
---|
1257 | - Import java-gcj-compat 1.0.33. |
---|
1258 | |
---|
1259 | * Wed Jul 13 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_37rh |
---|
1260 | - Add virtual dependencies to indicate our upstream version. |
---|
1261 | - Import java-gcj-compat 1.0.32. |
---|
1262 | |
---|
1263 | * Fri Jul 8 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_36rh |
---|
1264 | - Replace the binary ecj with a script to work around #162748. |
---|
1265 | |
---|
1266 | * Thu Jul 7 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_33rh |
---|
1267 | - Bootstrap onto ia64, ppc64, s390 and s390x. |
---|
1268 | - Add python dependency for aot-compile-rpm. |
---|
1269 | |
---|
1270 | * Thu Jul 7 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_32rh |
---|
1271 | - Import java-gcj-compat 1.0.31. |
---|
1272 | - Move the aot-compile scripts to the devel subpackage. |
---|
1273 | |
---|
1274 | * Mon Jun 6 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_31rh |
---|
1275 | - Add jaxp_parser_impl.jar alternative. (#158751) |
---|
1276 | - Separate post and postun requires lines. |
---|
1277 | - Use gij, not gcj to compute version strings in post and triggerin sections. |
---|
1278 | |
---|
1279 | * Thu May 26 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_30rh |
---|
1280 | - Add jaxp_parser_impl.jar alternative. (#158751) |
---|
1281 | |
---|
1282 | * Thu May 26 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_29rh |
---|
1283 | - Separate post and postun requires lines |
---|
1284 | |
---|
1285 | * Thu May 26 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_28rh |
---|
1286 | - Re-remove bouncy castle provider. |
---|
1287 | |
---|
1288 | * Thu May 26 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_27rh |
---|
1289 | - Re-add bouncy castle provider. (#146782) |
---|
1290 | |
---|
1291 | * Wed May 25 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_26rh |
---|
1292 | - Import java-gcj-compat 1.0.30. |
---|
1293 | |
---|
1294 | * Wed May 25 2005 Gary Benson <gbenson@redhat.com> 0:1.4.2.0-40jpp_25rh |
---|
1295 | - Update tools.jar with the ecj's new jarfile name (#158734). |
---|
1296 | |
---|
1297 | * Fri May 20 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_24rh |
---|
1298 | - Update libjawt.so symlink to reflect libgcjawt.so's new name. |
---|
1299 | |
---|
1300 | * Thu May 19 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_23rh |
---|
1301 | - Import java-gcj-compat 1.0.29. |
---|
1302 | |
---|
1303 | * Wed May 18 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_22rh |
---|
1304 | - Move gcc-java requirement from base to -devel. |
---|
1305 | |
---|
1306 | * Wed May 18 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_21rh |
---|
1307 | - Comment out bouncy castle stuff. |
---|
1308 | |
---|
1309 | * Tue May 17 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_20rh |
---|
1310 | - Require jpackage-utils for post and postun. |
---|
1311 | - Run rebuild-security-providers with full path. |
---|
1312 | |
---|
1313 | * Tue May 17 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_19rh |
---|
1314 | - Require eclipse-ecj for build. |
---|
1315 | - Include Bouncy Castle provider. |
---|
1316 | - Exclusive arch ix86, x86_64 and ppc. |
---|
1317 | |
---|
1318 | * Wed May 11 2005 Andrew Overholt <overholt@redhat.com> |
---|
1319 | - Add machinery to allow for use with non-system gcc installations. |
---|
1320 | |
---|
1321 | * Fri Apr 15 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_18rh |
---|
1322 | - Require gnu-crypto. |
---|
1323 | |
---|
1324 | * Fri Apr 15 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_17rh |
---|
1325 | - Provide jaxp_parser_impl. |
---|
1326 | |
---|
1327 | * Wed Apr 13 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_16rh |
---|
1328 | - Import java-gcj-compat 1.0.28. |
---|
1329 | |
---|
1330 | * Mon Apr 4 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_15rh |
---|
1331 | - Import java-gcj-compat 1.0.27. |
---|
1332 | - Bump gccver to 4.0.0-0.39. |
---|
1333 | - Make -devel take ownership of symlinks as well as regular files. |
---|
1334 | |
---|
1335 | * Wed Mar 30 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_14rh |
---|
1336 | - Import java-gcj-compat 1.0.23. |
---|
1337 | - Always look for classpath.security in /usr/lib. (151561) |
---|
1338 | - Provide jsse. (151662) |
---|
1339 | |
---|
1340 | * Thu Mar 17 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_13rh |
---|
1341 | - Uncomment rebuild-security-providers. |
---|
1342 | - Require jessie >= 1.0.0-3. |
---|
1343 | |
---|
1344 | * Tue Mar 15 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_12rh |
---|
1345 | - Don't re-run rebuild-security-providers. |
---|
1346 | |
---|
1347 | * Tue Mar 15 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_11rh |
---|
1348 | - Add jaas and jta provides. |
---|
1349 | |
---|
1350 | * Tue Mar 8 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_10rh |
---|
1351 | - Import java-gcj-compat 1.0.22. |
---|
1352 | - Symlink jaas.jar, jdbc-stdext.jar, jndi.jar and jta.jar to |
---|
1353 | libgcj.jar. |
---|
1354 | |
---|
1355 | * Sat Mar 5 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_9rh |
---|
1356 | - Import java-gcj-compat 1.0.21. |
---|
1357 | |
---|
1358 | * Sat Mar 5 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_8rh |
---|
1359 | - Import java-gcj-compat 1.0.20. |
---|
1360 | - Depend on jessie. |
---|
1361 | - Install jsse.jar. |
---|
1362 | - Install security directory. |
---|
1363 | - Symlink classpath.security to java.security. |
---|
1364 | |
---|
1365 | * Sat Mar 5 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_7rh |
---|
1366 | - Import java-gcj-compat 1.0.19. |
---|
1367 | |
---|
1368 | * Thu Mar 3 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_6rh |
---|
1369 | - Import java-gcj-compat 1.0.18. |
---|
1370 | |
---|
1371 | * Thu Mar 3 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_5rh |
---|
1372 | - Update descriptions. |
---|
1373 | |
---|
1374 | * Wed Mar 2 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_4rh |
---|
1375 | - Bump release number. |
---|
1376 | |
---|
1377 | * Wed Mar 2 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_3rh |
---|
1378 | - Make java-1.4.2-gcj-compat-devel obsolete java-1.4.2-gcj4-compat-devel. |
---|
1379 | - Import java-gcj-compat 1.0.17. |
---|
1380 | - Specify --with-arch-directory and --with-os-directory options on |
---|
1381 | configure line. |
---|
1382 | |
---|
1383 | * Tue Mar 1 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_2rh |
---|
1384 | - Make arch-specific. |
---|
1385 | |
---|
1386 | * Tue Mar 1 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-40jpp_1rh |
---|
1387 | - Merge java-1.4.2-gcj4-compat into java-1.4.2-gcj-compat. |
---|
1388 | - Import java-gcj-compat 1.0.15. |
---|
1389 | - Add AWT Native Interface symlinks. |
---|
1390 | - Remove build requires on eclipse-ecj. |
---|
1391 | |
---|
1392 | * Thu Feb 17 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp_4rh |
---|
1393 | - Add -src sub-package. |
---|
1394 | |
---|
1395 | * Wed Feb 9 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp_3rh |
---|
1396 | - Import java-gcj-compat 1.0.14. |
---|
1397 | |
---|
1398 | * Tue Feb 8 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp_2rh |
---|
1399 | - Import java-gcj-compat 1.0.13. |
---|
1400 | |
---|
1401 | * Mon Feb 7 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp_1rh |
---|
1402 | - Import java-gcj-compat 1.0.12. |
---|
1403 | |
---|
1404 | * Wed Feb 2 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp_1rh |
---|
1405 | - Add Red Hat release number. |
---|
1406 | |
---|
1407 | * Tue Feb 1 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp |
---|
1408 | - Remove gjdoc version requirement. |
---|
1409 | - Change java-gcj-compat version number. |
---|
1410 | |
---|
1411 | * Tue Feb 1 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp |
---|
1412 | - Import java-gcj-compat 1.0.11. |
---|
1413 | - Require gjdoc. |
---|
1414 | |
---|
1415 | * Tue Feb 1 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-4jpp |
---|
1416 | - Add jni.h symlink. |
---|
1417 | - Install rt.jar as an unmanaged symlink. |
---|
1418 | - Conflict and obsolete old java-gcj-compat rpms. |
---|
1419 | - Import java-gcj-compat 1.0.9. |
---|
1420 | |
---|
1421 | * Mon Jan 24 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-3jpp |
---|
1422 | - Import java-gcj-compat 1.0.8. |
---|
1423 | |
---|
1424 | * Thu Jan 13 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-2jpp |
---|
1425 | - Make jvmjardir use cname, not name. |
---|
1426 | |
---|
1427 | * Wed Jan 12 2005 Thomas Fitzsimmons <fitzsim@redhat.com> 0:1.4.2.0-1jpp |
---|
1428 | - Initial build. |
---|