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