# # spec file for package perl-Crypt-DSA # # 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-DSA Name: perl-Crypt-DSA Version: 1.190.0 Release: 0 # 1.19 -> normalize -> 1.190.0 %define cpan_version 1.19 License: Artistic-1.0 OR GPL-1.0-or-later Summary: DSA Signatures and Key Generation URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Convert::ASN1) BuildRequires: perl(Convert::PEM) >= 0.130 BuildRequires: perl(Crypt::DES_EDE3) BuildRequires: perl(Crypt::URandom) BuildRequires: perl(Data::Buffer) >= 0.10.0 BuildRequires: perl(Digest::SHA) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Which) >= 0.50.0 BuildRequires: perl(Math::BigInt) >= 1.78 Requires: perl(Convert::ASN1) Requires: perl(Convert::PEM) >= 0.130 Requires: perl(Crypt::URandom) Requires: perl(Data::Buffer) >= 0.10.0 Requires: perl(Digest::SHA) Requires: perl(File::Which) >= 0.50.0 Requires: perl(Math::BigInt) >= 1.78 Provides: perl(BufferWithInt) Provides: perl(Crypt::DSA) = %{version} Provides: perl(Crypt::DSA::Key) = %{version} Provides: perl(Crypt::DSA::Key::PEM) = %{version} Provides: perl(Crypt::DSA::Key::SSH2) = %{version} Provides: perl(Crypt::DSA::KeyChain) = %{version} Provides: perl(Crypt::DSA::Signature) = %{version} Provides: perl(Crypt::DSA::Util) = %{version} %undefine __perllib_provides %{perl_requires} %description _Crypt::DSA_ is an implementation of the DSA (Digital Signature Algorithm) signature verification system. The implementation itself is pure Perl, although the heavy-duty mathematics underneath are provided by the _Math::Pari_ library. This package provides DSA signing, signature verification, and key generation. %prep %autosetup -n %{cpan_name}-%{cpan_version} -p1 %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