commit fa4ae7f6a56afcc38a9ff205e6190ca16a8f42cd Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Oct 1 17:07:35 2012 +0200 Import .gitignore | 1 + perl-PerlIO-utf8_strict.spec | 53 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..3ab0902 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/PerlIO-utf8_strict-0.002.tar.gz diff --git a/perl-PerlIO-utf8_strict.spec b/perl-PerlIO-utf8_strict.spec new file mode 100644 index 0000000..6135c84 --- /dev/null +++ b/perl-PerlIO-utf8_strict.spec @@ -0,0 +1,53 @@ +Name: perl-PerlIO-utf8_strict +Version: 0.002 +Release: 1%{?dist} +Summary: Fast and correct UTF-8 I/O +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/PerlIO-utf8_strict/ +Source0: http://www.cpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-%{version}.tar.gz +BuildRequires: perl(Module::Build) >= 0.3601 +# Run-time: +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(IO::File) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) >= 0.88 +# Optional tests: +BuildRequires: perl(Test::Script) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module provides a fast and correct UTF-8 PerlIO layer. Unlike perl's +default :utf8 layer it checks the input for correctness. + +%prep +%setup -q -n PerlIO-utf8_strict-%{version} + +%build +%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/PerlIO* +%{_mandir}/man3/* + +%changelog +* Thu Sep 20 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.002-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..7cb9219 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2e5b13efe6dfd7748e44e47f6dedb1da PerlIO-utf8_strict-0.002.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