]>
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 |
718c7224 | 4 | Version: 0.6.8 |
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 |
718c7224 | 9 | # Source0-md5: 5ca42826b60ffcb574cc16b965f56b00 |
91663e54 | 10 | URL: http://www.opensc-project.org/pam_pkcs11/ |
161e1d39 JB |
11 | BuildRequires: autoconf >= 2.52 |
12 | BuildRequires: automake | |
069b30c5 | 13 | BuildRequires: curl-devel |
0d4f7561 | 14 | BuildRequires: gettext-tools >= 0.17 |
069b30c5 | 15 | BuildRequires: libxslt-progs |
161e1d39 | 16 | BuildRequires: libtool |
38c58e04 | 17 | BuildRequires: openldap-devel >= 2.4.6 |
069b30c5 JB |
18 | BuildRequires: openssl-devel |
19 | BuildRequires: pam-devel | |
39a287df | 20 | BuildRequires: pcsc-lite-devel >= 1.6.0 |
069b30c5 | 21 | BuildRequires: pkgconfig |
39a287df | 22 | Requires: pcsc-lite-libs >= 1.6.0 |
069b30c5 JB |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %define _libdir /%{_lib} | |
26 | ||
27 | %description | |
28 | This PAM login module allows a X.509 certificate based user login. The | |
29 | certificate and its dedicated private key are thereby accessed by | |
30 | means of an appropriate PKCS#11 module. For the verification of the | |
31 | users' certificates, locally stored CA certificates as well as either | |
32 | online or locally accessible CRLs are used. | |
33 | ||
5642c86a JR |
34 | %description -l pl.UTF-8 |
35 | Ten moduł PAM umożliwia logowanie się w oparciu o certyfikaty X.509. | |
36 | Certyfikat i jego klucz prywatny są odczytywane poprzez odpowiedni | |
37 | moduł PKCS#11. Do weryfikacji certyfikatów użytkowników używane są | |
38 | lokalnie przechowywane certyfikaty CA albo dostępne lokalnie lub | |
069b30c5 JB |
39 | zdalnie CRL. |
40 | ||
41 | %prep | |
42 | %setup -q -n pam_pkcs11-%{version} | |
43 | ||
e6180a67 | 44 | %{__rm} po/stamp-po |
161e1d39 | 45 | |
069b30c5 | 46 | %build |
161e1d39 JB |
47 | %{__gettextize} |
48 | %{__libtoolize} | |
49 | %{__aclocal} -I aclocal | |
50 | %{__autoconf} | |
51 | %{__autoheader} | |
52 | %{__automake} | |
069b30c5 | 53 | %configure \ |
718c7224 | 54 | --disable-silent-rules \ |
069b30c5 JB |
55 | --with-curl |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
39a287df JB |
64 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_pkcs11.la |
65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.la | |
66 | ||
67 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_br,pt_BR} | |
069b30c5 | 68 | |
161e1d39 JB |
69 | %find_lang pam_pkcs11 |
70 | ||
069b30c5 JB |
71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
161e1d39 | 74 | %files -f pam_pkcs11.lang |
069b30c5 JB |
75 | %defattr(644,root,root,755) |
76 | %doc AUTHORS ChangeLog NEWS README TODO doc/{README.*,*.html,*.css} etc/*.example | |
39a287df | 77 | %attr(755,root,root) %{_bindir}/card_eventmgr |
39a287df JB |
78 | %attr(755,root,root) %{_bindir}/pkcs11_* |
79 | %attr(755,root,root) %{_bindir}/pklogin_finder | |
069b30c5 JB |
80 | %attr(755,root,root) /%{_lib}/security/pam_pkcs11.so |
81 | %dir %{_libdir}/pam_pkcs11 | |
82 | %attr(755,root,root) %{_libdir}/pam_pkcs11/*.so | |
39a287df JB |
83 | %{_mandir}/man1/card_eventmgr.1* |
84 | %{_mandir}/man1/pkcs11_*.1* | |
85 | %{_mandir}/man1/pklogin_finder.1* | |
86 | %{_mandir}/man8/pam_pkcs11.8* |