]> git.pld-linux.org Git - packages/pam-pam_pkcs11.git/blob - pam-pam_pkcs11.spec
f26934b781228ff9634871ab005c526649b74039
[packages/pam-pam_pkcs11.git] / pam-pam_pkcs11.spec
1 Summary:        PAM login module that allows a X.509 certificate based user login
2 Summary(pl):    Modu³ PAM umo¿liwiaj±cy logowanie siê w oparciu o certyfikat X.509
3 Name:           pam-pam_pkcs11
4 Version:        0.5.3
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.opensc.org/files/pam_pkcs11-%{version}.tar.gz
9 # Source0-md5:  607e3ba84b8938eff20c51c597e522c0
10 URL:            http://www.opensc.org/
11 BuildRequires:  curl-devel
12 BuildRequires:  libxslt-progs
13 BuildRequires:  openldap-devel
14 BuildRequires:  openssl-devel
15 BuildRequires:  pam-devel
16 BuildRequires:  pcsc-lite-devel
17 BuildRequires:  pkgconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _libdir         /%{_lib}
21
22 %description
23 This PAM login module allows a X.509 certificate based user login. The
24 certificate and its dedicated private key are thereby accessed by
25 means of an appropriate PKCS#11 module. For the verification of the
26 users' certificates, locally stored CA certificates as well as either
27 online or locally accessible CRLs are used.
28
29 %description -l pl
30 Ten modu³ PAM umo¿liwia logowanie siê w oparciu o certyfikaty X.509.
31 Certyfikat i jego klucz prywatny s± odczytywane poprzez odpowiedni
32 modu³ PKCS#11. Do weryfikacji certyfikatów u¿ytkowników u¿ywane s±
33 lokalnie przechowywane certyfikaty CA albo dostêpne lokalnie lub
34 zdalnie CRL.
35
36 %prep
37 %setup -q -n pam_pkcs11-%{version}
38
39 %build
40 %configure \
41         --with-curl
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 rm -f $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.{la,a}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS README TODO doc/{README.*,*.html,*.css} etc/*.example
58 %attr(755,root,root) %{_bindir}/*
59 %attr(755,root,root) /%{_lib}/security/pam_pkcs11.so
60 %dir %{_libdir}/pam_pkcs11
61 %attr(755,root,root) %{_libdir}/pam_pkcs11/*.so
62 %{_mandir}/man[18]/*
This page took 0.037443 seconds and 3 git commands to generate.