Author: japhy                        Date: Sun Mar 26 13:13:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Added update-mime-database, set R: appropriately.

---- Files affected:
SPECS:
   bmpx.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/bmpx.spec
diff -u SPECS/bmpx.spec:1.48 SPECS/bmpx.spec:1.49
--- SPECS/bmpx.spec:1.48        Wed Mar 22 19:10:57 2006
+++ SPECS/bmpx.spec     Sun Mar 26 15:13:33 2006
@@ -32,9 +32,11 @@
 BuildRequires: taglib-devel >= 1.4
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      %{name}-plugins-base = %{version}-%{release}
+Requires:      desktop-file-utils
 Requires:      gstreamer-audio-effects-base
 Requires:      gstreamer-audio-formats
 Requires:      gstreamer-audiosink
+Requires:      shared-mime-info
 Obsoletes:     bmpx-curses
 Obsoletes:     bmpx-remote
 Obsoletes:     bmpx-remote-gtk
@@ -149,6 +151,10 @@
 
 %post
 %update_desktop_database_post
+
+umask 022
+/usr/bin/update-mime-database %{_datadir}/mime || :
+
 %banner %{name} -e << EOF
 Remember to install appropriate GStreamer plugins for files
 you want to play:
@@ -159,6 +165,10 @@
 
 %postun
 %update_desktop_database_postun
+if [ $1 = 0 ]; then
+        umask 022
+        /usr/bin/update-mime-database %{_datadir}/mime
+fi
 
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
@@ -211,6 +221,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2006/03/26 13:13:33  japhy
+- Added update-mime-database, set R: appropriately.
+
 Revision 1.48  2006/03/22 18:10:57  japhy
 - Up to 0.14.2, removed unneeded Patch1
 - HAL support on
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bmpx.spec?r1=1.48&r2=1.49&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to