]> git.pld-linux.org Git - packages/perl-Net-DNS.git/blame - perl-Net-DNS.spec
- rel. 2
[packages/perl-Net-DNS.git] / perl-Net-DNS.spec
CommitLineData
c1b3dcce 1#
2ec50653 2# Conditional build:
c393bc81 3%bcond_without tests # do not perform "make test"
c1b3dcce 4%bcond_with libresolv # link against libresolv (creates architecture-dependent package)
5#
2993f431 6%include /usr/lib/rpm/macros.perl
0e32e899 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
517c6bb4 12Version: 0.51
2b762bce 13Release: 2
c393bc81 14# same as perl
15License: GPL v1+ or Artistic
592865be 16Group: Development/Languages/Perl
b872ff31 17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
517c6bb4 18# Source0-md5: fc358c06e65b1918b93e1a92e02065b8
97f02c5a 19BuildRequires: perl-devel >= 1:5.8.0
877f6b1f 20%if %{with tests}
38752a21
JB
21BuildRequires: perl-Digest-MD5 >= 2.12
22BuildRequires: perl-Digest-HMAC >= 1.00
23BuildRequires: perl-MIME-Base64 >= 2.11
672bf6c7 24BuildRequires: perl-Net-IP >= 1.20
38752a21 25BuildRequires: perl-Test-Simple >= 0.18
877f6b1f 26BuildRequires: perl-Test-Pod >= 0.95
2ec50653 27%endif
c8c080e8 28BuildRequires: rpm-perlprov >= 4.1-13
877f6b1f 29%if !%{with libresolv}
3f83c743 30BuildArch: noarch
3c4ce0a8 31%endif
4c5b9742 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
592865be 33
34%description
27c2274a 35Net::DNS is a DNS resolver implemented in Perl. It allows the
36programmer to perform nearly any type of DNS query from a Perl script.
592865be 37
38%description -l pl
27c2274a 39Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala
2ec50653 40