[packages/hipchat] fix desktop file exec path
glen
glen at pld-linux.org
Wed Oct 16 20:12:36 CEST 2013
commit 435b876d2c113cac9696fd37acbc44f29660f02c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 16 21:12:28 2013 +0300
fix desktop file exec path
hipchat.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/hipchat.spec b/hipchat.spec
index 9a6a03a..9192c08 100644
--- a/hipchat.spec
+++ b/hipchat.spec
@@ -1,6 +1,6 @@
# TODO
# - probably can use a lot of system libs
-Summary: Persistent group chat using XMPP
+Summary: Group chat and IM - built for teams
Name: hipchat
Version: 1.99.894
Release: 0.1
@@ -14,6 +14,7 @@ Source1: http://downloads.hipchat.com/linux/arch/%{name}-x86_64.tar.xz
NoSource: 1
URL: https://www.hipchat.com/linux
BuildRequires: rpmbuild(macros) >= 1.596
+BuildRequires: sed >= 4.0
Requires: desktop-file-utils
Requires: gtk-update-icon-cache
Requires: hicolor-icon-theme
@@ -52,6 +53,7 @@ Persistent group chat using XMPP.
# simplify for install
mv opt/HipChat/{bin,lib,share/fonts/truetype} .
+%{__sed} -i -e '/^Exec=.*/ s,^Exec=.*,Exec=%{_bindir}/%{name},' usr/share/applications/%{name}.desktop
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hipchat.git/commitdiff/435b876d2c113cac9696fd37acbc44f29660f02c
More information about the pld-cvs-commit
mailing list