]> git.pld-linux.org Git - packages/zgv.git/blob - zgv.spec
- masive changes:
[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:        3.2
8 Release:        3
9 Copyright:      GPL
10 Group:          Applications/Graphics
11 Group(pl):      Aplikacje/Grafika
12 Source:         ftp://sunsite.unc.edu/pub/Linux/apps/graphics/viewers/svga/%{name}-%{version}.tar.gz
13 Patch0:         zgv-makefile.patch
14 Patch1:         zgv-info.patch
15 BuildPrereq:    svgalib-devel
16 BuildPrereq:    libjpeg-devel
17 BuildPrereq:    libpng-devel
18 BuildPrereq:    zlib-devel
19 BuildRoot:      /tmp/%{name}-%{version}-root
20 Exclusivearch:  %{ix86} alpha
21
22 %description
23 Zgv is a picture viewer capable of displaying GIF files as defined by
24 CompuServe, with the exceptions listed in the RESTRICTIONS section. It
25 is also capable of displaying JPEG/JFIF files using the Independant
26 JPEG Group's JPEG software, PBM/PGM/PPM files as used by pbmplus and
27 netpbm, Microsoft Windows and OS/2 BMP files, Targa (TGA) files, and
28 the new PNG format.
29
30 %description -l de
31 zgv ist ein Bild-Viewer, der GIF-Dateien nach der CompuServe-Definition 
32 anzeigen kann, abgesehen von den Ausnahmen im Teil RESTRICTIONS. Ferner 
33 kann er JPEG/JFIF-Dateien unter Verwendung der JPEG-Software der 
34 unabhängigen JPEG-Group, PBM/PGM/PPM-Dateien wie sie pbmplus und netpbm 
35 benutzen, sowie Microsoft Windows und OS/2 BMB-Dateien, Targa (TGA) und 
36 das neue PNG-Format anzeigen.
37
38 %description -l fr
39 Zgv est un visualisateur de fichiers GIF tels que ceux qui sont définis
40 par CompuServe, avec les exceptions listées dans la section RESTRICTIONS.
41 Il peut aussi afficher les fichiers JPEG/JTIF utilisés par le logiciel
42 JPEG de l'Independant JPEG Group, les fichiers PBM/PGM/PPM utilisés par
43 pbmplus et netpbm, les fichiers BMP de Microsoft Windows et OS/2,
44 les fichiers Targa (TGA) et le nouveau format PNG.
45
46 %description -l pl
47 Zgv potrafi wy¶wietlaæ obrazki w formacie CompuServe GIF (z wyj±tkami
48 opisanymi w rozdziale RESTRICTIONS), JPEG/JFIF, PBM/PGM/PPM, BMP
49 (z Microsoft Windows i OS/2), Targa (TGA) i PNG.
50
51 %description -l tr
52 Zgv, konsol ortamýndan CompuServe'in GIF formatý (RESTRICTIONS ile
53 belirtilenler dýþýnda), JPEG/JFIF, PGM/PBM/PPM, Bitmap (BMP), Targa (TGA) ve
54 yeni PNG formatlarýndaki resimleri görüntüleyebilmektedir.
55
56 %prep
57 %setup  -q
58 %patch0 -p1
59 %patch1 -p1
60
61 %build
62
63 make all OPTFLAGS="$RPM_OPT_FLAGS" \
64         INCDIRS="-I/usr/include" \
65         RGB_DB="/usr/X11R6/lib/X11/rgb.txt"
66
67 make info
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 make PREFIX="$RPM_BUILD_ROOT/usr" install
73
74 gzip -9nf TODO README README.fonts ChangeLog NEWS doc/sample.zgvrc \
75         $RPM_BUILD_ROOT/usr/{share/info/zgv*,share/man/man1/*}
76
77 %post
78 /sbin/install-info %{_infodir}/zgv.gz /etc/info-dir
79
80 %preun
81 if [ "$1" = "0" ]; then
82         /sbin/install-info --delete %{_infodir}/zgv.gz /etc/info-dir
83 fi
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc {README,README.fonts,ChangeLog,TODO,NEWS,doc/sample.zgvrc}.gz
91
92 %attr(4511,root,root) /usr/bin/zgv
93
94 %{_mandir}/man1/zgv.1.*
95 %{_infodir}/zgv*
96
97 %changelog
98 * Mon May 10 1999 Piotr Czerwiñski <pius@pld.org.pl>
99   [3.2-3]
100 - updated zgv-makefile.patch,
101 - package is now FHS 2.0 compliant.
102
103 * Wed Apr 21 1999 Piotr Czerwiñski <pius@pld.org.pl>
104   [3.2-2]
105 - recompiled on rpm3,
106 - cosmetic changes.
107
108 * Sat Mar 27 1999 Piotr Czerwiñski <pius@pld.org.pl>
109   [3.2-1]
110 - updated to 3.2,
111 - removed zgv-3.0-redhat.patch and zgv2.7-glibc.patch,
112 - added zgv-makefile.patch (fixed passing $RPM_OPT_FLAGS, changed install
113   procedure to allow building from non-root account),
114 - rewritten %build,
115 - simplifications in %install,
116 - added info files,
117 - added %post and %preun.
118
119 * Wed Mar 24 1999 Piotr Czerwiñski <pius@pld.org.pl>
120 - changed BuildRoot to /tmp/%%{name}-%%{version}-root,
121 - added Group(pl),
122 - added %deffatr description in %files,
123 - added documentation,
124 - added gzipping documentation and man pages,
125 - removed man group from man pages,
126 - cosmetic changes.
127
128 * Thu Sep 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
129   [3.0-6]
130 - added aplha to Exclusivearch list.
131
132 * Thu Sep 24 1998 Marcin 'Qrczak' Kowalczyk <qrczak@knm.org.pl>
133 - added BuildRoot,
134 - added full %attr description in %files,
135 - allow building from non-root account (set suid root only in %attr),
136 - added pl translation.
137
138 * Tue Aug  4 1998 Jeff Johnson <jbj@redhat.com>
139 - build root
140
141 * Wed Jun 10 1998 Prospector System <bugs@redhat.com>
142 - translations modified for de
143
144 * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
145 - translations modified for de, fr, tr
146
147 * Mon Apr 20 1998 Erik Troan <ewt@redhat.com>
148 - updated to version 3.0
149
150 * Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
151 - updated spec file and upgraded to version 2.8
152
153 * Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
154 - build against new libpng
155
156 * Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
157 - built against glibc
This page took 0.038877 seconds and 3 git commands to generate.