automatic update by autodist [release 0.72_03-1mamba;Tue Nov 19 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:23:14 +01:00
parent 98498f957d
commit 92331c3173
2 changed files with 102 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# perl-Net-DNS
Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to perform nearly any type of DNS query from a Perl
script. For details and examples, please read the Net::DNS manual page.

99
perl-Net-DNS.spec Normal file
View File

@ -0,0 +1,99 @@
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Net-DNS
Version: 0.72_03
Release: 1mamba
Summary: A DNS resolver implemented in Perl
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
URL: http://www.cpan.org
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl-devel
BuildRequires: perl-Digest-HMAC
## AUTOBUILDREQ-END
BuildRequires: perl-Socket6 >= 0.19
BuildRequires: perl-Net-IP >= 1.25
BuildRequires: perl-Digest-BubbleBabble >= 0.01
BuildRequires: perl-Test-Pod >= 1.20
Requires: perl >= %PERL_VERSION
BuildRoot: %{_tmppath}/perl-root
%description
Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to perform nearly any type of DNS query from a Perl
script. For details and examples, please read the Net::DNS manual page.
%prep
%setup -q -n Net-DNS-%{version}
%build
echo "y" | perl Makefile.PL
%make
%make test
%install
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
%makeinstall_perl
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
# remove win32 module
rm -rf $RPM_BUILD_ROOT%PERL_SITEARCH/Net/DNS/Resolver/Win32.pm
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Net/DNS/.packlist | \
sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \
grep -v "Win32.pm" | \
sort -u > .packlist
rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Net/DNS/.packlist
rm -f %{buildroot}%{perl_sitearch}/Net/DNS/Resolver/MSWin32.pm
%clean
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Nov 19 2013 Automatic Build System <autodist@mambasoft.it> 0.72_03-1mamba
- automatic update by autodist
* Sat Apr 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.72-2mamba
- remove Win32 module
* Fri Feb 08 2013 Automatic Build System <autodist@mambasoft.it> 0.72-1mamba
- update to 0.72
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.68-2mamba
- perl 5.16 mass rebuild
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 0.68-1mamba
- automatic version update by autodist
* Wed Nov 02 2011 Automatic Build System <autodist@mambasoft.it> 0.66_02-1mamba
- automatic version update by autodist
* Fri Jan 15 2010 Automatic Build System <autodist@mambasoft.it> 0.66-1mamba
- automatic update by autodist
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.65-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.59-2mamba
- automatic rebuild by autodist
* Wed May 09 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.59-1mamba
- update to 0.59
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.48-1qilnx
- update to version 0.48 by autospec
- fix perl version check
* Mon May 03 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.47-2qilnx
- Win32.pm module removed for dependencies cleaness
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.47-1qilnx
- First build