74 lines
2.3 KiB
RPMSpec
74 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-POE-Component-Client-DNS
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name POE-Component-Client-DNS
|
|
Name: perl-POE-Component-Client-DNS
|
|
Version: 1.54.0
|
|
Release: 0
|
|
# 1.054 -> normalize -> 1.54.0
|
|
%define cpan_version 1.054
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Non-blocking, parallel DNS client
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCAPUTO/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Net::DNS) >= 0.65
|
|
BuildRequires: perl(POE) >= 1.294
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
BuildRequires: perl(Test::NoWarnings) >= 1.02
|
|
Requires: perl(Net::DNS) >= 0.65
|
|
Requires: perl(POE) >= 1.294
|
|
Requires: perl(Test::More) >= 0.96
|
|
Requires: perl(Test::NoWarnings) >= 1.02
|
|
Provides: perl(POE::Component::Client::DNS) = %{version}
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
POE::Component::Client::DNS provides non-blocking, parallel DNS requests
|
|
via Net::DNS. Using POE, it allows other tasks to run while waiting for
|
|
name servers to respond.
|
|
|
|
For simple name resolution, including smart handling of IPv6 names, please
|
|
see POE::Component::Resolver instead.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc CHANGES README README.mkdn
|
|
%license LICENSE
|
|
|
|
%changelog
|