]> git.pld-linux.org Git - packages/acroread.git/blobdiff - acroread.spec
- added seamonkey to browsers
[packages/acroread.git] / acroread.spec
index f4544eda5cc827d1a944decea5cb3b38af1e48b2..bd46481ad9ef619739c5634ae575332e5c0973c6 100644 (file)
@@ -12,7 +12,7 @@ Name:         %{base_name}
 %else
 Name:          %{base_name}-installer
 %endif
-%define        _rel    2
+%define        _rel    6
 Version:       7.0.5
 Release:       %{_rel}%{?with_license_agreement:wla}
 Epoch:         1
@@ -43,7 +43,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # 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
@@ -75,7 +75,7 @@ Summary:      PDF plugin for Mozilla compatible browsers
 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
 
@@ -152,23 +152,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
This page took 0.032354 seconds and 4 git commands to generate.