SPECS: gallery-remote.spec - separate desktop from spec; pl in des...

ankry ankry at pld-linux.org
Mon Sep 5 06:16:02 CEST 2005


Author: ankry                        Date: Mon Sep  5 04:16:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate desktop from spec; pl in desktop

---- Files affected:
SPECS:
   gallery-remote.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/gallery-remote.spec
diff -u SPECS/gallery-remote.spec:1.6 SPECS/gallery-remote.spec:1.7
--- SPECS/gallery-remote.spec:1.6	Mon Sep  5 01:04:08 2005
+++ SPECS/gallery-remote.spec	Mon Sep  5 06:15:57 2005
@@ -9,6 +9,7 @@
 Source0:	http://dl.sourceforge.net/gallery/GalleryRemote.%{version}.jar
 # Source0-md5:	763af4f97120f5142222961f02e3943d
 Source1:	%{name}.png
+Source2:	%{name}.desktop
 URL:		http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Gallery%20Remote
 BuildRequires:	sed >= 4.0
 Requires:	ImageMagick
@@ -74,18 +75,7 @@
 exec java -cp GalleryRemote.jar com.gallery.GalleryRemote.GalleryRemote
 EOF
 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
-cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-[Desktop Entry]
-Encoding=UTF-8
-Name=Gallery Remote
-Comment=Gallery Remote - client-side frontend to Gallery
-Icon=%{name}.png
-Exec=%{name}
-Terminal=false
-Type=Application
-Categories=Graphics;
-# vi: encoding=utf-8
-EOF
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -104,6 +94,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/09/05 04:15:57  ankry
+- separate desktop from spec; pl in desktop
+
 Revision 1.6  2005/09/04 23:04:08  glen
 - need chdir otherwise .properties files cannot be found
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gallery-remote.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list