diff --git a/kf5-kguiaddons.spec b/kf5-kguiaddons.spec index 63572f8..86bc511 100644 --- a/kf5-kguiaddons.spec +++ b/kf5-kguiaddons.spec @@ -1,8 +1,10 @@ +%bcond kf6_compat %[0%{?fedora} >= 40 || 0%{?rhel} >= 10] + %global framework kguiaddons Name: kf5-%{framework} Version: 5.111.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtGui License: GPLv2+ and LGPLv2+ @@ -41,7 +43,7 @@ developing applications that use %{name}. %build -%cmake_kf5 +%cmake_kf5 %{?with_kf6_compat:-DBUILD_GEO_SCHEME_HANDLER=OFF} %cmake_build @@ -55,10 +57,14 @@ developing applications that use %{name}. %files %doc README.md %license LICENSES/*.txt +%if %{without kf6_compat} %{_kf5_bindir}/kde-geo-uri-handler +%endif %{_kf5_datadir}/qlogging-categories5/*categories %{_kf5_libdir}/libKF5GuiAddons.so.* +%if %{without kf6_compat} %{_kf5_datadir}/applications/*-handler.desktop +%endif %files devel %{_kf5_includedir}/KGuiAddons/ @@ -68,6 +74,9 @@ developing applications that use %{name}. %changelog +* Thu Oct 12 2023 Alessandro Astone - 5.111.0-2 +- Add KF6 compatibility flag + * Tue Oct 10 2023 Marc Deop i Argemí - 5.111.0-1 - 5.111.0