Import
This commit is contained in:
parent
24e1c7c1a1
commit
fa4ae7f6a5
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/PerlIO-utf8_strict-0.002.tar.gz
|
||||
53
perl-PerlIO-utf8_strict.spec
Normal file
53
perl-PerlIO-utf8_strict.spec
Normal 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.
|
||||
Loading…
Reference in New Issue
Block a user