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