Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > e8b4005873c12dd820f84b58bbc28a84 > files > 2

perl-Apache2-AuthCookieDBI-2.03-1mdk.src.rpm

%define real_name Apache2-AuthCookieDBI

Summary:	Apache2::AuthCookieDBI - An AuthCookie module backed by a DBI database
Name:		perl-%{real_name}
Version:	2.03
Release:	1mdk
License:	LGPL
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{real_name}
Source0:	http://search.cpan.org/CPAN/authors/id/M/MA/MATISSE/%{real_name}-%{version}.tar.bz2
BuildRequires:	perl-devel
BuildRequires:	perl-Apache-DBI >= 0.91
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Apache2::AuthCookieDBI is a module that subclasses Apache2::AuthCookie and is
designed to be directly used for authentication in a mod_perl server.

It is a ticket-issuing system that looks up username/passwords in a DBI
database using generic SQL and issues MD5-checksummed tickets valid for
a configurable time period.  Incoming requests with tickets are
checksummed and expire-time checked.


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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make
make test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README eg *.txt *.sql
%{perl_vendorlib}/Apache2/AuthCookieDBI.pm
%{_mandir}/*/*

%changelog
* Fri Jul 15 2005 Oden Eriksson <oeriksson@mandriva.com> 2.03-1mdk
- initial Mandriva package