@ -1,11 +1,13 @@
%bcond kf6_compat %[0%{?fedora} >= 40 || 0%{?rhel} >= 10]
%global framework kguiaddons
%global framework kguiaddons
Name: kf5-%{framework}
Name: kf5-%{framework}
Version: 5.108 .0
Version: 5.115 .0
Release: 1%{?dist}
Release: 1%{?dist}
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtGui
Summary: KDE Frameworks 5 Tier 1 addon with various classes on top of QtGui
License: GPLv2+ and LGPLv2+
License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
URL: https://invent.kde.org/frameworks/%{framework}
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
%global majmin %majmin_ver_kf5
@ -24,6 +26,10 @@ BuildRequires: qt5-qtx11extras-devel
Requires: kf5-filesystem >= %{majmin}
Requires: kf5-filesystem >= %{majmin}
%if %{with kf6_compat}
Requires: kf6-%{framework}%{?_isa}
%endif
%description
%description
KDBusAddons provides convenience classes on top of QtGui.
KDBusAddons provides convenience classes on top of QtGui.
@ -41,7 +47,7 @@ developing applications that use %{name}.
%build
%build
%cmake_kf5
%cmake_kf5 %{?with_kf6_compat:-DBUILD_GEO_SCHEME_HANDLER=OFF}
%cmake_build
%cmake_build
@ -55,10 +61,14 @@ developing applications that use %{name}.
%files
%files
%doc README.md
%doc README.md
%license LICENSES/*.txt
%license LICENSES/*.txt
%if %{without kf6_compat}
%{_kf5_bindir}/kde-geo-uri-handler
%{_kf5_bindir}/kde-geo-uri-handler
%endif
%{_kf5_datadir}/qlogging-categories5/*categories
%{_kf5_datadir}/qlogging-categories5/*categories
%{_kf5_libdir}/libKF5GuiAddons.so.*
%{_kf5_libdir}/libKF5GuiAddons.so.*
%if %{without kf6_compat}
%{_kf5_datadir}/applications/*-handler.desktop
%{_kf5_datadir}/applications/*-handler.desktop
%endif
%files devel
%files devel
%{_kf5_includedir}/KGuiAddons/
%{_kf5_includedir}/KGuiAddons/
@ -68,6 +78,42 @@ developing applications that use %{name}.
%changelog
%changelog
* Sat Feb 10 2024 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.115.0-1
- 5.115.0
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.113.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.113.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Dec 08 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.113.0-1
- 5.113.0
* Mon Oct 16 2023 Alessandro Astone <ales.astone@gmail.com> - 5.111.0-4
- Fix kf6-kguiaddons requires to be arch-specific
* Mon Oct 16 2023 Alessandro Astone <ales.astone@gmail.com> - 5.111.0-3
- Require kf6-kguiaddons if compat build
* Thu Oct 12 2023 Alessandro Astone <ales.astone@gmail.com> - 5.111.0-2
- Add KF6 compatibility flag
* Tue Oct 10 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.111.0-1
- 5.111.0
* Tue Sep 05 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.110.0-1
- 5.110.0
* Sat Aug 05 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.109.0-1
- 5.109.0
* Wed Jul 26 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 5.108.0-2
- Rebuilt for MSVSphere 9.2
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.108.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Jul 02 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.108.0-1
* Sun Jul 02 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.108.0-1
- 5.108.0
- 5.108.0