3 %bcond_without tests # do not perform "make test"
6 %define pnam EastAsianWidth
7 Summary: Unicode::EastAsianWidth - East Asian Width properties
8 Summary(pl.UTF-8): Unicode::EastAsianWidth - właściwości szerokości znaków wschodnioazjatyckich
9 Name: perl-Unicode-EastAsianWidth
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Unicode/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 545507653ce0dfa34055e2628455abcc
16 URL: http://search.cpan.org/dist/Unicode-EastAsianWidth/
17 BuildRequires: perl-ExtUtils-MakeMaker >= 6.59
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 This module provide user-defined Unicode properties that deal with
27 width status of East Asian characters, as specified in
28 <http://www.unicode.org/unicode/reports/tr11/>.
30 %description -l pl.UTF-8
31 Ten moduł udostępnia zdefiniowane przez użytkownika właściwości
32 Unicode dotyczące stanu szerokości znaków wschodnioazjatyckich,
33 zgodnie ze specyfikacją
34 <http://www.unicode.org/unicode/reports/tr11/>.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/Unicode/EastAsianWidth.pm
59 %{_mandir}/man3/Unicode::EastAsianWidth.3pm*