1 |
jquelin |
13333 |
%define upstream_name Net-DNS |
2 |
jquelin |
640014 |
%define upstream_version 0.77 |
3 |
jquelin |
13333 |
|
4 |
kharec |
165004 |
Name: perl-%{upstream_name} |
5 |
|
|
Version: %perl_convert_version %{upstream_version} |
6 |
umeabot |
685638 |
Release: %mkrel 2 |
7 |
jquelin |
13333 |
|
8 |
kharec |
165004 |
Summary: Perl interface to the DNS resolver |
9 |
|
|
License: GPL+ or Artistic |
10 |
|
|
Group: Development/Perl |
11 |
|
|
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
|
|
Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz |
13 |
jquelin |
13333 |
|
14 |
jquelin |
588550 |
BuildRequires: perl(Digest::HMAC) >= 1.10.0 |
15 |
|
|
BuildRequires: perl(Digest::MD5) >= 2.130.0 |
16 |
kharec |
165004 |
BuildRequires: perl(Digest::SHA) >= 5.230.0 |
17 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) |
18 |
jquelin |
588550 |
BuildRequires: perl(IO::Socket) >= 1.240.0 |
19 |
kharec |
165004 |
BuildRequires: perl(MIME::Base64) >= 2.110.0 |
20 |
jquelin |
588550 |
BuildRequires: perl(Test::More) >= 0.520.0 |
21 |
kharec |
165004 |
BuildRequires: perl-devel |
22 |
jquelin |
13333 |
%description |
23 |
|
|
Net::DNS is a collection of Perl modules that act as a Domain Name System (DNS) |
24 |
|
|
resolver. It allows the programmer to perform DNS queries that are beyond the |
25 |
|
|
capabilities of gethostbyname and gethostbyaddr. |
26 |
|
|
|
27 |
|
|
The programmer should be somewhat familiar with the format of a DNS packet and |
28 |
|
|
its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details. |
29 |
|
|
|
30 |
|
|
%prep |
31 |
|
|
%setup -q -n %{upstream_name}-%{upstream_version} |
32 |
|
|
|
33 |
|
|
%build |
34 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null |
35 |
|
|
%make |
36 |
|
|
|
37 |
|
|
%check |
38 |
|
|
%{__make} test |
39 |
|
|
|
40 |
|
|
%install |
41 |
|
|
%makeinstall_std |
42 |
|
|
|
43 |
|
|
%files |
44 |
jquelin |
634162 |
%doc Changes META.json META.yml MYMETA.yml README TODO demo |
45 |
jquelin |
13333 |
%{_mandir}/*/* |
46 |
|
|
%{perl_vendorarch}/auto/Net |
47 |
kharec |
165004 |
%{perl_vendorarch}/Net |