# TODO:
# - runtime Requires if any
-%define kdeframever 5.79
-%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.79.0
+Version: 5.101.0
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
-Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 4126fc0077942bcd09ecb5833010203f
+Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# 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
%files -f %{kfname}5.lang
%defattr(644,root,root,755)
-#%%attr(755,root,root) %{_bindir}/baloo-monitor
%attr(755,root,root) %{_bindir}/baloo_file
%attr(755,root,root) %{_bindir}/baloo_file_extractor
%attr(755,root,root) %{_bindir}/balooctl
%attr(755,root,root) %{_bindir}/baloosearch
%attr(755,root,root) %{_bindir}/balooshow
-#%%attr(755,root,root) %{_libdir}/kauth/kde_baloo_filewatch_raiselimit
-#/etc/dbus-1/system.d/org.kde.baloo.filewatch.conf
/etc/xdg/autostart/baloo_file.desktop
%{_datadir}/qlogging-categories5/baloo.categories
%{_datadir}/dbus-1/interfaces/org.kde.baloo.file.indexer.xml
%{_datadir}/dbus-1/interfaces/org.kde.baloo.fileindexer.xml
%{_datadir}/dbus-1/interfaces/org.kde.baloo.main.xml
%{_datadir}/dbus-1/interfaces/org.kde.baloo.scheduler.xml
-#%%{_datadir}/dbus-1/system-services/org.kde.baloo.filewatch.service
%attr(755,root,root) %{_libdir}/libKF5Baloo.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libKF5Baloo.so.5
+%ghost %{_libdir}/libKF5Baloo.so.5
%attr(755,root,root) %{_libdir}/libKF5BalooEngine.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libKF5BalooEngine.so.5
+%ghost %{_libdir}/libKF5BalooEngine.so.5
%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kded/baloosearchmodule.so
%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/baloosearch.so
%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/tags.so
%{_libdir}/qt5/qml/org/kde/baloo/experimental/qmldir
%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/baloo/libbalooplugin.so
%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/baloo/experimental/libbaloomonitorplugin.so
-#%{_iconsdir}/hicolor/128x128/apps/baloo.png
-%{_datadir}/kservices5/baloosearch.protocol
-#%%{_datadir}/kservices5/kded/baloosearchfolderupdater.desktop
-%{_datadir}/kservices5/tags.protocol
-%{_datadir}/kservices5/timeline.protocol
-#%%{_datadir}/polkit-1/actions/org.kde.baloo.filewatch.policy
%{_datadir}/dbus-1/interfaces/org.kde.BalooWatcherApplication.xml
%{_datadir}/qlogging-categories5/baloo.renamecategories
+%{systemduserunitdir}/kde-baloo.service
+%attr(755,root,root) %{_prefix}/libexec/baloo_file
+%attr(755,root,root) %{_prefix}/libexec/baloo_file_extractor
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libKF5Baloo.so
-#%%attr(755,root,root) %{_libdir}/libKF5BalooEngine.so
+%{_libdir}/libKF5Baloo.so
%{_includedir}/KF5/Baloo
-%{_includedir}/KF5/baloo_version.h
%{_libdir}/cmake/KF5Baloo
%{_pkgconfigdir}/Baloo.pc
%{_libdir}/qt5/mkspecs/modules/qt_Baloo.pri