]>
Commit | Line | Data |
---|---|---|
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 |
f17cac35 | 7 | %define pdir Net |
8 | %define pnam DNS | |
de165a65 | 9 | Summary: Net::DNS - Perl interface to the DNS resolver |
9c4937de | 10 | Summary(pl): Net::DNS - interfejs perlowy do resolvera DNS |
592865be | 11 | Name: perl-Net-DNS |
46adae86 | 12 | Version: 0.48 |
24ac9d3f | 13 | Release: 2 |
c393bc81 | 14 | # same as perl |
15 | License: GPL v1+ or Artistic | |
592865be | 16 | Group: Development/Languages/Perl |
b872ff31 | 17 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
46adae86 | 18 | # Source0-md5: bd5bab1de250b947a3f00148d426f2e2 |
97f02c5a | 19 | BuildRequires: perl-devel >= 1:5.8.0 |
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 |