%global framework mailimporter Name: kf5-%{framework} Version: 23.08.4 Release: 1%{?dist} Summary: Mail importer library License: GPLv2 URL: http://cgit.kde.org/%{framework}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz Source1: https://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz.sig Source2: gpgkey-D81C0CB38EB725EF6691C385BB463350D6EF31EF.gpg BuildRequires: gnupg2 BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5UiTools) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) %global kf5_ver 5.71.0 BuildRequires: extra-cmake-modules >= %{kf5_ver} BuildRequires: kf5-rpm-macros >= %{kf5_ver} BuildRequires: kf5-karchive-devel >= %{kf5_ver} BuildRequires: kf5-ki18n-devel >= %{kf5_ver} BuildRequires: kf5-kconfig-devel >= %{kf5_ver} BuildRequires: kf5-kwidgetsaddons-devel >= %{kf5_ver} BuildRequires: kf5-ktextwidgets-devel >= %{kf5_ver} BuildRequires: kf5-kcmutils-devel => %{kf5_ver} BuildRequires: cmake(KF5TextAutoCorrectionCore) %global majmin_ver %{version} # kf5-akonadi-contacts/kf5-libkdepim available only where qt5-qtwebengine is %{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} BuildRequires: kf5-akonadi-contacts-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver} BuildRequires: kf5-libkdepim-devel >= %{majmin_ver} BuildRequires: kf5-kmime-devel >= %{majmin_ver} BuildRequires: kf5-pimcommon-devel >= %{majmin_ver} BuildRequires: kf5-grantleetheme-devel >= %{majmin_ver} BuildRequires: cmake(KF5PimTextEdit) BuildRequires: cmake(Grantlee5) Obsoletes: kdepim-libs < 7:16.04.0 Conflicts: kdepim-libs < 7:16.04.0 Requires: kf5-filesystem %description %{summary}. %package akonadi Summary: The MailImporterAkondi runtime library Requires: %{name}%{?_isa} = %{version}-%{release} %description akonadi %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake(KF5Archive) # akonadi Requires: %{name}-akonadi%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n %{framework}-%{version} %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang %{name} --all-name %ldconfig_scriptlets %files -f %{name}.lang %license LICENSES/*.txt %{_kf5_libdir}/libKPim5MailImporter.so.* %{_kf5_datadir}/qlogging-categories5/*categories %ldconfig_scriptlets akonadi %files akonadi %{_kf5_libdir}/libKPim5MailImporterAkonadi.so.* %files devel %{_kf5_libdir}/libKPim5MailImporter.so %{_kf5_libdir}/cmake/KPim5MailImporter/ %{_includedir}/KPim5/MailImporter/ %{_kf5_archdatadir}/mkspecs/modules/qt_MailImporter.pri # akonadi %{_kf5_libdir}/libKPim5MailImporterAkonadi.so %{_kf5_libdir}/cmake/KPim5MailImporterAkonadi/ %{_includedir}/KPim5/MailImporterAkonadi/ %{_kf5_archdatadir}/mkspecs/modules/qt_MailImporterAkonadi.pri %changelog * Fri Dec 08 2023 Yaroslav Sidlovsky - 23.08.4-1 - 23.08.4 * Fri Nov 10 2023 Yaroslav Sidlovsky - 23.08.3-1 - 23.08.3 * Sun Oct 15 2023 Yaroslav Sidlovsky - 23.08.2-5 - rebuilt * Fri Oct 13 2023 Yaroslav Sidlovsky - 23.08.2-1 - 23.08.2 * Thu Sep 14 2023 Yaroslav Sidlovsky - 23.08.1-1 - 23.08.1 * Sun Aug 27 2023 Yaroslav Sidlovsky - 23.08.0-1 - 23.08.0 * Thu Jul 06 2023 Yaroslav Sidlovsky - 23.04.3-1 - 23.04.3 * Thu Jun 08 2023 Yaroslav Sidlovsky - 23.04.2-1 - 23.04.2 * Thu May 11 2023 Yaroslav Sidlovsky - 23.04.1-1 - 23.04.1 * Thu Apr 20 2023 Yaroslav Sidlovsky - 23.04.0-1 - 23.04.0 * Thu Mar 02 2023 Yaroslav Sidlovsky - 22.12.3-1 - 22.12.3 * Thu Feb 02 2023 Yaroslav Sidlovsky - 22.12.2-1 - 22.12.2