]> git.pld-linux.org Git - packages/pycharm-community.git/commitdiff
install desktop file pycharm-community-5.0.3-0.4
authorElan Ruusamäe <glen@delfi.ee>
Fri, 22 Jan 2016 22:50:16 +0000 (00:50 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 22 Jan 2016 22:50:16 +0000 (00:50 +0200)
pycharm-community.spec
pycharm.desktop

index 8396d1f83edb47aa298d2a113e24b947eadb6d8b..781931516a42df7c5db287efdd02f8ebb1d7d4c8 100644 (file)
@@ -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
index f95cadbf90db950cf9ad01ec50b0f36dea62a382..741c09764cb764d9c935e5b4214896935413581d 100644 (file)
@@ -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
This page took 0.192459 seconds and 4 git commands to generate.