Sophie

Sophie

distrib > Mandriva > cs4.0 > i586 > by-pkgid > 4f69cb28882637fd5c6b28a32ab5685b > files > 2

perl-Catalyst-P-A-Store-LDAP-0.04-2mlcs4.src.rpm

%define realname Catalyst-Plugin-Authentication-Store-LDAP
%define abbrevname Catalyst-P-A-Store-LDAP
%define name perl-%abbrevname
%define version 0.04
%define release %mkrel 2

Summary:	Catalyst - Authentication from an LDAP Directory
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	Artistic/GPL
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{realname}/
Source:		/%{realname}-%{version}.tar.bz2
BuildRequires:	perl-devel
BuildRequires:	perl-Catalyst-Plugin-Authentication perl(Net::LDAP)
Provides:	perl-%realname
Obsoletes:	perl-%realname
BuildArch:	noarch
Buildroot:	%{_tmppath}/%{name}-root

%description
This plugin uses Net::LDAP to let your application authenticate against an LDAP
directory. It has a pretty high degree of flexibility, given the wide variation
of LDAP directories and schemas from one system to another.

It authenticates users in two steps:

1) A search of the directory is performed, looking for a user object that
matches the username you pass. This is done with the bind credentials supplied
in the "binddn" and "bindpw" configuration options.

2) If that object is found, we then re-bind to the directory as that object.
Assuming this is successful, the user is Authenticated.

%prep
%setup -q -n %{realname}-%{version}

%build
%__perl Makefile.PL INSTALLDIRS=vendor
%make

%check
%__make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%files
%defattr(-,root,root)
%doc TODO Changes
%{perl_vendorlib}/Catalyst/Plugin/Authentication/*
%{_mandir}/*/*

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Fri Apr 14 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.04-2mdk
- Abbreviate rpm name to fit in the 64 char limit

* Thu Mar 23 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.04-1mdk
- 0.04

* Tue Mar 07 2006 Buchan Milne <bgmilne@mandriva.com> 0.03-1mdk
- Initial MDV RPM based on perl-Catalyst-Plugin-Authentication-LDAP