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

78 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: polkit-kde-agent-1
Version: 5.10.5
Release: 1mamba
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: https://download.kde.org/stable/plasma/5.10.5/polkit-kde-agent-1-%{version}.tar.xz
Patch0: %{name}-0.99.0-bring_the_auth_dialog_to_the_front.patch
License: GPL
BuildRequires: cmake
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libpolkit-qt5-1-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## 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_kde5 -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)
%{_sysconfdir}/xdg/autostart/polkit-kde-authentication-agent-1.desktop
%{_libexecdir}/polkit-kde-authentication-agent-1
%{_datadir}/knotifications5/policykit1-kde.notifyrc
%doc COPYING
%changelog
* Mon Sep 25 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
- update to 5.10.5
* 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