Author: glen Date: Sun Sep 4 23:01:05 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - added desktop entry
---- Files affected: SPECS: gallery-remote.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: SPECS/gallery-remote.spec diff -u SPECS/gallery-remote.spec:1.4 SPECS/gallery-remote.spec:1.5 --- SPECS/gallery-remote.spec:1.4 Sun Sep 4 21:00:00 2005 +++ SPECS/gallery-remote.spec Mon Sep 5 01:00:57 2005 @@ -3,11 +3,12 @@ Summary(pl): Gallery Remote - frontend do Gallery działający po stronie klienta Name: gallery-remote Version: 1.4.1 -Release: 0.12 +Release: 0.15 License: GPL v2 Group: Applications/Publishing Source0: http://dl.sourceforge.net/gallery/GalleryRemote.%{version}.jar # Source0-md5: 763af4f97120f5142222961f02e3943d +Source1: %{name}.png URL: http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Gallery%20Remote BuildRequires: sed >= 4.0 Requires: ImageMagick @@ -63,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT cd %{name} -install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir}} +install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_pixmapsdir},%{_desktopdir}} cp -a imagemagick img jpegtran lib $RPM_BUILD_ROOT%{_appdir} cp -a defaults.properties rar*.* $RPM_BUILD_ROOT%{_appdir} cp -a *.jar $RPM_BUILD_ROOT%{_appdir} @@ -71,6 +72,19 @@ #!/bin/sh exec java -cp %{_appdir}/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 %clean rm -rf $RPM_BUILD_ROOT @@ -80,6 +94,8 @@ %doc %{name}/{ChangeLog,README,HOWTO.imagemagick,html} %attr(755,root,root) %{_bindir}/* %{_appdir} +%{_desktopdir}/*.desktop +%{_pixmapsdir}/*.png %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -87,6 +103,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2005/09/04 23:00:57 glen +- added desktop entry + Revision 1.4 2005/09/04 19:00:00 qboosh - pl ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/gallery-remote.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
