packages: phpstorm/phpstorm.spec - add desktop file, hardlink if possible o...
glen
glen at pld-linux.org
Fri Mar 11 06:58:25 CET 2011
Author: glen Date: Fri Mar 11 05:58:24 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- add desktop file, hardlink if possible on packaging install stage
---- Files affected:
packages/phpstorm:
phpstorm.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/phpstorm/phpstorm.spec
diff -u packages/phpstorm/phpstorm.spec:1.3 packages/phpstorm/phpstorm.spec:1.4
--- packages/phpstorm/phpstorm.spec:1.3 Fri Mar 11 06:24:04 2011
+++ packages/phpstorm/phpstorm.spec Fri Mar 11 06:58:19 2011
@@ -8,6 +8,7 @@
Source0: http://download.jetbrains.com/webide/PhpStorm-%{version}.tar.gz
# NoSource0-md5: a772dcf0c01231e814817309faf327a3
NoSource: 0
+Source1: %{name}.desktop
Patch0: pld.patch
URL: http://www.jetbrains.com/phpstorm/
BuildRequires: unzip
@@ -46,8 +47,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_pixmapsdir},%{_desktopdir}}
-cp -a bin help lib license plugins $RPM_BUILD_ROOT%{_appdir}
+cp -l build.txt $RPM_BUILD_ROOT/cp-test && l=l && rm -f $RPM_BUILD_ROOT/cp-test
cp -p webide.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+cp -a$l bin help lib license plugins $RPM_BUILD_ROOT%{_appdir}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
ln -s %{_appdir}/bin/PhpStorm.sh $RPM_BUILD_ROOT%{_bindir}/phpstorm
%clean
@@ -69,6 +72,7 @@
%attr(755,root,root) %{_appdir}/bin/fsnotifier
%attr(755,root,root) %{_appdir}/bin/libbreakgen.so
%attr(755,root,root) %{_appdir}/bin/libyjpagent.so
+%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -77,6 +81,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2011/03/11 05:58:19 glen
+- add desktop file, hardlink if possible on packaging install stage
+
Revision 1.3 2011/03/11 05:24:04 glen
- startup script fixes: secure tmpfile, make it not interactive, no diffs on 64bit install paths
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phpstorm/phpstorm.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list