File perl-Sah-SchemaBundle-DNS.spec of Package perl-Sah-SchemaBundle-DNS
#
# spec file for package perl-Sah-SchemaBundle-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 Sah-SchemaBundle-DNS
Name: perl-Sah-SchemaBundle-DNS
Version: 0.003
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Schemas related to DNS
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Data::Sah::Coerce::perl::To_obj::From_str::net_ipv4)
BuildRequires: perl(Data::Sah::Compiler::perl::TH::any) >= 0.914
BuildRequires: perl(Data::Sah::Compiler::perl::TH::array) >= 0.914
BuildRequires: perl(Data::Sah::Compiler::perl::TH::hash) >= 0.914
BuildRequires: perl(Data::Sah::Compiler::perl::TH::int) >= 0.914
BuildRequires: perl(Data::Sah::Compiler::perl::TH::obj) >= 0.914
BuildRequires: perl(Data::Sah::Compiler::perl::TH::str) >= 0.914
BuildRequires: perl(Data::Sah::Filter::perl::Str::remove_whitespace)
BuildRequires: perl(List::Util) >= 1.54
BuildRequires: perl(NetAddr::IP)
BuildRequires: perl(Sah::Schema::email)
BuildRequires: perl(Sah::Schema::hexstr)
BuildRequires: perl(Sah::Schema::net::hostname)
BuildRequires: perl(Sah::Schema::net::ipv4)
BuildRequires: perl(Sah::Schema::net::port)
BuildRequires: perl(Sah::Schema::uint)
BuildRequires: perl(Scalar::Util::Numeric)
BuildRequires: perl(boolean)
Requires: perl(Data::Sah::Coerce::perl::To_obj::From_str::net_ipv4)
Requires: perl(Data::Sah::Compiler::perl::TH::any) >= 0.914
Requires: perl(Data::Sah::Compiler::perl::TH::array) >= 0.914
Requires: perl(Data::Sah::Compiler::perl::TH::hash) >= 0.914
Requires: perl(Data::Sah::Compiler::perl::TH::int) >= 0.914
Requires: perl(Data::Sah::Compiler::perl::TH::obj) >= 0.914
Requires: perl(Data::Sah::Compiler::perl::TH::str) >= 0.914
Requires: perl(Data::Sah::Filter::perl::Str::remove_whitespace)
Requires: perl(List::Util) >= 1.54
Requires: perl(NetAddr::IP)
Requires: perl(Sah::Schema::email)
Requires: perl(Sah::Schema::hexstr)
Requires: perl(Sah::Schema::net::hostname)
Requires: perl(Sah::Schema::net::ipv4)
Requires: perl(Sah::Schema::net::port)
Requires: perl(Sah::Schema::uint)
Requires: perl(Scalar::Util::Numeric)
Requires: perl(boolean)
%{perl_requires}
%description
Schemas related to DNS
%prep
%autosetup -n %{cpan_name}-%{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
%license LICENSE
%changelog