2007-01-15 23:31:15 +00:00
|
|
|
#
|
2011-11-16 15:39:06 +00:00
|
|
|
# spec file for package perl-Net-DNS
|
2007-01-15 23:31:15 +00:00
|
|
|
#
|
2021-01-19 09:38:07 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2007-01-15 23:31:15 +00:00
|
|
|
#
|
2008-11-28 15:30:00 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2018-09-22 20:24:38 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:31:15 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2021-01-19 09:38:07 +00:00
|
|
|
%define cpan_name Net-DNS
|
2007-01-15 23:31:15 +00:00
|
|
|
Name: perl-Net-DNS
|
2021-06-09 15:26:34 +00:00
|
|
|
Version: 1.31
|
2012-02-01 16:56:57 +00:00
|
|
|
Release: 0
|
2015-04-15 04:52:41 +00:00
|
|
|
Summary: Perl Interface to the Domain Name System
|
2015-09-21 04:53:00 +00:00
|
|
|
License: MIT
|
2011-11-16 15:39:06 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2020-05-28 09:09:30 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-02-28 14:16:41 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/%{cpan_name}-%{version}.tar.gz
|
2015-09-21 04:53:00 +00:00
|
|
|
Source1: cpanspec.yml
|
2013-06-06 05:13:18 +00:00
|
|
|
BuildRequires: perl
|
2011-11-16 15:39:06 +00:00
|
|
|
BuildRequires: perl-macros
|
2020-08-08 11:43:40 +00:00
|
|
|
BuildRequires: perl(Carp) >= 1.1
|
2015-09-21 04:53:00 +00:00
|
|
|
BuildRequires: perl(Digest::HMAC) >= 1.03
|
2013-06-06 05:13:18 +00:00
|
|
|
BuildRequires: perl(Digest::SHA) >= 5.23
|
2020-08-08 11:43:40 +00:00
|
|
|
BuildRequires: perl(Encode) >= 2.26
|
2020-10-27 14:52:26 +00:00
|
|
|
BuildRequires: perl(Getopt::Long) >= 2.43
|
2018-07-23 08:55:31 +00:00
|
|
|
BuildRequires: perl(IO::Socket::IP) >= 0.38
|
2018-09-22 20:24:38 +00:00
|
|
|
BuildRequires: perl(PerlIO) >= 1.05
|
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.25
|
2015-09-21 04:53:00 +00:00
|
|
|
BuildRequires: perl(Time::Local) >= 1.19
|
2020-08-08 11:43:40 +00:00
|
|
|
Requires: perl(Carp) >= 1.1
|
2015-09-21 04:53:00 +00:00
|
|
|
Requires: perl(Digest::HMAC) >= 1.03
|
2013-06-06 05:13:18 +00:00
|
|
|
Requires: perl(Digest::SHA) >= 5.23
|
2020-08-08 11:43:40 +00:00
|
|
|
Requires: perl(Encode) >= 2.26
|
2018-07-23 08:55:31 +00:00
|
|
|
Requires: perl(IO::Socket::IP) >= 0.38
|
2018-09-22 20:24:38 +00:00
|
|
|
Requires: perl(PerlIO) >= 1.05
|
|
|
|
|
Requires: perl(Scalar::Util) >= 1.25
|
2015-09-21 04:53:00 +00:00
|
|
|
Requires: perl(Time::Local) >= 1.19
|
2017-01-03 08:29:08 +00:00
|
|
|
Recommends: perl(Digest::BubbleBabble) >= 0.01
|
2017-10-19 11:49:00 +00:00
|
|
|
Recommends: perl(Net::LibIDN2) >= 1
|
2021-01-19 09:38:07 +00:00
|
|
|
BuildArch: noarch
|
2010-12-05 21:06:46 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%description
|
2013-06-06 05:13:18 +00:00
|
|
|
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
|
2015-04-15 04:52:41 +00:00
|
|
|
beyond the capabilities of "gethostbyname" and "gethostbyaddr".
|
2013-06-06 05:13:18 +00:00
|
|
|
|
2018-09-22 20:24:38 +00:00
|
|
|
The programmer should be familiar with the structure of a DNS packet. See
|
|
|
|
|
RFC 1035 or DNS and BIND (Albitz & Liu) for details.
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%prep
|
2013-06-06 05:13:18 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%build
|
2018-12-06 16:15:16 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-01-19 09:38:07 +00:00
|
|
|
%make_build
|
2008-01-10 01:44:08 +00:00
|
|
|
|
|
|
|
|
%check
|
2021-01-19 09:38:07 +00:00
|
|
|
%make_build test
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
2013-06-06 05:13:18 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:31:15 +00:00
|
|
|
|
2013-06-06 05:13:18 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,755)
|
2015-09-21 04:53:00 +00:00
|
|
|
%doc Changes README
|
2008-01-07 01:54:02 +00:00
|
|
|
|
2007-07-03 13:14:36 +00:00
|
|
|
%changelog
|