616a92b
Name:           perl-Captcha-reCAPTCHA
616a92b
Version:        0.92
934a4c4
Release:        5%{?dist}
616a92b
Summary:        Perl implementation of the reCAPTCHA API
616a92b
License:        GPL+ or Artistic
616a92b
Group:          Development/Libraries
616a92b
URL:            http://search.cpan.org/dist/Captcha-reCAPTCHA/
616a92b
Source0:        http://www.cpan.org/authors/id/A/AN/ANDYA/Captcha-reCAPTCHA-%{version}.tar.gz
616a92b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
616a92b
BuildArch:      noarch
616a92b
BuildRequires:  perl(ExtUtils::MakeMaker)
616a92b
BuildRequires:  perl(HTML::Tiny) >= 0.904
616a92b
BuildRequires:  perl(LWP::UserAgent)
616a92b
BuildRequires:  perl(Test::More)
616a92b
BuildRequires:  perl(Test::Pod)
616a92b
BuildRequires:  perl(Test::Pod::Coverage)
616a92b
Requires:       perl(HTML::Tiny) >= 0.904
616a92b
Requires:       perl(LWP::UserAgent)
616a92b
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
616a92b
616a92b
%description
616a92b
reCAPTCHA is a hybrid mechanical turk and captcha that allows visitors who
616a92b
complete the captcha to assist in the digitization of books.
616a92b
616a92b
%prep
616a92b
%setup -q -n Captcha-reCAPTCHA-%{version}
616a92b
616a92b
%build
616a92b
%{__perl} Makefile.PL INSTALLDIRS=vendor
616a92b
make %{?_smp_mflags}
616a92b
616a92b
%install
616a92b
rm -rf $RPM_BUILD_ROOT
616a92b
616a92b
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
616a92b
616a92b
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
616a92b
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
616a92b
616a92b
%{_fixperms} $RPM_BUILD_ROOT/*
616a92b
616a92b
%check
616a92b
make test
616a92b
616a92b
%clean
616a92b
rm -rf $RPM_BUILD_ROOT
616a92b
616a92b
%files
616a92b
%defattr(-,root,root,-)
616a92b
%doc Changes README
616a92b
%{perl_vendorlib}/*
616a92b
%{_mandir}/man3/*
616a92b
616a92b
%changelog
934a4c4
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.92-5
934a4c4
- Mass rebuild with perl-5.12.0
934a4c4
2085e84
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.92-4
2085e84
- rebuild against perl 5.10.1
2085e84
8d1440b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-3
8d1440b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8d1440b
5a843f3
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-2
5a843f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5a843f3
616a92b
* Tue Nov 18 2008 Iain Arnell <iarnell@gmail.com> 0.92-1
616a92b
- Specfile autogenerated by cpanspec 1.77.