[perl-HTML-FormFu-Element-reCAPTCHA] Import

Petr Pisar ppisar at fedoraproject.org
Mon Apr 28 12:22:50 UTC 2014


commit 78f5cb2fd90cfd5bb2f5a7451f37390b9eb20c62
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Apr 28 14:21:24 2014 +0200

    Import

 .gitignore                              |    1 +
 perl-HTML-FormFu-Element-reCAPTCHA.spec |   62 +++++++++++++++++++++++++++++++
 sources                                 |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f839189 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-FormFu-Element-reCAPTCHA-1.00.tar.gz
diff --git a/perl-HTML-FormFu-Element-reCAPTCHA.spec b/perl-HTML-FormFu-Element-reCAPTCHA.spec
new file mode 100644
index 0000000..64af65f
--- /dev/null
+++ b/perl-HTML-FormFu-Element-reCAPTCHA.spec
@@ -0,0 +1,62 @@
+Name:           perl-HTML-FormFu-Element-reCAPTCHA
+Version:        1.00
+Release:        1%{?dist}
+Summary:        reCAPTCHA component for HTML::FormFu frame work
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTML-FormFu-Element-reCAPTCHA/
+Source0:        http://www.cpan.org/authors/id/C/CF/CFRANKS/HTML-FormFu-Element-reCAPTCHA-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Captcha::reCAPTCHA) >= 0.93
+BuildRequires:  perl(Clone) >= 0.31
+BuildRequires:  perl(HTML::FormFu::Util) >= 1.00
+BuildRequires:  perl(Moose) >= 1.00
+BuildRequires:  perl(MooseX::Attribute::Chained) >= 1.0.1
+BuildRequires:  perl(Scalar::Util)
+# Tests:
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Captcha::reCAPTCHA) >= 0.93
+Requires:       perl(Clone) >= 0.31
+Requires:       perl(HTML::FormFu::Util) >= 1.00
+Requires:       perl(Moose) >= 1.00
+Requires:       perl(MooseX::Attribute::Chained) >= 1.0.1
+
+# Filter under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Captcha::reCAPTCHA|Clone|HTML::FormFu::Util|Moose|MooseX::Attribute::Chained)\\)$
+
+%description
+A wrapper around Captcha::reCAPTCHA. The reCAPTCHA fields aren't added to
+the form as "real" FormFu fields - so the values are never available via
+params method, etc. You can check that the reCAPTCHA verified correctly, by
+the usual methods: "submitted_and_valid" in HTML::FormFu or "has_errors" in
+HTML::FormFu.
+
+%prep
+%setup -q -n HTML-FormFu-Element-reCAPTCHA-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Apr 25 2014 Petr Pisar <ppisar at redhat.com> 1.00-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..a2403cd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6daf01e84507acab13cb67347aaeacf7  HTML-FormFu-Element-reCAPTCHA-1.00.tar.gz


More information about the scm-commits mailing list