]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
0b079cf9844d5fac3c1731893c229eb9f57d9ce6
[packages/gallery.git] / gallery.spec
1 Name:           gallery
2 Version:        3.0
3 Release:        1
4 License:        GPL
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>
16
17 %description
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
23 aalib.
24
25 %description -l pl
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.
31
32
33 %prep
34 %setup -q
35
36 %build
37 %configure --without-debug --with-gziped-man --with-polish-man --with-aalib
38 %{__make}
39
40 %install
41
42 rm -rf $RPM_BUILD_ROOT
43
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
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %attr(755, root, root) %{_bindir}/*
62 %{_mandir}/man1/*
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
68
69 %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/gallery.mo
70 %lang(pl) %{_mandir}/pl/man1/*
71
72 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
73 %doc %lang(pl) doc/README.pl.gz
This page took 0.092582 seconds and 3 git commands to generate.