]> git.pld-linux.org Git - packages/perl-Text-Iconv.git/blame - perl-Text-Iconv.spec
perl 5.38.0 rebuild
[packages/perl-Text-Iconv.git] / perl-Text-Iconv.spec
CommitLineData
b5b28a46 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
9252c12c 5%define pdir Text
6%define pnam Iconv
20ae904e
JB
7Summary: Text::Iconv - Perl interface to iconv() codeset conversion function
8Summary(pl.UTF-8): Text::Iconv - perlowy interfejs do funkcji przekodowującej iconv()
fd66871b 9Name: perl-Text-Iconv
ba025399 10Version: 1.7
1fe7dc9f 11Release: 21
f44e803a 12# same as perl
13License: GPL v1+ or Artistic
fd66871b 14Group: Development/Languages/Perl
20ae904e 15Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
ba025399 16# Source0-md5: 81b26e069eaebb084e91ea3c009b67ae
6d0f101a 17URL: https://metacpan.org/dist/Text-Iconv
ab61204d 18BuildRequires: perl-devel >= 1:5.8.0
99f4f360 19BuildRequires: rpm-perlprov >= 4.1-13
6d0f101a 20BuildRequires: rpmbuild(macros) >= 1.745
fd66871b 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module provides a Perl interface to the iconv() codeset
28762b59 25conversion function, as defined by the Single UNIX Specification. For
fd66871b 26more details see the POD documentation embedded in the file Iconv.pm,
27which will also be installed as Text::Iconv(3) man page.
28
479d9a92
JR
29%description -l pl.UTF-8
30Ten moduł dostarcza interfejs Perla do funkcji iconv() konwertującej
31pomiędzy kodowaniami znaków, zgodnej z Single UNIX Specification.
32Więcej informacji znajduje się w manualu Text::Iconv(3).
39776e77 33
fd66871b 34%prep
bc6c98b9 35%setup -q -n %{pdir}-%{pnam}-%{version}
fd66871b 36
37%build
99f4f360 38%{__perl} Makefile.PL \
f8eebae7 39 INSTALLDIRS=vendor
b5b28a46 40%{__make} \
4693a826 41 CC="%{__cc}" \
b5b28a46 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
fd66871b 45
46%install
47rm -rf $RPM_BUILD_ROOT
48
b5b28a46 49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
fd66871b 51
fd66871b 52%clean
adeccfce 53rm -rf $RPM_BUILD_ROOT
fd66871b 54
55%files
56%defattr(644,root,root,755)
ce1e801e 57%doc Changes README
99f4f360 58%{perl_vendorarch}/Text/Iconv.pm
59%dir %{perl_vendorarch}/auto/Text/Iconv
60%{perl_vendorarch}/auto/Text/Iconv/autosplit.ix
6d0f101a
JB
61%attr(755,root,root) %{perl_vendorarch}/auto/Text/Iconv/Iconv.so
62%{_mandir}/man3/Text::Iconv.3pm*
This page took 0.168845 seconds and 4 git commands to generate.