From: Jakub Bogusz Date: Mon, 21 May 2018 16:33:07 +0000 (+0200) Subject: - updated to 2.26 X-Git-Tag: auto/th/pam-pam_yubico-2.26-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=3257587102dd0479dfe48cce9b0a3917426c5ba9;p=packages%2Fpam-pam_yubico.git - updated to 2.26 --- diff --git a/pam-pam_yubico.spec b/pam-pam_yubico.spec index 81d664f..99bbe5f 100644 --- a/pam-pam_yubico.spec +++ b/pam-pam_yubico.spec @@ -1,33 +1,44 @@ %define module pam_yubico -Summary: A Pluggable Authentication Module for yubikeys +Summary: A Pluggable Authentication Module for Yubikeys +Summary(pl.UTF-8): Moduł PAM dla urządzeń Yubikey Name: pam-%{module} -Version: 2.24 -Release: 2 +Version: 2.26 +Release: 1 License: BSD Group: Applications/System -Source0: http://opensource.yubico.com/yubico-pam/releases/%{module}-%{version}.tar.gz -# Source0-md5: 3420a1538031aee90af1c4e83988994d -URL: http://opensource.yubico.com/yubico-pam/ +Source0: https://developers.yubico.com/yubico-pam/Releases/%{module}-%{version}.tar.gz +# Source0-md5: 727d5937dcc864bfe6201f90f35728a5 +URL: https://developers.yubico.com/yubico-pam +BuildRequires: asciidoc BuildRequires: libyubikey-devel >= 1.5 BuildRequires: openldap-devel BuildRequires: pam-devel BuildRequires: ykclient-devel >= 2.15 -BuildRequires: ykpers-devel +BuildRequires: ykpers-devel >= 1.8.0 +Requires: libyubikey >= 1.5 +Requires: pam +Requires: ykclient >= 2.15 +Requires: ykpers >= 1.8.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -This is %{module}, a pluggable authentication module that can be used -with Linux-PAM and yubikeys. This module supports yubikey OTP +This is pam_yubico, a pluggable authentication module that can be used +with Linux-PAM and Yubikeys. This module supports Yubikey OTP checking. +%description -l pl.UTF-8 +Ten pakiet zawiera pam_yubico - ładowalny moduł uwierzytelniający, +który może być używany ze szkieletem Linux-PAM oraz urządzeniami +Yubikey. Ten moduł obsługuje sprawdzanie haseł jednorazowych (OTP) +Yubikey. + %prep %setup -q -n %{module}-%{version} %build %configure \ --disable-silent-rules \ - --libdir=/%{_lib} \ - --with-pam-dir=/%{_lib}/security/ + --with-pam-dir=/%{_lib}/security %{__make} %install @@ -36,15 +47,15 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la +%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc NEWS README ChangeLog -%attr(755,root,root) /%{_lib}/security/%{module}.so +%doc AUTHORS COPYING ChangeLog NEWS README doc/*.adoc +%attr(755,root,root) /%{_lib}/security/pam_yubico.so %attr(755,root,root) %{_bindir}/ykpamcfg %{_mandir}/man1/ykpamcfg.1* -%{_mandir}/man8/%{module}.8* +%{_mandir}/man8/pam_yubico.8*