]> git.pld-linux.org Git - packages/perl-Net-DNS.git/blame_incremental - perl-Net-DNS.spec
- updated to 0.48
[packages/perl-Net-DNS.git] / perl-Net-DNS.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4%bcond_with libresolv # link against libresolv (creates architecture-dependent package)
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir Net
8%define pnam DNS
9Summary: Net::DNS - Perl interface to the DNS resolver
10Summary(pl): Net::DNS - interfejs perlowy do resolvera DNS
11Name: perl-Net-DNS
12Version: 0.48
13Release: 1
14# same as perl
15License: GPL v1+ or Artistic
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
18# Source0-md5: bd5bab1de250b947a3f00148d426f2e2
19BuildRequires: perl-devel >= 1:5.8.0
20%if %{with tests}
21BuildRequires: perl-Digest-MD5 >= 2.12
22BuildRequires: perl-Digest-HMAC >= 1.00
23BuildRequires: perl-MIME-Base64 >= 2.11
24BuildRequires: perl-Test-Simple >= 0.18
25BuildRequires: perl-Test-Pod >= 0.95
26%endif
27BuildRequires: rpm-perlprov >= 4.1-13
28%if !%{with libresolv}
29BuildArch: noarch
30%endif
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34Net::DNS is a DNS resolver implemented in Perl. It allows the
35programmer to perform nearly any type of DNS query from a Perl script.
36
37%description -l pl
38Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala
39