SPECS: macromedia-flash.spec - add nice migration triggers

glen glen at pld-linux.org
Tue Sep 6 19:55:24 CEST 2005


Author: glen                         Date: Tue Sep  6 17:55:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add nice migration triggers

---- Files affected:
SPECS:
   macromedia-flash.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/macromedia-flash.spec
diff -u SPECS/macromedia-flash.spec:1.36 SPECS/macromedia-flash.spec:1.37
--- SPECS/macromedia-flash.spec:1.36	Wed Aug 24 13:35:04 2005
+++ SPECS/macromedia-flash.spec	Tue Sep  6 19:55:19 2005
@@ -14,7 +14,7 @@
 Name:		%{base_name}-installer
 %endif
 Version:	%{_ver_major}.%{_ver_minor}.%{_ver_patch}
-Release:	2.29%{?with_license_agreement:wla}
+Release:	2.36%{?with_license_agreement:wla}
 License:	Free to use, non-distributable
 Group:		X11/Applications/Multimedia
 %if %{with license_agreement}
@@ -25,7 +25,7 @@
 %endif
 URL:		http://www.macromedia.com/software/flashplayer/
 %if %{with license_agreement}
-BuildRequires:	rpmbuild(macros) >= 1.235
+BuildRequires:	rpmbuild(macros) >= 1.236
 %endif
 Requires:	browser-plugins(%{_target_cpu})
 %if %{without license_agreement}
@@ -130,6 +130,16 @@
 %triggerun -- opera
 %nsplugin_uninstall -d %{_libdir}/opera/plugins libflashplayer.so
 
+# as rpm removes the old obsoleted package files after the triggers
+# above 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
+
+%triggerpostun -- mozilla-plugin-macromedia-flash
+%nsplugin_install -f -d %{_libdir}/mozilla/plugins libflashplayer.so flashplayer.xpt
+
+%triggerpostun -- konqueror-plugin-macromedia-flash
+%nsplugin_install -f -d %{_libdir}/kde3/plugins/konqueror libflashplayer.so
 %endif
 
 %files
@@ -150,6 +160,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2005/09/06 17:55:19  glen
+- add nice migration triggers
+
 Revision 1.36  2005/08/24 11:35:04  glen
 - split version to major and minor vers
 - macros not needed for installer package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/macromedia-flash.spec?r1=1.36&r2=1.37&f=u




More information about the pld-cvs-commit mailing list