new systemd user kde-baloo.service

epel9
Rex Dieter 4 years ago
parent 55a479ad52
commit 4abf74d327

@ -29,6 +29,7 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framewo
Source1: 97-kde-baloo-filewatch-inotify.conf Source1: 97-kde-baloo-filewatch-inotify.conf
# shutdown script to explictly stop baloo_file on logout # shutdown script to explictly stop baloo_file on logout
# Now that baloo supports systemd user unit, this can probably be dropped -- rex
Source2: baloo_file_shutdown.sh Source2: baloo_file_shutdown.sh
## upstreamable patches ## upstreamable patches
@ -53,6 +54,9 @@ BuildRequires: lmdb-devel
BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtdeclarative-devel
# for systemd-related macros
BuildRequires: systemd
%if 0%{?tests} %if 0%{?tests}
BuildRequires: dbus-x11 BuildRequires: dbus-x11
BuildRequires: time BuildRequires: time
@ -123,6 +127,10 @@ License: LGPLv2 or LGPLv3
%install %install
%cmake_install %cmake_install
%if 0%{?flatpak:1}
rm -fv %{buildroot}%{_userunitdir}/kde-baloo.service
%endif
# baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations # baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations
rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/baloodb5.* rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/baloodb5.*
@ -172,6 +180,11 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%{_kf5_bindir}/baloo_file %{_kf5_bindir}/baloo_file
%{_kf5_bindir}/baloo_file_extractor %{_kf5_bindir}/baloo_file_extractor
%config(noreplace) %{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop %config(noreplace) %{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop
%if ! 0%{?flatpak:1}
%{_userunitdir}/kde-baloo.service
%endif
%{_libexecdir}/baloo_file
%{_libexecdir}/baloo_file_extractor
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
@ -203,6 +216,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog %changelog
* Mon May 03 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.82.0-1 * Mon May 03 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.82.0-1
- 5.82.0 - 5.82.0
- new systemd user kde-baloo.service
* Tue Apr 06 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.81.0-1 * Tue Apr 06 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.81.0-1
- 5.81.0 - 5.81.0

Loading…
Cancel
Save