]> git.pld-linux.org Git - packages/zgv.git/blob - zgv.spec
Massive attack. We use -O0 instead -O flags while debug enabled.
[packages/zgv.git] / zgv.spec
1 Summary:        console viewer for many graphics formats
2 Summary(de):    Konsolenbetrachter für viele Grafikformate
3 Summary(fr):    Visualiseur d'image en mode console, pour de nombreux formats graphiques
4 Summary(pl):    Konsolowa przegl±darka obrazków w ró¿nych formatach
5 Summary(tr):    Birçok resim formatýný görüntüleyebilen konsol aracý
6 Name:           zgv
7 Version:        5.2
8 Release:        1
9 License:        GPL
10 Group:          Applications/Graphics
11 Group(de):      Applikationen/Grafik
12 Group(pl):      Aplikacje/Grafika
13 Source0:        ftp://metalab.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-DESTDIR.patch
15 Patch1:         %{name}-info.patch
16 BuildRequires:  svgalib-devel
17 BuildRequires:  libjpeg-devel
18 BuildRequires:  libpng >= 1.0.8
19 BuildRequires:  zlib-devel
20 BuildRequires:  gawk
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Exclusivearch:  %{ix86} alpha
23
24 %description
25 Zgv is a picture viewer capable of displaying GIF files as defined by
26 CompuServe, with the exceptions listed in the RESTRICTIONS section. It
27 is also capable of displaying JPEG/JFIF files using the Independant
28 JPEG Group's JPEG software, PBM/PGM/PPM files as used by pbmplus and
29 netpbm, Microsoft Windows and OS/2 BMP files, Targa (TGA) files, and
30 the new PNG format.
31
32 %description -l de
33 zgv ist ein Bild-Viewer, der GIF-Dateien nach der
34 CompuServe-Definition anzeigen kann, abgesehen von den Ausnahmen im
35 Teil RESTRICTIONS. Ferner kann er JPEG/JFIF-Dateien unter Verwendung
36 der JPEG-Software der unabhängigen JPEG-Group, PBM/PGM/PPM-Dateien wie
37 sie pbmplus und netpbm benutzen, sowie Microsoft Windows und OS/2
38 BMB-Dateien, Targa (TGA) und das neue PNG-Format anzeigen.
39
40 %description -l fr
41 Zgv est un visualisateur de fichiers GIF tels que ceux qui sont
42 définis par CompuServe, avec les exceptions listées dans la section
43 RESTRICTIONS. Il peut aussi afficher les fichiers JPEG/JTIF utilisés
44 par le logiciel JPEG de l'Independant JPEG Group, les fichiers
45 PBM/PGM/PPM utilisés par pbmplus et netpbm, les fichiers BMP de
46 Microsoft Windows et OS/2, les fichiers Targa (TGA) et le nouveau
47 format PNG.
48
49 %description -l pl
50 Zgv potrafi wy¶wietlaæ obrazki w formacie CompuServe GIF (z wyj±tkami
51 opisanymi w rozdziale RESTRICTIONS), JPEG/JFIF, PBM/PGM/PPM, BMP (z
52 Microsoft Windows i OS/2), Targa (TGA) i PNG.
53
54 %description -l tr
55 Zgv, konsol ortamýndan CompuServe'in GIF formatý (RESTRICTIONS ile
56 belirtilenler dýþýnda), JPEG/JFIF, PGM/PBM/PPM, Bitmap (BMP), Targa
57 (TGA) ve yeni PNG formatlarýndaki resimleri görüntüleyebilmektedir.
58
59 %prep
60 %setup  -q
61 %patch0 -p1
62 %patch1 -p1
63
64 %build
65
66 %{__make} all OPTFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
67         INCDIRS="-I%{_includedir}" \
68         RGB_DB="%{_prefix}/X11R6/lib/X11/rgb.txt"
69
70 %{__make} info
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT \
77         BINDIR=%{_bindir} \
78         MANDIR=%{_mandir}/man1 \
79         INFODIR=%{_infodir}
80
81 gzip -9nf TODO README README.fonts ChangeLog NEWS doc/sample.zgvrc
82
83 %post
84 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
85
86 %postun
87 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc {README,README.fonts,ChangeLog,TODO,NEWS,doc/sample.zgvrc}.gz
95 %attr(755,root,root) %{_bindir}/%{name}
96 %{_mandir}/man1/*
97 %{_infodir}/*
This page took 0.031301 seconds and 3 git commands to generate.