]> git.pld-linux.org Git - packages/pam-pam_pkcs11.git/blame - pam-pam_pkcs11.spec
- updated to 0.6.5
[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
2fe43c47 4Version: 0.6.5
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
2fe43c47
JB
9# Source0-md5: 10fc830e8154ee5401cc1f11be222da4
10Patch0: %{name}-pl.po-update.patch
91663e54 11URL: http://www.opensc-project.org/pam_pkcs11/
161e1d39
JB
12BuildRequires: autoconf >= 2.52
13BuildRequires: automake
069b30c5 14BuildRequires: curl-devel
39a287df 15BuildRequires: gettext-devel >= 0.17
069b30c5 16BuildRequires: libxslt-progs
161e1d39 17BuildRequires: libtool
38c58e04 18BuildRequires: openldap-devel >= 2.4.6
069b30c5
JB
19BuildRequires: openssl-devel
20BuildRequires: pam-devel
39a287df 21BuildRequires: pcsc-lite-devel >= 1.6.0
069b30c5 22BuildRequires: pkgconfig
39a287df 23Requires: pcsc-lite-libs >= 1.6.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}
39a287df 44%patch0 -p1
069b30c5 45
161e1d39
JB
46rm -f po/stamp-po
47
069b30c5 48%build
161e1d39
JB
49%{__gettextize}
50%{__libtoolize}
51%{__aclocal} -I aclocal
52%{__autoconf}
53%{__autoheader}
54%{__automake}
069b30c5
JB
55%configure \
56 --with-curl
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
39a287df
JB
65%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_pkcs11.la
66%{__rm} $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.la
67
68mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{pt_br,pt_BR}
069b30c5 69
161e1d39
JB
70%find_lang pam_pkcs11
71
069b30c5
JB
72%clean
73rm -rf $RPM_BUILD_ROOT
74
161e1d39 75%files -f pam_pkcs11.lang
069b30c5
JB
76%defattr(644,root,root,755)
77%doc AUTHORS ChangeLog NEWS README TODO doc/{README.*,*.html,*.css} etc/*.example
39a287df
JB
78%attr(755,root,root) %{_bindir}/card_eventmgr
79%attr(755,root,root) %{_bindir}/make_hash_link.sh
80%attr(755,root,root) %{_bindir}/pkcs11_*
81%attr(755,root,root) %{_bindir}/pklogin_finder
069b30c5
JB
82%attr(755,root,root) /%{_lib}/security/pam_pkcs11.so
83%dir %{_libdir}/pam_pkcs11
84%attr(755,root,root) %{_libdir}/pam_pkcs11/*.so
39a287df
JB
85%{_mandir}/man1/card_eventmgr.1*
86%{_mandir}/man1/pkcs11_*.1*
87%{_mandir}/man1/pklogin_finder.1*
88%{_mandir}/man8/pam_pkcs11.8*
This page took 0.045043 seconds and 4 git commands to generate.