mirror of
https://abf.rosa.ru/djam/icedtea-web.git
synced 2025-02-23 17:52:54 +00:00
cleaned up spec
This commit is contained in:
parent
e8a8dcf3fb
commit
b9a272a8c8
1 changed files with 28 additions and 36 deletions
|
@ -28,47 +28,41 @@
|
|||
|
||||
%define binsuffix .itweb
|
||||
|
||||
Summary: Additional Java components for OpenJDK
|
||||
Name: icedtea-web
|
||||
Version: 1.3
|
||||
Release: 2
|
||||
Summary: Additional Java components for OpenJDK
|
||||
Group: Networking/WWW
|
||||
License: LGPLv2+ and GPLv2 with exceptions
|
||||
URL: http://icedtea.classpath.org/wiki/IcedTea-Web
|
||||
Url: http://icedtea.classpath.org/wiki/IcedTea-Web
|
||||
Source0: http://icedtea.classpath.org/download/source/%{name}-%{version}.tar.gz
|
||||
Patch0: icedtea-web-1.0.2-mutex_and_leak.patch
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=866
|
||||
Patch1: PR820.patch
|
||||
Patch2: icedtea-web-pr1260-remove-gtk-dep.patch
|
||||
# IcedTea is only built on these archs for now
|
||||
ExclusiveArch: x86_64 i586
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: zip
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
BuildRequires: java-%{javaver}-openjdk-devel
|
||||
%else
|
||||
BuildRequires: java-%{javaver}-openjdk-devel >= 1.6.0.0-18.b22
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(mozilla-plugin)
|
||||
BuildRequires: zip
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires: java-%{javaver}-openjdk
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(post,postun): update-alternatives
|
||||
|
||||
# Standard JPackage plugin provides.
|
||||
Provides: java-plugin = %{javaver}
|
||||
|
||||
Provides: java-1.6.0-openjdk-plugin = 1.6.0.0-18.b22
|
||||
Obsoletes: java-1.6.0-openjdk-plugin
|
||||
|
||||
# IcedTea is only built on these archs for now
|
||||
ExclusiveArch: x86_64 i586
|
||||
|
||||
Patch0: icedtea-web-1.0.2-mutex_and_leak.patch
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=866
|
||||
Patch1: PR820.patch
|
||||
Patch2: icedtea-web-pr1260-remove-gtk-dep.patch
|
||||
|
||||
%description
|
||||
The IcedTea-Web project provides a Java web browser plugin, an implementation
|
||||
of Java Web Start (originally based on the Netx project) and a settings tool to
|
||||
|
@ -79,9 +73,7 @@ implementations.
|
|||
Summary: API documentation for IcedTea-Web
|
||||
Group: Networking/WWW
|
||||
Requires: jpackage-utils
|
||||
%if %{mdkversion} >= 201010
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description javadoc
|
||||
This package contains Javadocs for the IcedTea-Web project.
|
||||
|
@ -140,8 +132,7 @@ exit 0
|
|||
|
||||
%postun
|
||||
update-desktop-database &> /dev/null || :
|
||||
if [ $1 -eq 0 ]
|
||||
then
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-alternatives --remove %{javaplugin} \
|
||||
%{_libdir}/IcedTeaPlugin.so
|
||||
fi
|
||||
|
@ -153,10 +144,11 @@ exit 0
|
|||
%{_libdir}/IcedTeaPlugin.so
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/icedtea-web
|
||||
%{_datadir}/man/man1/*
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_mandir}/man1/*
|
||||
%doc NEWS README COPYING
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%doc COPYING
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue