[perl-CGI-Application-Plugin-RateLimit/f14] Initial import (#701183).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e76050d7e4074a8eb59282bf92b8c01a1f2317a7
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Thu May 19 01:08:16 2011 +0200

    Initial import (#701183).

 .gitignore                                 |    1 +
 perl-CGI-Application-Plugin-RateLimit.spec |   59 ++++++++++++++++++++++++++++
 sources                                    |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9d26531 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CGI-Application-Plugin-RateLimit-1.0.tar.gz
diff --git a/perl-CGI-Application-Plugin-RateLimit.spec b/perl-CGI-Application-Plugin-RateLimit.spec
new file mode 100644
index 0000000..71a54bc
--- /dev/null
+++ b/perl-CGI-Application-Plugin-RateLimit.spec
@@ -0,0 +1,59 @@
+Name:           perl-CGI-Application-Plugin-RateLimit
+Version:        1.0
+Release:        2%{?dist}
+Summary:        Limits runmode call rate per user
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/CGI-Application-Plugin-RateLimit/
+Source0:        http://www.cpan.org/authors/id/S/SA/SAMTREGAR/CGI-Application-Plugin-RateLimit-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(CGI)
+BuildRequires:  perl(CGI::Application)
+BuildRequires:  perl(Class::Accessor::Fast)
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More)
+Requires:       perl(CGI::Application)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This module provides protection against a user calling a runmode too
+frequently. A typical use-case might be a contact form that sends email.
+You'd like to allow your users to send you messages, but thousands of
+messages from a single user would be a problem.
+
+%prep
+%setup -q -n CGI-Application-Plugin-RateLimit-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+
+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
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat May 14 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.0-2
+- Clean up spec as per package review (#701183)
+
+* Thu Nov 25 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 1.0-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..05ff7e7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1013c2f223e9a28ecc203c64f8995b0d  CGI-Application-Plugin-RateLimit-1.0.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux