File perl-Crypt-Protocol.spec of Package perl-Crypt-Protocol

#
# spec file for package perl-Crypt-Protocol
#
# 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 Crypt-Protocol
Name:           perl-Crypt-Protocol
Version:        0.002
Release:        0
License:        SUSE-Public-Domain
Summary:        Crypt Protocol
URL:            https://metacpan.org/release/%{cpan_name}
Source0:        https://cpan.metacpan.org/authors/id/A/AB/ABBYPAN/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(CBOR::XS)
BuildRequires:  perl(Crypt::OpenSSL::BaseFunc) >= 0.039
BuildRequires:  perl(Crypt::OpenSSL::Bignum) >= 0.09
BuildRequires:  perl(Crypt::OpenSSL::EC) >= 1.31
BuildRequires:  perl(Crypt::OpenSSL::ECDSA)
BuildRequires:  perl(Crypt::Perl)
BuildRequires:  perl(Crypt::ScryptKDF)
BuildRequires:  perl(CryptX)
BuildRequires:  perl(Digest::CMAC)
BuildRequires:  perl(List::Util) >= 1.55
BuildRequires:  perl(Smart::Comments)
BuildRequires:  perl(bignum) >= 0.52
Requires:       perl(CBOR::XS)
Requires:       perl(Crypt::OpenSSL::BaseFunc) >= 0.039
Requires:       perl(Crypt::OpenSSL::Bignum) >= 0.09
Requires:       perl(Crypt::OpenSSL::EC) >= 1.31
Requires:       perl(Crypt::OpenSSL::ECDSA)
Requires:       perl(Crypt::Perl)
Requires:       perl(Crypt::ScryptKDF)
Requires:       perl(CryptX)
Requires:       perl(Digest::CMAC)
Requires:       perl(List::Util) >= 1.55
Requires:       perl(Smart::Comments)
Requires:       perl(bignum) >= 0.52
%{perl_requires}

%description
Crypt Protocol

%prep
%autosetup  -n %{cpan_name}-%{version}

find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644

%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
openSUSE Build Service is sponsored by