From 44bce63bb9862d7f09c6f07afb13ea15d950883b0b7528914e2d01d8cad408c5 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 9 Feb 2024 12:01:31 +0000 Subject: [PATCH] Sync OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/plasma6-desktop?expand=0&rev=2 --- plasma6-desktop.spec | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/plasma6-desktop.spec b/plasma6-desktop.spec index 9dde81a..422fbf3 100644 --- a/plasma6-desktop.spec +++ b/plasma6-desktop.spec @@ -192,6 +192,8 @@ Obsoletes: plasma6-addons-kimpanel < %{version} Provides: plasma6-desktop-kimpanel = %{version} Obsoletes: plasma6-desktop-kimpanel < %{version} Conflicts: plasma5-desktop +Requires: (plasma6-kimpanel-ibus if ibus) +Requires: (plasma6-kimpanel-scim if scim) %description This package contains the basic packages for a Plasma workspace. @@ -206,6 +208,20 @@ Conflicts: plasma5-desktop-emojier %description emojier Press Meta+. to open an emoji selection window. +%package -n plasma6-kimpanel-ibus +Summary: Plasma 6 IBus Configuration +Requires: %{name} = %{version} + +%description -n plasma6-kimpanel-ibus +Plasma 6 Input Method Backend for IBus support. + +%package -n plasma6-kimpanel-scim +Summary: Plasma 6 SCIM Configuration +Requires: %{name} = %{version} + +%description -n plasma6-kimpanel-scim +Plasma 6 Input Method Backend for SCIM (Smart Chinese/Common Input Method) support. + %lang_package %prep @@ -319,9 +335,6 @@ rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/ %{_kf6_sharedir}/polkit-1/actions/org.kde.kcontrol.kcmclock.policy %{_kf6_sharedir}/solid/ %{_kf6_libexecdir}/kauth/kcmdatetimehelper -%{_libexecdir}/kimpanel-ibus-panel -%{_libexecdir}/kimpanel-ibus-panel-launcher -%{_libexecdir}/kimpanel-scim-panel %exclude %{_kf6_plasmadir}/emoji/ # SECTION kaccounts # %%{_kf6_plugindir}/attica_kde.so @@ -362,6 +375,13 @@ rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/ %{_kf6_plasmadir}/emoji/ %{_kf6_sharedir}/kglobalaccel/org.kde.plasma.emojier.desktop +%files -n plasma6-kimpanel-ibus +%{_libexecdir}/kimpanel-ibus-panel +%{_libexecdir}/kimpanel-ibus-panel-launcher + +%files -n plasma6-kimpanel-scim +%{_libexecdir}/kimpanel-scim-panel + %files lang -f %{name}.lang %exclude %{_kf6_htmldir}/en %{_kf6_sharedir}/locale/sr*/LC_SCRIPTS/