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