]> git.pld-linux.org Git - packages/perl-Net-IDN-Encode.git/blame - perl-Net-IDN-Encode.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-IDN-Encode.git] / perl-Net-IDN-Encode.spec
CommitLineData
4c2f8bd1
AG
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
20948812 5%define pdir Net
6%define pnam IDN-Encode
dd2c1bc6 7Summary: Encoding/decoding of Internationalized Domain Names (IDNs)
104a7a63 8Summary(pl.UTF-8): Kodowanie/dekodowanie międzynarodowych nazw domenowych (IDN)
ebd023ea 9Name: perl-Net-IDN-Encode
6c3fa023 10Version: 2.500
74cdbf5f 11Release: 1
4c2f8bd1
AG
12# "same as perl"
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
0658b2d9 15Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
6c3fa023 16# Source0-md5: 7e5697a38cf05ff66be96947815573da
4c2f8bd1 17URL: http://search.cpan.org/dist/Net-IDN-Encode/
4cc5d28b 18%if %{with tests}
74cdbf5f 19BuildRequires: perl-ExtUtils-CBuilder
74cdbf5f
JB
20BuildRequires: perl-Test-NoWarnings
21BuildRequires: perl-Test-Simple
0658b2d9 22BuildRequires: perl-Unicode-Normalize
4cc5d28b 23%endif
0658b2d9 24BuildRequires: perl-devel >= 1:5.8.5
4c2f8bd1
AG
25BuildRequires: rpm-perlprov >= 4.1-13
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
4c2f8bd1
AG
29%description
30The "Net::IDN::Encode" module provides an easy-to-use interface for
31Internationalized Domain Names (IDNs).
32
f40d716d
JR
33%description -l pl.UTF-8
34Moduł Net::IDN::Encode dostarcza łatwego w użyciu interfejsu do
35obsługi Międzynarodowych Nazw Domenowych (Internationalized Domain
74cdbf5f 36Names - IDN).
4c2f8bd1
AG
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
0658b2d9
JB
55%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Net/IDN/*.pod
56
4c2f8bd1
AG
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc Changes README
63%{perl_vendorlib}/Net/IDN/Encode.pm
74cdbf5f
JB
64%{perl_vendorlib}/Net/IDN/Punycode.pm
65%{perl_vendorlib}/Net/IDN/Punycode.xs
66%{perl_vendorlib}/Net/IDN/Punycode
0658b2d9
JB
67%{perl_vendorlib}/Net/IDN/UTS46.pm
68%{perl_vendorlib}/Net/IDN/UTS46
74cdbf5f 69%{_mandir}/man3/Net::IDN::Encode.3pm*
0658b2d9 70%{_mandir}/man3/Net::IDN::Overview.3pm*
74cdbf5f 71%{_mandir}/man3/Net::IDN::Punycode*.3pm*
0658b2d9
JB
72%{_mandir}/man3/Net::IDN::Standards.3pm*
73%{_mandir}/man3/Net::IDN::UTS46*.3pm*
This page took 0.093519 seconds and 4 git commands to generate.