]>
Commit | Line | Data |
---|---|---|
686a3c90 | 1 | # TODO |
947bf7dc | 2 | # - invoke nspluginwrapper install if one found installed in system |
686a3c90 ER |
3 | # - convert all plugin packages to store their plugins in this base |
4 | # directory. | |
2b8bc226 ER |
5 | # known NPAPI compatible browsers from PLD Linux CVS: |
6 | # - galeon | |
7 | # - kazehakase | |
8 | # - konqueror | |
5d8a0663 ER |
9 | # - mozilla |
10 | # - mozilla-firefox | |
9625db53 | 11 | # - mozilla-firefox-bin |
4dbfa6e3 | 12 | # - netscape (trigger on netscape-common) |
2b8bc226 | 13 | # - opera (ix86, ppc, sparc* only) |
3371ac46 | 14 | # - seamonkey |
2b8bc226 | 15 | # - skipstone |
560365c4 | 16 | Summary: Base package for web browser plugins |
a5bcd0c4 | 17 | Summary(pl.UTF-8): Podstawowy pakiet dla wtyczek przeglądarek WWW |
41775b1a | 18 | Name: browser-plugins |
d191cfc8 | 19 | Version: 2.0.1 |
271b3c06 | 20 | Release: 3 |
686a3c90 ER |
21 | License: GPL |
22 | Group: Base | |
41775b1a ER |
23 | BuildRequires: rpmbuild(macros) >= 1.356 |
24 | Source0: %{name}.README | |
25 | Source1: %{name}-update.sh | |
26 | Requires: filesystem >= 2.0-1.2 | |
b587af59 | 27 | Requires: findutils |
3aaa16d9 | 28 | BuildArch: noarch |
686a3c90 ER |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
41775b1a | 31 | %define _sysconfdir %{_browserpluginsconfdir} |
4fba31e8 | 32 | |
686a3c90 ER |
33 | %description |
34 | This package provides base directory for browser plugins complying to | |
35 | Netscape Plugin API (NPAPI). | |
36 | ||
37 | Browsers known to support NPAPI: | |
38 | - Netscape Communicator/Navigator | |
3371ac46 | 39 | - Mozilla/Mozilla Firefox/Seamonkey |
686a3c90 ER |
40 | - Opera |
41 | - Konqueror | |
42 | ||
674196ad JR |
43 | %description -l pl.UTF-8 |
44 | Ten pakiet dostarcza podstawowy katalog dla wtyczek przeglądarek | |
560365c4 JB |
45 | zgodnych z Netscape Plugin API (NPAPI). |
46 | ||
674196ad | 47 | Przeglądarki obsługujące NPAPI to: |
560365c4 | 48 | - Netscape Communicator/Navigator |
3371ac46 | 49 | - Mozilla/Mozilla Firefox/Seamonkey |
560365c4 JB |
50 | - Opera |
51 | - Konqueror | |
52 | ||
686a3c90 | 53 | %prep |
4fba31e8 ER |
54 | %setup -qcT |
55 | cp -a %{SOURCE0} README | |
3aaa16d9 | 56 | cp -a %{SOURCE1} update-browser-plugins |
4fba31e8 | 57 | |
686a3c90 ER |
58 | %install |
59 | rm -rf $RPM_BUILD_ROOT | |
4fba31e8 | 60 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}} |
3aaa16d9 | 61 | install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir} |
e29f89a0 | 62 | |
686a3c90 ER |
63 | %clean |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
4fba31e8 ER |
66 | %post |
67 | %update_browser_plugins | |
41775b1a ER |
68 | |
69 | # we don't need postin script as all browsers depend on this package and | |
70 | # therefore this package should be last one to go from system. | |
4fba31e8 | 71 | |
686a3c90 ER |
72 | %files |
73 | %defattr(644,root,root,755) | |
4fba31e8 ER |
74 | %dir %{_sysconfdir} |
75 | %dir %{_sysconfdir}/browsers.d | |
76 | %dir %{_sysconfdir}/blacklist.d | |
4fba31e8 | 77 | %attr(755,root,root) %{_sbindir}/update-browser-plugins |