From: ankry Date: Mon, 5 Sep 2005 04:15:57 +0000 (+0000) Subject: - separate desktop from spec; pl in desktop X-Git-Tag: auto/ac/gallery-remote-1_5_1-b32_1~11 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgallery-remote.git;a=commitdiff_plain;h=1e7620e60da5daee981d43e7387e31a78805b21c - separate desktop from spec; pl in desktop Changed files: gallery-remote.spec -> 1.7 --- diff --git a/gallery-remote.spec b/gallery-remote.spec index 9555ee2..2a490af 100644 --- a/gallery-remote.spec +++ b/gallery-remote.spec @@ -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 < $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