]> git.pld-linux.org Git - packages/perl-Unicode-EastAsianWidth.git/blob - perl-Unicode-EastAsianWidth.spec
- updated to 12.0
[packages/perl-Unicode-EastAsianWidth.git] / perl-Unicode-EastAsianWidth.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Unicode
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
10 Version:        12.0
11 Release:        1
12 License:        unrestricted
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
20 %if %{with tests}
21 %endif
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
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/>.
29
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/>.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} pure_install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/Unicode/EastAsianWidth.pm
59 %{_mandir}/man3/Unicode::EastAsianWidth.3pm*
This page took 0.129951 seconds and 4 git commands to generate.