]> git.pld-linux.org Git - packages/perl-Text-Iconv.git/blame - perl-Text-Iconv.spec
- release 16
[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#
bc6c98b9 5%include /usr/lib/rpm/macros.perl
9252c12c 6%define pdir Text
7%define pnam Iconv
20ae904e
JB
8Summary: Text::Iconv - Perl interface to iconv() codeset conversion function
9Summary(pl.UTF-8): Text::Iconv - perlowy interfejs do funkcji przekodowującej iconv()
fd66871b 10Name: perl-Text-Iconv
ba025399 11Version: 1.7
3e083dc7 12Release: 16
f44e803a 13# same as perl
14License: GPL v1+ or Artistic
fd66871b 15Group: Development/Languages/Perl
20ae904e 16Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
ba025399 17# Source0-md5: 81b26e069eaebb084e91ea3c009b67ae
20ae904e 18URL: http://search.cpan.org/dist/Text-Iconv/
ab61204d 19BuildRequires: perl-devel >= 1:5.8.0
99f4f360 20BuildRequires: rpm-perlprov >= 4.1-13
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
99f4f360 61%attr(755,root,root) %{perl_vendorarch}/auto/Text/Iconv/*.so
fd66871b 62%{_mandir}/man3/*
This page took 0.048258 seconds and 4 git commands to generate.