Package init

This commit is contained in:
byeX012 2020-02-26 16:47:48 +08:00
parent a49161ebfc
commit 21b50e9436
2 changed files with 61 additions and 0 deletions

BIN
Net-DNS-SEC-1.09.tar.gz Normal file

Binary file not shown.

61
perl-Net-DNS-SEC.spec Normal file
View File

@ -0,0 +1,61 @@
Name: perl-Net-DNS-SEC
Version: 1.09
Release: 4
Summary: An extension module of Perl(Net::DNS) package
License: MIT
URL: https://metacpan.org/release/Net-DNS-SEC
Source0: http://www.net-dns.org/download//Net-DNS-SEC-%{version}.tar.gz
BuildRequires: coreutils make openssl-devel => 1.1 perl-generators perl-interpreter
BuildRequires: perl-devel perl(Config) perl(constant) perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(base) perl(Carp) perl(DynaLoader)
BuildRequires: perl(Exporter) perl(File::Spec) >= 0.86 perl(File::Spec::Functions)
BuildRequires: perl(integer) perl(IO::File) perl(MIME::Base64) >= 2.11 perl(Net::DNS) >= 1.08
BuildRequires: perl(Net::DNS::RR::DNSKEY) perl(Net::DNS::RR::DS) perl(Net::DNS::RR::KEY)
BuildRequires: perl(Net::DNS::RR::RRSIG) perl(Net::DNS::RR::SIG) perl(Net::DNS::ZoneFile)
BuildRequires: perl(File::Find) perl(Test::More) perl(Time::Local)
Requires: perl(Net::DNS::RR::DNSKEY)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
The perl-Net-DNS-SEC package contains Net::DNS::SEC module which implements the
cryptographic signature generation and verification functions that are relevant
for DNSSEC operations. It also provides a class for handling keysets. Keysets
are administrative files used by the BIND tools for key maintenance tasks.
Net::DNS::SEC::Keyset provides an abstract interface for doing fun things with
them.
%package help
Summary: Documents for perl-Net-DNS-SEC
BuildArch: noarch
%description help
The perl-Net-DNS-SEC-help package contains related documents.
%prep
%autosetup -n Net-DNS-SEC-%{version} -p1
rm -f lib/Net/DNS/SEC/ECCGOST.pm
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README demo
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto/
%files help
%{_mandir}/man3/*
%changelog
* Fri Feb 21 2020 Jiangping Hu <hujp1985@foxmail.com> - 1.09-4
- Package init