Name: perl-CGI-Application-Plugin-RequireSSL Version: 0.04 Release: 1%{?dist} Summary: Force SSL in specified pages or modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Application-Plugin-RequireSSL/ Source0: http://www.cpan.org/authors/id/D/DH/DHORNE/CGI-Application-Plugin-RequireSSL-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(CGI) BuildRequires: perl(CGI::Application) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description CGI::Application::Plugin::RequireSSL allows individual run modes or whole modules to be protected by SSL. If a standard HTTP request is received, you can specify whether an error is raised or if the request should be redirected to the HTTPS equivalent URL. %prep %setup -q -n CGI-Application-Plugin-RequireSSL-%{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 %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Nov 25 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.04-1 - Specfile autogenerated by cpanspec 1.78.