Install autostart file to /etc/xdg/autostart so that Plasma 5 picks it up

epel9
Dan Vrátil 10 years ago
parent 8e9b90226a
commit a8924b2ae8

@ -4,7 +4,7 @@
Name: polkit-kde Name: polkit-kde
Summary: PolicyKit integration for KDE Desktop Summary: PolicyKit integration for KDE Desktop
Version: 0.99.1 Version: 0.99.1
Release: 4.%{snap}%{?dist} Release: 5.%{snap}%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1 URL: https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1
@ -51,15 +51,24 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang polkit-kde-authentication-agent-1 %find_lang polkit-kde-authentication-agent-1
# Plasma 5 only picks autostart from /etc/xdg/autostart, so we move it
# there so that both Plasma 5 and KDE 4 pick it up
mkdir -p %{buildroot}/etc/xdg/autostart
mv %{buildroot}/%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop \
%{buildroot}/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop
%files -f polkit-kde-authentication-agent-1.lang %files -f polkit-kde-authentication-agent-1.lang
%doc COPYING %doc COPYING
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1 %{_libexecdir}/kde4/polkit-kde-authentication-agent-1
%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop %{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
%{_kde4_appsdir}/policykit1-kde/policykit1-kde.notifyrc %{_kde4_appsdir}/policykit1-kde/policykit1-kde.notifyrc
%changelog %changelog
* Wed Oct 22 2014 Daniel Vrátil <dvratil@redhat.com> - 0.99.1-5.20130311git
- Install autostart file to /etc/xdg/autostart so that Plasma 5 picks it up too
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-4.20130311git * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-4.20130311git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

Loading…
Cancel
Save