]> git.pld-linux.org Git - packages/gallery.git/blob - gallery.spec
0bff95848c2b2315fb8fc6518181e3467e7216cb
[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.org.pl/people/malekith/%{name}-%{version}.tar.gz
8 Group:          Applications/Graphics
9 Group(de):      Applikationen/Grafik
10 Group(pl):      Aplikacje/Grafika
11 Vendor:         Micha³ Moskal <malekith@pld.org.pl>
12 URL:            http://malekith.topnet.pl/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  svgalib-devel
16 BuildRequires:  aalib-devel
17 BuildRequires:  libpng-devel
18 BuildRequires:  libtiff-devel
19 BuildRequires:  libstdc++-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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
28 aalib.
29
30 %description -l pl
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.
36
37 %prep
38 %setup -q
39
40 %build
41 aclocal
42 autoconf
43 %configure \
44         --without-debug \
45         --without-gziped-man \
46         --with-polish-man \
47         --with-aalib
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
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
56
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
62
63 rm -f $RPM_BUILD_ROOT%{_libdir}/gallery/Makefile*
64
65 gzip -9nf doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS} \
66           doc/{README,README.pl,TODO}
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc doc/{AUTHORS,BETA-TESTERS,BUGS,CREDITS,INSTALL,NEWS,README,TODO}.gz
76 %doc %lang(pl) doc/README.pl.gz
77
78 %attr(755, root, root) %{_bindir}/*
79 %{_mandir}/man1/*
80 %dir %{_libdir}/gallery
81 %{_libdir}/gallery/message.jpg
82 %attr(755, root, root) %{_libdir}/gallery/config-lynx
83 %attr(755, root, root) %{_libdir}/gallery/gallery-bugreport
84 %attr(755, root, root) %{_libdir}/gallery/lsd
This page took 0.09348 seconds and 2 git commands to generate.