]> git.pld-linux.org Git - packages/perl-PerlIO-utf8_strict.git/blame - perl-PerlIO-utf8_strict.spec
rebuild with perl 5.34.0
[packages/perl-PerlIO-utf8_strict.git] / perl-PerlIO-utf8_strict.spec
CommitLineData
dbb67cee
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
dbb67cee
JR
5%define pdir PerlIO
6%define pnam utf8_strict
7Summary: PerlIO::utf8_strict - Fast and correct UTF-8 IO
8ab9be9c 8Name: perl-%{pdir}-%{pnam}
f99b59f5 9Version: 0.007
f07e758b 10Release: 4
dbb67cee
JR
11# same as perl
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/PerlIO/%{pdir}-%{pnam}-%{version}.tar.gz
f99b59f5 15# Source0-md5: 9e8fba7f15c612c4f2ed2f961bf1141b
dbb67cee
JR
16URL: http://search.cpan.org/dist/PerlIO-utf8_strict/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This module provides a fast and correct UTF-8 PerlIO layer.
23Unlike perl's default :utf8 layer it checks the input for correctness.
24
25%prep
26%setup -q -n %{pdir}-%{pnam}-%{version}
27
28%build
f99b59f5
AM
29%{__perl} Makefile.PL \
30 INSTALLDIRS=vendor
31%{__make}
dbb67cee 32
f99b59f5 33%{?with_tests:%{__make} test}
dbb67cee
JR
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
f99b59f5
AM
38%{__make} install \
39 DESTDIR=$RPM_BUILD_ROOT
dbb67cee
JR
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%doc Changes
47%{perl_vendorarch}/PerlIO/utf8_strict.pm
48%dir %{perl_vendorarch}/auto/PerlIO/utf8_strict
49%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/utf8_strict/*.so
50%{_mandir}/man3/*
This page took 0.104035 seconds and 4 git commands to generate.