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