%global base_name polkit-kde-agent-1 Name: polkit-kde Summary: PolicyKit integration for KDE Desktop Version: 5.12.8 Release: 1%{?dist} License: GPLv2+ URL: https://cgit.kde.org/%{base_name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: qt5-qtbase-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kwindowsystem-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kwidgetsaddons-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kcrash-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-knotifications-devel BuildRequires: polkit-qt5-1-devel Provides: PolicyKit-authentication-agent = %{version}-%{release} Provides: polkit-kde-1 = %{version}-%{release} Provides: polkit-kde-agent-1 = %{version}-%{release} Obsoletes: PolicyKit-kde < 4.5 # Add explicit dependency on polkit, since polkit-libs were split out Requires: polkit %description Provides Policy Kit Authentication Agent that nicely fits to KDE. %prep %autosetup -n %{base_name}-%{version} %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %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 mkdir -p %{buildroot}/%{_kf5_libexecdir}/ mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \ %{buildroot}/%{_kf5_libexecdir} %files -f polkit-kde-authentication-agent-1.lang %license COPYING %{_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 * Fri Nov 09 2018 Rex Dieter - 5.12.7-1 - 5.12.7 * Wed Jun 27 2018 Rex Dieter - 5.12.6-1 - 5.12.6 * Tue May 01 2018 Rex Dieter - 5.12.5-1 - 5.12.5 * Tue Mar 27 2018 Rex Dieter - 5.12.4-1 - 5.12.4 * Tue Mar 06 2018 Rex Dieter - 5.12.3-1 - 5.12.3 * Wed Feb 21 2018 Jan Grulich - 5.12.2-1 - 5.12.2 * Tue Feb 13 2018 Jan Grulich - 5.12.1-1 - 5.12.1 * Fri Feb 09 2018 Fedora Release Engineering - 5.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Jan Grulich - 5.12.0-1 - 5.12.0 * Mon Jan 15 2018 Jan Grulich - 5.11.95-1 - 5.11.95 * Tue Jan 02 2018 Rex Dieter - 5.11.5-1 - 5.11.5 * Thu Nov 30 2017 Martin Kyral - 5.11.4-1 - 5.11.4 * Wed Nov 08 2017 Rex Dieter - 5.11.3-1 - 5.11.3 * Wed Oct 25 2017 Martin Kyral - 5.11.2-1 - 5.11.2 * Tue Oct 17 2017 Rex Dieter - 5.11.1-1 - 5.11.1 * Wed Oct 11 2017 Martin Kyral - 5.11.0-1 - 5.11.0 * Thu Aug 24 2017 Rex Dieter - 5.10.5-1 - 5.10.5 * Thu Aug 03 2017 Fedora Release Engineering - 5.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 5.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 21 2017 Rex Dieter - 5.10.4-1 - 5.10.4 * Tue Jun 27 2017 Rex Dieter - 5.10.3-1 - 5.10.3 * Thu Jun 15 2017 Rex Dieter - 5.10.2-1 - 5.10.2 * Tue Jun 06 2017 Rex Dieter - 5.10.1-1 - 5.10.1 * Wed May 31 2017 Jan Grulich - 5.10.0-1 - 5.10.0 * Wed Apr 26 2017 Rex Dieter - 5.9.5-1 - 5.9.5 * Thu Mar 23 2017 Rex Dieter - 5.9.4-1 - 5.9.4 * Sat Mar 04 2017 Rex Dieter - 5.9.3-2 - rebuild * Wed Mar 01 2017 Jan Grulich - 5.9.3-1 - 5.9.3 * Tue Feb 21 2017 Rex Dieter - 5.8.6-1 - 5.8.6 * Sat Feb 11 2017 Fedora Release Engineering - 5.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Dec 28 2016 Rex Dieter - 5.8.5-1 - 5.8.5 * Tue Nov 22 2016 Rex Dieter - 5.8.4-1 - 5.8.4 * Tue Nov 01 2016 Rex Dieter - 5.8.3-1 - 5.8.3 * Tue Oct 18 2016 Rex Dieter - 5.8.2-1 - 5.8.2 * Tue Oct 11 2016 Rex Dieter - 5.8.1-1 - 5.8.1 * Thu Sep 29 2016 Rex Dieter - 5.8.0-1 - 5.8.0 * Thu Sep 22 2016 Rex Dieter - 5.7.95-1 - 5.7.95 * Tue Sep 13 2016 Rex Dieter - 5.7.5-1 - 5.7.5 * Tue Aug 23 2016 Rex Dieter - 5.7.4-1 - 5.7.4 * Tue Aug 02 2016 Rex Dieter - 5.7.3-1 - 5.7.3 * Tue Jul 19 2016 Rex Dieter - 5.7.2-1 - 5.7.2 * Tue Jul 12 2016 Rex Dieter - 5.7.1-1 - 5.7.1 * Thu Jun 30 2016 Rex Dieter - 5.7.0-1 - 5.7.0 * Sat Jun 25 2016 Rex Dieter - 5.6.95-1 - 5.6.95 * Tue Jun 14 2016 Rex Dieter - 5.6.5-1 - 5.6.5 * Sat May 14 2016 Rex Dieter - 5.6.4-1 - 5.6.4 * Tue Apr 19 2016 Rex Dieter - 5.6.3-1 - 5.6.3 * Sat Apr 09 2016 Rex Dieter - 5.6.2-1 - 5.6.2 * Fri Apr 08 2016 Rex Dieter - 5.6.1-1 - 5.6.1 * Tue Mar 01 2016 Daniel Vrátil - 5.5.5-1 - Plasma 5.5.5 * Thu Feb 04 2016 Fedora Release Engineering - 5.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 27 2016 Daniel Vrátil - 5.5.4-1 - Plasma 5.5.4 * Thu Jan 07 2016 Daniel Vrátil - 5.5.3-1 - Plasma 5.5.3 * Thu Dec 31 2015 Rex Dieter - 5.5.2-1 - 5.5.2 * Fri Dec 18 2015 Daniel Vrátil - 5.5.1-1 - Plasma 5.5.1 * Thu Dec 03 2015 Daniel Vrátil - 5.5.0-1 - Plasma 5.5.0 * Wed Nov 25 2015 Daniel Vrátil - 5.4.95-1 - Plasma 5.4.95 * Thu Nov 05 2015 Daniel Vrátil - 5.4.3-1 - Plasma 5.4.3 * Thu Oct 01 2015 Rex Dieter - 5.4.2-1 - 5.4.2 * Wed Sep 09 2015 Rex Dieter - 5.4.1-1 - 5.4.1 * Fri Aug 21 2015 Daniel Vrátil - 5.4.0-1 - Plasma 5.4.0 * Thu Aug 13 2015 Daniel Vrátil - 5.3.95-1 - Plasma 5.3.95 * Thu Jun 25 2015 Daniel Vrátil - 5.3.2-1 - Plasma 5.3.2 * Thu Jun 18 2015 Fedora Release Engineering - 5.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 26 2015 Daniel Vrátil - 5.3.1-1 - Plasma 5.3.1 * Mon Apr 27 2015 Daniel Vrátil - 5.3.0-1 - Plasma 5.3.0 * Wed Apr 22 2015 Daniel Vrátil - 5.2.95-1 - Plasma 5.2.95 * Fri Mar 20 2015 Daniel Vrátil - 5.2.2-1 - Plasma 5.2.2 * Fri Feb 27 2015 Daniel Vrátil - 5.2.1-2 - Rebuild (GCC 5) * Tue Feb 24 2015 Daniel Vrátil - 5.2.1-1 - Plasma 5.2.1 * Mon Jan 26 2015 Daniel Vrátil - 5.2.0-1 - Plasma 5.2.0 * Sun Jan 25 2015 Rex Dieter 0.99.1-6.20130311git - Requires: polkit * Tue Jan 13 2015 Daniel Vrátil - 5.1.95-1.beta - Plasma 5.1.95 Beta * Wed Oct 22 2014 Daniel Vrátil - 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 - 0.99.1-4.20130311git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.99.1-3.20130311git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.99.1-2.20130311git - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Mar 11 2013 Rex Dieter - 0.99.1-1.20130311git - 0.99.1 git snapshot - Provides: polkit-kde-agent-1 - .spec cosmetics * Thu Feb 14 2013 Fedora Release Engineering - 0.99.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.99.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.99.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Dec 12 2011 Rex Dieter 0.99.0-3 - patch to bring polkit auth dialog to front - patch restart polkit-kde on crash - patch to remove unimplimented 'remember authorization' checkbox * Wed Feb 09 2011 Fedora Release Engineering - 0.99.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Jaroslav Reznik - 0.99.0-1 - Update to 0.99.0 * Thu Nov 25 2010 Radek Novacek 0.98.1-1 - Update to polkit-kde-0.98.1 * Thu Nov 25 2010 Rex Dieter - 0.95.1-7 - rebuild (polkit-qt) * Wed Aug 04 2010 Radek Novacek - 0.95.1-6 - Fixed FTBFS with GCC-4.5 * Wed Aug 04 2010 Radek Novacek - 0.95.1-5 - Add patch for showing "password for root" when root user is authenticating - Related: #618543 * Sun Feb 14 2010 Rex Dieter - 0.95.1-4 - FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809) * Wed Jan 06 2010 Jaroslav Reznik - 0.95.1-3 - Again provides PolicyKit-authentication-agent * Tue Jan 05 2010 Jaroslav Reznik - 0.95.1-2 - Added Gettext BR * Tue Jan 05 2010 Jaroslav Reznik - 0.95.1-1 - Update to official release - Provides polkit-kde-1 * Mon Nov 30 2009 Jaroslav Reznik - 0.95-0.2.20091125svn - Adds desktop file - Adds obsoletes * Wed Nov 25 2009 Jaroslav Reznik - 0.95-0.1.20091125svn - Initial package