Name: perl-GD-SecurityImage Version: 1.70 Release: 1%{?dist} Summary: Security image (captcha) generator License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/GD-SecurityImage/ Source0: http://www.cpan.org/authors/id/B/BU/BURAK/GD-SecurityImage-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(GD) BuildRequires: perl(Image::Magick) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module gives you a basic interface to create "security images". Most internet software use these in their registration screens to block robot programs (which may register tons of fake member accounts). This module gives you a basic interface to create such an image. %prep %setup -q -n GD-SecurityImage-%{version} sed -i 's/\r//' LICENSE iconv -f ISO-8859-1 -t UTF-8 README > README.UTF-8 mv -f README.UTF-8 README %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 eg LICENSE README SPEC StayPuft.ttf %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Nov 23 2009 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 1.70-1 - Specfile autogenerated by cpanspec 1.78.