Sisyphus repository
Last update: 17 september 2021 | SRPMs: 17378 | Visits: 21886808
en ru br
ALT Linux repos
S:1.6-alt4
5.0: 1.0-alt0.alpha2

Group :: Graphics
RPM: geeqie

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable snapshot
%define _libexecdir %_prefix/libexec
%define rdn_name org.geeqie.Geeqie

%def_enable map
%def_enable ffmpegthumbnailer

Name: geeqie
Version: 1.6
Release: alt4

Summary: Graphics file browser utility
License: GPLv2+
Group: Graphics

Url: https://%name.org
%if_disabled snapshot
Source: %url/%name-%version.tar.xz
%else
Vcs: https://github.com/BestImageViewer/geeqie.git
Source: %name-%version.tar
%endif

Patch: %name-1.5-libdir-fix.patch
Patch1: %name-1.6-up-doc-build.patch
Patch2: geeqie-1.6-up-clutter.patch
Patch3: geeqie-1.6-up-wayland.patch
Patch4: geeqie-1.6-up-image-not-shown.patch

Provides: gqview = %version-%release
Obsoletes: gqview < %version

Requires: %_bindir/exiftool %_bindir/exiftran
Requires: %_bindir/convert %_bindir/gphoto2
Requires: %_bindir/zenity

BuildRequires: gcc-c++ yelp-tools intltool libappstream-glib-devel
BuildRequires: python3-module-markdown
BuildRequires: libgtk+3-devel libjpeg-devel libtiff-devel libwebp-devel
BuildRequires: libopenjpeg2.0-devel libdjvu-devel liblcms2-devel
BuildRequires: libpoppler-glib-devel libheif-devel
BuildRequires: libexiv2-devel liblirc-devel
%{?_enable_map:BuildRequires: libgps-devel pkgconfig(clutter-gtk-1.0) libchamplain-gtk3-devel}
%{?_enable_ffmpegthumbnailer:BuildRequires: libffmpegthumbnailer-devel}

%description
Geeqie is a lightweight image viewer. It was forked from GQview. The development
is focused on features for photo collection maintenance: raw format, Exif/IPTC/XMP
metadata and integration with programs like UFraw, ImageMagick, Gimp, gPhoto or
ExifTool.

%prep
%setup
%patch -b .libdir
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

sed -i 's/\-Werror//' configure.ac

%build
%{?_enable_ffmpegthumbnailer:%add_optflags -Wno-error=unused-function}
%autoreconf
%configure --enable-lirc \
--enable-largefile \
--with-readmedir=%_datadir/%name \
--disable-lua \
%{subst_enable ffmpegthumbnailer}
%make_build

%install
%makeinstall_std
install -pD -m644 %name.png %buildroot%_liconsdir/%name.png

%find_lang %name

%files -f %name.lang
%_bindir/%name
%_datadir/%name/
%_libdir/%name/
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png
%_iconsdir/hicolor/*x*/apps/%name.png
%_man1dir/%name.1.*
%_datadir/metainfo/%rdn_name.appdata.xml
%doc NEWS README.*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin