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