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