File perl-Net-Checkpoint-Management-v1.spec of Package perl-Net-Checkpoint-Management-v1
#
# spec file for package perl-Net-Checkpoint-Management-v1
#
# Copyright (c) 2025 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 Net-Checkpoint-Management-v1
Name: perl-Net-Checkpoint-Management-v1
Version: 0.004000
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Checkpoint Management API version 1.x client library
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABRAXXA/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Carp::Clan) >= 6.07
BuildRequires: perl(Clone) >= 0.41
BuildRequires: perl(JSON) >= 2.97001
BuildRequires: perl(Moo) >= 2.003004
BuildRequires: perl(MooX::Role::Parameterized) >= 0.082
BuildRequires: perl(Role::REST::Client) >= 0.23
BuildRequires: perl(Test2::V0) >= 0.000135
BuildRequires: perl(Type::Tiny) >= 1.004002
Requires: perl(Carp::Clan) >= 6.07
Requires: perl(Clone) >= 0.41
Requires: perl(JSON) >= 2.97001
Requires: perl(Moo) >= 2.003004
Requires: perl(MooX::Role::Parameterized) >= 0.082
Requires: perl(Role::REST::Client) >= 0.23
Requires: perl(Type::Tiny) >= 1.004002
%{perl_requires}
%description
This module is a client library for the Checkpoint Management API version
1.x. Currently it is developed and tested against version R81.20.
%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