]> git.pld-linux.org Git - packages/pam-pam_yubico.git/blob - pam-pam_yubico.spec
99bbe5f2ac94d81b3c7c7e3250a4ce6a9c41c260
[packages/pam-pam_yubico.git] / pam-pam_yubico.spec
1 %define module  pam_yubico
2 Summary:        A Pluggable Authentication Module for Yubikeys
3 Summary(pl.UTF-8):      Moduł PAM dla urządzeń Yubikey
4 Name:           pam-%{module}
5 Version:        2.26
6 Release:        1
7 License:        BSD
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
19 Requires:       pam
20 Requires:       ykclient >= 2.15
21 Requires:       ykpers >= 1.8.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This is pam_yubico, a pluggable authentication module that can be used
26 with Linux-PAM and Yubikeys. This module supports Yubikey OTP
27 checking.
28
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)
33 Yubikey.
34
35 %prep
36 %setup -q -n %{module}-%{version}
37
38 %build
39 %configure \
40         --disable-silent-rules \
41         --with-pam-dir=/%{_lib}/security
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
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*
This page took 0.054009 seconds and 2 git commands to generate.