%global framework pimcommon Name: kf5-%{framework} Version: 23.08.3 Release: 1%{?dist} Summary: PIM common libraries License: GPLv2+ URL: https://api.kde.org/kdepim/pimcommon/html/ %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 # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches %{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}} BuildRequires: gnupg2 BuildRequires: boost-devel BuildRequires: cmake(Grantlee5) # kf5 %global kf5_ver 5.71 BuildRequires: extra-cmake-modules >= %{kf5_ver} BuildRequires: kf5-rpm-macros >= %{kf5_ver} BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Codecs) BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF5ItemViews) BuildRequires: cmake(KF5JobWidgets) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5NewStuff) BuildRequires: cmake(KF5Service) BuildRequires: cmake(KF5Wallet) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5WindowSystem) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5Purpose) BuildRequires: cmake(KF5KCMUtils) # qt5 BuildRequires: cmake(Qt5Designer) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5PrintSupport) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5UiTools) BuildRequires: pkgconfig(Qt5WebEngineWidgets) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) # kde-apps %global majmin_ver %{version} BuildRequires: kf5-akonadi-contacts-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-server-devel >= %{majmin_ver} BuildRequires: kf5-kcalendarcore-devel >= %{majmin_ver} BuildRequires: kf5-kcontacts-devel >= %{majmin_ver} BuildRequires: kf5-kimap-devel >= %{majmin_ver} BuildRequires: kf5-kmime-devel >= %{majmin_ver} BuildRequires: kf5-kpimtextedit-devel >= %{majmin_ver} BuildRequires: kf5-libkdepim-devel >= %{majmin_ver} BuildRequires: kf5-kldap-devel >= %{majmin_ver} BuildRequires: kf5-akonadi-search-devel >= %{majmin_ver} BuildRequires: kf5-grantleetheme-devel >= %{majmin_ver} BuildRequires: cmake(KF5TextAutoCorrectionCore) BuildRequires: pkgconfig(libxslt) Obsoletes: kdepim-libs < 7:16.04.0 Conflicts: kdepim-libs < 7:16.04.0 %description %{summary}. %package akonadi Summary: The PimCommonAkondi runtime library Obsoletes: kf5-libkdepim-akonadi < 20.08.0 Requires: %{name}%{?_isa} = %{version}-%{release} %description akonadi %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake(KF5Config) # akonadi Requires: %{name}-akonadi%{?_isa} = %{version}-%{release} Requires: cmake(KPim5Akonadi) Requires: cmake(KPim5AkonadiContact) Requires: cmake(KPim5IMAP) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %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 --with-html %ldconfig_scriptlets %files -f %{name}.lang %license LICENSES/*.txt %{_kf5_libdir}/libKPim5PimCommon.so.5* %{_qt5_plugindir}/designer/pimcommon5widgets.so %{_kf5_datadir}/qlogging-categories5/*categories %ldconfig_scriptlets akonadi %files akonadi %{_kf5_libdir}/libKPim5PimCommonAkonadi.so.5* %{_kf5_qtplugindir}/designer/pimcommon5akonadiwidgets.so %files devel %{_kf5_libdir}/libKPim5PimCommon.so %{_kf5_libdir}/cmake/KPim5PimCommon/ %{_includedir}/KPim5/PimCommon/ %{_kf5_archdatadir}/mkspecs/modules/qt_PimCommon.pri # Akonadi %{_kf5_libdir}/libKPim5PimCommonAkonadi.so %{_kf5_libdir}/cmake/KPim5PimCommonAkonadi/ %{_includedir}/KPim5/PimCommonAkonadi/ %{_kf5_archdatadir}/mkspecs/modules/qt_PimCommonAkonadi.pri %changelog * 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