Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 033672fcdb521ef8ab8567396bab03fa > files > 2

pam_smb-1.1.6-3mdk.src.rpm

%define name	pam_smb
%define version	1.1.6
%define release	3mdk

Summary:	SMB Pluggable Authentication Module
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	ftp://ftp.samba.org/pub/samba/pam_smb/pam_smb-%{version}.tar.bz2
URL:		http://www.csn.ul.ie/~airlied/pam_smb/
License:	GPL
Group:		System/Libraries
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	pam-devel
Requires:	pam

%description 
pam_smb is a PAM module which allows authentication of UNIX users
using an NT/Samba server.

%prep
%setup -q -n pam_smb

%build
%configure
make

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
mkdir -p %{buildroot}{%{_sysconfdir},/lib/security}
install -m 755 pam_smb_auth.so %{buildroot}/lib/security
install -m 644 pam_smb.conf.example %{buildroot}%{_sysconfdir}/pam_smb.conf

%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
rm -rf $RPM_BUILD_DIR/%{name}

%files
%defattr(-,root,root)
/lib/security/pam_smb_auth.so
%config(noreplace) %{_sysconfdir}/pam_smb.conf
%doc CHANGES COPYING README TODO pam_smb.conf.example

%changelog
* Wed Apr 17 2002 <bgmilne@cae.co.za> 1.1.6-3mdk
- s/Copyright/License

* Thu Oct  4 2001 Vincent Danen <vdanen@mandrakesoft.com> 1.1.6-2mdk
- specfile cleanups, macros

* Sun Jul 29 2001 Buchan Milne <bgmilne@cae.co.za> 1.1.6-1mdk
- Mandrake package, added requires and buildrequires

* Sun Sep 10 2000 Carlo Marcelo Arenas Belon <carenas@chasqui.lared.net.pe>
- making SPEC LFS aware
- update to 1.1.6 (security recommended)

* Wed Sep  8 1999 Carlo Marcelo Arenas Belon <carenas@chasqui.lared.net.pe>
- first spec, most ideas taken from pam_ldap