File perl-Sah-Schemas-Int.spec of Package perl-Sah-Schemas-Int
#
# spec file for package perl-Sah-Schemas-Int
#
# 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-Schemas-Int
Name: perl-Sah-Schemas-Int
Version: 0.77.0
Release: 0
# 0.077 -> normalize -> 0.77.0
%define cpan_version 0.077
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Sah schemas for various integers
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Provides: perl(Sah::Schema::byte) = %{version}
Provides: perl(Sah::Schema::even) = %{version}
Provides: perl(Sah::Schema::int128) = %{version}
Provides: perl(Sah::Schema::int16) = %{version}
Provides: perl(Sah::Schema::int32) = %{version}
Provides: perl(Sah::Schema::int64) = %{version}
Provides: perl(Sah::Schema::int8) = %{version}
Provides: perl(Sah::Schema::natnum) = %{version}
Provides: perl(Sah::Schema::negeven) = %{version}
Provides: perl(Sah::Schema::negint) = %{version}
Provides: perl(Sah::Schema::negodd) = %{version}
Provides: perl(Sah::Schema::nonnegint) = %{version}
Provides: perl(Sah::Schema::nonposint) = %{version}
Provides: perl(Sah::Schema::odd) = %{version}
Provides: perl(Sah::Schema::poseven) = %{version}
Provides: perl(Sah::Schema::posint) = %{version}
Provides: perl(Sah::Schema::posodd) = %{version}
Provides: perl(Sah::Schema::uint) = %{version}
Provides: perl(Sah::Schema::uint128) = %{version}
Provides: perl(Sah::Schema::uint16) = %{version}
Provides: perl(Sah::Schema::uint32) = %{version}
Provides: perl(Sah::Schema::uint64) = %{version}
Provides: perl(Sah::Schema::uint8) = %{version}
Provides: perl(Sah::SchemaR::byte) = %{version}
Provides: perl(Sah::SchemaR::even) = %{version}
Provides: perl(Sah::SchemaR::int128) = %{version}
Provides: perl(Sah::SchemaR::int16) = %{version}
Provides: perl(Sah::SchemaR::int32) = %{version}
Provides: perl(Sah::SchemaR::int64) = %{version}
Provides: perl(Sah::SchemaR::int8) = %{version}
Provides: perl(Sah::SchemaR::natnum) = %{version}
Provides: perl(Sah::SchemaR::negeven) = %{version}
Provides: perl(Sah::SchemaR::negint) = %{version}
Provides: perl(Sah::SchemaR::negodd) = %{version}
Provides: perl(Sah::SchemaR::nonnegint) = %{version}
Provides: perl(Sah::SchemaR::nonposint) = %{version}
Provides: perl(Sah::SchemaR::odd) = %{version}
Provides: perl(Sah::SchemaR::poseven) = %{version}
Provides: perl(Sah::SchemaR::posint) = %{version}
Provides: perl(Sah::SchemaR::posodd) = %{version}
Provides: perl(Sah::SchemaR::uint) = %{version}
Provides: perl(Sah::SchemaR::uint128) = %{version}
Provides: perl(Sah::SchemaR::uint16) = %{version}
Provides: perl(Sah::SchemaR::uint32) = %{version}
Provides: perl(Sah::SchemaR::uint64) = %{version}
Provides: perl(Sah::SchemaR::uint8) = %{version}
Provides: perl(Sah::Schemas::Int) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Sah schemas for various integers
%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
%license LICENSE
%changelog