diff --git a/kf5-kactivities.spec b/kf5-kactivities.spec index db7aba5..2122712 100644 --- a/kf5-kactivities.spec +++ b/kf5-kactivities.spec @@ -77,9 +77,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %if !0%{?build_main_package} rm -f %{buildroot}%{_kf5_bindir}/kactivitymanagerd -rm -f %{buildroot}%{_kf5_datadir}/kservices5/kactivitymanagerd.desktop +rm -f %{buildroot}%{_kf5_datadir}/kservices5/*.desktop +rm -f %{buildroot}%{_kf5_datadir}/kservices5/*.protocol rm -f %{buildroot}%{_kf5_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop rm -rf %{buildroot}%{_kf5_qtplugindir}/kactivitymanagerd/ +rm -r %{buildroot}%{_kf5_qtplugindir}/*.so +rm -rf %{buildroot}/%{_kf5_datadir}/kf5/kactivitymanagerd %endif %post libs -p /sbin/ldconfig @@ -90,9 +93,12 @@ rm -rf %{buildroot}%{_kf5_qtplugindir}/kactivitymanagerd/ %files %doc README README.md README.packagers README.developers MAINTAINER %{_kf5_bindir}/kactivitymanagerd -%{_kf5_datadir}/kservices5/kactivitymanagerd.desktop +%{_kf5_datadir}/kservices5/*.desktop +%{_kf5_datadir}/kservices5/activities.protocol %{_kf5_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop %{_kf5_qtplugindir}/kactivitymanagerd/ +%{_kf5_qtplugindir}/*.so +%{_kf5_datadir}/kf5/kactivitymanagerd/ %endif %files libs -f kactivities5_qt.lang