Name: pam_yubico Version: 1.11 Release: 2%{?dist} Summary: A Pluggable Authentication Module for the Yubico Yubikey Group: System Environment/Base License: BSD URL: http://code.google.com/p/yubico-pam/ Source0: http://yubico-pam.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: libyubikey-client-devel BuildRequires: openldap-devel BuildRequires: pam-devel %description The Yubico authentication device Yubikey generates one-time passwords that can be used for authentication. This module allows you to use the Yubikey device to authenticate to the PAM system. %prep %setup -q %build %configure --with-pam-dir=/%{_lib}/security sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog COPYING NEWS README %exclude /%{_lib}/security/*.la /%{_lib}/security/*.so %changelog * Wed Feb 11 2009 Todd Zullinger - 1.11-2 - Build with ldap support * Wed Feb 11 2009 Todd Zullinger - 1.11-1 - Initial package