|
|
810d7f |
# Version of java
|
|
|
810d7f |
%define javaver 1.7.0
|
|
|
810d7f |
|
|
|
810d7f |
# Alternatives priority
|
|
|
810d7f |
%define priority 17000
|
|
|
810d7f |
|
|
|
810d7f |
|
|
|
810d7f |
%define javadir %{_jvmdir}/java-openjdk
|
|
|
810d7f |
%define jredir %{_jvmdir}/jre-openjdk
|
|
|
810d7f |
%define javaplugin libjavaplugin.so.%{_arch}
|
|
|
810d7f |
|
|
|
810d7f |
%define binsuffix .itweb
|
|
|
810d7f |
|
|
|
810d7f |
Name: icedtea-web
|
|
|
1a74ab |
Version: 1.5.2
|
|
|
1a74ab |
Release: 0%{?dist}
|
|
|
810d7f |
Summary: Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation
|
|
|
810d7f |
|
|
|
810d7f |
Group: Applications/Internet
|
|
|
810d7f |
License: LGPLv2+ and GPLv2 with exceptions
|
|
|
810d7f |
URL: http://icedtea.classpath.org/wiki/IcedTea-Web
|
|
|
810d7f |
Source0: http://icedtea.classpath.org/download/source/%{name}-%{version}.tar.gz
|
|
|
810d7f |
|
|
|
810d7f |
BuildRequires: java-%{javaver}-openjdk-devel
|
|
|
810d7f |
BuildRequires: desktop-file-utils
|
|
|
810d7f |
BuildRequires: gecko-devel
|
|
|
810d7f |
BuildRequires: glib2-devel
|
|
|
810d7f |
BuildRequires: autoconf
|
|
|
810d7f |
BuildRequires: automake
|
|
|
810d7f |
BuildRequires: xulrunner-devel
|
|
|
810d7f |
BuildRequires: junit4
|
|
|
1a74ab |
# new in 1.5 to have clean up for malformed XMLs
|
|
|
1a74ab |
BuildRequires: tagsoup
|
|
|
1a74ab |
# rhino is used as JS evaluator in testtime
|
|
|
1a74ab |
BuildRequires: rhino
|
|
|
810d7f |
|
|
|
810d7f |
# For functionality and the OpenJDK dirs
|
|
|
810d7f |
Requires: java-%{javaver}-openjdk
|
|
|
810d7f |
|
|
|
810d7f |
# For the mozilla plugin dir
|
|
|
810d7f |
Requires: mozilla-filesystem%{?_isa}
|
|
|
810d7f |
|
|
|
1a74ab |
# When itw builds against it, it have to be also in runtime
|
|
|
1a74ab |
Requires: tagsoup
|
|
|
1a74ab |
|
|
|
1a74ab |
# rhino is used as JS evaluator in runtime
|
|
|
1a74ab |
Requires: rhino
|
|
|
1a74ab |
|
|
|
810d7f |
# Post requires alternatives to install plugin alternative.
|
|
|
810d7f |
Requires(post): %{_sbindir}/alternatives
|
|
|
810d7f |
|
|
|
810d7f |
# Postun requires alternatives to uninstall plugin alternative.
|
|
|
810d7f |
Requires(postun): %{_sbindir}/alternatives
|
|
|
810d7f |
|
|
|
810d7f |
# Standard JPackage plugin provides.
|
|
|
810d7f |
Provides: java-plugin = 1:%{javaver}
|
|
|
810d7f |
Provides: javaws = 1:%{javaver}
|
|
|
810d7f |
|
|
|
810d7f |
Provides: java-%{javaver}-openjdk-plugin = 1:%{version}
|
|
|
1a74ab |
Obsoletes: java-1.6.0-openjdk-plugin
|
|
|
810d7f |
|
|
|
810d7f |
|
|
|
810d7f |
|
|
|
810d7f |
%description
|
|
|
810d7f |
The IcedTea-Web project provides a Java web browser plugin, an implementation
|
|
|
810d7f |
of Java Web Start (originally based on the Netx project) and a settings tool to
|
|
|
810d7f |
manage deployment settings for the aforementioned plugin and Web Start
|
|
|
810d7f |
implementations.
|
|
|
810d7f |
|
|
|
810d7f |
%package javadoc
|
|
|
810d7f |
Summary: API documentation for IcedTea-Web
|
|
|
810d7f |
Group: Documentation
|
|
|
810d7f |
Requires: %{name} = %{version}-%{release}
|
|
|
810d7f |
Requires: jpackage-utils
|
|
|
810d7f |
BuildArch: noarch
|
|
|
810d7f |
|
|
|
810d7f |
%description javadoc
|
|
|
810d7f |
This package contains Javadocs for the IcedTea-Web project.
|
|
|
810d7f |
|
|
|
810d7f |
%prep
|
|
|
810d7f |
%setup -q
|
|
|
810d7f |
|
|
|
810d7f |
%build
|
|
|
1a74ab |
autoreconf -vfi
|
|
|
810d7f |
CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
|
|
|
1a74ab |
%configure \
|
|
|
aa8f5d |
--with-pkgversion=rhel-%{release}-%{_arch} \
|
|
|
810d7f |
--docdir=%{_datadir}/javadoc/%{name} \
|
|
|
810d7f |
--with-jdk-home=%{javadir} \
|
|
|
810d7f |
--with-jre-home=%{jredir} \
|
|
|
810d7f |
--libdir=%{_libdir} \
|
|
|
810d7f |
--program-suffix=%{binsuffix} \
|
|
|
810d7f |
--prefix=%{_prefix}
|
|
|
810d7f |
make %{?_smp_mflags}
|
|
|
810d7f |
|
|
|
810d7f |
%install
|
|
|
810d7f |
rm -rf $RPM_BUILD_ROOT
|
|
|
810d7f |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
810d7f |
|
|
|
810d7f |
# Move javaws man page to a more specific name
|
|
|
810d7f |
mv $RPM_BUILD_ROOT/%{_mandir}/man1/javaws.1 $RPM_BUILD_ROOT/%{_mandir}/man1/javaws-itweb.1
|
|
|
810d7f |
|
|
|
810d7f |
# Install desktop files.
|
|
|
810d7f |
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
|
|
|
810d7f |
cp javaws.png $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
810d7f |
desktop-file-install --vendor ''\
|
|
|
810d7f |
--dir $RPM_BUILD_ROOT%{_datadir}/applications javaws.desktop
|
|
|
810d7f |
desktop-file-install --vendor ''\
|
|
|
810d7f |
--dir $RPM_BUILD_ROOT%{_datadir}/applications itweb-settings.desktop
|
|
|
1a74ab |
desktop-file-install --vendor ''\
|
|
|
1a74ab |
--dir $RPM_BUILD_ROOT%{_datadir}/applications policyeditor.desktop
|
|
|
810d7f |
ln -s %{_mandir}/man1/javaws-itweb.1 $RPM_BUILD_ROOT/%{_mandir}/man1/icedtea-web.1
|
|
|
810d7f |
|
|
|
810d7f |
%check
|
|
|
810d7f |
make check
|
|
|
810d7f |
|
|
|
810d7f |
%post
|
|
|
810d7f |
alternatives \
|
|
|
810d7f |
--install %{_libdir}/mozilla/plugins/libjavaplugin.so %{javaplugin} \
|
|
|
810d7f |
%{_libdir}/IcedTeaPlugin.so %{priority} \
|
|
|
810d7f |
--slave %{_bindir}/javaws javaws %{_prefix}/bin/javaws%{binsuffix} \
|
|
|
810d7f |
--slave %{_mandir}/man1/javaws.1.gz javaws.1.gz \
|
|
|
810d7f |
%{_mandir}/man1/javaws-itweb.1.gz
|
|
|
810d7f |
|
|
|
810d7f |
%posttrans
|
|
|
810d7f |
update-desktop-database &> /dev/null || :
|
|
|
810d7f |
|
|
|
810d7f |
exit 0
|
|
|
810d7f |
|
|
|
810d7f |
%postun
|
|
|
810d7f |
update-desktop-database &> /dev/null || :
|
|
|
810d7f |
if [ $1 -eq 0 ]
|
|
|
810d7f |
then
|
|
|
810d7f |
alternatives --remove %{javaplugin} \
|
|
|
810d7f |
%{_libdir}/IcedTeaPlugin.so
|
|
|
810d7f |
fi
|
|
|
810d7f |
|
|
|
810d7f |
exit 0
|
|
|
810d7f |
|
|
|
810d7f |
%files
|
|
|
810d7f |
%defattr(-,root,root,-)
|
|
|
810d7f |
%{_prefix}/bin/*
|
|
|
810d7f |
%{_libdir}/IcedTeaPlugin.so
|
|
|
810d7f |
%{_datadir}/applications/*
|
|
|
810d7f |
%{_datadir}/icedtea-web
|
|
|
810d7f |
%{_datadir}/man/man1/*
|
|
|
810d7f |
%{_datadir}/pixmaps/*
|
|
|
810d7f |
%doc NEWS README COPYING
|
|
|
810d7f |
|
|
|
810d7f |
%files javadoc
|
|
|
810d7f |
%defattr(-,root,root,-)
|
|
|
810d7f |
%{_datadir}/javadoc/%{name}
|
|
|
810d7f |
%doc COPYING
|
|
|
810d7f |
|
|
|
810d7f |
%changelog
|
|
|
1a74ab |
* Thu Nov 27 2014 Jiri Vanek <jvanek@redhat.com> 1.5.2-0
|
|
|
1a74ab |
- update to upstream 1.5.2
|
|
|
1a74ab |
- enabled tagsoup
|
|
|
1a74ab |
- forced rhino
|
|
|
1a74ab |
- Resolves: rhbz#1075793
|
|
|
1a74ab |
|
|
|
1a74ab |
* Fri Oct 17 2014 Jiri Vanek <jvanek@redhat.com> 1.5.1-3
|
|
|
1a74ab |
- removed ExcludeArch: ppc
|
|
|
1a74ab |
- openjdk on ppc should be now fixed
|
|
|
1a74ab |
- Resolves: rhbz#1075793
|
|
|
1a74ab |
|
|
|
1a74ab |
* Mon Aug 18 2014 Jiri Vanek <jvanek@redhat.com> 1.5.1-2
|
|
|
1a74ab |
- added ExcludeArch: ppc
|
|
|
1a74ab |
- Resolves: rhbz#1125557
|
|
|
1a74ab |
|
|
|
1a74ab |
* Mon Aug 18 2014 Jiri Vanek <jvanek@redhat.com> 1.5.1-1
|
|
|
1a74ab |
- fixed obsolates to any jdk6 plugin
|
|
|
1a74ab |
- Resolves: rhbz#1077287
|
|
|
1a74ab |
|
|
|
1a74ab |
* Fri Aug 15 2014 Jiri Vanek <jvanek@redhat.com> 1.5.1-0
|
|
|
1a74ab |
- update to upstream 1.5.1
|
|
|
1a74ab |
- removed all patches (all upstreamed)
|
|
|
1a74ab |
- Resolves: rhbz#1077287
|
|
|
1a74ab |
|
|
|
1a74ab |
* Mon Apr 07 2014 Jiri Vanek <jvanek@redhat.com> 1.5-2
|
|
|
1a74ab |
- add not yet upstreamed DE localisation of 1.5
|
|
|
1a74ab |
- patch0 DElocalizationforIcedTea-Web1.5-0001.patch
|
|
|
1a74ab |
- autoreconf gog -vfi, see RH1077898
|
|
|
1a74ab |
- ./configure changed to %%configure
|
|
|
1a74ab |
- Resolves: rhbz#1077287
|
|
|
1a74ab |
|
|
|
aa8f5d |
* Tue Mar 11 2014 Jiri Vanek <jvanek@redhat.com> 1.4.2-1
|
|
|
aa8f5d |
- fixing brand in with-pkgversion switch to rhel
|
|
|
aa8f5d |
- Resolves: rhbz#1065518
|
|
|
aa8f5d |
|
|
|
aa8f5d |
* Mon Mar 10 2014 Jiri Vanek <jvanek@redhat.com> 1.4.2-0
|
|
|
aa8f5d |
- updated to 1.4.2
|
|
|
aa8f5d |
- Resolves: rhbz#1065518
|
|
|
aa8f5d |
|
|
|
aa8f5d |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4.1-2
|
|
|
aa8f5d |
- Mass rebuild 2014-01-24
|
|
|
aa8f5d |
|
|
|
aa8f5d |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4.1-1
|
|
|
aa8f5d |
- Mass rebuild 2013-12-27
|
|
|
aa8f5d |
|
|
|
810d7f |
* Tue Sep 24 2013 Jiri Vanek <jvanek@redhat.com> 1.4.1-0
|
|
|
810d7f |
- updated to 1.4.1
|
|
|
810d7f |
- add icedtea-web man page (resolves 948443)
|
|
|
810d7f |
- removed upstreamed patch1 b25-appContextFix.patch
|
|
|
810d7f |
- removed upstreamed patch2 rhino-pac-permissions.patch
|
|
|
810d7f |
- make check enabled again
|
|
|
810d7f |
- should be build for non-standart archs !-)
|
|
|
810d7f |
- removed unused multilib arches (yupii!)
|
|
|
810d7f |
- Resolves: rhbz#1009820
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Jun 19 2013 Jiri Vanek <jvanek@redhat.com> 1.4.0-2
|
|
|
810d7f |
- added patch1 b25-appContextFix.patch to make it run with future openjdk
|
|
|
810d7f |
|
|
|
810d7f |
* Fri Jun 07 2013 Jiri Vanek <jvanek@redhat.com> 1.4-1
|
|
|
810d7f |
- Adapted to latest openjdk changes
|
|
|
810d7f |
- added build requires for autoconf and automake
|
|
|
810d7f |
- minor clean up
|
|
|
810d7f |
|
|
|
810d7f |
* Sat May 04 2013 Jiri Vanek <jvanek@redhat.com> 1.4-0
|
|
|
810d7f |
- Updated to 1.4
|
|
|
810d7f |
- See announcement for detail
|
|
|
810d7f |
- http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-May/023195.html
|
|
|
810d7f |
- commented out check - some junit4 incompatibility
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Apr 17 2013 Jiri Vanek <jvanek@redhat.com> 1.3.2-0
|
|
|
810d7f |
- Updated to latest ustream release of 1.3 branch - 1.3.2
|
|
|
810d7f |
- Security Updates
|
|
|
810d7f |
- CVE-2013-1927, RH884705: fixed gifar vulnerability
|
|
|
810d7f |
- CVE-2013-1926, RH916774: Class-loader incorrectly shared for applets with same relative-path.
|
|
|
810d7f |
- Common
|
|
|
810d7f |
- Added new option in itw-settings which allows users to set JVM arguments when plugin is initialized.
|
|
|
810d7f |
- NetX
|
|
|
810d7f |
- PR580: http://www.horaoficial.cl/ loads improperly
|
|
|
810d7f |
- Plugin
|
|
|
810d7f |
PR1260: IcedTea-Web should not rely on GTK
|
|
|
810d7f |
PR1157: Applets can hang browser after fatal exception
|
|
|
810d7f |
- Removed upstreamed patch to remove GTK dependency
|
|
|
810d7f |
- icedtea-web-pr1260-remove-gtk-dep.patch
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Feb 20 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.3.1-5
|
|
|
810d7f |
- Resolves: rhbz#875496
|
|
|
810d7f |
- Build with $RPM_LD_FLAGS and %%{_smp_mflags}.
|
|
|
810d7f |
- Run unit tests during build.
|
|
|
810d7f |
|
|
|
810d7f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
|
|
|
810d7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Jan 16 2013 Deepak Bhole <dbhole@redhat.com> 1.3.1-3
|
|
|
810d7f |
- Resolves: rhbz#889644, rhbz#895197
|
|
|
810d7f |
- Added patch to remove GTK dependency
|
|
|
810d7f |
|
|
|
810d7f |
* Thu Dec 20 2012 Jiri Vanek <jvanek@redhat.com> 1.3.1-2
|
|
|
810d7f |
- Moved to be build with GTK3
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Nov 07 2012 Deepak Bhole <dbhole@redhat.com> 1.3.1-1
|
|
|
810d7f |
- Resolves: RH869040/CVE-2012-4540
|
|
|
810d7f |
|
|
|
810d7f |
* Mon Sep 17 2012 Deepak Bhole <dbhole@redhat.com> 1.3-1
|
|
|
810d7f |
- Updated to 1.3
|
|
|
810d7f |
- Resolves: rhbz#720836: Epiphany fails to execute Java applets
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Jul 31 2012 Deepak Bhole <dbhole@redhat.com> 1.2.1-1
|
|
|
810d7f |
- Updated to 1.2.1
|
|
|
810d7f |
- Resolves: RH840592/CVE-2012-3422
|
|
|
810d7f |
- Resolves: RH841345/CVE-2012-3423
|
|
|
810d7f |
|
|
|
810d7f |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
|
|
810d7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
810d7f |
|
|
|
810d7f |
* Thu May 03 2012 Deepak Bhole <dbhole@redhat.com> 1.2-4
|
|
|
810d7f |
- Resolves rhbz#814585
|
|
|
810d7f |
- Fixed java-plugin provides and added one for javaws
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Apr 17 2012 Deepak Bhole <dbhole@redhat.com> 1.2-3
|
|
|
810d7f |
- Updated summary
|
|
|
810d7f |
- Fixed virtual provide
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Mar 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.2-2
|
|
|
810d7f |
- Enable building on ARM platforms
|
|
|
810d7f |
|
|
|
810d7f |
* Mon Mar 05 2012 Deepak Bhole <dbhole@redhat.com> 1.2-1
|
|
|
810d7f |
- Updated to 1.2
|
|
|
810d7f |
|
|
|
810d7f |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-4
|
|
|
810d7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
810d7f |
|
|
|
810d7f |
* Fri Nov 25 2011 Deepak Bhole <dbhole@redhat.com> 1.1.4-3
|
|
|
810d7f |
- Resolves rhbz#757191
|
|
|
810d7f |
- Bumped min_openjdk_version to -60 (latest)
|
|
|
810d7f |
|
|
|
810d7f |
* Thu Nov 24 2011 Deepak Bhole <dbhole@redhat.com> 1.1.4-2
|
|
|
810d7f |
- Resolves: rhbz#742887. Do not own directories not created by the package.
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Nov 08 2011 Deepak Bhole <dbhole@redhat.com> 1.1.4-1
|
|
|
810d7f |
- Updated to 1.1.4
|
|
|
810d7f |
- Added npapi-fix patch so that the plug-in compiles with xulrunner 8
|
|
|
810d7f |
|
|
|
810d7f |
* Thu Sep 01 2011 Deepak Bhole <dbhole@redhat.com> 1.1.2-1
|
|
|
810d7f |
- Updated to 1.1.2
|
|
|
810d7f |
- Removed all patches (now upstream)
|
|
|
810d7f |
- Resolves: rhbz# 734890
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Aug 23 2011 Deepak Bhole <dbhole@redhat.com> 1.1.1-3
|
|
|
810d7f |
- Added patch to allow install to jre dir
|
|
|
810d7f |
- Fixed requirement for java-1.7.0-openjdk
|
|
|
810d7f |
|
|
|
810d7f |
* Tue Aug 09 2011 Deepak Bhole <dbhole@redhat.com> 1.1.1-2
|
|
|
810d7f |
- Fixed file ownership so that debuginfo is not in main package
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Aug 03 2011 Deepak Bhole <dbhole@redhat.com> 1.1.1-1
|
|
|
810d7f |
- Bump to 1.1.1
|
|
|
810d7f |
- Added patch for PR768 and PR769
|
|
|
810d7f |
|
|
|
810d7f |
* Wed Jul 20 2011 Deepak Bhole <dbhole@redhat.com> 1.0.4-1
|
|
|
810d7f |
- Bump to 1.0.4
|
|
|
810d7f |
- Fixed rhbz#718164: Home directory path disclosure to untrusted applications
|
|
|
810d7f |
- Fixed rhbz#718170: Java Web Start security warning dialog manipulation
|
|
|
810d7f |
|
|
|
810d7f |
* Mon Jun 13 2011 Deepak Bhole <dbhole@redhat.com> 1.0.3-1
|
|
|
810d7f |
- Update to 1.0.3
|
|
|
810d7f |
- Resolves: rhbz#691259
|
|
|
810d7f |
|
|
|
810d7f |
* Mon Apr 04 2011 Deepak Bhole <dbhole@redhat.com> 1.0.2-2
|
|
|
810d7f |
- Fixed incorrect macro value for min_openjdk_version
|
|
|
810d7f |
- Use posttrans instead of post, so that upgrade from old plugin works
|
|
|
810d7f |
|
|
|
810d7f |
* Mon Apr 04 2011 Deepak Bhole <dbhole@redhat.com> 1.0.2-1
|
|
|
810d7f |
- Initial build
|