]>
Commit | Line | Data |
---|---|---|
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 | 9 | Summary: Net::DNS - Perl interface to the DNS resolver |
10 | Summary(pl): Net::DNS - interfejs do resolvera DNS | |
592865be | 11 | Name: perl-Net-DNS |
973647a7 | 12 | Version: 0.40 |
f7a9ec29 | 13 | Release: 1 |
2ec50653 | 14 | License: GPL/Artistic |
592865be | 15 | Group: Development/Languages/Perl |
b872ff31 | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
973647a7 | 17 | # Source0-md5: 4e5b9e53387638aeb5254b5537942c23 |
ef2b2716 | 18 | BuildRequires: perl-devel >= 5.6 |
2ec50653 | 19 | %if %{?_without_tests:0}%{!?_without_tests:1} |
38752a21 JB |
20 | BuildRequires: perl-Digest-MD5 >= 2.12 |
21 | BuildRequires: perl-Digest-HMAC >= 1.00 | |
22 | BuildRequires: perl-MIME-Base64 >= 2.11 | |
23 | BuildRequires: perl-Test-Simple >= 0.18 | |
2ec50653 | 24 | %endif |
c8c080e8 | 25 | BuildRequires: rpm-perlprov >= 4.1-13 |
3c4ce0a8 | 26 | %if %{?_with_libresolv:0}%{!?_with_libresolv:1} |
3f83c743 | 27 | BuildArch: noarch |
3c4ce0a8 | 28 | %endif |
4c5b9742 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
592865be | 30 | |
31 | %description | |
27c2274a | 32 | Net::DNS is a DNS resolver implemented in Perl. It allows the |
33 | programmer to perform nearly any type of DNS query from a Perl script. | |
592865be | 34 | |
35 | %description -l pl | |
27c2274a | 36 | Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala |
2ec50653 | 37 |