File geeqie.spec of Package geeqie

# spec file for package geeqie
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           geeqie
Version:        1.1
Release:        0
Summary:        Lightweight Gtk+ based image viewer
License:        GPL-2.0+
Group:          Productivity/Graphics/Viewers
## FIXME - Check on version update if support for the libchamplain we have in factory is finaly supported, last checked version 1.1
# PATCH-FIX-UPSTREAM geeqie-bigendian.patch -- Fix build on big endian systems. Taken from upstream commit c6793b7
Patch0:         geeqie-bigendian.patch
# PATCH-FIX-UPSTREAM geeqie-1.1-fix-bashisms.patch -- Fix bashisms, upstream commit 7a32d30
Patch1:         geeqie-1.1-fix-bashisms.patch
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gnome-doc-utils
BuildRequires:  intltool
## FIXME - disabled since the version we have in factory is not supportet by current version 1.1
# BuildRequires:  libchamplain-devel
BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  lirc-devel
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(exiv2) >= 0.11
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(lcms) >= 1.14
Recommends:     %{name}-lang
# geeqie is a fork of the last know gqview release
Obsoletes:      gqview <= 2.1.5
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Geeqie is a lightweight Gtk+ based image viewer for Unix like
operating systems.

%setup -q
%patch0 -p1
%patch1 -p1

%configure \
        --enable-lirc \
        --enable-gps \
        --with-readmedir=%{_defaultdocdir}/%{name} \
make %{?_smp_mflags}

%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name}
%fdupes %{buildroot}

%if 0%{?suse_version} > 1130


%if 0%{?suse_version} > 1130


%doc %{_defaultdocdir}/%{name}
%doc %{_mandir}/man1/geeqie.1%{?ext_man}

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by