55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: kwallet-pam
|
||
|
Version: 5.11.2
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Plasma 5 kwallet login integration with PAM
|
||
|
Group: 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/%{version}/kwallet-pam-%{version}.tar.xz
|
||
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcrypt-devel
|
||
|
BuildRequires: libgpg-error-devel
|
||
|
BuildRequires: libpam-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KDE Plasma 5 kwallet login integration with PAM.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_sysconfdir}/xdg/autostart/pam_kwallet_init.desktop
|
||
|
%{_libdir}/security/pam_kwallet5.so
|
||
|
%{_libexecdir}/pam_kwallet_init
|
||
|
%doc COPYING.LIB
|
||
|
|
||
|
%changelog
|
||
|
* Sun Nov 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.2-1mamba
|
||
|
- package created using the webbuild interface
|