]> git.pld-linux.org Git - packages/perl-PerlIO-utf8_strict.git/blame - perl-PerlIO-utf8_strict.spec
- release 3 (by relup.sh)
[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}
dbb67cee 10Version: 0.005
7d07dbea 11Release: 3
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
16# Source0-md5: 6b971926fa3dbd2af494753004a279a0
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
30%{__perl} Build.PL \
31 destdir=$RPM_BUILD_ROOT \
32 installdirs=vendor
33
34./Build \
35 CC="%{__cc}" \
36 OPTIMIZE="%{rpmcflags}"
37
38%{?with_tests:./Build test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43./Build install
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc Changes
51%{perl_vendorarch}/PerlIO/utf8_strict.pm
52%dir %{perl_vendorarch}/auto/PerlIO/utf8_strict
53%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/utf8_strict/*.so
54%{_mandir}/man3/*
This page took 0.04523 seconds and 4 git commands to generate.