From 91b3d53bc5d25ba36216e3191c541ce42371a271 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:28:15 +0100 Subject: [PATCH] libkalarm: also obsolete libkalarmcal-devel [release 23.04.0-3mamba;Thu May 04 2023] --- kalarm.spec | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/kalarm.spec b/kalarm.spec index 5a51a55..bfad848 100644 --- a/kalarm.spec +++ b/kalarm.spec @@ -1,8 +1,8 @@ %define majver %(echo %version | cut -d. -f1-2) Name: kalarm -Version: 22.12.3 -Release: 1mamba +Version: 23.04.0 +Release: 3mamba Summary: KDE Frameworks 5 personal alarm message, audio, command and email scheduler Group: Graphical Desktop/Applications/Office Vendor: openmamba @@ -49,6 +49,7 @@ BuildRequires: libknotifications-devel BuildRequires: libknotifyconfig-devel BuildRequires: libkpimtextedit-devel BuildRequires: libkservice-devel +BuildRequires: libktextaddons-devel BuildRequires: libktextwidgets-devel BuildRequires: libkwallet-devel BuildRequires: libkwidgetsaddons-devel @@ -63,10 +64,21 @@ BuildRequires: qt5-qtbase-devel BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: kalarmcal <= 21.12.3 %description KDE Frameworks 5 personal alarm message, audio, command and email scheduler. +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Obsoletes: libkalarmcal <= 21.12.3 +Obsoletes: libkalarmcal-devel <= 21.12.3 + +%description -n lib%{name} +This package contains shared libraries for %{name}. + %debug_package %prep @@ -85,15 +97,11 @@ KDE Frameworks 5 personal alarm message, audio, command and email scheduler. %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}5_qt.lang +%files %defattr(-,root,root) %{_sysconfdir}/xdg/autostart/kalarm.autostart.desktop %{_bindir}/kalarm %{_bindir}/kalarmautostart -%{_libdir}/libkalarmcalendar.so.* -%{_libdir}/libkalarmplugin.so.* -%{_libdir}/qt5/plugins/pim5/kalarm/akonadiplugin.so -%{_libexecdir}/kf5/kauth/kalarm_helper %{_datadir}/applications/org.kde.kalarm.desktop %{_datadir}/config.kcfg/kalarmconfig.kcfg %{_datadir}/dbus-1/interfaces/org.kde.kalarm.kalarm.xml @@ -107,9 +115,25 @@ KDE Frameworks 5 personal alarm message, audio, command and email scheduler. %{_datadir}/qlogging-categories5/kalarm.renamecategories %{_datadir}/icons/hicolor/*/apps/kalarm.png %{_datadir}/kalarm/icons/oxygen/*/actions/*.png + +%files -n lib%{name} -f %{name}5_qt.lang +%defattr(-,root,root) +%{_libdir}/libkalarmcalendar.so.* +%{_libdir}/libkalarmplugin.so.* +%{_libdir}/qt5/plugins/pim5/kalarm/akonadiplugin.so +%{_libexecdir}/kf5/kauth/kalarm_helper %doc AUTHORS LICENSES %changelog +* Thu May 04 2023 Silvan Calarco 23.04.0-3mamba +- libkalarm: also obsolete libkalarmcal-devel + +* Thu May 04 2023 Silvan Calarco 23.04.0-2mamba +- obsolete kalarmcal; add libkalarm subpackage + +* Fri Apr 28 2023 Automatic Build System 23.04.0-1mamba +- automatic version update by autodist + * Sat Mar 04 2023 Automatic Build System 22.12.3-1mamba - automatic version update by autodist