[kdepim] include .desktop Comment= fields for kmail, knode, kontact to make appstream happier
Rex Dieter
rdieter at fedoraproject.org
Thu Jan 22 14:47:14 UTC 2015
commit f4af769509155b37477694c052769c810d6842b1
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Thu Jan 22 08:47:43 2015 -0600
include .desktop Comment= fields for kmail, knode, kontact to make appstream happier
kdepim.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/kdepim.spec b/kdepim.spec
index 8a6f08b..c57458c 100644
--- a/kdepim.spec
+++ b/kdepim.spec
@@ -12,7 +12,7 @@ Name: kdepim
Summary: KDE PIM (Personal Information Manager) applications
Epoch: %{kdepim_epoch}
Version: 4.14.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
URL: http://www.kde.org/
@@ -304,6 +304,11 @@ Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release}
%patch0 -p1 -b .install_kleopatra_headers
+# Ensure app .desktop files have Comment= fields to make appstream happier
+grep '^Comment=' kmail/data/KMail2.desktop || echo "Comment=Send, receive and manage your mail with KMail" >> kmail/data/KMail2.desktop
+grep '^Comment=' knode/KNode.desktop || echo "Comment=Usenet news (nntp) client" >> knode/KNode.desktop
+grep '^Comment=' kontact/src/Kontact.desktop || echo "comment=Kontact is the integrated solution to your personal information management (PIM) needs." >> kontact/src/Kontact.desktop
+
%build
mkdir -p %{_target_platform}
@@ -1040,6 +1045,9 @@ fi
%changelog
+* Thu Jan 22 2015 Rex Dieter <rdieter at fedoraproject.org> - 7:4.14.4-2
+- include .desktop Comment= fields for kmail, knode, kontact to make appstream happier
+
* Fri Jan 16 2015 Rex Dieter <rdieter at fedoraproject.org> - 7:4.14.4-1
- 4.14.4
More information about the scm-commits
mailing list