5 Source: http://malekith.cnc.pl/bin/%{name}-%{version}.tar.gz
6 BuildRoot: /tmp/%{name}-%{version}-root
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(pl): Aplikacje/Grafika
11 URL: http://malekith.topnet.pl/
12 BuildRequires: svgalib-devel
13 BuildRequires: aalib-devel
16 Picture viewer for several gfx formats (PNG, GIF, JPEG, TIFF, PCX, XPM,
17 BMP, P?M, IFF-{IL,P}BM and othres). No X supported nor needed.
18 Feauters include scaling, quantizing, sliedeshows and a *lot* of useless
19 options. Even mouse is supported, it can be used for scaling and
20 scrolling. Gallery can also display images in text-mode, using aalib.
23 Przegl±darka do obrazków w sporej liczbie formatów formatach (PNG, GIF,
24 JPEG, TIFF, PCX, XPM, BMP, P?M, IFF-{IL,P}BM i inne). ¯adnych Xów. Obrazki
25 mo¿na skalowaæ, kwantyzowaæ, robiæ slideshowy i wiele innych bezsensownych
26 rzeczy. Gallery obs³uguje mysz. Mo¿e równie¿ wy¶wietlaæ obrazki
27 w trybie textowym u¿ywaj±c aaliba.
34 %configure --without-debug --with-gziped-man --with-polish-man --with-aalib
39 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
42 install doc/gallery.man.gz $RPM_BUILD_ROOT%{_mandir}/man1/gallery.1.gz
43 install doc/gallery-pl.man.gz $RPM_BUILD_ROOT%{_mandir}/pl/man1/gallery.1.gz
44 gzip -9nf doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS} \
45 doc/{README,README.pl,TODO}
46 install -d $RPM_BUILD_ROOT%{_bindir}
47 install -m 755 src/gallery $RPM_BUILD_ROOT%{_bindir}
48 install -d $RPM_BUILD_ROOT%{_libdir}/gallery
49 install lib/* $RPM_BUILD_ROOT%{_libdir}/gallery
50 rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
51 make prefix=$RPM_BUILD_ROOT/usr -C po install
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644, root, root, 755)
58 %attr(755, root, root) %{_bindir}/*
60 %dir %{_libdir}/gallery
61 %{_libdir}/gallery/message.jpg
62 %attr(755, root, root) %{_libdir}/gallery/config-lynx
63 %attr(755, root, root) %{_libdir}/gallery/gallery-bugreport
64 %attr(755, root, root) %{_libdir}/gallery/lsd
66 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/gallery.mo
67 %lang(pl) %{_mandir}/pl/man1/*
69 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
70 %doc %lang(pl) doc/README.pl.gz