]> git.pld-linux.org Git - packages/perl-Net-DNS.git/blame - perl-Net-DNS.spec
- cosmetics, unification
[packages/perl-Net-DNS.git] / perl-Net-DNS.spec
CommitLineData
c1b3dcce 1#
2ec50653 2# Conditional build:
c1b3dcce 3%bcond_with tests # perform "make test"
4%bcond_with libresolv # link against libresolv (creates architecture-dependent package)
5#
2993f431 6%include /usr/lib/rpm/macros.perl
f17cac35 7%define pdir Net
8%define pnam DNS
de165a65 9Summary: Net::DNS - Perl interface to the DNS resolver
9c4937de 10Summary(pl): Net::DNS - interfejs perlowy do resolvera DNS
592865be 11Name: perl-Net-DNS
7a3dd905 12Version: 0.47
f7a9ec29 13Release: 1
2ec50653 14License: GPL/Artistic
592865be 15Group: Development/Languages/Perl
b872ff31 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
7a3dd905 17# Source0-md5: 749a04eb4377e889ed58d004536a9117
ef2b2716 18BuildRequires: perl-devel >= 5.6
877f6b1f 19%if %{with tests}
38752a21
JB
20BuildRequires: perl-Digest-MD5 >= 2.12
21BuildRequires: perl-Digest-HMAC >= 1.00
22BuildRequires: perl-MIME-Base64 >= 2.11
23BuildRequires: perl-Test-Simple >= 0.18
877f6b1f 24BuildRequires: perl-Test-Pod >= 0.95
2ec50653 25%endif
c8c080e8 26BuildRequires: rpm-perlprov >= 4.1-13
877f6b1f 27%if !%{with libresolv}
3f83c743 28BuildArch: noarch
3c4ce0a8 29%endif
4c5b9742 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
592865be 31
32%description
27c2274a 33Net::DNS is a DNS resolver implemented in Perl. It allows the
34programmer to perform nearly any type of DNS query from a Perl script.
592865be 35
36%description -l pl
27c2274a 37Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala
2ec50653 38