cleanup, update %%files

epel9
Rex Dieter 7 years ago
parent 000374cb78
commit e5400637f5

40
.gitignore vendored

@ -1,41 +1 @@
/polkit-kde-agent-1-5.6.1.tar.xz
/polkit-kde-agent-1-5.6.2.tar.xz
/polkit-kde-agent-1-5.6.3.tar.xz
/polkit-kde-agent-1-5.6.4.tar.xz
/polkit-kde-agent-1-5.6.5.tar.xz
/polkit-kde-agent-1-5.6.95.tar.xz
/polkit-kde-agent-1-5.7.0.tar.xz
/polkit-kde-agent-1-5.7.1.tar.xz
/polkit-kde-agent-1-5.7.2.tar.xz
/polkit-kde-agent-1-5.7.3.tar.xz
/polkit-kde-agent-1-5.7.4.tar.xz
/polkit-kde-agent-1-5.7.5.tar.xz
/polkit-kde-agent-1-5.7.95.tar.xz
/polkit-kde-agent-1-5.8.0.tar.xz
/polkit-kde-agent-1-5.8.1.tar.xz
/polkit-kde-agent-1-5.8.2.tar.xz
/polkit-kde-agent-1-5.8.3.tar.xz
/polkit-kde-agent-1-5.8.4.tar.xz
/polkit-kde-agent-1-5.8.5.tar.xz
/polkit-kde-agent-1-5.8.6.tar.xz
/polkit-kde-agent-1-5.9.3.tar.xz
/polkit-kde-agent-1-5.9.4.tar.xz
/polkit-kde-agent-1-5.9.5.tar.xz
/polkit-kde-agent-1-5.10.0.tar.xz
/polkit-kde-agent-1-5.10.1.tar.xz
/polkit-kde-agent-1-5.10.2.tar.xz
/polkit-kde-agent-1-5.10.3.tar.xz
/polkit-kde-agent-1-5.10.4.tar.xz
/polkit-kde-agent-1-5.10.5.tar.xz
/polkit-kde-agent-1-5.11.1.tar.xz
/polkit-kde-agent-1-5.11.2.tar.xz
/polkit-kde-agent-1-5.11.3.tar.xz
/polkit-kde-agent-1-5.11.4.tar.xz
/polkit-kde-agent-1-5.11.5.tar.xz
/polkit-kde-agent-1-5.11.95.tar.xz
/polkit-kde-agent-1-5.12.0.tar.xz
/polkit-kde-agent-1-5.12.1.tar.xz
/polkit-kde-agent-1-5.12.2.tar.xz
/polkit-kde-agent-1-5.12.3.tar.xz
/polkit-kde-agent-1-5.12.4.tar.xz
/polkit-kde-agent-1-5.12.5.tar.xz

@ -55,15 +55,16 @@ pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%make_build -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang polkit-kde-authentication-agent-1 --with-kde
%find_lang polkit-kde-authentication-agent-1
# Move the agent from libexec to libexec/kf5
sed -i "s/Exec=\/usr\/libexec\//Exec=\/usr\/libexec\/kf5\//" %{buildroot}/%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
sed -i "s/Exec=\/usr\/libexec\//Exec=\/usr\/libexec\/kf5\//" %{buildroot}%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
mkdir -p %{buildroot}/%{_kf5_libexecdir}/
mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
%{buildroot}/%{_kf5_libexecdir}
@ -74,6 +75,7 @@ mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
%{_kf5_libexecdir}/polkit-kde-authentication-agent-1
%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
%{_kf5_datadir}/knotifications5/policykit1-kde.notifyrc
%{_kf5_datadir}/applications/org.kde.polkit-kde-authentication-agent-1.desktop
%changelog

Loading…
Cancel
Save