view geeqie.spec.in @ 442:4b2d7f9af171

Big whitespaces cleanup: - drop whitespaces at end of lines - convert eight spaces to tab at start of lines - drop spurious spaces mixed with tabs - remove empty lines at end of files
author zas_
date Sun, 20 Apr 2008 13:04:57 +0000
parents 4043254aee5b
children 798e5b68afc2
line wrap: on
line source

# norootforbuild

BuildRequires:  gtk2-devel gcc-c++
%if 0%{?suse_version}
BuildRequires:  liblcms-devel
%if %suse_version < 1030
%define _prefix	    /opt/gnome
%define _sysconfdir /etc%{prefix}
# workaround for gtk2 include conflicts on older SUSE versions:
%define _includedir %{_usr}
%endif
%else
BuildRequires:  lcms-devel
%endif
%if 0%{?suse_version} > 1010
BuildRequires:  libexiv2-devel
%endif
%if 0%{?fedora_version}
BuildRequires:  exiv2-devel
%endif
%if 0%{?mandriva_version} > 2007
BuildRequires:  libexiv2-devel
%endif


Summary:        Graphics file browser utility.
Summary(fr):    Explorateur de fichiers graphiques
Summary(es):    Navegador de archivos gráficos
Summary(it):    Visualizzatore di archivi grafici
Name:           geeqie
Version:        @VERSION@
Release:        0
License:        GNU General Public License version 2 or later (GPL v2 or later)
Group:          Productivity/Graphics/Viewers
Source:         geeqie-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Geeqie is a browser for graphics files.
Offering single click viewing of your graphics files.
Includes thumbnail view, zoom and filtering features.
And external editor support.

%description -l fr
Geeqie 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
Geeqie 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.

%description -l it
Geeqie è un visualizzatore di archivi grafici.
Offre la possibilità di visualizzare i tuoi files grafici grazie ad un singolo
click.
Include la rappresentazione tramite miniature e gli strumenti di zoom e
filtraggio.
Supporta anche l'uso di editor grafici esterni.

%prep
%setup -q

%build
rename no nb po/no.*
%__sed -i "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure.in configure
%configure

%__make %{?jobs:-j%{jobs}} \
	helpdir="%{_docdir}/%{name}/html" \
	readmedir="%{_docdir}/%{name}"

%install
make install DESTDIR=%{buildroot} \
     helpdir="%{_docdir}/%{name}/html" \
     readmedir="%{_docdir}/%{name}"

%__install AUTHORS COPYING ChangeLog README "%{buildroot}/%{_docdir}/%{name}/"

%clean
%__rm -rf "%{buildroot}"

%files 
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_bindir}/geeqie
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/applications/geeqie.desktop
%{_datadir}/pixmaps/geeqie.png
%{_mandir}/man1/geeqie*