SHA256
1
0
forked from pool/ghostview
OBS User unknown 2007-07-05 16:37:23 +00:00 committed by Git OBS Bridge
parent 609690fcc3
commit fde049723a
4 changed files with 28 additions and 11 deletions

View File

@ -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 Thu Nov 9 16:48:43 CET 2006 - werner@suse.de

10
ghostview.desktop Normal file
View File

@ -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

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghostview (Version 1.5) # 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 # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -12,7 +12,7 @@
Name: ghostview Name: ghostview
BuildRequires: desktop-data-SuSE update-desktop-files xorg-x11 xorg-x11-devel 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 Group: Productivity/Publishing/PS
Provides: gsview ghstview Provides: gsview ghstview
Obsoletes: gsview Obsoletes: gsview
@ -20,9 +20,11 @@ Requires: ghostscript_x11
Conflicts: gs_serv gs_vga Conflicts: gs_serv gs_vga
Autoreqprov: on Autoreqprov: on
Version: 1.5 Version: 1.5
Release: 223 Release: 275
Summary: Ghostview Summary: Ghostview
Source: ghostview-1.5.tar.bz2 Source: ghostview-1.5.tar.bz2
Source1: ghostview.desktop
Source2: gv.png
Patch: ghostview-1.5.dif Patch: ghostview-1.5.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %{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 DESTDIR=%{buildroot}
make install.man DESTDIR=%{buildroot} make install.man DESTDIR=%{buildroot}
%suse_update_desktop_file -i ghostview Office Viewer %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 %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%files -f filelist %files
%defattr(-,root,root) %defattr(-,root,root)
/usr/share/applications/ghostview.desktop /usr/share/applications/ghostview.desktop
/usr/share/pixmaps/gv.png
%{_bindir}/ghostview %{_bindir}/ghostview
%config %{_appdefdir}/Ghostview %config %{_appdefdir}/Ghostview
%doc %{_mandir}/man1/ghostview.1x.gz %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 * Thu Nov 09 2006 - werner@suse.de
- Get file stat before using it (bug #216970) - Get file stat before using it (bug #216970)
* Thu Aug 24 2006 - werner@suse.de * Thu Aug 24 2006 - werner@suse.de

3
gv.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1aacc95b71fc34b219ba8ec8afbd15fb84567964b6dcb9048599822aaba14f00
size 344