1 %define module pam_yubico
2 Summary: A Pluggable Authentication Module for Yubikeys
3 Summary(pl.UTF-8): Moduł PAM dla urządzeń Yubikey
8 Group: Applications/System
9 Source0: https://developers.yubico.com/yubico-pam/Releases/%{module}-%{version}.tar.gz
10 # Source0-md5: 727d5937dcc864bfe6201f90f35728a5
11 URL: https://developers.yubico.com/yubico-pam
12 BuildRequires: asciidoc
13 BuildRequires: libyubikey-devel >= 1.5
14 BuildRequires: openldap-devel
15 BuildRequires: pam-devel
16 BuildRequires: ykclient-devel >= 2.15
17 BuildRequires: ykpers-devel >= 1.8.0
18 Requires: libyubikey >= 1.5
20 Requires: ykclient >= 2.15
21 Requires: ykpers >= 1.8.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This is pam_yubico, a pluggable authentication module that can be used
26 with Linux-PAM and Yubikeys. This module supports Yubikey OTP
29 %description -l pl.UTF-8
30 Ten pakiet zawiera pam_yubico - ładowalny moduł uwierzytelniający,
31 który może być używany ze szkieletem Linux-PAM oraz urządzeniami
32 Yubikey. Ten moduł obsługuje sprawdzanie haseł jednorazowych (OTP)
36 %setup -q -n %{module}-%{version}
40 --disable-silent-rules \
41 --with-pam-dir=/%{_lib}/security
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
50 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc AUTHORS COPYING ChangeLog NEWS README doc/*.adoc
58 %attr(755,root,root) /%{_lib}/security/pam_yubico.so
59 %attr(755,root,root) %{_bindir}/ykpamcfg
60 %{_mandir}/man1/ykpamcfg.1*
61 %{_mandir}/man8/pam_yubico.8*