]> git.pld-linux.org Git - packages/browser-plugins.git/blobdiff - browser-plugins.spec
- adjust dep compatible for ac; rel 3
[packages/browser-plugins.git] / browser-plugins.spec
index 95edcf3886ecd6a83c8d7b89774336f9ba1495be..ab6d2d433dfcf316677a4f6260b19bba4a46360a 100644 (file)
@@ -1,27 +1,37 @@
 # TODO
 # - convert all plugin packages to store their plugins in this base
 #   directory.
-# known NPAPI compatible browsers from PLD CVS:
-# - mozilla
-# - mozilla-firefox
-# - konqueror
-# - opera (ix86 only)
+# - Add addons and themes support for gecko based browsers
+# Known NPAPI compatible browsers from PLD Linux CVS:
 # - galeon
-# - skipstone
 # - kazehakase
-# - netscape (trigger on netscape-common)
+# - konqueror
+# - mozilla
+# - mozilla-firefox
+# - mozilla-firefox-bin
+# - netscape (update script on netscape-common package)
+# - opera (ix86, x86_64, ppc only)
 # - seamonkey
+# - skipstone
+# - iceweasel
+# - iceape
 Summary:       Base package for web browser plugins
-Summary(pl):   Podstawowy pakiet dla wtyczek przegl±darek WWW
+Summary(pl.UTF-8):     Podstawowy pakiet dla wtyczek przeglądarek WWW
 Name:          browser-plugins
-Version:       1.0
+Version:       3.0
 Release:       3
 License:       GPL
 Group:         Base
-Provides:      %{name}(%{_target_cpu}) = %{version}-%{release}
-URL:           http://www.mozilla.org/projects/plugins/
+BuildRequires: rpmbuild(macros) >= 1.356
+Source0:       %{name}.README
+Source1:       %{name}-update.sh
+Requires:      filesystem >= 2.0-2
+Requires:      findutils
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     %{_browserpluginsconfdir}
+
 %description
 This package provides base directory for browser plugins complying to
 Netscape Plugin API (NPAPI).
@@ -32,25 +42,38 @@ Browsers known to support NPAPI:
 - Opera
 - Konqueror
 
-%description -l pl
-Ten pakiet dostarcza podstawowy katalog dla wtyczek przegl±darek
+%description -l pl.UTF-8
+Ten pakiet dostarcza podstawowy katalog dla wtyczek przeglądarek
 zgodnych z Netscape Plugin API (NPAPI).
 
-Przegl±darki obs³uguj±ce NPAPI to:
+Przeglądarki obsługujące NPAPI to:
 - Netscape Communicator/Navigator
 - Mozilla/Mozilla Firefox/Seamonkey
 - Opera
 - Konqueror
 
 %prep
+%setup -qcT
+cp -a %{SOURCE0} README
+cp -a %{SOURCE1} update-browser-plugins
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/browser-plugins
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}}
+install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_browser_plugins
+
+# we don't need postin script as all browsers depend on this package and
+# therefore this package should be last one to go from system.
+
 %files
 %defattr(644,root,root,755)
-%{_libdir}/browser-plugins
+%dir %{_sysconfdir}
+%dir %{_sysconfdir}/browsers.d
+%dir %{_sysconfdir}/blacklist.d
+%attr(755,root,root) %{_sbindir}/update-browser-plugins
This page took 0.033976 seconds and 4 git commands to generate.