Name: perl-CGI-Application-Dispatch Version: 2.17 Release: 2%{?dist} Summary: Dispatch requests to CGI::Application based objects License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Application-Dispatch/ Source0: http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-Dispatch-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Application) >= 3.2 BuildRequires: perl(Exception::Class) BuildRequires: perl(Exception::Class::TryCatch) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::LongString) BuildRequires: perl(Test::More) # Apache::Test must be configured before use. # BuildRequires: perl(Apache::Test) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a way (as a mod_perl handler or running under vanilla CGI) to look at the path (as returned by dispatch_path) of the incoming request, parse off the desired module and it's run mode, create an instance of that module and run it. %prep %setup -q -n CGI-Application-Dispatch-%{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 TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.17-2 - Mass rebuild with perl-5.12.0 * Fri Jan 1 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 2.17-1 - Update to 2.17. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2.16-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jun 25 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 2.16-1 - Update to 2.15 - Tests activated * Mon Dec 22 2008 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 2.15-1 - Specfile autogenerated by cpanspec 1.77.