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@redhat.com> 1.00-1
- Specfile autogenerated by cpanspec 1.78.