]> git.pld-linux.org Git - packages/pam_yubico.git/blob - pam_yubico.spec
- initial
[packages/pam_yubico.git] / pam_yubico.spec
1 Summary:        A Pluggable Authentication Module for yubikeys
2 Name:           pam_yubico
3 Version:        2.24
4 Release:        1
5 License:        BSD
6 Group:          Applications/System
7 URL:            http://opensource.yubico.com/yubico-pam/
8 Source0:        http://opensource.yubico.com/yubico-pam/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  3420a1538031aee90af1c4e83988994d
10 BuildRequires:  libyubikey-devel >= 1.5
11 BuildRequires:  openldap-devel
12 BuildRequires:  pam-devel
13 BuildRequires:  ykclient-devel >= 2.15
14 BuildRequires:  ykpers-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is pam_yubico, a pluggable authentication module that can be used
19 with Linux-PAM and yubikeys. This module supports yubikey OTP
20 checking.
21
22 %prep
23 %setup -q
24
25 %build
26 %configure \
27         --libdir=/%{_lib} \
28         --with-pam-dir=/%{_lib}/security/
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 rm $RPM_BUILD_ROOT/%{_lib}/security/pam_yubico.la
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc NEWS README ChangeLog
45 %attr(755,root,root) /%{_lib}/security/pam_yubico.so
46 %attr(755,root,root) %{_bindir}/ykpamcfg
47 %{_mandir}/man1/ykpamcfg.1*
48 %{_mandir}/man8/pam_yubico.8*
This page took 0.117887 seconds and 4 git commands to generate.