]>
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 |
4fba31e8 | 18 | Version: 2.0 |
a6b6009e | 19 | Release: 2 |
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 | |
3aaa16d9 | 26 | BuildArch: noarch |
686a3c90 ER |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
41775b1a | 29 | %define _sysconfdir %{_browserpluginsconfdir} |
4fba31e8 | 30 | |
686a3c90 ER |
31 | %description |
32 | This package provides base directory for browser plugins complying to | |
33 | Netscape Plugin API (NPAPI). | |
34 | ||
35 | Browsers known to support NPAPI: | |
36 | - Netscape Communicator/Navigator | |
3371ac46 | 37 | - Mozilla/Mozilla Firefox/Seamonkey |
686a3c90 ER |
38 | - Opera |
39 | - Konqueror | |
40 | ||
674196ad JR |
41 | %description -l pl.UTF-8 |
42 | Ten pakiet dostarcza podstawowy katalog dla wtyczek przeglądarek | |
560365c4 JB |
43 | zgodnych z Netscape Plugin API (NPAPI). |
44 | ||
674196ad | 45 | Przeglądarki obsługujące NPAPI to: |
560365c4 | 46 | - Netscape Communicator/Navigator |
3371ac46 | 47 | - Mozilla/Mozilla Firefox/Seamonkey |
560365c4 JB |
48 | - Opera |
49 | - Konqueror | |
50 | ||
686a3c90 | 51 | %prep |
4fba31e8 ER |
52 | %setup -qcT |
53 | cp -a %{SOURCE0} README | |
3aaa16d9 | 54 | cp -a %{SOURCE1} update-browser-plugins |
4fba31e8 | 55 | |
686a3c90 ER |
56 | %install |
57 | rm -rf $RPM_BUILD_ROOT | |
4fba31e8 | 58 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}} |
3aaa16d9 | 59 | install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir} |
e29f89a0 | 60 | |
686a3c90 ER |
61 | %clean |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
4fba31e8 ER |
64 | %post |
65 | %update_browser_plugins | |
41775b1a ER |
66 | |
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. | |
4fba31e8 | 69 | |
686a3c90 ER |
70 | %files |
71 | %defattr(644,root,root,755) | |
4fba31e8 ER |
72 | %dir %{_sysconfdir} |
73 | %dir %{_sysconfdir}/browsers.d | |
74 | %dir %{_sysconfdir}/blacklist.d | |
4fba31e8 | 75 | %attr(755,root,root) %{_sbindir}/update-browser-plugins |