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