diff --git a/ghostview.changes b/ghostview.changes index 43b0bac..4aab3b3 100644 --- a/ghostview.changes +++ b/ghostview.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 5 14:36:24 CEST 2007 - coolo@suse.de + +- put desktop file and icon into package + ------------------------------------------------------------------- Thu Nov 9 16:48:43 CET 2006 - werner@suse.de diff --git a/ghostview.desktop b/ghostview.desktop new file mode 100644 index 0000000..84851d4 --- /dev/null +++ b/ghostview.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GhostView +MimeType=application/pdf;application/postscript;image/x-eps; +GenericName=PostScript Viewer +Exec=ghostview +Icon=gv +Type=Application +Terminal=false +X-KDE-StartupNotify=false diff --git a/ghostview.spec b/ghostview.spec index 25fb466..e7f34d8 100644 --- a/ghostview.spec +++ b/ghostview.spec @@ -1,7 +1,7 @@ # # spec file for package ghostview (Version 1.5) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,7 +12,7 @@ Name: ghostview BuildRequires: desktop-data-SuSE update-desktop-files xorg-x11 xorg-x11-devel -License: GNU General Public License (GPL) - all versions +License: GPL v2 or later Group: Productivity/Publishing/PS Provides: gsview ghstview Obsoletes: gsview @@ -20,9 +20,11 @@ Requires: ghostscript_x11 Conflicts: gs_serv gs_vga Autoreqprov: on Version: 1.5 -Release: 223 +Release: 275 Summary: Ghostview Source: ghostview-1.5.tar.bz2 +Source1: ghostview.desktop +Source2: gv.png Patch: ghostview-1.5.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} @@ -59,24 +61,21 @@ rm -rf %{buildroot} make install DESTDIR=%{buildroot} make install.man DESTDIR=%{buildroot} %suse_update_desktop_file -i ghostview Office Viewer -if test -e /usr/share/pixmaps/gv.png; then - rm %{buildroot}/usr/share/pixmaps/gv.png - > filelist -else - echo /usr/share/pixmaps/gv.png > filelist -fi %clean rm -rf %{buildroot} -%files -f filelist +%files %defattr(-,root,root) /usr/share/applications/ghostview.desktop +/usr/share/pixmaps/gv.png %{_bindir}/ghostview %config %{_appdefdir}/Ghostview %doc %{_mandir}/man1/ghostview.1x.gz -%changelog -n ghostview +%changelog +* Thu Jul 05 2007 - coolo@suse.de +- put desktop file and icon into package * Thu Nov 09 2006 - werner@suse.de - Get file stat before using it (bug #216970) * Thu Aug 24 2006 - werner@suse.de diff --git a/gv.png b/gv.png new file mode 100644 index 0000000..4e01e92 --- /dev/null +++ b/gv.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1aacc95b71fc34b219ba8ec8afbd15fb84567964b6dcb9048599822aaba14f00 +size 344