[perl-CGI-Application-Plugin-RequireSSL/f13] Initial import.

Emmanuel Seyman eseyman at fedoraproject.org
Thu May 12 20:45:01 UTC 2011


commit ab858877fdf5221537ce305bd09fa72e38103916
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Thu May 12 22:44:49 2011 +0200

    Initial import.

 .gitignore                                  |    1 +
 perl-CGI-Application-Plugin-RequireSSL.spec |   54 +++++++++++++++++++++++++++
 sources                                     |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..151ec8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CGI-Application-Plugin-RequireSSL-0.04.tar.gz
diff --git a/perl-CGI-Application-Plugin-RequireSSL.spec b/perl-CGI-Application-Plugin-RequireSSL.spec
new file mode 100644
index 0000000..c1e81c2
--- /dev/null
+++ b/perl-CGI-Application-Plugin-RequireSSL.spec
@@ -0,0 +1,54 @@
+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 at club-internet.fr> 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d8cdd84 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ffa4fbe3014ded658dc796aafc01a5f8  CGI-Application-Plugin-RequireSSL-0.04.tar.gz



More information about the perl-devel mailing list