99 lines
3.2 KiB
RPMSpec
99 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Net-DNS-SEC
|
|
#
|
|
# 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 Net-DNS-SEC
|
|
Name: perl-Net-DNS-SEC
|
|
Version: 1.260.0
|
|
Release: 0
|
|
# 1.26 -> normalize -> 1.260.0
|
|
%define cpan_version 1.26
|
|
License: MIT
|
|
Summary: DNSSEC extensions to Net::DNS
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Carp) >= 1.1
|
|
BuildRequires: perl(DynaLoader) >= 1.09
|
|
BuildRequires: perl(Exporter) >= 5.63
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.48
|
|
BuildRequires: perl(File::Find) >= 1.13
|
|
BuildRequires: perl(File::Spec) >= 3.29
|
|
BuildRequires: perl(IO::File) >= 1.14
|
|
BuildRequires: perl(Net::DNS) >= 1.08
|
|
BuildRequires: perl(Test::More) >= 0.8
|
|
Requires: perl(Carp) >= 1.1
|
|
Requires: perl(DynaLoader) >= 1.09
|
|
Requires: perl(Exporter) >= 5.63
|
|
Requires: perl(File::Spec) >= 3.29
|
|
Requires: perl(IO::File) >= 1.14
|
|
Requires: perl(Net::DNS) >= 1.08
|
|
Provides: perl(Net::DNS::SEC) = %{version}
|
|
Provides: perl(Net::DNS::SEC::DSA)
|
|
Provides: perl(Net::DNS::SEC::Digest)
|
|
Provides: perl(Net::DNS::SEC::Digest::MD5)
|
|
Provides: perl(Net::DNS::SEC::Digest::SHA)
|
|
Provides: perl(Net::DNS::SEC::Digest::SHA3)
|
|
Provides: perl(Net::DNS::SEC::Digest::SM3)
|
|
Provides: perl(Net::DNS::SEC::ECDSA)
|
|
Provides: perl(Net::DNS::SEC::EdDSA)
|
|
Provides: perl(Net::DNS::SEC::Keyset)
|
|
Provides: perl(Net::DNS::SEC::Private)
|
|
Provides: perl(Net::DNS::SEC::RSA)
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: libopenssl-devel
|
|
# MANUAL END
|
|
|
|
%description
|
|
Net::DNS::SEC is installed as an extension to an existing Net::DNS
|
|
installation providing packages to support DNSSEC as specified in RFC4033,
|
|
RFC4034, RFC4035 and related documents.
|
|
|
|
It also provides support for SIG0 which is useful for dynamic updates.
|
|
|
|
Implements cryptographic signature generation and verification functions
|
|
using RSA, DSA, ECDSA, and Edwards curve algorithms.
|
|
|
|
The extended features are made available by replacing Net::DNS by
|
|
Net::DNS::SEC in the use declaration.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes README WARNING
|
|
%license LICENSE
|
|
|
|
%changelog
|