2011-09-28 11:12:26 +02:00
|
|
|
#
|
|
|
|
# spec file for package geeqie
|
|
|
|
#
|
2020-06-05 17:18:00 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2011-09-28 11:12:26 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-11 10:10:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-09-28 11:12:26 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: geeqie
|
2019-08-27 12:16:36 +02:00
|
|
|
Version: 1.5.1
|
2012-09-21 22:43:11 +02:00
|
|
|
Release: 0
|
2011-09-28 11:12:26 +02:00
|
|
|
Summary: Lightweight Gtk+ based image viewer
|
2019-04-11 10:10:04 +02:00
|
|
|
License: GPL-2.0-or-later
|
2011-09-28 11:12:26 +02:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2020-06-05 17:18:00 +02:00
|
|
|
URL: http://www.geeqie.org
|
|
|
|
Source0: %{url}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: %{url}/%{name}-%{version}.tar.xz.asc
|
2016-06-16 20:16:29 +02:00
|
|
|
Source2: geeqie.keyring
|
2020-06-05 17:18:00 +02:00
|
|
|
# PATCH-FIX-UPSTREAM geeqie-gcc10-buildfix.patch -- Fix build with gcc 10
|
|
|
|
Patch0: geeqie-gcc10-buildfix.patch
|
|
|
|
|
|
|
|
BuildRequires: c++_compiler
|
2011-09-28 11:12:26 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
2012-09-21 22:43:11 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2016-05-04 00:22:21 +02:00
|
|
|
# Needed to bootstrap the tarball
|
|
|
|
BuildRequires: libtool
|
2011-09-28 11:12:26 +02:00
|
|
|
BuildRequires: lirc-devel
|
2017-08-14 16:30:49 +02:00
|
|
|
BuildRequires: pkgconfig
|
2011-09-28 11:12:26 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2017-09-04 22:05:01 +02:00
|
|
|
BuildRequires: pkgconfig(champlain-0.12) >= 0.12
|
|
|
|
BuildRequires: pkgconfig(champlain-gtk-0.12) >= 0.12
|
|
|
|
BuildRequires: pkgconfig(clutter-1.0) >= 1.0
|
|
|
|
BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.0
|
2011-09-28 11:12:26 +02:00
|
|
|
BuildRequires: pkgconfig(exiv2) >= 0.11
|
2016-05-04 00:22:21 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2017-08-14 16:30:49 +02:00
|
|
|
BuildRequires: pkgconfig(lcms2)
|
2020-06-05 17:18:00 +02:00
|
|
|
BuildRequires: pkgconfig(lua5.1)
|
2017-08-14 16:30:49 +02:00
|
|
|
Requires(post): update-desktop-files
|
|
|
|
Requires(postun): update-desktop-files
|
2011-09-28 11:12:26 +02:00
|
|
|
|
|
|
|
%description
|
2016-05-04 00:22:21 +02:00
|
|
|
Geeqie is a lightweight image viewer for Linux, BSDs and compatibles.
|
2011-09-28 11:12:26 +02:00
|
|
|
|
|
|
|
%lang_package
|
2016-05-04 00:22:21 +02:00
|
|
|
|
2011-09-28 11:12:26 +02:00
|
|
|
%prep
|
2020-06-05 17:18:00 +02:00
|
|
|
%autosetup -p1
|
2011-09-28 11:12:26 +02:00
|
|
|
|
|
|
|
%build
|
2016-05-04 00:22:21 +02:00
|
|
|
# Needed to bootstrap
|
2017-08-14 16:30:49 +02:00
|
|
|
intltoolize --copy --force --automake
|
|
|
|
autoreconf -fvi
|
2011-09-28 11:12:26 +02:00
|
|
|
%configure \
|
|
|
|
--enable-lirc \
|
2017-08-14 16:30:49 +02:00
|
|
|
--with-readmedir=%{_defaultdocdir}/%{name} \
|
2017-09-04 22:05:01 +02:00
|
|
|
--enable-map \
|
|
|
|
%{nil}
|
2020-06-05 17:18:00 +02:00
|
|
|
%make_build CFLAGS="-Wno-deprecated-declarations"
|
2011-09-28 11:12:26 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%suse_update_desktop_file %{name}
|
2020-06-05 17:18:00 +02:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2011-09-28 11:12:26 +02:00
|
|
|
|
2019-04-11 10:10:04 +02:00
|
|
|
# Already in the license directory
|
|
|
|
rm %{buildroot}%{_docdir}/%{name}/COPYING
|
|
|
|
|
2011-09-28 11:12:26 +02:00
|
|
|
%files
|
2019-04-11 10:10:04 +02:00
|
|
|
%license COPYING
|
2019-08-05 11:49:59 +02:00
|
|
|
%doc AUTHORS ChangeLog ChangeLog.html NEWS TODO README.md README.lirc
|
2011-09-28 11:12:26 +02:00
|
|
|
%{_bindir}/geeqie
|
|
|
|
%{_datadir}/applications/geeqie.desktop
|
|
|
|
%{_datadir}/geeqie/
|
|
|
|
%{_datadir}/pixmaps/geeqie.png
|
|
|
|
%{_libexecdir}/geeqie/
|
2016-05-04 00:22:21 +02:00
|
|
|
%{_mandir}/man1/geeqie.1%{?ext_man}
|
2011-09-28 11:12:26 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|