]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
362e9a9036d561d76cb18aa8514f337e31d59a7c
[packages/gallery.git] / gallery.spec
1 Summary:        SVGALib JPEG/GIF/PNG/... picture viewer
2 Summary(pl):    Bazowana na SVGALibie przegl±darka do obrazków
3 Name:           gallery
4 Version:        3.1
5 Release:        2
6 License:        GPL
7 Source0:        ftp://ftp.pld-linux.org/people/malekith/%{name}-%{version}.tar.gz
8 # Source0-md5:  aeea61e2f4d2779479e7a876cdc2eec8
9 Group:          Applications/Graphics
10 Vendor:         Micha³ Moskal <malekith@pld-linux.org>
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  svgalib-devel
14 BuildRequires:  aalib-devel
15 BuildRequires:  libpng-devel
16 BuildRequires:  libtiff-devel
17 BuildRequires:  libstdc++-devel
18 ExclusiveArch:  %{ix86} alpha
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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
27 aalib.
28
29 %description -l pl
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.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %configure \
43         --without-debug \
44         --without-gziped-man \
45         --with-polish-man \
46         --with-aalib
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,pl/man1}
53 install -d $RPM_BUILD_ROOT%{_bindir}
54 install -d $RPM_BUILD_ROOT%{_libdir}/gallery
55
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 -m 755 src/gallery      $RPM_BUILD_ROOT%{_bindir}
59 install lib/*                   $RPM_BUILD_ROOT%{_libdir}/gallery
60 %{__make}                       prefix=$RPM_BUILD_ROOT%{_prefix} -C po install
61
62 rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}
72 %doc %lang(pl) doc/README.pl
73
74 %attr(755, root, root) %{_bindir}/*
75 %{_mandir}/man1/*
76 %dir %{_libdir}/gallery
77 %{_libdir}/gallery/message.jpg
78 %attr(755,root,root) %{_libdir}/gallery/config-lynx
79 %attr(755,root,root) %{_libdir}/gallery/gallery-bugreport
80 %attr(755,root,root) %{_libdir}/gallery/lsd
This page took 0.052662 seconds and 3 git commands to generate.