2 # - convert all plugin packages to store their plugins in this base
4 # known NPAPI compatible browsers from PLD Linux CVS:
10 # - mozilla-firefox-bin
11 # - netscape (trigger on netscape-common)
12 # - opera (ix86, ppc, sparc* only)
15 Summary: Base package for web browser plugins
16 Summary(pl): Podstawowy pakiet dla wtyczek przegl±darek WWW
22 BuildRequires: rpmbuild(macros) >= 1.356
23 Source0: %{name}.README
24 Source1: %{name}-update.sh
25 Requires: filesystem >= 2.0-1.2
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _sysconfdir %{_browserpluginsconfdir}
32 This package provides base directory for browser plugins complying to
33 Netscape Plugin API (NPAPI).
35 Browsers known to support NPAPI:
36 - Netscape Communicator/Navigator
37 - Mozilla/Mozilla Firefox/Seamonkey
42 Ten pakiet dostarcza podstawowy katalog dla wtyczek przegl±darek
43 zgodnych z Netscape Plugin API (NPAPI).
45 Przegl±darki obs³uguj±ce NPAPI to:
46 - Netscape Communicator/Navigator
47 - Mozilla/Mozilla Firefox/Seamonkey
53 cp -a %{SOURCE0} README
54 cp -a %{SOURCE1} update-browser-plugins
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}}
59 install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir}
62 rm -rf $RPM_BUILD_ROOT
65 %update_browser_plugins
67 # we don't need postin script as all browsers depend on this package and
68 # therefore this package should be last one to go from system.
71 %defattr(644,root,root,755)
73 %dir %{_sysconfdir}/browsers.d
74 %dir %{_sysconfdir}/blacklist.d
75 %attr(755,root,root) %{_sbindir}/update-browser-plugins