[tomboy] Include the .desktop file.

Thomas Moschny thm at fedoraproject.org
Thu Jun 2 21:26:11 UTC 2011


commit bb1b142542b29ea9bb1899ef9c3c465b2d08a2ee
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Thu Jun 2 11:19:20 2011 +0200

    Include the .desktop file.

 tomboy.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tomboy.spec b/tomboy.spec
index 7190573..5f62d19 100644
--- a/tomboy.spec
+++ b/tomboy.spec
@@ -26,6 +26,7 @@ BuildRequires:  mono-devel
 BuildRequires:  gettext
 BuildRequires:  gnome-doc-utils
 BuildRequires:  mono-addins-devel
+BuildRequires:  desktop-file-utils
 
 Requires: gtkspell
 Requires(pre): GConf2
@@ -73,8 +74,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 chmod a+x $RPM_BUILD_ROOT%{_libdir}/%{name}/*.exe
 chmod a+x $RPM_BUILD_ROOT%{_libdir}/%{name}/addins/*.dll
 
-# don't need these
-rm $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/tomboy.desktop
 
 %find_lang %name --with-gnome
 
@@ -118,6 +118,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_datadir}/icons/hicolor/*/apps/tomboy.*
 %{_datadir}/icons/hicolor/*/mimetypes/*
 %{_datadir}/mime/packages/tomboy.xml
+%{_datadir}/applications/tomboy.desktop
 %{_sysconfdir}/gconf/schemas/tomboy.schemas
 
 %files devel
@@ -128,6 +129,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 * Wed Jun  1 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.6.0-1
 - Update to 1.6.0.
 - Simply create the missing dir instead of patching Makefile.am.
+- Include the .desktop file.
 
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list