]> git.pld-linux.org Git - packages/clion.git/commitdiff
add desktop file
authorElan Ruusamäe <glen@delfi.ee>
Mon, 26 Jan 2015 20:49:22 +0000 (22:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 26 Jan 2015 20:49:22 +0000 (22:49 +0200)
clion.desktop [new file with mode: 0644]
clion.spec

diff --git a/clion.desktop b/clion.desktop
new file mode 100644 (file)
index 0000000..dd9be67
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=CLion
+Icon=clion
+Exec=clion %f
+Comment=Develop with pleasure!
+Categories=Development;IDE;
+Terminal=false
+StartupWMClass=jetbrains-clion
index 82fe4d83ff28cec5763f2fadf352bf04fb3ba168..69d933b5cb6e2ea02af3dc5a183484cb8c2b98a2 100644 (file)
@@ -13,6 +13,7 @@ Group:                Development/Tools
 Source0:       http://download.jetbrains.com/cpp/clion-%{bid}.tar.gz
 # NoSource0-md5:       af28ecedc672920503013ff457ed38df
 NoSource:      0
+Source1:       %{product}.desktop
 Patch0:                pld.patch
 URL:           http://www.jetbrains.com/clion/
 BuildRequires: jpackage-utils
@@ -75,6 +76,7 @@ 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 lib license plugins $RPM_BUILD_ROOT%{_appdir}
 ln -s %{_pixmapsdir}/%{product}.svg $RPM_BUILD_ROOT%{_appdir}/bin
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 cp -p %{product}.svg $RPM_BUILD_ROOT%{_pixmapsdir}
 ln -s %{_appdir}/bin/%{product}.sh $RPM_BUILD_ROOT%{_bindir}/%{product}
 
@@ -104,6 +106,7 @@ 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}/%{product}.desktop
 %{_pixmapsdir}/%{product}.svg
 
 # TODO: system packages
This page took 0.091492 seconds and 4 git commands to generate.