]> git.pld-linux.org Git - packages/perl-PerlIO-utf8_strict.git/blame - perl-PerlIO-utf8_strict.spec
perl 5.38.0 rebuild
[packages/perl-PerlIO-utf8_strict.git] / perl-PerlIO-utf8_strict.spec
CommitLineData
dbb67cee
JR
1#
2# Conditional build:
27e4ff4d 3%bcond_without tests # unit tests
dbb67cee 4#
dbb67cee
JR
5%define pdir PerlIO
6%define pnam utf8_strict
24030ff4
JB
7Summary: PerlIO::utf8_strict - fast and correct UTF-8 I/O
8Summary(pl.UTF-8): PerlIO::utf8_strict - szybkie i poprawne we/wy UTF-8
8ab9be9c 9Name: perl-%{pdir}-%{pnam}
27e4ff4d 10Version: 0.010
01ff82fd 11Release: 2
dbb67cee
JR
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
27e4ff4d
JB
15Source0: https://www.cpan.org/modules/by-module/PerlIO/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: d90ca967f66e05ad9221c79060868346
24030ff4
JB
17URL: https://metacpan.org/dist/PerlIO-utf8_strict
18%if %{with tests}
19BuildRequires: perl-Test-Exception
20BuildRequires: perl-Test-Simple >= 0.88
21%endif
dbb67cee
JR
22BuildRequires: perl-devel >= 1:5.8.0
23BuildRequires: rpm-perlprov >= 4.1-13
24030ff4 24BuildRequires: rpmbuild(macros) >= 1.745
dbb67cee
JR
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
24030ff4
JB
28This module provides a fast and correct UTF-8 PerlIO layer. Unlike
29Perl's default :utf8 layer it checks the input for correctness.
30
31%description -l pl.UTF-8
32Ten moduł zapewnia warstwę PerlIO do szybkiego i poprawnego UTF-8. W
33przeciwieństwie do domyślnej warstwy :utf8 Perla, sprawdza wejście pod
34kątem poprawności.
dbb67cee
JR
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
f99b59f5
AM
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make}
dbb67cee 43
f99b59f5 44%{?with_tests:%{__make} test}
dbb67cee
JR
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
f99b59f5
AM
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
dbb67cee
JR
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
24030ff4 57%doc Changes README
dbb67cee
JR
58%{perl_vendorarch}/PerlIO/utf8_strict.pm
59%dir %{perl_vendorarch}/auto/PerlIO/utf8_strict
24030ff4
JB
60%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/utf8_strict/utf8_strict.so
61%{_mandir}/man3/PerlIO::utf8_strict.3pm*
This page took 0.567787 seconds and 4 git commands to generate.