SPECS: mozilla-firefox.spec - browser plugins v2 unleashed

glen glen at pld-linux.org
Sat Dec 23 03:10:28 CET 2006


Author: glen                         Date: Sat Dec 23 02:10:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- browser plugins v2 unleashed

---- Files affected:
SPECS:
   mozilla-firefox.spec (1.165 -> 1.166) 

---- Diffs:

================================================================
Index: SPECS/mozilla-firefox.spec
diff -u SPECS/mozilla-firefox.spec:1.165 SPECS/mozilla-firefox.spec:1.166
--- SPECS/mozilla-firefox.spec:1.165	Sat Dec 23 02:48:03 2006
+++ SPECS/mozilla-firefox.spec	Sat Dec 23 03:10:23 2006
@@ -14,7 +14,7 @@
 Summary(pl):	Mozilla Firefox - przeglądarka WWW
 Name:		mozilla-firefox
 Version:	2.0.0.1
-Release:	0.2
+Release:	0.9
 License:	MPL/LGPL
 Group:		X11/Applications/Networking
 Source0:	ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2
@@ -45,6 +45,7 @@
 BuildRequires:	pango-devel >= 1:1.6.0
 BuildRequires:	perl-modules >= 5.004
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.356
 BuildRequires:	xorg-lib-libXext-devel
 BuildRequires:	xorg-lib-libXft-devel >= 2.1
 BuildRequires:	xorg-lib-libXinerama-devel
@@ -199,6 +200,7 @@
 	CC="%{__cc}" \
 	CXX="%{__cxx}"
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 cd mozilla
@@ -207,6 +209,8 @@
 	$RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
 	$RPM_BUILD_ROOT{%{_includedir},%{_pkgconfigdir}}
 
+%browser_plugins_add_browser %{name} -p %{_firefoxdir}/plugins
+
 %{__make} -C xpinstall/packager stage-package \
 	DESTDIR=$RPM_BUILD_ROOT \
 	MOZ_PKG_APPDIR=%{_firefoxdir} \
@@ -271,6 +275,12 @@
 
 %post
 %{_sbindir}/%{name}-chrome+xpcom-generate
+%update_browser_plugins
+
+%postun
+if [ "$1" = 0 ]; then
+	%update_browser_plugins
+fi
 
 %files
 %defattr(644,root,root,755)
@@ -278,6 +288,10 @@
 %attr(755,root,root) %{_bindir}/firefox
 %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate
 
+# browser plugins v2
+%{_browserpluginsconfdir}/browsers.d/%{name}.*
+%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
+
 %{_firefoxdir}/res
 %dir %{_firefoxdir}/components
 %attr(755,root,root) %{_firefoxdir}/components/*.so
@@ -355,6 +369,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.166  2006/12/23 02:10:23  glen
+- browser plugins v2 unleashed
+
 Revision 1.165  2006/12/23 01:48:03  glen
 - install speedup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mozilla-firefox.spec?r1=1.165&r2=1.166&f=u



More information about the pld-cvs-commit mailing list