]>
Commit | Line | Data |
---|---|---|
069b30c5 | 1 | Summary: PAM login module that allows a X.509 certificate based user login |
0e8e401c | 2 | Summary(pl.UTF-8): Moduł PAM umożliwiający logowanie się w oparciu o certyfikat X.509 |
069b30c5 | 3 | Name: pam-pam_pkcs11 |
161e1d39 | 4 | Version: 0.6.0 |
069b30c5 JB |
5 | Release: 1 |
6 | License: LGPL v2.1+ | |
7 | Group: Libraries | |
91663e54 | 8 | Source0: http://www.opensc-project.org/files/pam_pkcs11/pam_pkcs11-%{version}.tar.gz |
161e1d39 JB |
9 | # Source0-md5: 5f3be860fa5b630cbce113e4a9bc6996 |
10 | Source1: pam_pkcs11.pl.po | |
91663e54 | 11 | URL: http://www.opensc-project.org/pam_pkcs11/ |
161e1d39 JB |
12 | BuildRequires: autoconf >= 2.52 |
13 | BuildRequires: automake | |
069b30c5 | 14 | BuildRequires: curl-devel |
161e1d39 | 15 | BuildRequires: gettext-devel >= 0.16.1 |
069b30c5 | 16 | BuildRequires: libxslt-progs |
161e1d39 | 17 | BuildRequires: libtool |
38c58e04 | 18 | BuildRequires: openldap-devel >= 2.4.6 |
069b30c5 JB |
19 | BuildRequires: openssl-devel |
20 | BuildRequires: pam-devel | |
21 | BuildRequires: pcsc-lite-devel | |
22 | BuildRequires: pkgconfig | |
161e1d39 | 23 | BuildRequires: sed >= 4.0 |
069b30c5 JB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %define _libdir /%{_lib} | |
27 | ||
28 | %description | |
29 | This PAM login module allows a X.509 certificate based user login. The | |
30 | certificate and its dedicated private key are thereby accessed by | |
31 | means of an appropriate PKCS#11 module. For the verification of the | |
32 | users' certificates, locally stored CA certificates as well as either | |
33 | online or locally accessible CRLs are used. | |
34 | ||
5642c86a JR |
35 | %description -l pl.UTF-8 |
36 | Ten moduł PAM umożliwia logowanie się w oparciu o certyfikaty X.509. | |
37 | Certyfikat i jego klucz prywatny są odczytywane poprzez odpowiedni | |
38 | moduł PKCS#11. Do weryfikacji certyfikatów użytkowników używane są | |
39 | lokalnie przechowywane certyfikaty CA albo dostępne lokalnie lub | |
069b30c5 JB |
40 | zdalnie CRL. |
41 | ||
42 | %prep | |
43 | %setup -q -n pam_pkcs11-%{version} | |
44 | ||
161e1d39 JB |
45 | cp -f %{SOURCE1} po/pl.po |
46 | sed -i -e 's/"fr"/"fr pl"/' configure.in | |
47 | rm -f po/stamp-po | |
48 | ||
069b30c5 | 49 | %build |
161e1d39 JB |
50 | %{__gettextize} |
51 | %{__libtoolize} | |
52 | %{__aclocal} -I aclocal | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
069b30c5 JB |
56 | %configure \ |
57 | --with-curl | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | rm -f $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.{la,a} | |
67 | ||
161e1d39 JB |
68 | %find_lang pam_pkcs11 |
69 | ||
069b30c5 JB |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
161e1d39 | 73 | %files -f pam_pkcs11.lang |
069b30c5 JB |
74 | %defattr(644,root,root,755) |
75 | %doc AUTHORS ChangeLog NEWS README TODO doc/{README.*,*.html,*.css} etc/*.example | |
76 | %attr(755,root,root) %{_bindir}/* | |
77 | %attr(755,root,root) /%{_lib}/security/pam_pkcs11.so | |
78 | %dir %{_libdir}/pam_pkcs11 | |
79 | %attr(755,root,root) %{_libdir}/pam_pkcs11/*.so | |
80 | %{_mandir}/man[18]/* |