blob: 2de6f4a7b8e43488642287b770d67d517a32d705 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
%define modulename pam_bioapi
Summary: PAM BioAPI module
Summary(pl): Moduł PAM BioAPI
Name: pam-%{modulename}
Version: 0.2.1
Release: 0.1
Epoch: 0
License: GPL v2
Group: Applications/System
Source0: http://www.qrivy.net/~michael/blua/pam_bioapi/%{modulename}-%{version}.tar.bz2
# Source0-md5: 7101c49d5774e892f0eda401b4c1f634
URL: http://www.qrivy.net/~michael/blua/
BuildRequires: bioapi-devel
BuildRequires: pam-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Provides a PAM-compliant interface to use in biometrically
authenticating local users.
%description -l pl
Ten pakiet udostępnia zgody z PAM-em interfejs do biometrycznego
uwierzytelniania użytkowników lokalnych.
%prep
%setup -q -n %{modulename}-%{version}
%build
CPPFLAGS="-I%{_includedir}/bioapi"
%configure \
--libdir=/%{_lib}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/bioapi/pam
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README NEWS
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) /%{_lib}/security/pam*.so*
%dir %{_sysconfdir}/bioapi
%dir %{_sysconfdir}/bioapi/pam
|