]> git.pld-linux.org Git - packages/perl-Test-utf8.git/blame - perl-Test-utf8.spec
- updated to 1.02
[packages/perl-Test-utf8.git] / perl-Test-utf8.spec
CommitLineData
bbc0f242
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Test
6%define pnam utf8
bbc0f242
JB
7Summary: Test::utf8 - handy UTF-8 tests
8Summary(pl.UTF-8): Test::utf8 - podręczne testy UTF-8
9Name: perl-Test-utf8
fcfc3b00 10Version: 1.02
bbc0f242
JB
11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
fcfc3b00 16# Source0-md5: 71d187539c76ac1ed9a0242ff208796d
bbc0f242
JB
17URL: https://metacpan.org/release/Test-utf8
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
fcfc3b00 20BuildRequires: rpmbuild(macros) >= 1.745
bbc0f242
JB
21%if %{with tests}
22BuildRequires: perl-Test-Builder-Tester >= 0.09
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28This module is a collection of tests useful for dealing with UTF-8
29strings in Perl.
30
31This module has two types of tests: The validity tests check if a
32string is valid and not corrupt, whereas the characteristics tests
33will check that string has a given set of characteristics.
34
35%description -l pl.UTF-8
36Ten moduł to zbiór testów przydatnych przy obsłudze łańcuchów
37znaków UTF-8 w Perlu.
38
39Moduł ma dwa rodzaje testów: testy poprawności, sprawdzające, czy
40łańcuch jest poprawny oraz testy charakterystyki, sprawdzające, czy
41łancuch ma dany zbiór cech.
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
49%{__make}
50
51%{?with_tests:%{__make} test}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} pure_install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc CHANGES
65%{perl_vendorlib}/Test/utf8.pm
66%{_mandir}/man3/Test::utf8.3pm*
This page took 0.136767 seconds and 4 git commands to generate.