Sync to GQview 1.5.9 release.
[geeqie.git] / gqview.spec.in
1 Summary: Graphics file browser utility.
2 Summary(fr): Explorateur de fichiers graphiques
3 Summary(es): Navegador de archivos gráficos
4 Name: gqview
5 Version: @VERSION@
6 Release: 1
7 Copyright: GPL
8 Group: Applications/Multimedia
9 Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11
12 URL: http://gqview.sourceforge.net
13
14 Requires: gtk2 >= 2.4.0
15
16 %description
17 GQview is a browser for graphics files.
18 Offering single click viewing of your graphics files.
19 Includes thumbnail view, zoom and filtering features.
20 And external editor support.
21
22 %description -l fr
23 GQview est un explorateur de fichiers graphiques.
24 Il permet d'un simple clic l'affichage de vos fichiers graphiques.
25 Les capacités suivantes sont incluses: vue d'imagettes, zoom,
26 filtres et support d'éditeurs externes.
27
28 %description -l es
29 GQview es un navegador de archivos gráficos.
30 Ofrece visualizar sus archivos gráficos con sólo hacer un clic.
31 Incluye visualización de miniaturas, zoom, filtros y soporte para
32 editores externos.
33
34 %prep
35 %setup
36
37 %build
38 if [ ! -f configure ]; then
39   CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%{_prefix}
40 else
41   CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix}
42 fi
43
44 make
45
46 mkdir html
47 cp doc/*.html doc/*.txt html/.
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
53  prefix=$RPM_BUILD_ROOT%{_prefix} install
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(-, root, root)
60
61 %doc README COPYING TODO html
62 %{_bindir}/gqview
63 %{_datadir}/locale/*/*/*
64 %{_datadir}/applications/gqview.desktop
65 %{_datadir}/pixmaps/gqview.png
66 %{_mandir}/man?/*
67