devel/f-spot f-spot-0.4.4-desktop.patch, NONE, 1.1 f-spot.spec, 1.76, 1.77

Orion Poplawski orion at fedoraproject.org
Tue Oct 28 23:06:43 UTC 2008


Author: orion

Update of /cvs/pkgs/devel/f-spot
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10175

Modified Files:
	f-spot.spec 
Added Files:
	f-spot-0.4.4-desktop.patch 
Log Message:
* Tue Oct 28 2008 Orion Poplawski <orion at cora.nwra.com.com> - 0.4.4-7
- Run desktop-file-validate against desktop files


f-spot-0.4.4-desktop.patch:

--- NEW FILE f-spot-0.4.4-desktop.patch ---
--- f-spot-0.4.4/f-spot-import.desktop.in.in	2008-05-11 07:42:06.000000000 -0600
+++ f-spot/f-spot-import.desktop.in.in	2008-10-28 16:57:51.000000000 -0600
@@ -6,7 +6,7 @@
 NoDisplay=true
 Exec=f-spot-import %u
 Icon=f-spot
-MimeType=x-content/image-dcf;x-content/image-picturecd
+MimeType=x-content/image-dcf;x-content/image-picturecd;
 StartupNotify=true
 Terminal=false
 Type=Application


Index: f-spot.spec
===================================================================
RCS file: /cvs/pkgs/devel/f-spot/f-spot.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- f-spot.spec	27 Oct 2008 17:31:51 -0000	1.76
+++ f-spot.spec	28 Oct 2008 23:06:12 -0000	1.77
@@ -1,6 +1,6 @@
 Name:           f-spot
 Version:        0.4.4
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Photo management application
 
 Group:          Applications/Multimedia
@@ -17,6 +17,8 @@
 Patch3:		f-spot-0.4.4-link-system-mono-addins.patch
 # fix a missing icon
 Patch4:		missing-icon.patch
+# fix MimeType entry in f-spot-import.desktop (from SVN)
+Patch5:         f-spot-0.4.4-desktop.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  mono-devel mono-web mono-data mono-data-sqlite lcms-devel
@@ -30,6 +32,7 @@
 BuildRequires:  gnome-doc-utils
 BuildRequires:  ndesk-dbus-glib-devel
 BuildRequires:  mono-addins-devel
+BuildRequires:  desktop-file-utils
 Requires:       sqlite >= 3.3.1
 Requires:       lcms
 Requires:       dcraw
@@ -61,6 +64,7 @@
 %patch2 -p1 -b .Makefile-destdir
 %patch3 -p1 -b .link-system-mono-addins
 %patch4 -p1 -b .missing-icon
+%patch5 -p1 -b .desktop
 
 # restore timestamps
 touch -r configure.in.stamp configure.in
@@ -85,6 +89,11 @@
 chmod a+x $RPM_BUILD_ROOT%{_libdir}/%{name}/*.exe
 chmod a+x $RPM_BUILD_ROOT%{_libdir}/%{name}/*.dll
 
+for file in $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
+do
+   desktop-file-validate $file
+done
+
 %find_lang %name
 
 %clean
@@ -123,6 +132,9 @@
 %{_libdir}/gio-sharp-unstable
 
 %changelog
+* Tue Oct 28 2008 Orion Poplawski <orion at cora.nwra.com.com> - 0.4.4-7
+- Run desktop-file-validate against desktop files
+
 * Mon Oct 27 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.4.4-6
 - rebuild against new gnome-sharp
 




More information about the scm-commits mailing list