Logoj0ke.net Open Build Service > Projects > home:netmax > pam_usb > pam_usb.spec
Sign Up | Log In

File pam_usb.spec of Package pam_usb (Revision 4)

Currently displaying revision 4, 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
Copyright:  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
16
Requires:   python
17
18
%description
19
am_usb is a PAM module that enables authentication using an USB-Storage device
20
(such as an USB Pen) through DSA private/public keys.
21
22
It can be setup to work with any application using PAM such as your system 
23
login (login), your X login (XDM/KDM/GDM/...), your screensaver (xscreensaver/...), 
24
and many others. 
25
26
It supports multiple users for the same device, multiple hostnames for the same
27
user, serial numbers access list and private key encryption.
28
29
pam_usb comes along usbadm, a tool which helps managing users and keys.
30
31
32
%postun
33
34
%prep
35
36
%setup
37
38
%post
39
echo "ATTENTION: Please read documentation in %{_docdir}%{name} !!!"
40
41
%build
42
%{__make}
43
44
%install
45
mkdir -p $RPM_BUILD_ROOT/lib/security
46
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
47
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
48
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
49
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}
50
make install DESTDIR=$RPM_BUILD_ROOT
51
install -m 644 COPYING AUTHORS Changelog README $RPM_BUILD_ROOT/%{_docdir}/%{name}/
52
wget http://www.pamusb.org/doc/quickstart -O $RPM_BUILD_ROOT/%{_docdir}/%{name}/quickstart.html
53
wget http://www.pamusb.org/doc/configuration -O $RPM_BUILD_ROOT/%{_docdir}/%{name}/configuration.html
54
55
%clean
56
rm -rf $RPM_BUILD_ROOT/*
57
rm -rf $RPM_BUILD_DIR/%{name}
58
59
%files
60
%{_bindir}/*
61
%{_sysconfdir}/pam.d/*
62
%{_mandir}/man*/*
63
%{_docdir}/%{name}/*
64
65
%changelog
66
* Sun Feb 17 2008 Carsten Schoene <cs@linux-administrator.com>
67
- version changed to 0.4.2
68
 - reworked spec (filelist, macros ...)
69
70
* Tue Oct 25 2005 Carsten Schoene <cs@linux-administrator.com>
71
- version bump to final 0.3.3
72
* Thu Oct 20 2005 Carsten Schoene <cs@linux-administrator.com>
73
- new build with pre2
74
* Wed Oct 19 2005 Carsten Schoene <cs@linux-administrator.com>
75
- packaged the 0.3.3pre for SuSE 10.0
76
* Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com>
77
- rebuild for SuSE 9.3
78
* Wed Jan 12 2005 Carsten Schoene <cs@linux-administrator.com>
79
- version bump to final 0.3.2
80
* Thu Jan 06 2005 Carsten Schoene <cs@linux-administrator.com>
81
- version bump to 0.3.2pre0
82
* Wed Oct 27 2004 Carsten Schoene <cs@linux-administrator.com>
83
- rebuild for SuSE 9.2
84
85