Name: perl-Plack-Middleware-Auth-Digest Version: 0.04 Release: 1%{?dist} Summary: Digest authentication License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Plack-Middleware-Auth-Digest/ Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Auth-Digest-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(Digest::HMAC_SHA1) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Plack) Requires: perl(Digest::HMAC_SHA1) Requires: perl(Plack) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Plack::Middleware::Auth::Digest is a Plack middleware component that enables Digest authentication. Your authenticator callback is called using two parameters: a username as a string and the PSGI $env hash. Your callback should return a password, either as a raw password or a hashed password. %prep %setup -q -n Plack-Middleware-Auth-Digest-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jun 25 2011 Dave Cross 0.04-1 - Specfile autogenerated by cpanspec 1.78.