1 Summary: SVGALib JPEG/GIF/PNG/... picture viewer.
2 Summary(pl): Bazowana na SVGALibie przegl±darka do obrazków
7 Source0: ftp://ftp.pld.org.pl/people/malekith/%{name}-%{version}.tar.gz
8 Group: Applications/Graphics
9 Group(de): Applikationen/Grafik
10 Group(pl): Aplikacje/Grafika
11 Vendor: Micha³ Moskal <malekith@pld.org.pl>
12 URL: http://malekith.topnet.pl/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: svgalib-devel
16 BuildRequires: aalib-devel
17 BuildRequires: libpng-devel
18 BuildRequires: libtiff-devel
19 BuildRequires: libstdc++-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Picture viewer for several gfx formats (PNG, GIF, JPEG, TIFF, PCX,
24 XPM, BMP, P?M, IFF-{IL,P}BM and othres). No X supported nor needed.
25 Feauters include scaling, quantizing, sliedeshows and a *lot* of
26 useless options. Even mouse is supported, it can be used for scaling
27 and scrolling. Gallery can also display images in text-mode, using
31 Przegl±darka do obrazków w sporej liczbie formatów formatach (PNG,
32 GIF, JPEG, TIFF, PCX, XPM, BMP, P?M, IFF-{IL,P}BM i inne). ¯adnych
33 Xów. Obrazki mo¿na skalowaæ, kwantyzowaæ, robiæ slideshowy i wiele
34 innych bezsensownych rzeczy. Gallery obs³uguje mysz. Mo¿e równie¿
35 wy¶wietlaæ obrazki w trybie textowym u¿ywaj±c aaliba.
45 --without-gziped-man \
51 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,pl/man1}
54 install -d $RPM_BUILD_ROOT%{_bindir}
55 install -d $RPM_BUILD_ROOT%{_libdir}/gallery
57 install doc/gallery.man $RPM_BUILD_ROOT%{_mandir}/man1/gallery.1
58 install doc/gallery-pl.man $RPM_BUILD_ROOT%{_mandir}/pl/man1/gallery.1
59 install -m 755 src/gallery $RPM_BUILD_ROOT%{_bindir}
60 install lib/* $RPM_BUILD_ROOT%{_libdir}/gallery
61 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} -C po install
63 rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
65 gzip -9nf doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS} \
66 doc/{README,README.pl,TODO}
71 rm -rf $RPM_BUILD_ROOT
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
76 %doc %lang(pl) doc/README.pl.gz
78 %attr(755, root, root) %{_bindir}/*
80 %dir %{_libdir}/gallery
81 %{_libdir}/gallery/message.jpg
82 %attr(755, root, root) %{_libdir}/gallery/config-lynx
83 %attr(755, root, root) %{_libdir}/gallery/gallery-bugreport
84 %attr(755, root, root) %{_libdir}/gallery/lsd