polkit-kde-agent-1/polkit-kde-agent-1.spec

69 lines
2.1 KiB
RPMSpec

Name: polkit-kde-agent-1
Version: 0.99.0
Release: 2mamba
Summary: KDE authentication agent for polkit
Group: Graphical Desktop/Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/polkit-kde-agent-1-%{version}.tar.bz2
Patch0: %{name}-0.99.0-bring_the_auth_dialog_to_the_front.patch
License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kdelibs4-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
BuildRequires: polkit-qt-1-devel >= 0.99.0
## AUTOBUILDREQ-END
Obsoletes: polkit-kde-1
Provides: polkit-kde-1 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE authentication agent for polkit.
%prep
%setup -q
%patch0 -p1
%build
%cmake_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang polkit-kde-authentication-agent-1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f polkit-kde-authentication-agent-1.lang
%defattr(-,root,root)
%{_kde4_autostartdir}/polkit-kde-authentication-agent-1.desktop
%{_kde4_datadir}/policykit1-kde/policykit1-kde.notifyrc
%{_kde4_libexecdir}/polkit-kde-authentication-agent-1
%doc COPYING
%changelog
* Sun Feb 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.0-2mamba
- added upstream patch to bring authentication dialog to the front when it is shown
* Sat Jan 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.99.0-1mamba
- update to 0.99.0
- renamed to polkit-kde-agent-1
* Sat Jan 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.95.1-3mamba
- rebuilt against latest polkit-qt-1
* Mon May 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-2mamba
- added gcc45 ftbfs patch
* Mon Apr 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.95.1-1mamba
- package created by autospec