]> git.pld-linux.org Git - packages/perl-Net-DNS.git/blame - perl-Net-DNS.spec
- spaces -> tab
[packages/perl-Net-DNS.git] / perl-Net-DNS.spec
CommitLineData
2ec50653 1#
2# Conditional build:
3c4ce0a8 3# _without_tests - do not perform "make test"
4# _with_libresolv - link against libresolv
abcd20d4 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
10Summary(pl): Net::DNS - interfejs do resolvera DNS
592865be 11Name: perl-Net-DNS
973647a7 12Version: 0.40
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
973647a7 17# Source0-md5: 4e5b9e53387638aeb5254b5537942c23
ef2b2716 18BuildRequires: perl-devel >= 5.6
2ec50653 19%if %{?_without_tests:0}%{!?_without_tests:1}
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
2ec50653 24%endif
c8c080e8 25BuildRequires: rpm-perlprov >= 4.1-13
3c4ce0a8 26%if %{?_with_libresolv:0}%{!?_with_libresolv:1}
3f83c743 27BuildArch: noarch
3c4ce0a8 28%endif
4c5b9742 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
592865be 30
31%description
27c2274a 32Net::DNS is a DNS resolver implemented in Perl. It allows the
33programmer to perform nearly any type of DNS query from a Perl script.
592865be 34
35%description -l pl
27c2274a 36Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala
2ec50653 37