# - runtime Requires if any
# - make test not hanging and switch it back on
-%define kdeframever 5.89
+%define kdeframever 5.99
%define qtver 5.15.2
%define kfname kdbusaddons
Summary: Convenience classes for DBus
Name: kf5-%{kfname}
-Version: 5.89.0
-Release: 1
+Version: 5.99.0
+Release: 2
License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 7a9b7e410ee53ebd5235c31390e97ace
+# Source0-md5: 6125561b0350f49da732659ea0b360d2
URL: http://www.kde.org/
BuildRequires: Qt5DBus-devel >= %{qtver}
%{?with_tests:BuildRequires: Qt5Test-devel >= %{qtver}}
install -d build
cd build
%cmake -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
../
%ninja_build
%{?with_tests:%ninja_build test}
+
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
%files devel
%defattr(644,root,root,755)
%{_includedir}/KF5/KDBusAddons
-%{_includedir}/KF5/kdbusaddons_version.h
%{_libdir}/libKF5DBusAddons.so
%{_libdir}/cmake/KF5DBusAddons
%{qt5dir}/mkspecs/modules/qt_KDBusAddons.pri