File perl-Net-Eboks.spec of Package perl-Net-Eboks

#
# spec file for package perl-Net-Eboks
#
# 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-Eboks
Name:           perl-Net-Eboks
Version:        0.11
Release:        0
License:        SUSE-Public-Domain
Summary:        Perl API for http://eboks.dk/
URL:            https://metacpan.org/release/%{cpan_name}
Source0:        https://cpan.metacpan.org/authors/id/K/KA/KARASIK/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(Crypt::OpenSSL::RSA)
BuildRequires:  perl(DateTime)
BuildRequires:  perl(Digest::SHA)
BuildRequires:  perl(IO::Lambda) >= 1.29
BuildRequires:  perl(IO::Socket::SSL)
BuildRequires:  perl(LWP)
BuildRequires:  perl(MIME::Entity)
BuildRequires:  perl(XML::Simple)
Requires:       perl(Crypt::OpenSSL::RSA)
Requires:       perl(DateTime)
Requires:       perl(Digest::SHA)
Requires:       perl(IO::Lambda) >= 1.29
Requires:       perl(IO::Socket::SSL)
Requires:       perl(LWP)
Requires:       perl(MIME::Entity)
Requires:       perl(XML::Simple)
%{perl_requires}

%description
Read-only interface for eboks. See README for more info.

%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 example README.md
%license LICENSE

%changelog
openSUSE Build Service is sponsored by