rdieter pushed to konversation (master). "add Comment= key to .desktop file"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu May 28 17:13:16 UTC 2015


From 58d5fe4daf78f8495408dce0fbffe2dc554b84dd Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Thu, 28 May 2015 12:13:05 -0500
Subject: add Comment= key to .desktop file


diff --git a/konversation.spec b/konversation.spec
index a20389d..7098d49 100644
--- a/konversation.spec
+++ b/konversation.spec
@@ -1,7 +1,7 @@
 
 Name:           konversation
 Version:        1.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A user friendly IRC client
 
 License:        GPLv2+
@@ -72,6 +72,13 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
 %find_lang konversation
 
+# Add Comment key to .desktop file
+grep '^Comment=' %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop || \
+desktop-file-install \
+  --dir=%{buildroot}%{_kf5_datadir}/applications \
+  --set-comment="%{summary}" \
+  %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
+
 
 %check
 desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.konversation.desktop
@@ -106,6 +113,9 @@ fi
 
 
 %changelog
+* Thu May 28 2015 Rex Dieter <rdieter at fedoraproject.org> 1.6-3
+- add Comment= key to .desktop file
+
 * Sat May 02 2015 Kalev Lember <kalevlember at gmail.com> - 1.6-2
 - Rebuilt for GCC 5 C++11 ABI change
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/konversation.git/commit/?h=master&id=58d5fe4daf78f8495408dce0fbffe2dc554b84dd


More information about the scm-commits mailing list