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