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