From a65643e3f35d01dc7012bf1384190fcd5c57dacf Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman eseyman@fedoraproject.org Date: Fri, 23 Jul 2010 23:02:35 +0000 Subject: Initial import.
--- .cvsignore | 1 + import.log | 1 + perl-GD-SecurityImage.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 61 insertions(+) create mode 100644 import.log create mode 100644 perl-GD-SecurityImage.spec
diff --git a/.cvsignore b/.cvsignore index e69de29..01b2e3c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +GD-SecurityImage-1.70.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..ce794ca --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-GD-SecurityImage-1_70-1_fc13:HEAD:perl-GD-SecurityImage-1.70-1.fc13.src.rpm:1279925961 diff --git a/perl-GD-SecurityImage.spec b/perl-GD-SecurityImage.spec new file mode 100644 index 0000000..b3d856d --- /dev/null +++ b/perl-GD-SecurityImage.spec @@ -0,0 +1,58 @@ +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-%%7Bversion%7D.ta... +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. diff --git a/sources b/sources index e69de29..43c7692 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +44198b091ad179241dcd1b0d270e04bc GD-SecurityImage-1.70.tar.gz