perl-Net-DNS/perl-Net-DNS.spec

118 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Net-DNS
Version: 0.81
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
* Sat Nov 15 2014 Automatic Build System <autodist@mambasoft.it> 0.81-1mamba
- automatic update by autodist
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 0.80-1mamba
- automatic update by autodist
* Sat Aug 23 2014 Automatic Build System <autodist@mambasoft.it> 0.79-1mamba
- automatic update by autodist
* Sat Jul 12 2014 Automatic Build System <autodist@mambasoft.it> 0.78-1mamba
- automatic update by autodist
* Fri May 30 2014 Automatic Build System <autodist@mambasoft.it> 0.76_1-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.76-1mamba
- automatic update by autodist
* 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