]> git.pld-linux.org Git - packages/browser-plugins.git/blob - browser-plugins.spec
- nspluginwrapper -v -a -i is needed to be called when flash pkg is updated
[packages/browser-plugins.git] / browser-plugins.spec
1 # TODO
2 # - invoke nspluginwrapper install if one found installed in system
3 # - convert all plugin packages to store their plugins in this base
4 #   directory.
5 # known NPAPI compatible browsers from PLD Linux CVS:
6 # - galeon
7 # - kazehakase
8 # - konqueror
9 # - mozilla
10 # - mozilla-firefox
11 # - mozilla-firefox-bin
12 # - netscape (trigger on netscape-common)
13 # - opera (ix86, ppc, sparc* only)
14 # - seamonkey
15 # - skipstone
16 Summary:        Base package for web browser plugins
17 Summary(pl.UTF-8):      Podstawowy pakiet dla wtyczek przeglądarek WWW
18 Name:           browser-plugins
19 Version:        2.0.1
20 Release:        3
21 License:        GPL
22 Group:          Base
23 BuildRequires:  rpmbuild(macros) >= 1.356
24 Source0:        %{name}.README
25 Source1:        %{name}-update.sh
26 Requires:       filesystem >= 2.0-1.2
27 Requires:       findutils
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _sysconfdir     %{_browserpluginsconfdir}
32
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
39 - Mozilla/Mozilla Firefox/Seamonkey
40 - Opera
41 - Konqueror
42
43 %description -l pl.UTF-8
44 Ten pakiet dostarcza podstawowy katalog dla wtyczek przeglądarek
45 zgodnych z Netscape Plugin API (NPAPI).
46
47 Przeglądarki obsługujące NPAPI to:
48 - Netscape Communicator/Navigator
49 - Mozilla/Mozilla Firefox/Seamonkey
50 - Opera
51 - Konqueror
52
53 %prep
54 %setup -qcT
55 cp -a %{SOURCE0} README
56 cp -a %{SOURCE1} update-browser-plugins
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}}
61 install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_browser_plugins
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.
71
72 %files
73 %defattr(644,root,root,755)
74 %dir %{_sysconfdir}
75 %dir %{_sysconfdir}/browsers.d
76 %dir %{_sysconfdir}/blacklist.d
77 %attr(755,root,root) %{_sbindir}/update-browser-plugins
This page took 0.060585 seconds and 4 git commands to generate.