## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %bcond_with kde %global gitdate 20260119 %global commit 3127a2d211b124ad4fcf853d01e6df9323bdfdc3 %global short_commit %(c="%{commit}"; echo ${c:0:7}) Name: qimgv Version: 1.0.3^%{gitdate}git%{short_commit} Release: %autorelease Summary: Image viewer. Fast, easy to use. Optional video support License: GPL-3.0-or-later URL: https://github.com/easymodo/qimgv Source0: %{url}/archive/%{commit}/%{name}-%{short_commit}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: opencv-devel BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6PrintSupport) BuildRequires: cmake(Qt6OpenGLWidgets) BuildRequires: cmake(Qt6LinguistTools) %if %{with kde} BuildRequires: cmake(KF6WindowSystem) %endif BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(mpv) BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: hicolor-icon-theme %description Image viewer. Fast, easy to use. Optional video support. Key features: * Simple UI * Fast * Easy to use * Fully configurable, including themes, shortcuts * High quality scaling * Basic image editing: Crop, Rotate and Resize * Ability to quickly copy / move images to different folders * Experimental video playback via libmpv * Folder view mode * Ability to run shell scripts %prep %autosetup -p1 -C %build %cmake \ -G Ninja \ -DEXIV2=ON \ -DVIDEO_SUPPORT=ON \ -DOPENCV_SUPPORT=ON \ -DKDE_SUPPORT:BOOL=%{?with_kde:ON}%{!?with_kde:OFF} \ -DUSE_QT5=OFF %cmake_build %install %cmake_install %find_lang qimgv --with-qt --all-name %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f qimgv.lang %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/*.png %{_datadir}/icons/hicolor/scalable/*/*.svg %{_metainfodir}/*.xml %{_libdir}/%{name}/player_mpv.so %changelog ## START: Generated by rpmautospec * Sun Feb 01 2026 topazus - 1.0.3^20260119git3127a2d-1 - Update to latest commit; add packit config file * Thu Jan 29 2026 Nicolas Chauvet - 1.0.3-23 - Rebuilt for OpenCV 4.13 * Sat Jan 17 2026 Fedora Release Engineering - 1.0.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Wed Dec 10 2025 Nicolas Chauvet - 1.0.3-21 - Rebuilt for OpenCV-4.12 * Fri Jul 25 2025 Fedora Release Engineering - 1.0.3-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Feb 04 2025 Sérgio M. Basto - 1.0.3-19 - Rebuild for opencv-4.11.0 * Sat Jan 18 2025 Fedora Release Engineering - 1.0.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jul 25 2024 Sérgio M. Basto - 1.0.3-17 - Rebuild for opencv 4.10.0 * Thu Jul 25 2024 Miroslav Suchý - 1.0.3-16 - convert GPLv3+ license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.0.3-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 16 2024 Robert-André Mauchin - 1.0.3-14 - Rebuilt for exiv2 0.28.2 * Mon Feb 05 2024 Sérgio M. Basto - 1.0.3-13 - Rebuild for opencv 4.9.0 * Fri Jan 26 2024 Fedora Release Engineering - 1.0.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.0.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Sérgio M. Basto - 1.0.3-10 - Rebuild for opencv 4.8.0 * Fri Jul 21 2023 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 1.0.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 Sérgio M. Basto - 1.0.3-7 - Rebuild for opencv 4.7.0 * Fri Jul 22 2022 Fedora Release Engineering - 1.0.3-5.alpha - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 21 2022 Sérgio Basto - 1.0.3-4.alpha - Rebuilt for opencv 4.6.0 * Mon May 02 2022 Artem Polishchuk - 1.0.3-3.alpha - build: Use upstream suggested patch with AppData * Mon May 02 2022 Artem Polishchuk - 1.0.3-2.alpha - build: Update description * Mon May 02 2022 Artem Polishchuk - 1.0.3-1.alpha - chore(update): 1.0.3-alpha * Fri Jan 21 2022 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 29 2021 Artem Polishchuk - 1.0.2-1 - build(update): 1.0.2 * Mon Sep 27 2021 Artem Polishchuk - 1.0.1-1 - build(update): 1.0.1 * Wed Sep 22 2021 Artem Polishchuk - 1.0.0-1 - build(update): 1.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Oct 30 10:54:15 EET 2020 Artem Polishchuk - 0.9.1-6 - build(rebuild): 'opencv' soname bump | rh#1892895 * Sat Aug 01 2020 Fedora Release Engineering - 0.9.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Artem Polishchuk - 0.9.1-4 - Rebuild with out-of-source builds new CMake macros * Wed Jul 29 2020 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 05 2020 Nicolas Chauvet - 0.9.1-2 - Rebuilt for OpenCV 4.3.0 * Mon May 04 2020 Artem Polishchuk - 0.9.1-1 - Update to 0.9.1 * Fri May 01 2020 Artem Polishchuk - 0.9-1 - Update to 0.9 * Tue Mar 31 2020 Artem Polishchuk - 0.8.9-1 - Update to 0.8.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.8.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 12 2019 Artem Polishchuk - 0.8.8-1 - Update to 0.8.8 * Tue Nov 12 2019 Artem Polishchuk - 0.8.7-1 - Update to 0.8.7 * Wed Oct 16 2019 Artem Polishchuk - 0.8.6-7 - Spec file fixes * Tue Oct 15 2019 gasinvein - Initial package ## END: Generated by rpmautospec