]> git.pld-linux.org Git - packages/browser-plugins.git/blobdiff - browser-plugins.spec
- local.* files are not handled. drop them
[packages/browser-plugins.git] / browser-plugins.spec
index 08741e6eb98200ff03fc371931ec431ce0599f25..defd891f16b4ebbf37e40396494e9348b4bf376c 100644 (file)
@@ -1,21 +1,23 @@
 # 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)
+# known NPAPI compatible browsers from PLD Linux CVS:
 # - galeon
-# - skipstone
 # - kazehakase
+# - konqueror
+# - mozilla
+# - mozilla-firefox
+# - mozilla-firefox-bin
 # - netscape (trigger on netscape-common)
+# - opera (ix86, ppc, sparc* only)
 # - seamonkey
+# - skipstone
 Summary:       Base package for web browser plugins
 Summary(pl):   Podstawowy pakiet dla wtyczek przeglĀ±darek WWW
+# TODO: to be renamed to actual package name when package is finished
 Name:          browser-plugins2
 Version:       2.0
-Release:       0.8
+Release:       0.10
 License:       GPL
 Group:         Base
 Source0:       browser-plugins.README
@@ -24,7 +26,7 @@ BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/browser-plugins
-# temporarily for testing
+# TODO: to be moved to rpm-build-macros
 %define                update_browser_plugins /usr/sbin/update-browser-plugins
 
 %description
@@ -52,25 +54,31 @@ Przegl
 cp -a %{SOURCE0} README
 cp -a %{SOURCE1} update-browser-plugins
 
-cat > blacklist.local <<'EOF'
-# list your local overrides here
-# the format is shell globs at base dir of plugindir
+cat > blacklist <<'EOF'
+# The format is shell globs at base dir of plugindir
 EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{blacklist,browsers}.d,%{_sbindir}}
 install update-browser-plugins $RPM_BUILD_ROOT%{_sbindir}
-for browser in opera firefox mozilla mozilla-firefox; do
+
+# TODO: to be moved to browser packages
+for browser in opera firefox mozilla mozilla-firefox mozilla-firefox-bin; do
        for arch in i386 x86_64; do
-               cp -a blacklist.local $RPM_BUILD_ROOT%{_sysconfdir}/blacklist.d/local.$browser.$arch.blacklist
+               cp -a blacklist $RPM_BUILD_ROOT%{_sysconfdir}/blacklist.d/$browser.$arch.blacklist
        done
 done
+cat <<'EOF'>> $RPM_BUILD_ROOT%{_sysconfdir}/blacklist.d/opera.i386.blacklist
+# opera has no use of .xpt files.
+*.xpt
+EOF
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %if 0
+# TODO: to be enabled if tested enough
 %post
 %update_browser_plugins
 
This page took 0.047489 seconds and 4 git commands to generate.