commit e374e596b785facc065d305fe420d8f07cef083f Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Thu Mar 31 04:58:18 2011 +0200 initial import (rhbz#678196) .gitignore | 1 + perl-String-Errf.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8eacb43 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/String-Errf-0.006.tar.gz diff --git a/perl-String-Errf.spec b/perl-String-Errf.spec new file mode 100644 index 0000000..1d19285 --- /dev/null +++ b/perl-String-Errf.spec @@ -0,0 +1,60 @@ +Name: perl-String-Errf +Version: 0.006 +Release: 1%{?dist} +Summary: Simple sprintf-like dialect +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/String-Errf/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/String-Errf-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(autodie) +BuildRequires: perl(Carp) +BuildRequires: perl(Date::Format) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(JSON) >= 2 +BuildRequires: perl(Params::Util) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(String::Formatter) >= 0.102081 +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Time::Piece) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +String::Errf provides errf, a simple string formatter that works something +like sprintf. It is implemented using String::Formatter and Sub::Exporter. +Their documentation may be useful in understanding or extending +String::Errf. + +%prep +%setup -q -n String-Errf-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 17 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.006-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..687115a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ef5473bef7546d3ba7dd5ac53780f7d7 String-Errf-0.006.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