%else
Name: %{base_name}-installer
%endif
-%define _rel 2
+%define _rel 6
Version: 7.0.5
Release: %{_rel}%{?with_license_agreement:wla}
Epoch: 1
# TODO: galeon and skipstone, konqueror, opera.
# use macro, otherwise extra LF inserted along with the ifarch
-%define browsers mozilla, mozilla-firefox
+%define browsers mozilla, mozilla-firefox, seamonkey
%define platform intellinux
%define tar0 ILINXR.TAR
Summary(pl): Wtyczka PDF dla przeglĀ±darek zgodnych Mozilla
Group: X11/Applications
Requires: %{base_name} = %{epoch}:%{version}-%{release}
-Requires: browser-plugins(%{_target_cpu})
+Requires: browser-plugins(%{_target_base_arch})
Requires: mozilla-embedded
Obsoletes: mozilla-plugin-acroread
%triggerin plugin -- mozilla
%nsplugin_install -d %{_libdir}/mozilla/plugins nppdf.so
-if [ -d /usr/%{_lib}/mozilla ]; then
- umask 022
- rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat
- if [ -x /usr/bin/regxpcom ]; then
- MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom
- fi
-fi
%triggerun plugin -- mozilla
%nsplugin_uninstall -d %{_libdir}/mozilla/plugins nppdf.so
-if [ -d /usr/%{_lib}/mozilla ]; then
- umask 022
- rm -f /usr/%{_lib}/mozilla/components/{compreg,xpti}.dat
- if [ -x /usr/bin/regxpcom ]; then
- MOZILLA_FIVE_HOME=/usr/%{_lib}/mozilla /usr/bin/regxpcom
- fi
-fi
+
+%triggerin plugin -- seamonkey
+%nsplugin_install -d %{_libdir}/seamonkey/plugins nppdf.so
+
+%triggerun plugin -- seamonkey
+%nsplugin_uninstall -d %{_libdir}/seamonkey/plugins nppdf.so
# % triggerin plugin -- konqueror
# % nsplugin_install -d %{_libdir}/kde3/plugins/konqueror nppdf.so