]>
Commit | Line | Data |
---|---|---|
103f8089 ER |
1 | # TODO |
2 | # - pass CC | |
c1b3dcce | 3 | # |
2ec50653 | 4 | # Conditional build: |
c393bc81 | 5 | %bcond_without tests # do not perform "make test" |
66d8d9ea | 6 | %bcond_without libresolv # link against libresolv (creates architecture-dependent package) |
c1b3dcce | 7 | # |
2993f431 | 8 | %include /usr/lib/rpm/macros.perl |
0e32e899 | 9 | %define pdir Net |
10 | %define pnam DNS | |
de165a65 | 11 | Summary: Net::DNS - Perl interface to the DNS resolver |
9c4937de | 12 | Summary(pl): Net::DNS - interfejs perlowy do resolvera DNS |
592865be | 13 | Name: perl-Net-DNS |
66d8d9ea | 14 | Version: 0.53 |
a21ec233 | 15 | Release: 3 |
c393bc81 | 16 | # same as perl |
17 | License: GPL v1+ or Artistic | |
592865be | 18 | Group: Development/Languages/Perl |
b872ff31 | 19 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
66d8d9ea | 20 | # Source0-md5: 404797359373d4df1a025458ab1415f7 |
7faa54d2 | 21 | URL: http://search.cpan.org/dist/Net-DNS/ |
97f02c5a | 22 | BuildRequires: perl-devel >= 1:5.8.0 |
49fd73d4 | 23 | BuildRequires: sed >= 4.0 |
877f6b1f | 24 | %if %{with tests} |
66d8d9ea | 25 | BuildRequires: perl-Digest-BubbleBabble |
38752a21 | 26 | BuildRequires: perl-Digest-HMAC >= 1.00 |
66d8d9ea ER |
27 | BuildRequires: perl-Digest-MD5 >= 2.12 |
28 | BuildRequires: perl-IO-Socket-INET6 >= 2.51 | |
38752a21 | 29 | BuildRequires: perl-MIME-Base64 >= 2.11 |
672bf6c7 | 30 | BuildRequires: perl-Net-IP >= 1.20 |
29c9b370 | 31 | BuildRequires: perl-Test-Pod >= 0.95 |
2ec50653 | 32 | %endif |
c8c080e8 | 33 | BuildRequires: rpm-perlprov >= 4.1-13 |
d4656649 | 34 | %if !%{with libresolv} |
3f83c743 | 35 | BuildArch: noarch |
3c4ce0a8 | 36 | %endif |
4c5b9742 | 37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
592865be | 38 | |
39 | %description | |
27c2274a | 40 | Net::DNS is a DNS resolver implemented in Perl. It allows the |
41 | programmer to perform nearly any type of DNS query from a Perl script. | |
592865be | 42 | |
43 | %description -l pl | |
27c2274a | 44 | Net::DNS jest resolverem DNS, zaimplementowanym w Perlu. Pozwala |
2ec50653 | 45 |