[packages/pycharm-community: 5/6] install desktop file
glen
glen at pld-linux.org
Mon Feb 1 17:01:09 CET 2016
commit ec04e6e4a55863176ade752bee52d10bce67d630
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Jan 23 00:50:16 2016 +0200
install desktop file
pycharm-community.spec | 12 ++++++------
pycharm.desktop | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/pycharm-community.spec b/pycharm-community.spec
index 8396d1f..7819315 100644
--- a/pycharm-community.spec
+++ b/pycharm-community.spec
@@ -3,14 +3,14 @@
Summary: Python IDE for Professional Developers
Name: %{product}-community
Version: 5.0.3
-Release: 0.3
+Release: 0.4
# TODO: figure out what's the licensing and redistribution
License: ?
Group: Development/Tools
Source0: https://download.jetbrains.com/python/%{name}-%{version}.tar.gz
# NoSource0-md5: 9a62285ee71fdc00a928e131e4d55839
NoSource: 0
-#Source1: %{product}.desktop
+Source1: %{product}.desktop
Source2: charm.py
Patch0: pld.patch
URL: https://www.jetbrains.com/pycharm/
@@ -80,8 +80,8 @@ install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_pixmapsdir},%{_desktopdir}}
cp -l build.txt $RPM_BUILD_ROOT/cp-test && l=l && rm -f $RPM_BUILD_ROOT/cp-test
cp -a$l bin help helpers lib license plugins $RPM_BUILD_ROOT%{_appdir}
ln -s %{_pixmapsdir}/%{product}.png $RPM_BUILD_ROOT%{_appdir}/bin/%{product}.png
-cp -p %{product}.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{product}.png
-#cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{product}.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
install -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
%clean
@@ -117,5 +117,5 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_appdir}/lib/libpty/linux
%dir %{_appdir}/lib/libpty/linux/x86*
%attr(755,root,root) %{_appdir}/lib/libpty/linux/x86*/libpty.so
-#%{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{product}.png
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
diff --git a/pycharm.desktop b/pycharm.desktop
index f95cadb..741c097 100644
--- a/pycharm.desktop
+++ b/pycharm.desktop
@@ -2,8 +2,8 @@
Version=1.0
Type=Application
Name=PyCharm Community Edition
-Icon=/usr/lib/pycharm-community/bin/pycharm.png
-Exec="/usr/lib/pycharm-community/bin/pycharm.sh" %f
+Icon=pycharm-community
+Exec=pycharm-community %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pycharm-community.git/commitdiff/9fc6a42b010b53691be52a089f4704e328f75a95
More information about the pld-cvs-commit
mailing list