]> git.pld-linux.org Git - packages/perl-PerlIO-utf8_strict.git/blob - perl-PerlIO-utf8_strict.spec
- up to 0.007
[packages/perl-PerlIO-utf8_strict.git] / perl-PerlIO-utf8_strict.spec
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
8 Summary:        PerlIO::utf8_strict - Fast and correct UTF-8 IO
9 Name:           perl-%{pdir}-%{pnam}
10 Version:        0.007
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/PerlIO/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  9e8fba7f15c612c4f2ed2f961bf1141b
17 URL:            http://search.cpan.org/dist/PerlIO-utf8_strict/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module provides a fast and correct UTF-8 PerlIO layer.
24 Unlike 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} Makefile.PL \
31         INSTALLDIRS=vendor
32 %{__make}
33
34 %{?with_tests:%{__make} test}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -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.045515 seconds and 4 git commands to generate.