SPECS: opera.spec - browser plugins v2 - rel 4
glen
glen at pld-linux.org
Wed Jan 10 00:07:32 CET 2007
Author: glen Date: Tue Jan 9 23:07:32 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- browser plugins v2
- rel 4
---- Files affected:
SPECS:
opera.spec (1.216 -> 1.217)
---- Diffs:
================================================================
Index: SPECS/opera.spec
diff -u SPECS/opera.spec:1.216 SPECS/opera.spec:1.217
--- SPECS/opera.spec:1.216 Fri Dec 22 17:16:23 2006
+++ SPECS/opera.spec Wed Jan 10 00:07:27 2007
@@ -206,7 +206,7 @@
%define need_sparc_static_snap 0
%endif
-%define _rel 3
+%define _rel 4
Summary: World fastest web browser
Summary(pl): Najszybsza przeglądarka WWW na świecie
Name: opera
@@ -307,7 +307,9 @@
Source4: %{name}.desktop
Patch0: %{name}-wrapper.patch
URL: http://www.opera.com/
+BuildRequires: rpmbuild(macros) >= 1.356
BuildRequires: sed >= 4.0
+Requires: browser-plugins >= 2.0
Requires: freetype >= 2
Provides: wwwbrowser
ExclusiveArch: %{ix86} ppc sparc sparc64
@@ -342,6 +344,11 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_sysconfdir}}
+%browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins -b <<'EOF'
+# opera does not use for .xpt files
+*.xpt
+EOF
+
sh install.sh \
DESTDIR=$RPM_BUILD_ROOT \
--prefix=%{_prefix} \
@@ -357,10 +364,23 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_browser_plugins
+
+%postun
+if [ "$1" = 0 ]; then
+ %update_browser_plugins
+fi
+
%files
%defattr(644,root,root,755)
%doc LICENSE
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opera*rc*
+
+# browser plugins v2
+%{_browserpluginsconfdir}/browsers.d/%{name}.*
+%config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist
+
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/opera
%dir %{_libdir}/opera/bin
@@ -387,6 +407,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.217 2007/01/09 23:07:27 glen
+- browser plugins v2
+- rel 4
+
Revision 1.216 2006/12/22 16:16:23 glen
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/opera.spec?r1=1.216&r2=1.217&f=u
More information about the pld-cvs-commit
mailing list