Dan Vrátil 57fac68
%global         base_name polkit-kde-agent-1
Rex Dieter 6a35f8e
Rex Dieter b2b1da9
Name:    polkit-kde
Rex Dieter b2b1da9
Summary: PolicyKit integration for KDE Desktop
Rex Dieter 2b557f3
Version: 5.7.95
b444695
Release: 1%{?dist}
81504c8
Rex Dieter b2b1da9
License: GPLv2+
Rex Dieter b2b1da9
URL:     https://quickgit.kde.org/?p=%{base_name}.git
Dan Vrátil 57fac68
Dan Vrátil 57fac68
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 57fac68
%if %{revision} >= 50
Dan Vrátil 57fac68
%global stable unstable
Rex Dieter 6a35f8e
%else
Dan Vrátil 57fac68
%global stable stable
Rex Dieter 6a35f8e
%endif
Rex Dieter b2b1da9
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
3926613
Dan Vrátil 57fac68
BuildRequires:  extra-cmake-modules
Dan Vrátil 57fac68
BuildRequires:  kf5-rpm-macros
Dan Vrátil 57fac68
BuildRequires:  qt5-qtbase-devel
81504c8
Dan Vrátil 57fac68
BuildRequires:  kf5-ki18n-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kwindowsystem-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kdbusaddons-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kwidgetsaddons-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kcrash-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kconfig-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-kiconthemes-devel
Dan Vrátil 57fac68
BuildRequires:  kf5-knotifications-devel
Dan Vrátil 57fac68
Dan Vrátil 57fac68
BuildRequires:  polkit-qt5-1-devel
81504c8
Rex Dieter 6a35f8e
Provides: PolicyKit-authentication-agent = %{version}-%{release}
e17534e
Provides: polkit-kde-1 = %{version}-%{release}
Rex Dieter 6a35f8e
Provides: polkit-kde-agent-1 = %{version}-%{release}
81504c8
81504c8
Obsoletes: PolicyKit-kde < 4.5
81504c8
Rex Dieter 505277d
# Add explicit dependency on polkit, since polkit-libs were split out
Rex Dieter 505277d
Requires: polkit
Rex Dieter 505277d
81504c8
%description
81504c8
Provides Policy Kit Authentication Agent that nicely fits to KDE.
81504c8
Rex Dieter 6a35f8e
81504c8
%prep
Rex Dieter b2b1da9
%autosetup -n %{base_name}-%{version}
2199e3a
81504c8
81504c8
%build
Rex Dieter b2b1da9
mkdir %{_target_platform}
81504c8
pushd %{_target_platform}
Dan Vrátil 57fac68
%{cmake_kf5} ..
81504c8
popd
81504c8
3926613
make %{?_smp_mflags} -C %{_target_platform}
81504c8
Rex Dieter b2b1da9
81504c8
%install
3926613
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil 57fac68
%find_lang polkit-kde-authentication-agent-1 --with-kde
81504c8
Dan Vrátil 57fac68
# Move the agent from libexec to libexec/kf5
Dan Vrátil 57fac68
sed -i "s/Exec=\/usr\/libexec\//Exec=\/usr\/libexec\/kf5\//" %{buildroot}/%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
Dan Vrátil 57fac68
mkdir -p %{buildroot}/%{_kf5_libexecdir}/
Dan Vrátil 57fac68
mv %{buildroot}/%{_libexecdir}/polkit-kde-authentication-agent-1 \
Dan Vrátil 57fac68
   %{buildroot}/%{_kf5_libexecdir}
Dan Vrátil a8924b2
3926613
012e1ad
%files -f polkit-kde-authentication-agent-1.lang
Rex Dieter b2b1da9
%license COPYING
Dan Vrátil 57fac68
%{_kf5_libexecdir}/polkit-kde-authentication-agent-1
Dan Vrátil a8924b2
%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
Dan Vrátil 57fac68
%{_kf5_datadir}/knotifications5/policykit1-kde.notifyrc
81504c8
3926613
81504c8
%changelog
Rex Dieter 2b557f3
* Thu Sep 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.95-1
Rex Dieter 2b557f3
- 5.7.95
Rex Dieter 2b557f3
Rex Dieter 7673202
* Tue Sep 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.5-1
Rex Dieter 7673202
- 5.7.5
Rex Dieter 7673202
Rex Dieter 830fd8b
* Tue Aug 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.4-1
Rex Dieter 830fd8b
- 5.7.4
Rex Dieter 830fd8b
Rex Dieter 8cc9eb4
* Tue Aug 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.3-1
Rex Dieter 8cc9eb4
- 5.7.3
Rex Dieter 8cc9eb4
Rex Dieter 0175cce
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.2-1
Rex Dieter 0175cce
- 5.7.2
Rex Dieter 0175cce
Rex Dieter 87315c2
* Tue Jul 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-1
Rex Dieter 87315c2
- 5.7.1
Rex Dieter 87315c2
Rex Dieter ff39fd9
* Thu Jun 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-1
Rex Dieter ff39fd9
- 5.7.0
Rex Dieter ff39fd9
Rex Dieter 37f4854
* Sat Jun 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.95-1
Rex Dieter 37f4854
- 5.6.95
Rex Dieter 37f4854
Rex Dieter 893fa71
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.5-1
Rex Dieter 893fa71
- 5.6.5
Rex Dieter 893fa71
Rex Dieter d6eada4
* Sat May 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.4-1
Rex Dieter d6eada4
- 5.6.4
Rex Dieter d6eada4
Rex Dieter 3190f2f
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.3-1
Rex Dieter 3190f2f
- 5.6.3
Rex Dieter 3190f2f
Rex Dieter b971468
* Sat Apr 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.2-1
Rex Dieter b971468
- 5.6.2
Rex Dieter b971468
Rex Dieter b2b1da9
* Fri Apr 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-1
Rex Dieter b2b1da9
- 5.6.1
Rex Dieter b2b1da9
b444695
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
b444695
- Plasma 5.5.5
b444695
eac78ec
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
eac78ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
eac78ec
60a8b96
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
60a8b96
- Plasma 5.5.4
60a8b96
45ebc94
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
45ebc94
- Plasma 5.5.3
45ebc94
Rex Dieter a30df5c
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.2-1
Rex Dieter a30df5c
- 5.5.2
Rex Dieter a30df5c
Dan Vrátil bb6e80b
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
Dan Vrátil bb6e80b
- Plasma 5.5.1
Dan Vrátil bb6e80b
Dan Vrátil f73cb85
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
Dan Vrátil f73cb85
- Plasma 5.5.0
Dan Vrátil f73cb85
Dan Vrátil 57320f3
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
Dan Vrátil 57320f3
- Plasma 5.4.95
Dan Vrátil 57320f3
3a2fb3b
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
3a2fb3b
- Plasma 5.4.3
3a2fb3b
Rex Dieter 44a7343
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
Rex Dieter 44a7343
- 5.4.2
Rex Dieter 44a7343
Rex Dieter 2fec08d
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
Rex Dieter 2fec08d
- 5.4.1
Rex Dieter 2fec08d
Dan Vrátil 1f3e289
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil 1f3e289
- Plasma 5.4.0
Dan Vrátil 1f3e289
Dan Vrátil 1f3e289
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
Dan Vrátil 1f3e289
- Plasma 5.3.95
Dan Vrátil 1f3e289
Dan Vrátil 373e7da
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
Dan Vrátil 373e7da
- Plasma 5.3.2
Dan Vrátil 373e7da
311eebc
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
311eebc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
311eebc
Dan Vrátil 7012f6b
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
Dan Vrátil 7012f6b
- Plasma 5.3.1
Dan Vrátil 7012f6b
Dan Vrátil 1aa8108
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil 1aa8108
- Plasma 5.3.0
Dan Vrátil 1aa8108
Dan Vrátil 4259061
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
Dan Vrátil 4259061
- Plasma 5.2.95
Dan Vrátil 4259061
Dan Vrátil 06a68fd
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
Dan Vrátil 06a68fd
- Plasma 5.2.2
Dan Vrátil 06a68fd
Dan Vrátil c9a6e89
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
Dan Vrátil c9a6e89
- Rebuild (GCC 5)
Dan Vrátil c9a6e89
Dan Vrátil 30c1121
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
Dan Vrátil 30c1121
- Plasma 5.2.1
Dan Vrátil 30c1121
Dan Vrátil 57fac68
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 57fac68
- Plasma 5.2.0
Dan Vrátil 57fac68
Rex Dieter 505277d
* Sun Jan 25 2015 Rex Dieter <rdieter@fedoraproject.org> 0.99.1-6.20130311git
Rex Dieter 505277d
- Requires: polkit
Rex Dieter 505277d
Dan Vrátil 57fac68
* Tue Jan 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
Dan Vrátil 57fac68
- Plasma 5.1.95 Beta
Dan Vrátil 57fac68
Dan Vrátil a8924b2
* Wed Oct 22 2014 Daniel Vrátil <dvratil@redhat.com> - 0.99.1-5.20130311git
Dan Vrátil a8924b2
- Install autostart file to /etc/xdg/autostart so that Plasma 5 picks it up too
Dan Vrátil a8924b2
8e9b902
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-4.20130311git
8e9b902
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8e9b902
f481658
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-3.20130311git
f481658
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f481658
e21918f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1-2.20130311git
e21918f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e21918f
Rex Dieter 6a35f8e
* Mon Mar 11 2013 Rex Dieter <rdieter@fedoraproject.org> - 0.99.1-1.20130311git
Rex Dieter 6a35f8e
- 0.99.1 git snapshot
Rex Dieter 6a35f8e
- Provides: polkit-kde-agent-1
Rex Dieter 6a35f8e
- .spec cosmetics
Rex Dieter 6a35f8e
da3d6de
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-6
da3d6de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
da3d6de
a40a841
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-5
a40a841
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a40a841
0632304
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-4
0632304
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0632304
3926613
* Mon Dec 12 2011 Rex Dieter <rdieter@fedoraproject.org> 0.99.0-3
3926613
- patch to bring polkit auth dialog to front
3926613
- patch restart polkit-kde on crash 
3926613
- patch to remove unimplimented 'remember authorization' checkbox
3926613
6b47a94
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.0-2
6b47a94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6b47a94
012e1ad
* Fri Dec 17 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.99.0-1
012e1ad
- Update to 0.99.0
012e1ad
aebe151
* Thu Nov 25 2010 Radek Novacek <rnovacek@redhat.com> 0.98.1-1
aebe151
- Update to polkit-kde-0.98.1
aebe151
70937e2
* Thu Nov 25 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-7
70937e2
- rebuild (polkit-qt) 
70937e2
Radek Novacek 66f2c9d
* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-6
Radek Novacek 66f2c9d
- Fixed FTBFS with GCC-4.5
Radek Novacek 66f2c9d
Radek Novacek ab587d9
* Wed Aug 04 2010 Radek Novacek <rnovacek@redhat.com> - 0.95.1-5
Radek Novacek ab587d9
- Add patch for showing "password for root" when root user is authenticating
Radek Novacek ab587d9
- Related: #618543
Radek Novacek ab587d9
2199e3a
* Sun Feb 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.95.1-4
2199e3a
- FTBFS polkit-kde-0.95.1-3.fc13: ImplicitDSOLinking (#564809)
2199e3a
f3a84a1
* Wed Jan 06 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-3
f3a84a1
- Again provides PolicyKit-authentication-agent
f3a84a1
0e3cb71
* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-2
0e3cb71
- Added Gettext BR
0e3cb71
e17534e
* Tue Jan 05 2010 Jaroslav Reznik <jreznik@redhat.com> - 0.95.1-1
e17534e
- Update to official release
e17534e
- Provides polkit-kde-1
e17534e
81504c8
* Mon Nov 30 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.2.20091125svn
81504c8
- Adds desktop file
81504c8
- Adds obsoletes
81504c8
81504c8
* Wed Nov 25 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.95-0.1.20091125svn
2199e3a
- Initial package