]> git.pld-linux.org Git - packages/pam-pam_pkcs11.git/blame - pam-pam_pkcs11.spec
- updated openldap BR/R to 2.4.6
[packages/pam-pam_pkcs11.git] / pam-pam_pkcs11.spec
CommitLineData
069b30c5 1Summary: PAM login module that allows a X.509 certificate based user login
0e8e401c 2Summary(pl.UTF-8): Moduł PAM umożliwiający logowanie się w oparciu o certyfikat X.509
069b30c5 3Name: pam-pam_pkcs11
161e1d39 4Version: 0.6.0
069b30c5
JB
5Release: 1
6License: LGPL v2.1+
7Group: Libraries
91663e54 8Source0: http://www.opensc-project.org/files/pam_pkcs11/pam_pkcs11-%{version}.tar.gz
161e1d39
JB
9# Source0-md5: 5f3be860fa5b630cbce113e4a9bc6996
10Source1: pam_pkcs11.pl.po
91663e54 11URL: http://www.opensc-project.org/pam_pkcs11/
161e1d39
JB
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake
069b30c5 14BuildRequires: curl-devel
161e1d39 15BuildRequires: gettext-devel >= 0.16.1
069b30c5 16BuildRequires: libxslt-progs
161e1d39 17BuildRequires: libtool
38c58e04 18BuildRequires: openldap-devel >= 2.4.6
069b30c5
JB
19BuildRequires: openssl-devel
20BuildRequires: pam-devel
21BuildRequires: pcsc-lite-devel
22BuildRequires: pkgconfig
161e1d39 23BuildRequires: sed >= 4.0
069b30c5
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%define _libdir /%{_lib}
27
28%description
29This PAM login module allows a X.509 certificate based user login. The
30certificate and its dedicated private key are thereby accessed by
31means of an appropriate PKCS#11 module. For the verification of the
32users' certificates, locally stored CA certificates as well as either
33online or locally accessible CRLs are used.
34
5642c86a
JR
35%description -l pl.UTF-8
36Ten moduł PAM umożliwia logowanie się w oparciu o certyfikaty X.509.
37Certyfikat i jego klucz prywatny są odczytywane poprzez odpowiedni
38moduł PKCS#11. Do weryfikacji certyfikatów użytkowników używane są
39lokalnie przechowywane certyfikaty CA albo dostępne lokalnie lub
069b30c5
JB
40zdalnie CRL.
41
42%prep
43%setup -q -n pam_pkcs11-%{version}
44
161e1d39
JB
45cp -f %{SOURCE1} po/pl.po
46sed -i -e 's/"fr"/"fr pl"/' configure.in
47rm -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
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66rm -f $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.{la,a}
67
161e1d39
JB
68%find_lang pam_pkcs11
69
069b30c5
JB
70%clean
71rm -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]/*
This page took 0.039288 seconds and 4 git commands to generate.