2 # _with_pcd - with Kodak PhotoCD support
3 Summary: console viewer for many graphics formats
4 Summary(de): Konsolenbetrachter für viele Grafikformate
5 Summary(es): Visualizador para muchos formatos de gráficos (consola)
6 Summary(fr): Visualiseur d'image en mode console, pour de nombreux formats graphiques
7 Summary(pl): Konsolowa przegl±darka obrazków w ró¿nych formatach
8 Summary(pt_BR):Visualizador para muitos formatos de gráficos (console)
9 Summary(tr): Birçok resim formatýný görüntüleyebilen konsol aracý
14 Group: Applications/Graphics
15 Group(de): Applikationen/Grafik
16 Group(pl): Aplikacje/Grafika
17 Source0: ftp://metalab.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tar.gz
18 Patch0: %{name}-DESTDIR.patch
19 Patch1: %{name}-info.patch
21 BuildRequires: libjpeg-devel
22 BuildRequires: libpng >= 1.0.8
23 BuildRequires: svgalib-devel
24 BuildRequires: texinfo
25 BuildRequires: zlib-devel
26 %{?_with_pcd:BuildRequires: libpcd-devel}
27 Requires: /usr/X11R6/lib/X11/rgb.txt
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Exclusivearch: %{ix86} alpha
32 Zgv is a picture viewer capable of displaying GIF files as defined by
33 CompuServe, with the exceptions listed in the RESTRICTIONS section. It
34 is also capable of displaying JPEG/JFIF files using the Independant
35 JPEG Group's JPEG software, PBM/PGM/PPM files as used by pbmplus and
36 netpbm, Microsoft Windows and OS/2 BMP files, Targa (TGA) files, the
37 new PNG format%{?_with_pcd: and PhotoCD}. It can display TIFF files if
38 you install netpbm-progs (tifftopnm).
41 zgv ist ein Bild-Viewer, der GIF-Dateien nach der
42 CompuServe-Definition anzeigen kann, abgesehen von den Ausnahmen im
43 Teil RESTRICTIONS. Ferner kann er JPEG/JFIF-Dateien unter Verwendung
44 der JPEG-Software der unabhängigen JPEG-Group, PBM/PGM/PPM-Dateien wie
45 sie pbmplus und netpbm benutzen, sowie Microsoft Windows und OS/2
46 BMB-Dateien, Targa (TGA) und das neue PNG-Format anzeigen.
49 Zgv es un visualizador de imágenes capaz de enseñar archivos tipo
50 "GIF" como las definidas por la CompuServe. También es capaz de
51 enseñar archivos JPEG/JFIF usando "Independant JPEG Group JPEG
52 software", archivos PBM/PGM/PPM como los usados por la pbmplus y
53 netpbm, archivos Microsoft Windows y OS/2 BMP, archivos Targa (TGA), y
57 Zgv est un visualisateur de fichiers GIF tels que ceux qui sont
58 définis par CompuServe, avec les exceptions listées dans la section
59 RESTRICTIONS. Il peut aussi afficher les fichiers JPEG/JTIF utilisés
60 par le logiciel JPEG de l'Independant JPEG Group, les fichiers
61 PBM/PGM/PPM utilisés par pbmplus et netpbm, les fichiers BMP de
62 Microsoft Windows et OS/2, les fichiers Targa (TGA) et le nouveau
66 Zgv potrafi wy¶wietlaæ obrazki w formacie CompuServe GIF (z wyj±tkami
67 opisanymi w rozdziale RESTRICTIONS), JPEG/JFIF, PBM/PGM/PPM, BMP (z
68 Microsoft Windows i OS/2), Targa (TGA), PNG%{?_with_pcd: i PhotoCD}.
69 Mo¿e te¿ wy¶wietlaæ pliki TIFF po zainstalowaniu pakietu netpbm-progs
73 Zgv é um visualizador de imagens capaz de mostrar arquivos tipo "GIF"
74 como as definidas pela CompuServe. Ele também é capaz de mostrar
75 arquivos JPEG/JFIF usando o "Independent JPEG Group JPEG software",
76 arquivos PBM/PGM/PPM como os usados pela pbmplus e netpbm, arquivos
77 Microsoft Windows e OS/2 BMP, arquivos Targa (TGA), e o novo formato
81 Zgv, konsol ortamýndan CompuServe'in GIF formatý (RESTRICTIONS ile
82 belirtilenler dýþýnda), JPEG/JFIF, PGM/PBM/PPM, Bitmap (BMP), Targa
83 (TGA) ve yeni PNG formatlarýndaki resimleri görüntüleyebilmektedir.
90 %if %{?_with_pcd:1}%{!?_with_pcd:0}
91 sed -e 's@#\(PCDDEF=.*\)@\1@' config.mk > config.mk.new
92 mv -f config.mk.new config.mk
96 %{__make} all OPTFLAGS="%{rpmcflags}" \
97 INCDIRS="-I%{_includedir}" \
98 RGB_DB="%{_prefix}/X11R6/lib/X11/rgb.txt"
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_sysconfdir}
107 DESTDIR=$RPM_BUILD_ROOT \
109 MANDIR=%{_mandir}/man1 \
112 install doc/sample.zgvrc $RPM_BUILD_ROOT%{_sysconfdir}/zgv.conf
114 gzip -9nf TODO README README.fonts ChangeLog NEWS
117 rm -rf $RPM_BUILD_ROOT
120 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
123 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
126 %defattr(644,root,root,755)
127 %doc {README,README.fonts,ChangeLog,TODO,NEWS}.gz
128 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/zgv.conf
129 %attr(755,root,root) %{_bindir}/%{name}