]> git.pld-linux.org Git - packages/hipchat.git/commitdiff
fix desktop file exec path master
authorElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 18:12:28 +0000 (21:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 18:12:28 +0000 (21:12 +0300)
hipchat.spec

index 9a6a03a014962a1e18bc8d41346b705cfde06609..9192c08be86525979b08ac87a66da248b8f34fba 100644 (file)
@@ -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
This page took 0.073804 seconds and 4 git commands to generate.