1 %define module pam_yubico
2 Summary: A Pluggable Authentication Module for yubikeys
7 Group: Applications/System
8 Source0: http://opensource.yubico.com/yubico-pam/releases/%{module}-%{version}.tar.gz
9 # Source0-md5: 3420a1538031aee90af1c4e83988994d
10 URL: http://opensource.yubico.com/yubico-pam/
11 BuildRequires: libyubikey-devel >= 1.5
12 BuildRequires: openldap-devel
13 BuildRequires: pam-devel
14 BuildRequires: ykclient-devel >= 2.15
15 BuildRequires: ykpers-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This is %{module}, a pluggable authentication module that can be used
20 with Linux-PAM and yubikeys. This module supports yubikey OTP
24 %setup -q -n %{module}-%{version}
28 --disable-silent-rules \
30 --with-pam-dir=/%{_lib}/security/
34 rm -rf $RPM_BUILD_ROOT
37 DESTDIR=$RPM_BUILD_ROOT
39 rm $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc NEWS README ChangeLog
47 %attr(755,root,root) /%{_lib}/security/%{module}.so
48 %attr(755,root,root) %{_bindir}/ykpamcfg
49 %{_mandir}/man1/ykpamcfg.1*
50 %{_mandir}/man8/%{module}.8*