Name: perl-CGI-Application-Plugin-Authentication
Version: 0.17
Release: 2%{?dist}
Summary: Authentication framework for CGI::Application
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/CGI-Application-Plugin-Authentication/
Source0: http://www.cpan.org/authors/id/S/SI/SILASMONK/CGI-Application-Plugin-Authentication-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Apache::Htpasswd)
# Makes the build fail
# BuildRequires: perl(Authen::Simple)
BuildRequires: perl(CGI::Application)
BuildRequires: perl(CGI::Application::Plugin::AutoRunmode)
BuildRequires: perl(CGI::Application::Plugin::Session)
BuildRequires: perl(CGI::Cookie)
BuildRequires: perl(Color::Calc)
BuildRequires: perl(Crypt::PasswdMD5)
BuildRequires: perl(DBD::SQLite)
BuildRequires: perl(Digest::SHA1)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(UNIVERSAL::require)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
CGI::Application::Plugin::Authentication adds the ability to
authenticate users in your CGI::Application modules. It imports one
method called 'authen' into your CGI::Application module. Through the
'authen' method you can call all the methods of the
CGI::Application::Plugin::Authentication plugin.
%prep
%setup -q -n CGI-Application-Plugin-Authentication-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README example
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Mar 20 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.17-2
- Add example directory to doc stanza
* Mon Oct 05 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.17-1
- Specfile autogenerated by cpanspec 1.78.