%global commit0 7d4b789265c57b408885b7d73a1720b8b2a093c5 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 Name: ksanecore Summary: Library providing logic to interface scanners Version: 24.11.70%{?bumpver:~%{bumpver}.git%{shortcommit0}} Release: 1%{?dist} License: LGPL-2.1-only OR LGPL-3.0-only URL: https://invent.kde.org/libraries/ksanecore %apps_source BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: cmake(KF6I18n) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: pkgconfig(sane-backends) %description %{summary}. %package qt6 Summary: Qt6 library providing logic to interface scanners Obsoletes: %{name} < 24.01.85 Requires: %{name}-common = %{version}-%{release} %description qt6 %{summary}. %package qt6-devel Summary: Development files for %{name}-qt6 Obsoletes: %{name}-devel < 24.01.85 Requires: %{name}-qt6%{?_isa} = %{version}-%{release} Requires: cmake(Qt6Gui) %description qt6-devel %{summary}. %package common Summary: Files shared between the Qt5 and Qt6 versions of the library Conflicts: %{name} < 24.01 %description common %{summary}. Provides internationalization files. %prep %{!?bumpver:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} %autosetup -n %{sourcerootdir} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-html %files common -f %{name}.lang %doc README.md %license LICENSES/* %files qt6 %{_libdir}/libKSaneCore6.so.{1,%{version_no_git}} %files qt6-devel %{_includedir}/KSaneCore6/ %{_libdir}/cmake/KSaneCore6/ %{_libdir}/libKSaneCore6.so %changelog %{?kde_snapshot_changelog_entry} * Tue Nov 05 2024 Pavel Solovev - 24.08.3-1 - Update to 24.08.3 * Mon Oct 07 2024 Pavel Solovev - 24.08.2-1 - Update to 24.08.2 * Tue Sep 10 2024 Pavel Solovev - 24.08.1-1 - Update to 24.08.1 * Fri Aug 16 2024 Pavel Solovev - 24.08.0-1 - Update to 24.08.0 * Fri Aug 09 2024 Pavel Solovev - 24.07.90-1 - Update to 24.07.90 * Thu Jul 25 2024 Pavel Solovev - 24.07.80-1 - Update to 24.07.80 * Thu Jul 04 2024 Pavel Solovev - 24.05.2-1 - Update to 24.05.2 * Thu Jun 13 2024 Pavel Solovev - 24.05.1-1 - Update to 24.05.1 * Thu May 23 2024 Pavel Solovev - 24.05.0-1 - Update to 24.05.0 * Fri Apr 26 2024 Pavel Solovev - 24.04.80-1 - Update to 24.04.80 * Thu Apr 11 2024 Pavel Solovev - 24.02.2-1 - Update to 24.02.2 * Thu Mar 21 2024 Pavel Solovev - 24.02.1-1 - Update to 24.02.1 * Thu Oct 12 2023 Marc Deop i Argemí - 23.08.2-1 - 23.08.2 * Sat Sep 16 2023 Marc Deop i Argemí - 23.08.1-1 - 23.08.1 * Sat Aug 26 2023 Marc Deop i Argemí - 23.08.0-1 - 23.08.0 * Thu Jul 20 2023 Fedora Release Engineering - 23.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 08 2023 Marc Deop i Argemí - 23.04.3-1 - 23.04.3 * Tue Jun 06 2023 Marc Deop i Argemí - 23.04.2-1 - 23.04.2 * Sat May 13 2023 Marc Deop i Argemí - 23.04.1-1 - 23.04.1 * Fri Apr 14 2023 Marc Deop i Argemí - 23.04.0-1 - 23.04.0 * Fri Mar 31 2023 Marc Deop i Argemí - 23.03.90-1 - 23.03.90 * Mon Mar 20 2023 Marc Deop i Argemí - 23.03.80-1 - 23.03.80 * Thu Mar 02 2023 Marc Deop i Argemí - 22.12.3-1 - 22.12.3 * Tue Jan 31 2023 Marc Deop - 22.12.2-1 - 22.12.2 * Thu Jan 19 2023 Fedora Release Engineering - 22.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 03 2023 Justin Zobel - 22.12.1-1 - Update to 22.12.1 * Wed Dec 21 2022 Justin Zobel - 22.12.0-1 - Initial inclusion