]> git.pld-linux.org Git - packages/perl-Unicode-String.git/blame - perl-Unicode-String.spec
- drop obsolete and outdated manual inclusion of rpm macros
[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
fd85e88f 11Release: 2
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
6339eeb7 18URL: http://search.cpan.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
29309c71 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
364e1f98 23
24%description
fa9555e7
JB
25Unicode::String Perl module - String of Unicode characters
26(UCS2/UTF16).
364e1f98 27
07fbb3d9
JR
28%description -l pl.UTF-8
29Moduł Perla Unicode::String - klasa ciągu unikodowych znaków
fa9555e7 30(UCS2/UTF16).
364e1f98 31
32%prep
fb033c9d 33%setup -q -n %{pdir}-%{pnam}-%{version}
8153ddb2 34%patch0 -p1
364e1f98 35
36%build
874c82ef 37%{__perl} Makefile.PL \
d32ff78f 38 INSTALLDIRS=vendor
974a3281 39%{__make} \
71b3aff8 40 CC="%{__cc}" \
974a3281 41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
364e1f98 44
45%install
46rm -rf $RPM_BUILD_ROOT
364e1f98 47
974a3281 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
364e1f98 50
364e1f98 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
fa9555e7 56%doc Changes README
874c82ef 57%{perl_vendorarch}/Unicode/CharName.pm
58%{perl_vendorarch}/Unicode/String.pm
59%dir %{perl_vendorarch}/auto/Unicode/String
874c82ef 60%attr(755,root,root) %{perl_vendorarch}/auto/Unicode/String/String.so
ac92dcf6
JB
61%{_mandir}/man3/Unicode::CharName.3pm*
62%{_mandir}/man3/Unicode::String.3pm*
This page took 0.086721 seconds and 4 git commands to generate.