3c7c5d8
Name:           perl-Net-DNS-SEC
3c7c5d8
Version:        0.14
d7bbb7f
Release:        3%{?dist}
3c7c5d8
Summary:        DNSSEC modules for Perl
d7bbb7f
License:        GPL+ or Artistic 
3c7c5d8
Group:          Development/Libraries
3c7c5d8
URL:            http://search.cpan.org/dist/Net-DNS-SEC/
3c7c5d8
Source0:        http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-SEC-%{version}.tar.gz
3c7c5d8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3c7c5d8
BuildArch:      noarch
3c7c5d8
BuildRequires:  perl(ExtUtils::MakeMaker)
3c7c5d8
BuildRequires:  perl(Test::More)
3c7c5d8
BuildRequires:  perl(Net::DNS)
3c7c5d8
BuildRequires:  perl(Test::More)
3c7c5d8
BuildRequires:  perl(Crypt::OpenSSL::RSA)
3c7c5d8
BuildRequires:  perl(Crypt::OpenSSL::Bignum)
3c7c5d8
BuildRequires:  perl(Crypt::OpenSSL::DSA)
3c7c5d8
BuildRequires:  perl(File::Basename)
3c7c5d8
BuildRequires:  perl(MIME::Base64)
3c7c5d8
BuildRequires:  perl(Math::BigInt)
3c7c5d8
BuildRequires:  perl(Time::Local)
3c7c5d8
BuildRequires:  perl(Digest::BubbleBabble)
3c7c5d8
BuildRequires:  perl(Digest::SHA)
3c7c5d8
3c7c5d8
# neither are picked up automagically.
3c7c5d8
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
3c7c5d8
3c7c5d8
%description
3c7c5d8
The Net::DSN::SEC suite provides the resource records that are needed
3c7c5d8
for DNSSEC (RFC 4033, 4034 and 4035).
3c7c5d8
3c7c5d8
It also provides support for SIG0. That later is useful for dynamic
3c7c5d8
updates using key-pairs.
3c7c5d8
3c7c5d8
RSA and DSA crypto routines are supported.
3c7c5d8
3c7c5d8
%prep
3c7c5d8
%setup -q -n Net-DNS-SEC-%{version}
3c7c5d8
3c7c5d8
%build
3c7c5d8
%{__perl} Makefile.PL INSTALLDIRS=vendor
3c7c5d8
make %{?_smp_mflags}
3c7c5d8
3c7c5d8
%install
3c7c5d8
rm -rf %{buildroot}
3c7c5d8
3c7c5d8
make pure_install PERL_INSTALL_ROOT=%{buildroot}
3c7c5d8
3c7c5d8
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
3c7c5d8
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
3c7c5d8
3c7c5d8
%{_fixperms} %{buildroot}/*
3c7c5d8
3c7c5d8
%check
3c7c5d8
make test
3c7c5d8
3c7c5d8
%clean
3c7c5d8
rm -rf %{buildroot}
3c7c5d8
3c7c5d8
%files
3c7c5d8
%defattr(-,root,root,-)
3c7c5d8
%doc Changes README TODO
3c7c5d8
%doc demo/
3c7c5d8
%{perl_vendorlib}/*
3c7c5d8
%{_mandir}/man3/*
3c7c5d8
3c7c5d8
%changelog
d7bbb7f
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.14-3
d7bbb7f
Rebuild for new perl
d7bbb7f
3c7c5d8
* Wed Jul 11 2007  Wes Hardaker <wjhns174@hardakers.net> - 0.14-2
3c7c5d8
- BuildRequire Digest::SHA
3c7c5d8
- include the demo scripts in the documentation
3c7c5d8
3c7c5d8
* Wed Apr 18 2007  Wes Hardaker <wjhns174@hardakers.net> - 0.14-1
3c7c5d8
- Initial version