]> git.pld-linux.org Git - packages/gallery-remote.git/commitdiff
- separate desktop from spec; pl in desktop
authorankry <ankry@pld-linux.org>
Mon, 5 Sep 2005 04:15:57 +0000 (04:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gallery-remote.spec -> 1.7

gallery-remote.spec

index 9555ee28b572d31af9c337e9146731c9cd2f5cf0..2a490affcbd483d3ac00a82a932348ca6dbc6879 100644 (file)
@@ -8,6 +8,7 @@ Group:          Applications/Publishing
 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 @@ cd %{_appdir}
 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
This page took 0.09491 seconds and 4 git commands to generate.