Author: hawk Date: Mon Mar 3 08:59:48 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - browser-plugins v2 - release 1
---- Files affected: SPECS: browser-plugin-kaffeine.spec (1.8 -> 1.9) ---- Diffs: ================================================================ Index: SPECS/browser-plugin-kaffeine.spec diff -u SPECS/browser-plugin-kaffeine.spec:1.8 SPECS/browser-plugin-kaffeine.spec:1.9 --- SPECS/browser-plugin-kaffeine.spec:1.8 Mon Feb 12 23:09:09 2007 +++ SPECS/browser-plugin-kaffeine.spec Mon Mar 3 09:59:43 2008 @@ -5,7 +5,7 @@ Summary(pl.UTF-8): Odtwarzacz Kaffeine dla przeglÄ…darek internetowych Name: browser-plugin-kaffeine Version: 0.2 -Release: 0.2 +Release: 1 License: GPL Group: X11/Applications/Multimedia Source0: http://dl.sourceforge.net/kaffeine/%{_realname}-%{version}.tar.bz2 @@ -20,15 +20,9 @@ BuildRequires: xorg-lib-libSM-devel BuildRequires: xorg-lib-libXaw-devel BuildRequires: xorg-lib-libXt-devel -Requires: browser-plugins(%{_target_base_arch}) +Requires: browser-plugins >= 2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# directory where you store the plugin -%define _plugindir %{_libdir}/browser-plugins - -# use macro, otherwise extra LF inserted along with the ifarch -%define browsers mozilla, mozilla-firefox, mozilla-firefox-bin, konqueror, opera, seamonkey - %description This package delivers a video/audio player plugin for web browsers. @@ -51,7 +45,7 @@ %{__automake} %configure \ --disable-static \ - --prefix=%{_plugindir} + --prefix=%{_browserpluginsdir} %{__make} %install @@ -60,51 +54,23 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_plugindir}/kaffeineplugin.la +rm -f $RPM_BUILD_ROOT%{_browserpluginsdir}/kaffeineplugin.la %clean rm -rf $RPM_BUILD_ROOT -%triggerin -- mozilla-firefox -%nsplugin_install -d %{_libdir}/mozilla-firefox/plugins %{_pluginname}.so - -%triggerun -- mozilla-firefox -%nsplugin_uninstall -d %{_libdir}/mozilla-firefox/plugins %{_pluginname}.so - -%triggerin -- mozilla-firefox-bin -%nsplugin_install -d %{_libdir}/mozilla-firefox-bin/plugins %{_pluginname}.so - -%triggerun -- mozilla-firefox-bin -%nsplugin_uninstall -d %{_libdir}/mozilla-firefox-bin/plugins %{_pluginname}.so - -%triggerin -- mozilla -%nsplugin_install -d %{_libdir}/mozilla/plugins %{_pluginname}.so - -%triggerun -- mozilla -%nsplugin_uninstall -d %{_libdir}/mozilla/plugins %{_pluginname}.so +%post +%update_browser_plugins -%triggerin -- opera -%nsplugin_install -d %{_libdir}/opera/plugins %{_pluginname}.so - -%triggerun -- opera -%nsplugin_uninstall -d %{_libdir}/opera/plugins %{_pluginname}.so - -%triggerin -- konqueror -%nsplugin_install -d %{_libdir}/kde3/plugins/konqueror %{_pluginname}.so - -%triggerun -- konqueror -%nsplugin_uninstall -d %{_libdir}/kde3/plugins/konqueror %{_pluginname}.so - -%triggerin -- seamonkey -%nsplugin_install -d %{_libdir}/seamonkey/plugins %{_pluginname}.so - -%triggerun -- seamonkey -%nsplugin_uninstall -d %{_libdir}/seamonkey/plugins %{_pluginname}.so +%postun +if [ "$1" = 0 ]; then + %update_browser_plugins +fi %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README -%attr(755,root,root) %{_plugindir}/%{_pluginname}.so +%attr(755,root,root) %{_browserpluginsdir}/%{_pluginname}.so %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -112,6 +78,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.9 2008-03-03 08:59:43 hawk +- browser-plugins v2 +- release 1 + Revision 1.8 2007-02-12 22:09:09 glen - tabs in preamble ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/browser-plugin-kaffeine.spec?r1=1.8&r2=1.9&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
