[packages/slack-desktop] install desktop file

glen glen at pld-linux.org
Wed Dec 9 19:57:50 CET 2015


commit deb04bd92bc800f9bd339fa08bc447d5b477adfc
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 9 20:57:45 2015 +0200

    install desktop file

 slack-desktop.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/slack-desktop.spec b/slack-desktop.spec
index 0e77cba..dbe05e8 100644
--- a/slack-desktop.spec
+++ b/slack-desktop.spec
@@ -7,7 +7,7 @@
 Summary:	Desktop client for Slack
 Name:		slack-desktop
 Version:	1.2.6
-Release:	0.2
+Release:	0.3
 License:	?
 Group:		X11/Applications
 Source0:	https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-%{version}-0.1.fc21.x86_64.rpm
@@ -44,11 +44,14 @@ mv slack/LICENSE* .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir},%{_desktopdir},%{_pixmapsdir}}
 
 cp -a slack/* $RPM_BUILD_ROOT%{_appdir}
 ln -s %{_appdir}/slack $RPM_BUILD_ROOT%{_bindir}
 
+cp -p slack.desktop $RPM_BUILD_ROOT%{_desktopdir}
+cp -p slack.png $RPM_BUILD_ROOT%{_pixmapsdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -62,6 +65,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENSE LICENSES.chromium.html
 %attr(755,root,root) %{_bindir}/slack
+%{_desktopdir}/slack.desktop
+%{_pixmapsdir}/slack.png
 %dir %{_appdir}
 %{_appdir}/version
 %{_appdir}/*.bin
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/slack-desktop.git/commitdiff/deb04bd92bc800f9bd339fa08bc447d5b477adfc



More information about the pld-cvs-commit mailing list