File perl-Net-DNS.spec of Package perl-Net-DNS

# spec file for package perl-Net-DNS
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           perl-Net-DNS
Version:        1.14
Release:        0
%define cpan_name Net-DNS
Summary:        Perl Interface to the Domain Name System
License:        MIT
Group:          Development/Libraries/Perl
Source1:        cpanspec.yml
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Digest::HMAC) >= 1.03
BuildRequires:  perl(Digest::SHA) >= 5.23
BuildRequires:  perl(Time::Local) >= 1.19
Requires:       perl(Digest::HMAC) >= 1.03
Requires:       perl(Digest::SHA) >= 5.23
Requires:       perl(Time::Local) >= 1.19
Recommends:     perl(Digest::BubbleBabble) >= 0.01
Recommends:     perl(IO::Socket::IP) >= 0.38
Recommends:     perl(Net::LibIDN) >= 0.12
Recommends:     perl(Net::LibIDN2) >= 1
Recommends:     perl(Scalar::Util) >= 1.25

Net::DNS is a collection of Perl modules that act as a Domain Name System
(DNS) resolver. It allows the programmer to perform DNS queries that are
beyond the capabilities of "gethostbyname" and "gethostbyaddr".

The programmer should be somewhat familiar with the format of a DNS packet
and its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for

%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files
%doc Changes README

openSUSE Build Service is sponsored by