commit ec28bc545e87a63d764c27a15c5ecf72e995350c Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Sun Sep 5 23:25:13 2010 +0200 Initial import. .gitignore | 1 + perl-CGI-Application-Plugin-CAPTCHA.spec | 60 ++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ace14aa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CGI-Application-Plugin-CAPTCHA-0.01.tar.gz diff --git a/perl-CGI-Application-Plugin-CAPTCHA.spec b/perl-CGI-Application-Plugin-CAPTCHA.spec new file mode 100644 index 0000000..f044769 --- /dev/null +++ b/perl-CGI-Application-Plugin-CAPTCHA.spec @@ -0,0 +1,60 @@ +Name: perl-CGI-Application-Plugin-CAPTCHA +Version: 0.01 +Release: 2%{?dist} +Summary: Easily create, use, and verify CAPTCHAs in CGI::Application-based web apps +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CGI-Application-Plugin-CAPTCHA/ +Source0: http://www.cpan.org/authors/id/C/CR/CROMEDOME/CGI-Application-Plugin-CAPTCHA-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(CGI::Application) +BuildRequires: perl(Data::Random) +BuildRequires: perl(GD::SecurityImage) +BuildRequires: perl(HTTP::Server::Simple::CGI) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::WWW::Mechanize) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +CGI::Application::Plugin::CAPTCHA allows programmers to easily add and +verify CAPTCHAs in their CGI::Application-derived web applications. + +%prep +%setup -q -n CGI-Application-Plugin-CAPTCHA-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Sep 04 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.01-2 +- Add missing BuildRequires + +* Mon Nov 23 2009 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.01-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..080f0de 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +da16c6a73f27ea5469c75f8cb47c24d2 CGI-Application-Plugin-CAPTCHA-0.01.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