# TODO:
# - runtime Requires if any
-%define kdeframever 5.90
-%define qtver 5.9.0
+%define kdeframever 5.101
+%define qtver 5.15.2
%define kfname baloo
Summary: A file indexing and file search framework
Name: kf5-%{kfname}
-Version: 5.90.0
+Version: 5.101.0
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 2f7704d7d148c383cb9072ac5458e139
+# Source0-md5: 33ae3ad511db114a9b69eb8da2b26677
Patch0: kf5-baloo-absolute-path.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-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
%defattr(644,root,root,755)
%{_libdir}/libKF5Baloo.so
%{_includedir}/KF5/Baloo
-%{_includedir}/KF5/baloo_version.h
%{_libdir}/cmake/KF5Baloo
%{_pkgconfigdir}/Baloo.pc
%{_libdir}/qt5/mkspecs/modules/qt_Baloo.pri