OBS User unknown 2007-07-05 16:39:46 +00:00 committed by Git OBS Bridge
parent 6dae4b68e2
commit b0ed51214c
4 changed files with 26 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 5 14:43:45 CEST 2007 - coolo@suse.de
- put desktop file and icon into the package
-------------------------------------------------------------------
Fri Jun 1 17:12:46 CEST 2007 - dmueller@suse.de

10
gv.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=GV
MimeType=application/pdf;application/postscript;image/x-eps;application/illustrator;
GenericName=Postscript Viewer
Exec=gv
Icon=gv
Type=Application
Terminal=false
X-KDE-StartupNotify=false

3
gv.png Normal file
View File

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

17
gv.spec
View File

@ -12,7 +12,7 @@
Name: gv
BuildRequires: desktop-data-SuSE update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel
License: GNU General Public License (GPL)
License: GPL v2 or later
Group: Productivity/Publishing/PS
Requires: ghostscript_x11
Conflicts: gs_serv gs_vga
@ -23,8 +23,10 @@ Autoreqprov: on
URL: http://wwwthep.physik.uni-mainz.de/~plass/gv/
Summary: A Program to View PostScript Files
Version: 3.5.8
Release: 1224
Release: 1232
Source0: gv-3.5.8.tar.bz2
Source1: gv.desktop
Source2: gv.png
Patch0: gv-3.5.8-deb.patch
Patch1: gv-3.5.8.dif
Patch2: gv-3.5.8-security.patch
@ -97,16 +99,11 @@ iconv -f EUC-JP -t SJIS < %{buildroot}%{_x11data}/ja/app-defaults/GV \
iconv -f EUC-JP -t UTF-8 < %{buildroot}%{_x11data}/ja/app-defaults/GV \
> %{buildroot}%{_x11data}/ja_JP.UTF-8/app-defaults/GV
%suse_update_desktop_file -i gv 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
%files -f filelist
%files
%defattr(-,root,root)
/usr/share/applications/gv.desktop
/usr/share/pixmaps/gv.png
%dir %{_x11data}/gv/
%config %{_x11data}/gv/gv_system.ad
%config %{_x11data}/gv/gv_user.ad
@ -143,6 +140,8 @@ fi
%dir %{_defaultdocdir}/gv/
%changelog
* Thu Jul 05 2007 - coolo@suse.de
- put desktop file and icon into the package
* Fri Jun 01 2007 - dmueller@suse.de
- fix buildrequires
* Fri Nov 17 2006 - werner@suse.de