]> git.pld-linux.org Git - packages/pam-pam_yubico.git/blob - pam-pam_yubico.spec
0779ea24866b061a9318091ab5c08c957c04866c
[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.27
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:  7a8cbac9f60260a6298062717a2f43e1
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:  pkgconfig
17 BuildRequires:  ykclient-devel >= 2.15
18 BuildRequires:  ykpers-devel >= 1.8.0
19 Requires:       libyubikey >= 1.5
20 Requires:       pam
21 Requires:       ykclient >= 2.15
22 Requires:       ykpers >= 1.8.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This is pam_yubico, a pluggable authentication module that can be used
27 with Linux-PAM and Yubikeys. This module supports Yubikey OTP
28 checking.
29
30 %description -l pl.UTF-8
31 Ten pakiet zawiera pam_yubico - ładowalny moduł uwierzytelniający,
32 który może być używany ze szkieletem Linux-PAM oraz urządzeniami
33 Yubikey. Ten moduł obsługuje sprawdzanie haseł jednorazowych (OTP)
34 Yubikey.
35
36 %prep
37 %setup -q -n %{module}-%{version}
38
39 %build
40 %configure \
41         --disable-silent-rules \
42         --with-pam-dir=/%{_lib}/security
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/%{module}.la
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS COPYING ChangeLog NEWS README doc/*.adoc
59 %attr(755,root,root) /%{_lib}/security/pam_yubico.so
60 %attr(755,root,root) %{_bindir}/ykpamcfg
61 %{_mandir}/man1/ykpamcfg.1*
62 %{_mandir}/man8/pam_yubico.8*
This page took 0.066922 seconds and 2 git commands to generate.