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 # Source0-md5: aeea61e2f4d2779479e7a876cdc2eec8
9 Group: Applications/Graphics
10 Vendor: Micha³ Moskal <malekith@pld.org.pl>
11 URL: http://malekith.topnet.pl/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: svgalib-devel
15 BuildRequires: aalib-devel
16 BuildRequires: libpng-devel
17 BuildRequires: libtiff-devel
18 BuildRequires: libstdc++-devel
19 ExclusiveArch: %{ix86} alpha
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*
68 rm -rf $RPM_BUILD_ROOT
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}
73 %doc %lang(pl) doc/README.pl
75 %attr(755, root, root) %{_bindir}/*
77 %dir %{_libdir}/gallery
78 %{_libdir}/gallery/message.jpg
79 %attr(755,root,root) %{_libdir}/gallery/config-lynx
80 %attr(755,root,root) %{_libdir}/gallery/gallery-bugreport
81 %attr(755,root,root) %{_libdir}/gallery/lsd