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