## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # un-double the %% to uncomment #%%global gitcommit f692950aaf0e9dc3cf275b25bfcc0b1df9a96bb6 %{?gitcommit:%global gitcommitshort %(c=%{gitcommit}; echo ${c:0:7})} Summary: Image browser and viewer Name: geeqie # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later Version: 2.4 Release: %autorelease URL: https://www.geeqie.org %if %{defined gitcommit} Source: https://github.com/BestImageViewer/%{name}/archive/%{gitcommit}/%{name}-%{gitcommitshort}.tar.gz %else Source0: https://github.com/BestImageViewer/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: https://github.com/BestImageViewer/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.asc # Find which key was used for signing the release: # # $ LANG=C gpg --verify geeqie-2.4.tar.xz.asc geeqie-2.4.tar.xz # gpg: Signature made Сб 23 мар 2024 14:57:48 CET # gpg: using RSA key 91EC400226201276E2ADCEC7D0DA6F44C936D1DA # gpg: Can't check signature: No public key # # Now export the key required as follows: # # gpg --no-default-keyring --keyring ./keyring.gpg --keyserver keyserver.ubuntu.com --recv-key 91EC400226201276E2ADCEC7D0DA6F44C936D1DA # gpg --no-default-keyring --keyring ./keyring.gpg --output 91EC400226201276E2ADCEC7D0DA6F44C936D1DA.gpg --export Source2: 91EC400226201276E2ADCEC7D0DA6F44C936D1DA.gpg %endif ExcludeArch: %{ix86} BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: yelp-tools BuildRequires: evince # for /usr/bin/appstream-util BuildRequires: libappstream-glib BuildRequires: gtk3-devel BuildRequires: clutter-devel BuildRequires: djvulibre-devel BuildRequires: libchamplain-devel BuildRequires: lcms2-devel BuildRequires: exiv2-devel BuildRequires: lirc-devel BuildRequires: libarchive-devel BuildRequires: libjpeg-devel BuildRequires: libjxl-devel BuildRequires: libtiff-devel BuildRequires: libheif-devel BuildRequires: libwebp-devel BuildRequires: openjpeg2-devel BuildRequires: poppler-glib-devel BuildRequires: lua-devel BuildRequires: gettext intltool desktop-file-utils BuildRequires: gnome-doc-utils BuildRequires: LibRaw-devel BuildRequires: gspell-devel BuildRequires: webp-pixbuf-loader # BuildRequires: xvfb-run # This is needed to generate one of the icc headers in the build # process. Kind of annoyingly, this is part of _vim_, but, eh, # I guess it doesn't _really_ matter for a build dep. BuildRequires: /usr/bin/xxd # for the included plug-in scripts BuildRequires: exiv2 BuildRequires: fbida BuildRequires: ImageMagick BuildRequires: zenity Requires: exiv2 Requires: fbida Requires: ImageMagick Requires: zenity # at run-time, it is only displayed in menus, if ufraw executable is available %if 0%{?fedora} BuildRequires: ufraw %endif BuildRequires: make # for %%gpgverify BuildRequires: gnupg2 # Experimental, still disabled by default. #BuildRequires: libchamplain-gtk-devel >= 0.4 %description Geeqie has been forked from the GQview project with the goal of picking up development and integrating patches. It is an image viewer for browsing through graphics files. Its many features include single click file viewing, support for external editors, previewing images using thumbnails, and zoom. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %{?gitcommit:-n %{name}-%{gitcommit}} %build # guard against missing executables at (re)build-time, # these are needed by the plug-in scripts for f in exiftran exiv2 mogrify zenity ; do type $f || exit -1 done %if 0%{?fedora} for f in ufraw-batch ; do type $f || exit -1 done %endif export CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter" %meson -Dvideothumbnailer=disabled %meson_build # this will fail w/o git repo structure #touch ChangeLog ChangeLog.html %install %meson_install # guard against missing HTML tree test -f %{buildroot}%{_pkgdocdir}/html/index.html # We want these _docdir files in GQ_HELPDIR. install -p -m 0644 COPYING NEWS README* TODO \ %{buildroot}%{_pkgdocdir} ln -s NEWS %{buildroot}%{_pkgdocdir}/ChangeLog desktop-file-install \ --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/org.geeqie.Geeqie.desktop %find_lang %name mv %{buildroot}/usr/share/metainfo %{buildroot}%{_datadir}/appdata appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/org.geeqie.Geeqie.appdata.xml %files -f %{name}.lang %doc %{_pkgdocdir}/ %license COPYING %{_bindir}/%{name}* %{_prefix}/lib/%{name}/ %{_mandir}/man1/%{name}.1* %{_datadir}/%{name}/ %{_datadir}/pixmaps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/applications/org.geeqie.Geeqie.desktop %{_datadir}/appdata/org.geeqie.Geeqie.appdata.xml %changelog ## START: Generated by rpmautospec * Thu Jul 25 2024 Miroslav Suchý - 2.4-4 - convert GPLv2+ license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 14 2024 Zbigniew Jędrzejewski-Szmek - 2.4-2 - Rebuild for libexiv2.so.28 (rhbz#2295695) * Sun Apr 14 2024 Peter Lemenkov - 2.4-1 - Geeqie ver. 2.4 - Geeqie ver. 2.4 (rhbz#2268503) - Check for signature * Sun Apr 14 2024 Peter Lemenkov - 2.2-4 - Remove merged patch * Wed Mar 13 2024 Sérgio M. Basto - 2.2-3 - Rebuild for jpegxl (libjxl) 0.10.2 * Wed Feb 14 2024 Sérgio M. Basto - 2.2-2 - Rebuild for jpegxl (libjxl) 0.9.2 with soname bump * Mon Jan 29 2024 Zbigniew Jędrzejewski-Szmek - 2.2-1 - Version 2.2 (rhbz#2260434) * Wed Jan 24 2024 Fedora Release Engineering - 2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Sep 02 2023 Zbigniew Jędrzejewski-Szmek - 2.1-3 - Drop i686 build * Fri Sep 01 2023 Zbigniew Jędrzejewski-Szmek - 2.1-2 - Link NEWS as ChangeLog (rhbz#2209138) * Fri Sep 01 2023 Zbigniew Jędrzejewski-Szmek - 2.1-1 - Version 2.1 (rhbz#2215730) - Dependency on webp-pixbuf-loader was enabled for thumbnails. - Dependency on evince was added for print previews. * Fri Sep 01 2023 Zbigniew Jędrzejewski-Szmek - 2.0.1-7 - Build with libheif (rhbz#2190314) * Wed Jul 19 2023 Fedora Release Engineering - 2.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 18 2023 Sérgio M. Basto - 2.0.1-5 - Mass rebuild for jpegxl-0.8.1 * Thu Jan 19 2023 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 20 2022 Gwyn Ciesla - 1.6-6.git737a3dc - LibRaw rebuild. * Wed Jul 21 2021 Fedora Release Engineering - 1.6-5.git737a3dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 8 2021 Matthew Miller - 1.6-4.git737a3dc - remove the docs conditional * Thu Apr 8 2021 Matthew Miller - 1.6-3.git737a3dc - update to 737a3dc19275ac11d8a6225dbd03639e73b22fee to fix on F34 - when building docs, ignore missing media files (we copy them later) and also use "html/" as the output directory instead of "html", because OF COURSE that's the problem. https://github.com/BestImageViewer/geeqie/pull/882 * Tue Jan 26 2021 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 17 2020 Zbigniew Jędrzejewski-Szmek - 1.6-1 - Latest version (#1903787) - Switch from gtk2 to gtk3 - Support webp images and pdf files * Mon Jul 27 2020 Fedora Release Engineering - 1.5.1-4.git26c4dad - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 4 2020 Zbigniew Jędrzejewski-Szmek - 1.5.1-3.git26c4dad - Update to latest git snapshot (fixes build in rawhide and other minor issues). * Tue Jan 28 2020 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 30 2019 Matthew Miller - 1.5.1-1 - new upstream release - reenable tiff support - don't error on the parenthesis warning (reported upstream) - hey look: none of our patches are needed anymore! * Thu Jul 25 2019 Fedora Release Engineering - 1.4-9.git0004617 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 30 2019 Rex Dieter - 1.4-6 - rebuild (exiv2) * Fri Jul 13 2018 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Feb 05 2018 Yaakov Selkowitz - 1.4-3 - Enable lua scripting support * Mon Jan 01 2018 Matthew Miller - 1.4-2 - hack around missing changelog (which we don't want to include anyway -- see below) * Mon Jan 01 2018 Matthew Miller - 1.4-1 - new upstream release - drop exiv2 patch libstc++-copy-on-write-string -- now upstream - add patch to relax warnings on unused-but-set variables -- see upstream https://github.com/BestImageViewer/geeqie/issues/566 and https://github.com/BestImageViewer/geeqie/issues/567 - drop ChangeLog since it's missing from the release tarball, and also we nominally dropped it from the package in 2008 for being "too low level" (see earlier rpm changelog entry) * Wed Aug 02 2017 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 02 2017 Rex Dieter - 1.3-3 - rebuild (exiv2) * Fri Feb 10 2017 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Sep 15 2016 Matthew Miller - 1.3-1 - update to new upstream 1.3 release - remove patches integrated upstream: geeqie-1.1-filedata-change-notification.patch geeqie-1.1-large-files.patch geeqie-gcc6-error-about-shifting-a-signed-expression.patch - also remove geeqie-1.0-fix-fullscreen.patch, as it hasn't been applied for years anyway and fullscreen seems to work - update geeqie-bug-800350-libstc++-copy-on-write-string.diff to new version from Debian. Thanks, Debian! * Sat Feb 27 2016 Zbigniew Jędrzejewski-Szmek - 1.2.2-3 - Add patch for #1292255 * Wed Feb 03 2016 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Dec 25 2015 Zbigniew Jędrzejewski-Szmek - 1.2.2-1 - Update to latest upstream release * Wed Aug 26 2015 Michael Schwendt - 1.2-0.6.20150812git2b87884 - Update To Tag V1.2.1 for a few merged commit requests, shall also fix: (rhbz #1223349 patch by Sami Farin - crash for Preload next image) (rhbz #1231644 orientation hack makes loading image 100x slower) - update URL to new geeqie.org * Wed Jun 24 2015 Rex Dieter - 1.2-0.5.20141130gita1afabd - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 1.2-0.4.20141130gita1afabd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.2-0.3.20141130gita1afabd - Rebuilt for GCC 5 C++11 ABI change * Wed Mar 25 2015 Michael Schwendt - 1.2-0.2.20141130gita1afabd - Merge Fedora appdata file as requested on devel@ list. - Use %%license macro. * Sun Nov 30 2014 Michael Schwendt - 1.2-0.1.20141130gita1afabd - TODO: Lua support wants lua5.1.pc >= 5.1, which isn't available (only lua.pc 5.2.x exists). - TODO: what's up with the aging fullscreen patch? - Add new BUGS file to documentation. - Drop the LCMS1 bcond. - Some patches not needed anymore. - Drop old conditional for desktop file vendor. - Update to 1.2 from gitorious including the merged LCMS2 patch (post-1.2). No official tarball release yet. * Sat Aug 16 2014 Fedora Release Engineering - 1.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Jun 17 2014 Michael Schwendt - 1.1-21 - Retrieve a printable CMS image profile and screen profile description to avoid crashing g_markup (#1110073). * Sat Jun 07 2014 Fedora Release Engineering - 1.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Michael Schwendt - 1.1-19 - Don't print CMS screen profileID garbage that crashes g_markup (this should also fix #1051660). * Tue May 27 2014 Michael Schwendt - 1.1-18 - Merge fix for avoiding crash due to inexistent files in collections. This also replaces the history path_list patch. * Sun Jan 26 2014 Michael Schwendt - 1.1-17 - Merge image-overlay.c fix for handling of filenames with % in them. * Mon Dec 9 2013 Michael Schwendt - 1.1-16 - Add LCMS2 patch from Geeqie-devel list, fix HAVE_LCMS and build with lcms2-devel instead of lcms-devel. * Tue Dec 03 2013 Rex Dieter - 1.1-15 - rebuild (exiv2) * Sat Nov 16 2013 Michael Schwendt - 1.1-14 - Conditionalize ufraw BR/R for Fedora, since it's not available with RHEL and EPEL and is optional at run-time. - Drop %%defattr usage. * Tue Aug 6 2013 Michael Schwendt - 1.1-13 - For F-20 unversioned docdirs feature we need to build with configure --with-readmedir=... to override the internal GQ_HELPDIR. * Sat Aug 03 2013 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jun 7 2013 Michael Schwendt - 1.1-11 - Define _hardened_build 1 to please rpm-chksec. * Wed Feb 20 2013 Michael Schwendt - 1.1-10 - Include config.h earlier in some files, so the large file support definition is available early enough for e.g. sys/stat.h - Drop the aging Obsoletes tag for gqview. * Fri Feb 8 2013 Michael Schwendt - 1.1-9 - Avoid abort when opening non-existing paths from history. * Fri Feb 1 2013 Michael Schwendt - 1.1-8 - Drop new idle callback from file_data_send_notification() as it causes breakage (in the duplicate finder, for example). * Sun Jan 27 2013 Michael Schwendt - 1.1-7 - Check exec value for NULL in src/editors.c - Fedora >= 19: Drop ancient "fedora" vendor prefix from desktop file. * Fri Jan 18 2013 Adam Tkac - 1.1-6 - rebuild due to "jpeg8-ABI" feature drop * Mon Dec 24 2012 Michael Schwendt - 1.1-5 - Fix crash upon escaping from generic dialogs. * Thu Dec 13 2012 Michael Schwendt - 1.1-4 - Build with --disable-tiff, as the custom libtiff loader crashes for some images as mentioned on geeqie-devel list. * Thu Nov 22 2012 Michael Schwendt - 1.1-3 - Merge a patch to fix fullscreen mode. * Sun Aug 26 2012 Michael Schwendt - 1.1-2 - Merge bar_keywords.c master commit to fix regression. * Tue Aug 14 2012 Michael Schwendt - 1.1-1 - Fix license tag to GPLv2+ as GPL3 (only in file COPYING) had been added only temporarily for 1.0-alpha1. - BR libjpeg-devel libtiff-devel - Upgrade to 1.1 (also to reduce patch count). * Thu Jul 19 2012 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu May 3 2012 Michael Schwendt - 1.0-17 - Complete previous rebuild that failed unexpectedly because html docdir in buildroot had not been created (Rawhide only). Now create it explicitly at beginning of %%install. * Wed May 02 2012 Rex Dieter - 1.0-16 - rebuild (exiv2) * Fri Jan 6 2012 Michael Schwendt - 1.0-15 - rebuild for GCC 4.7 as requested * Sat Nov 5 2011 Michael Schwendt - 1.0-14 - Link with --as-needed. * Sun Oct 16 2011 Michael Schwendt - 1.0-13 - Cherry-pick a few commits (from Vladimir Nadvornik, Klaus Ethgen and Vladislav Naumov). With the modified filelist_sort_compare_filedata method, Geeqie passes another stress test I've created in order to track down rare file_data_unref crashes. * Fri Oct 14 2011 Rex Dieter - 1.0-12 - rebuild (exiv2) * Tue Aug 9 2011 Michael Schwendt - 1.0-11 - Patch another place where not to exif_free_fd NULL ptr (#728802). * Fri Apr 15 2011 Michael Schwendt - 1.0-10 - Let's see how we do with a simpler vflist_setup_iter_recursive(). * Sat Mar 5 2011 Michael Schwendt - 1.0-9 - Patch filedata.c check_case_insensitive_ext to accept the first tested file name ext and not accept multiple combinations due to case-insensitive fs. * Fri Mar 4 2011 Michael Schwendt - 1.0-8.test1 - Patch filedata.c check_sidecars to avoid adding a file as its own sidecar. Case-insensitive sidecar file name generation may not be enough if a fs stat is used in conjunction with a case-insensitive fs. * Tue Feb 22 2011 Michael Schwendt - 1.0-8 - Fix file cache NULL pointer crash in exif-common.c (#679256). - Patch and build with large file support. * Tue Feb 08 2011 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 02 2011 Rex Dieter - 1.0-6 - rebuild (exiv2) * Thu Sep 9 2010 Michael Schwendt - 1.0-5 - Make gqview "Obsoletes" tag conditional: for Fedora newer than 13. * Mon Jul 26 2010 Michael Schwendt - 1.0-4 - Replace old gqview < 2.0.4-13 with geeqie. * Mon May 31 2010 Rex Dieter - 1.0-3 - rebuild (exiv2) * Tue Apr 6 2010 Michael Schwendt - 1.0-2 - require exiv2, ImageMagick, fbida, ufraw, zenity for plug-in scripts - BR gnome-doc-utils for HTML documentation (and "Help > Contents" menu) * Fri Feb 19 2010 Michael Schwendt - 1.0-1 - update to 1.0 final release * Mon Jan 04 2010 Rex Dieter - 1.0-0.20.beta2 - rebuild (exiv2) * Fri Jul 24 2009 Fedora Release Engineering - 1.0-0.19.beta2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jul 6 2009 Michael Schwendt - 1.0-0.18.beta2 - update to beta2 tarball - BR intltool - print-pagesize.patch enabled in 1.0beta2 (#222639) * Thu May 14 2009 Michael Schwendt - 1.0-0.16.beta1 - update to beta1 tarball * Tue Feb 24 2009 Fedora Release Engineering - 1.0-0.15.alpha3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 7 2009 Michael Schwendt - 1.0-0.14.alpha3 - fetch src/utilops.c change from svn 1385 for metadata crash-fix * Wed Jan 28 2009 Michael Schwendt - 1.0-0.13.alpha3 - ignore .helpdir/.htmldir values in geeqierc to fix "Help" - add --enable-lirc again to build with LIRC * Mon Jan 26 2009 Michael Schwendt - 1.0-0.12.alpha3 - update to alpha3 tarball * Thu Jan 22 2009 Michael Schwendt - 1.0-0.11.alpha2.1341svn - update to svn 1341 for pre-alpha3 testing (image metadata features) - drop obsolete patches remote-blank and float-layout * Wed Dec 24 2008 Michael Schwendt - 1.0-0.11.alpha2.1307svn - update to svn 1307 for "Safe delete" * Thu Dec 18 2008 Michael Schwendt - 1.0-0.11.alpha2.1299svn - drop desktop file Exec= invocation patch (no longer necessary) * Thu Dec 18 2008 Michael Schwendt - 1.0-0.10.alpha2.1299svn - update to svn 1299 for new exiv2 - disable LIRC support which is broken * Thu Dec 18 2008 Rex Dieter - 1.0-0.9.alpha2 - respin (exiv2) * Tue Aug 12 2008 Michael Schwendt - 1.0-0.8.alpha2 - fix float layout for --blank mode * Mon Aug 11 2008 Michael Schwendt - 1.0-0.7.alpha2 - fix options --blank and -r file: * Thu Jul 31 2008 Michael Schwendt - 1.0-0.6.alpha2 - update to 1.0alpha2 (now GPLv3) - build with new LIRC support * Wed Jun 25 2008 Rex Dieter - 1.0-0.5.alpha1 - respin for exiv2 * Thu May 8 2008 Michael Schwendt - 1.0-0.4.alpha1 - scriptlets: run update-desktop-database without path - drop dependency on desktop-file-utils - drop ChangeLog file as it's too low-level * Fri Apr 25 2008 Michael Schwendt - 1.0-0.3.alpha1 - package GQview fork "geeqie 1.0alpha1" based on Fedora gqview.spec - BR lcms-devel exiv2-devel - update -desktop and -editors patch - update spec file with more dir macros ## END: Generated by rpmautospec