This commit is contained in:
Petr Písař 2012-10-01 17:07:35 +02:00
parent 24e1c7c1a1
commit fa4ae7f6a5
3 changed files with 55 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/PerlIO-utf8_strict-0.002.tar.gz

View File

@ -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@redhat.com> 0.002-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
2e5b13efe6dfd7748e44e47f6dedb1da PerlIO-utf8_strict-0.002.tar.gz