]> git.pld-linux.org Git - packages/perl-Unicode-String.git/blame - perl-Unicode-String.spec
perl 5.38.0 rebuild
[packages/perl-Unicode-String.git] / perl-Unicode-String.spec
CommitLineData
974a3281 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
2d00a05b 5%define pdir Unicode
6%define pnam String
adc79b4a 7Summary: Unicode::String perl module
852800f6 8Summary(pl.UTF-8): Moduł perla Unicode::String
364e1f98 9Name: perl-Unicode-String
9e581ee7 10Version: 2.10
858afd0e 11Release: 6
974a3281 12# same as perl
13License: GPL v1+ or Artistic
364e1f98 14Group: Development/Languages/Perl
ac92dcf6 15Source0: http://www.cpan.org/modules/by-module/Unicode/%{pdir}-%{pnam}-%{version}.tar.gz
9e581ee7
MK
16# Source0-md5: 7a8210e673824b9fb90fd1c360483890
17Patch0: utf8doc.patch
2f6a84b5 18URL: https://metacpan.org/dist/Unicode-String
a823c7d4 19BuildRequires: perl-devel >= 1:5.8.0
fa9555e7 20BuildRequires: perl-MIME-Base64 >= 2.00
874c82ef 21BuildRequires: rpm-perlprov >= 4.1-13
2f6a84b5 22BuildRequires: rpmbuild(macros) >= 1.745
29309c71 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
364e1f98 24
25%description
fa9555e7
JB
26Unicode::String Perl module - String of Unicode characters
27(UCS2/UTF16).
364e1f98 28
07fbb3d9
JR
29%description -l pl.UTF-8
30Moduł Perla Unicode::String - klasa ciągu unikodowych znaków
fa9555e7 31(UCS2/UTF16).
364e1f98 32
33%prep
fb033c9d 34%setup -q -n %{pdir}-%{pnam}-%{version}
8153ddb2 35%patch0 -p1
364e1f98 36
37%build
874c82ef 38%{__perl} Makefile.PL \
d32ff78f 39 INSTALLDIRS=vendor
974a3281 40%{__make} \
71b3aff8 41 CC="%{__cc}" \
974a3281 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
364e1f98 45
46%install
47rm -rf $RPM_BUILD_ROOT
364e1f98 48
974a3281 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
364e1f98 51
364e1f98 52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
fa9555e7 57%doc Changes README
874c82ef 58%{perl_vendorarch}/Unicode/CharName.pm
59%{perl_vendorarch}/Unicode/String.pm
60%dir %{perl_vendorarch}/auto/Unicode/String
874c82ef 61%attr(755,root,root) %{perl_vendorarch}/auto/Unicode/String/String.so
ac92dcf6
JB
62%{_mandir}/man3/Unicode::CharName.3pm*
63%{_mandir}/man3/Unicode::String.3pm*
This page took 0.199609 seconds and 4 git commands to generate.