Author: freetz                       Date: Thu Sep 15 19:34:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.7.6, url updated, update-mime-database/update-desktop-database
  post/postun added

---- Files affected:
SPECS:
   kino.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/kino.spec
diff -u SPECS/kino.spec:1.22 SPECS/kino.spec:1.23
--- SPECS/kino.spec:1.22        Thu Feb 10 19:45:53 2005
+++ SPECS/kino.spec     Thu Sep 15 21:34:29 2005
@@ -2,12 +2,12 @@
 Summary:       DV editing utility
 Summary(pl):   Narzędzie do edycji DV
 Name:          kino
-Version:       0.7.5
+Version:       0.7.6
 Release:       1
 License:       GPL
 Group:         Applications/Multimedia
-Source0:       
http://kino.schirmacher.de/filemanager/download/42/%{name}-%{version}.tar.gz
-# Source0-md5: 592f90be63feb7e63940cedd68edcf79
+Source0:       http://dl.sourceforge.net/kino/%{name}-%{version}.tar.gz
+# Source0-md5: c1fa929096f5a754455f5a3dd33dd203
 Patch0:                %{name}-desktop.patch
 URL:           http://kino.schirmacher.de/
 BuildRequires: autoconf >= 2.52
@@ -20,6 +20,7 @@
 BuildRequires: libstdc++-devel
 BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
+Requires(post,postun):  shared-mime-info
 Requires:      libavc1394 >= 0.4.1
 Requires:      libdv >= 0.102
 Requires:      libglade2 >= 2.0
@@ -89,6 +90,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+umask 022
+update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database 
>/dev/null 2>&1 ||:
+
+%postun
+umask 022                                                                      
                    
+update-mime-database %{_datadir}/mime >/dev/null 2>&1
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database 
>/dev/null 2>&1
+
 %post jogshuttle 
 hotplug-update-usb.usermap
 
@@ -106,6 +117,7 @@
 %{_datadir}/%{name}/*.jpeg
 %{_datadir}/%{name}/help
 %attr(755,root,root) %{_datadir}/%{name}/scripts
+%{_datadir}/mime/packages/*.xml
 %{_desktopdir}/*
 %{_pixmapsdir}/*
 
@@ -124,6 +136,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2005/09/15 19:34:29  freetz
+- 0.7.6, url updated, update-mime-database/update-desktop-database
+  post/postun added
+
 Revision 1.22  2005/02/10 18:45:53  darekr
 - missing dir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kino.spec?r1=1.22&r2=1.23&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to