diff gqview.spec.in @ 8:e0d0593d519e

Sync to GQview 1.5.9 release. ######## DO NOT BASE ENHANCEMENTS OR TRANSLATION UPDATES ON CODE IN THIS CVS! This CVS is never up to date with current development and is provided solely for reference purposes, please use the latest official release package when making any changes or translation updates. ########
author gqview
date Sat, 26 Feb 2005 00:07:07 +0000
parents e149abcda4eb
children c9d553df8d25
line wrap: on
line diff
--- a/gqview.spec.in	Tue Sep 19 15:09:18 2000 +0000
+++ b/gqview.spec.in	Sat Feb 26 00:07:07 2005 +0000
@@ -1,20 +1,17 @@
-%define ver      @VERSION@
-%define rel      1
-%define prefix   /usr
-
 Summary: Graphics file browser utility.
+Summary(fr): Explorateur de fichiers graphiques
+Summary(es): Navegador de archivos gráficos
 Name: gqview
-Version: %ver
-Release: %rel
+Version: @VERSION@
+Release: 1
 Copyright: GPL
 Group: Applications/Multimedia
-Source: http://gqview.netpedia.net/gqview-%{ver}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{version}-root
+Source: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
-URL: http://gqview.netpedia.net/index.html
+URL: http://gqview.sourceforge.net
 
-Requires: gtk+ >= 1.2
-Requires: imlib >= 1.9
+Requires: gtk2 >= 2.4.0
 
 %description
 GQview is a browser for graphics files.
@@ -22,22 +19,38 @@
 Includes thumbnail view, zoom and filtering features.
 And external editor support.
 
+%description -l fr
+GQview est un explorateur de fichiers graphiques.
+Il permet d'un simple clic l'affichage de vos fichiers graphiques.
+Les capacités suivantes sont incluses: vue d'imagettes, zoom,
+filtres et support d'éditeurs externes.
+
+%description -l es
+GQview es un navegador de archivos gráficos.
+Ofrece visualizar sus archivos gráficos con sólo hacer un clic.
+Incluye visualización de miniaturas, zoom, filtros y soporte para
+editores externos.
+
 %prep
 %setup
 
 %build
 if [ ! -f configure ]; then
-  CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix
+  CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%{_prefix}
 else
-  CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%prefix
+  CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix}
 fi
 
 make
 
+mkdir html
+cp doc/*.html doc/*.txt html/.
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make GNOME_DATADIR=$RPM_BUILD_ROOT%{prefix}/share prefix=$RPM_BUILD_ROOT%{prefix} install
+make mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} \
+ prefix=$RPM_BUILD_ROOT%{_prefix} install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,10 +58,10 @@
 %files
 %defattr(-, root, root)
 
-%doc README COPYING TODO
-%{prefix}/bin/gqview
-%{prefix}/share/locale/*/*/*
-@HAVE_GNOME_TRUE@%{prefix}/share/gnome/apps/Graphics/gqview.desktop
-@HAVE_GNOME_TRUE@%{prefix}/share/pixmaps/gqview.png
+%doc README COPYING TODO html
+%{_bindir}/gqview
+%{_datadir}/locale/*/*/*
+%{_datadir}/applications/gqview.desktop
+%{_datadir}/pixmaps/gqview.png
+%{_mandir}/man?/*
 
-