File pam_usb.spec of Package pam_usb (Revision 638640e0ba31287b28ef9c71e03ae43f)
Currently displaying revision 638640e0ba31287b28ef9c71e03ae43f, show latest
x
1
Name: pam_usb
2
Version: 0.4.2
3
Release: 1
4
Source: %{name}-%{version}.tar.gz
5
Group: System
6
License: LGPL
7
Url: http://www.pamusb.org/
8
BuildRoot: %{_tmppath}/%{name}-%{version}-build
9
Summary: A PAM Module for authentication with USB devices
10
%if 0%{?suse_version}
11
BuildRequires: dbus-1-devel
12
%else
13
BuildRequires: dbus-devel
14
%endif
15
BuildRequires: hal-devel libxml2-devel pam-devel
16
Requires: python
17
Requires: pmount
18
19
%description
20
am_usb is a PAM module that enables authentication using an USB-Storage device
21
(such as an USB Pen) through DSA private/public keys.
22
23
It can be setup to work with any application using PAM such as your system
24
login (login), your X login (XDM/KDM/GDM/...), your screensaver (xscreensaver/...),
25
and many others.
26
27
It supports multiple users for the same device, multiple hostnames for the same
28
user, serial numbers access list and private key encryption.
29
30
pam_usb comes along usbadm, a tool which helps managing users and keys.
31
32
33
%postun
34
35
%prep
36
37
%setup
38
39
%post
40
echo "ATTENTION: Please read documentation in %{_docdir}%{name} !!!"
41
42
%build
43
%{__make}
44
45
%install
46
mkdir -p $RPM_BUILD_ROOT/lib/security
47
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
48
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
49
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
50
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}
51
make install DESTDIR=$RPM_BUILD_ROOT
52
install -m 644 COPYING ChangeLog $RPM_BUILD_ROOT/%{_docdir}/%{name}/
53
mv $RPM_BUILD_ROOT/%{_docdir}/pamusb $RPM_BUILD_ROOT/%{_docdir}/%{name}
54
55
%clean
56
rm -rf $RPM_BUILD_ROOT/*
57
rm -rf $RPM_BUILD_DIR/%{name}
58
59
%files
60
/lib/security/*
61
%{_bindir}/*
62
%{_sysconfdir}/pamusb.conf
63
%{_mandir}/man*/*
64
%{_docdir}/%{name}/*
65
66
%changelog
67
* Sun Feb 17 2008 Carsten Schoene <cs@linux-administrator.com>
68
- version changed to 0.4.2
69
- reworked spec (filelist, macros ...)
70
71
* Tue Oct 25 2005 Carsten Schoene <cs@linux-administrator.com>
72
- version bump to final 0.3.3
73
* Thu Oct 20 2005 Carsten Schoene <cs@linux-administrator.com>
74
- new build with pre2
75
* Wed Oct 19 2005 Carsten Schoene <cs@linux-administrator.com>
76
- packaged the 0.3.3pre for SuSE 10.0
77
* Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com>
78
- rebuild for SuSE 9.3
79
* Wed Jan 12 2005 Carsten Schoene <cs@linux-administrator.com>
80
- version bump to final 0.3.2
81
* Thu Jan 06 2005 Carsten Schoene <cs@linux-administrator.com>
82
- version bump to 0.3.2pre0
83
* Wed Oct 27 2004 Carsten Schoene <cs@linux-administrator.com>
84
- rebuild for SuSE 9.2
85
86