SPECS: template-browser-plugin.spec - update nsplugin macro name -...
glen
glen at pld-linux.org
Tue Sep 6 19:51:39 CEST 2005
Author: glen Date: Tue Sep 6 17:51:39 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update nsplugin macro name
- add migration trigger sample
---- Files affected:
SPECS:
template-browser-plugin.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/template-browser-plugin.spec
diff -u SPECS/template-browser-plugin.spec:1.6 SPECS/template-browser-plugin.spec:1.7
--- SPECS/template-browser-plugin.spec:1.6 Tue Aug 23 20:46:11 2005
+++ SPECS/template-browser-plugin.spec Tue Sep 6 19:51:34 2005
@@ -10,7 +10,7 @@
Release: 0.1
License: GPL
Group: X11/Applications/Multimedia
-BuildRequires: rpmbuild(macros) >= 1.235
+BuildRequires: rpmbuild(macros) >= 1.236
Requires: browser-plugins(%{_target_cpu})
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -38,28 +38,33 @@
EOF
%triggerin -- mozilla-firefox
-%ns_plugin_install -d %{_libdir}/mozilla-firefox/plugins %{name}.so %{name}.xpi
+%nsplugin_install -d %{_libdir}/mozilla-firefox/plugins %{name}.so %{name}.xpi
%triggerun -- mozilla-firefox
-%ns_plugin_uninstall -d %{_libdir}/mozilla-firefox/plugins %{name}.so %{name}.xpi
+%nsplugin_uninstall -d %{_libdir}/mozilla-firefox/plugins %{name}.so %{name}.xpi
%triggerin -- mozilla
-%ns_plugin_install -d %{_libdir}/mozilla/plugins %{name}.so %{name}.xpi
+%nsplugin_install -d %{_libdir}/mozilla/plugins %{name}.so %{name}.xpi
%triggerun -- mozilla
-%ns_plugin_uninstall -d %{_libdir}/mozilla/plugins %{name}.so %{name}.xpi
+%nsplugin_uninstall -d %{_libdir}/mozilla/plugins %{name}.so %{name}.xpi
%triggerin -- opera
-%ns_plugin_install -d %{_libdir}/opera/plugins %{name}.so %{name}.xpi
+%nsplugin_install -d %{_libdir}/opera/plugins %{name}.so %{name}.xpi
%triggerun -- opera
-%ns_plugin_uninstall -d %{_libdir}/opera/plugins %{name}.so %{name}.xpi
+%nsplugin_uninstall -d %{_libdir}/opera/plugins %{name}.so %{name}.xpi
%triggerin -- konqueror
-%ns_plugin_install -d %{_libdir}/kde3/plugins/konqueror %{name}.so %{name}.xpi
+%nsplugin_install -d %{_libdir}/kde3/plugins/konqueror %{name}.so %{name}.xpi
%triggerun -- konqueror
-%ns_plugin_uninstall -d %{_libdir}/kde3/plugins/konqueror %{name}.so %{name}.xpi
+%nsplugin_uninstall -d %{_libdir}/kde3/plugins/konqueror %{name}.so %{name}.xpi
+
+# as rpm removes the old obsoleted package files after the triggers
+# are ran, add another trigger to make the links there.
+%triggerpostun -- mozilla-firefox-plugin-macromedia-flash
+%nsplugin_install -f -d %{_libdir}/mozilla-firefox/plugins libflashplayer.so flashplayer.xpt
%clean
rm -rf $RPM_BUILD_ROOT
@@ -75,6 +80,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/09/06 17:51:34 glen
+- update nsplugin macro name
+- add migration trigger sample
+
Revision 1.6 2005/08/23 18:46:11 glen
- up macros requirement for installing cross-arch packages
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/template-browser-plugin.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list