5 Source0: http://malekith.cnc.pl/bin/%{name}-%{version}.tar.gz
6 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
7 Summary: SVGALib JPEG/GIF/PNG/... picture viewer.
8 Summary(pl): Bazowana na SVGALibie przegl±darka do obrazków
9 Group: Applications/Graphics
10 Group(de): Applikationen/Grafik
11 Group(pl): Aplikacje/Grafika
12 URL: http://malekith.topnet.pl/
13 BuildRequires: svgalib-devel
14 BuildRequires: aalib-devel
15 Vendor: Micha³ Moskal <malekith@pld.org.pl>
18 Picture viewer for several gfx formats (PNG, GIF, JPEG, TIFF, PCX,
19 XPM, BMP, P?M, IFF-{IL,P}BM and othres). No X supported nor needed.
20 Feauters include scaling, quantizing, sliedeshows and a *lot* of
21 useless options. Even mouse is supported, it can be used for scaling
22 and scrolling. Gallery can also display images in text-mode, using
26 Przegl±darka do obrazków w sporej liczbie formatów formatach (PNG,
27 GIF, JPEG, TIFF, PCX, XPM, BMP, P?M, IFF-{IL,P}BM i inne). ¯adnych
28 Xów. Obrazki mo¿na skalowaæ, kwantyzowaæ, robiæ slideshowy i wiele
29 innych bezsensownych rzeczy. Gallery obs³uguje mysz. Mo¿e równie¿
30 wy¶wietlaæ obrazki w trybie textowym u¿ywaj±c aaliba.
37 %configure --without-debug --with-gziped-man --with-polish-man --with-aalib
42 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
45 install doc/gallery.man.gz $RPM_BUILD_ROOT%{_mandir}/man1/gallery.1.gz
46 install doc/gallery-pl.man.gz $RPM_BUILD_ROOT%{_mandir}/pl/man1/gallery.1.gz
47 gzip -9nf doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS} \
48 doc/{README,README.pl,TODO}
49 install -d $RPM_BUILD_ROOT%{_bindir}
50 install -m 755 src/gallery $RPM_BUILD_ROOT%{_bindir}
51 install -d $RPM_BUILD_ROOT%{_libdir}/gallery
52 install lib/* $RPM_BUILD_ROOT%{_libdir}/gallery
53 rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
54 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} -C po install
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %attr(755, root, root) %{_bindir}/*
63 %dir %{_libdir}/gallery
64 %{_libdir}/gallery/message.jpg
65 %attr(755, root, root) %{_libdir}/gallery/config-lynx
66 %attr(755, root, root) %{_libdir}/gallery/gallery-bugreport
67 %attr(755, root, root) %{_libdir}/gallery/lsd
69 %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/gallery.mo
70 %lang(pl) %{_mandir}/pl/man1/*
72 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
73 %doc %lang(pl) doc/README.pl.gz