81504c8
Name:           polkit-kde
012e1ad
Version:        0.99.0
3926613
Release:        3%{?dist}
81504c8
Summary:        PolicyKit integration for KDE Desktop
81504c8
81504c8
Group:          Applications/System
81504c8
License:        GPLv2+
81504c8
URL:            http://www.kde.org/
81504c8
012e1ad
Source0:        ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/polkit-kde-agent-1-%{version}.tar.bz2
81504c8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
81504c8
3926613
## upstream patches
3926613
Patch05: 0005-Bring-the-auth-dialog-to-the-front-when-it-is-shown..patch
3926613
Patch16: 0016-Autorestart-when-we-crash.-This-way-a-polkit-kde-1-c.patch
3926613
Patch17: 0017-Of-course-we-can-only-set-KCrash-flags-after-KCmdLin.patch
3926613
Patch19: 0019-Remove-unused-Remember-authorization-checkboxes.patch
3926613
Patch20: 0020-CCMAIL-echidnaman-kubuntu.org.patch
3926613
81504c8
BuildRequires:  kdelibs4-devel
463927e
BuildRequires:  polkit-qt-devel >= 0.99.0
81504c8
BuildRequires:  cmake
0e3cb71
BuildRequires:  gettext
81504c8
81504c8
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
81504c8
f3a84a1
Provides: PolicyKit-authentication-agent
e17534e
Provides: polkit-kde-1 = %{version}-%{release}
81504c8
81504c8
Obsoletes: PolicyKit-kde < 4.5
81504c8
81504c8
%description
81504c8
Provides Policy Kit Authentication Agent that nicely fits to KDE.
81504c8
81504c8
%prep
012e1ad
%setup -q -n polkit-kde-agent-1-%{version}
2199e3a
3926613
%patch05 -p1 -b .0005
3926613
%patch16 -p1 -b .0016
3926613
%patch17 -p1 -b .0017
3926613
%patch19 -p1 -b .0019
3926613
%patch20 -p1 -b .0020
3926613
81504c8
81504c8
%build
81504c8
mkdir -p %{_target_platform}
81504c8
pushd %{_target_platform}
81504c8
%{cmake_kde4} ..
81504c8
popd
81504c8
3926613
make %{?_smp_mflags} -C %{_target_platform}
81504c8
81504c8
81504c8
%install
81504c8
rm -rf %{buildroot}
3926613
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
81504c8
012e1ad
%find_lang polkit-kde-authentication-agent-1
e17534e
3926613
81504c8
%clean
81504c8
rm -rf %{buildroot}
81504c8
81504c8
012e1ad
%files -f polkit-kde-authentication-agent-1.lang
81504c8
%defattr(-,root,root,-)
81504c8
%doc COPYING
81504c8
%{_libexecdir}/kde4/polkit-kde-authentication-agent-1
012e1ad
%{_datadir}/autostart/polkit-kde-authentication-agent-1.desktop
012e1ad
%{_kde4_appsdir}/policykit1-kde/policykit1-kde.notifyrc
81504c8
3926613
81504c8
%changelog
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