]> git.pld-linux.org Git - packages/perl-Net-LibIDN.git/blob - perl-Net-LibIDN.spec
perl 5.38.0 rebuild
[packages/perl-Net-LibIDN.git] / perl-Net-LibIDN.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Net
6 %define         pnam    LibIDN
7 Summary:        This module provides Perl bindings for GNU Libidn
8 Summary(pl.UTF-8):      Wiązania Libidn dla Perla      
9 Name:           perl-Net-LibIDN
10 Version:        0.12
11 Release:        14
12 License:        GPL
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  c3e4de2065009d67bcb1df0afb473e12
16 URL:            http://search.cpan.org/dist/Net-LibIDN/
17 BuildRequires:  libidn-devel
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This module provides Perl bindings for GNU Libidn by Simon Josefsson
24 (http://www.gnu.org/software/libidn/)
25
26 # %description -l pl.UTF-8
27 # TODO
28
29 %prep
30 %setup -q -n %{pdir}-%{pnam}-%{version}
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make} \
36         CC="%{__cc}" \
37         OPTIMIZE="%{rpmcflags}"
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorarch}/Net/*.pm
54 %dir %{perl_vendorarch}/auto/Net/LibIDN
55 %{perl_vendorarch}/auto/Net/LibIDN/*.ix
56 %attr(755,root,root) %{perl_vendorarch}/auto/Net/LibIDN/*.so
57 %{_mandir}/man3/*
This page took 0.12073 seconds and 4 git commands to generate.