# # spec file for package akonadi-calendar # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define kf5_version 5.104.0 %define libname libKPim5AkonadiCalendar5 %bcond_without released Name: akonadi-calendar Version: 23.04.1 Release: 0 Summary: Akonadi calendar integration License: LGPL-2.1-or-later URL: https://www.kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz %if %{with released} Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: cmake(KF5CalendarCore) BuildRequires: cmake(KF5Codecs) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KPim5Akonadi) BuildRequires: cmake(KPim5AkonadiContact) BuildRequires: cmake(KPim5CalendarUtils) BuildRequires: cmake(KPim5IdentityManagement) BuildRequires: cmake(KPim5MailTransportAkonadi) BuildRequires: cmake(KPim5Mime) BuildRequires: cmake(Qt5Test) Conflicts: libKF5AkonadiCalendar5 < %{version} %description This library provides calendar integration for Akonadi based Applications. %package -n %{libname} Summary: KDE PIM Libraries: AkonadiCalendar %requires_eq %{name} # Renamed Obsoletes: akonadi-calendar-lang <= 23.04.0 %description -n %{libname} This library provides calendar integration for Akonadi based Applications. %package -n akonadi-plugin-calendar Summary: Akonadi calendar integration - serializer plugin Requires: %{libname} = %{version} %description -n akonadi-plugin-calendar This package provides plugins required by PIM applications to read and write calendar data. %package -n kalendarac Summary: Reminder daemon client # Moved from kalendar 1.0.0 to akonadi-calendar Conflicts: kalendar = 1.0.0 %description -n kalendarac Kalendarac is a reminder daemon client for calendar events. %package devel Summary: KDE PIM Libraries: Build Environment Requires: %{libname} = %{version} Requires: cmake(KPim5Akonadi) Requires: cmake(KF5CalendarCore) Requires: cmake(KF5I18n) Requires: cmake(KF5WidgetsAddons) Obsoletes: akonadi5-calendar-devel < %{version} Provides: akonadi5-calendar-devel = %{version} %description devel Development package for akonadi-calendar. %lang_package -n %{libname} %prep %autosetup -p1 -n akonadi-calendar-%{version} %build %cmake_kf5 -d build -- -DBUILD_TESTING=ON %cmake_build %install %kf5_makeinstall -C build %find_lang %{libname} --with-man --all-name %ldconfig_scriptlets -n libKPim5AkonadiCalendar5 %files %license LICENSES/* %{_kf5_debugdir}/*.categories %{_kf5_debugdir}/*.renamecategories %exclude %{_kf5_debugdir}/org_kde_kalendarac.categories %files -n libKPim5AkonadiCalendar5 %{_kf5_libdir}/libKPim5AkonadiCalendar.so.* %files -n akonadi-plugin-calendar %{_kf5_plugindir}/akonadi_serializer_kcalcore.so %dir %{_kf5_sharedir}/akonadi %dir %{_kf5_sharedir}/akonadi/plugins %dir %{_kf5_sharedir}/akonadi/plugins/serializer %dir %{_kf5_plugindir}/kf5/ %dir %{_kf5_plugindir}/kf5/org.kde.kcalendarcore.calendars %{_kf5_plugindir}/kf5/org.kde.kcalendarcore.calendars/libakonadicalendarplugin.so %{_kf5_sharedir}/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop %files -n kalendarac %{_kf5_bindir}/kalendarac %{_kf5_configdir}/autostart/org.kde.kalendarac.desktop %{_kf5_debugdir}/org_kde_kalendarac.categories %{_kf5_notifydir}/kalendarac.notifyrc %{_kf5_sharedir}/dbus-1/services/org.kde.kalendarac.service %files devel %dir %{_includedir}/KPim5 %{_includedir}/KPim5/AkonadiCalendar/ %{_kf5_cmakedir}/KF5AkonadiCalendar/ %{_kf5_cmakedir}/KPim5AkonadiCalendar/ %{_kf5_libdir}/libKPim5AkonadiCalendar.so %{_kf5_mkspecsdir}/qt_AkonadiCalendar.pri %files -n %{libname}-lang -f %{libname}.lang %changelog