Blame SPECS/perl-Net-DNS.spec

7a430e
Name:          perl-Net-DNS
7a430e
Version:       0.72
185f84
Release:       6%{?dist}
7a430e
Summary:       DNS resolver modules for Perl
7a430e
# lib/Net/DNS/RR/OPT.pm:    MIT
7a430e
# netdns.c:                 ISC and MIT and BSD
7a430e
# rest:                     GPL+ or Artistic
7a430e
License:       (GPL+ or Artistic) and BSD and ISC and MIT 
7a430e
Group:         Development/Libraries
7a430e
URL:           http://www.net-dns.org/
7a430e
Source0:       http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
185f84
# "memory leak in 0.72 of perl-Net-DNS", rhbz#1207802, rt#84601
185f84
Patch0:        Net-DNS-0.72-Memory-leak.patch
7a430e
BuildRequires: %{_bindir}/iconv
7a430e
BuildRequires: perl
7a430e
BuildRequires: perl(Config)
7a430e
BuildRequires: perl(ExtUtils::MakeMaker)
7a430e
BuildRequires: perl(Getopt::Long)
7a430e
BuildRequires: perl(IO::Socket)
7a430e
BuildRequires: perl(strict)
7a430e
# Run-time:
7a430e
BuildRequires: perl(base)
7a430e
BuildRequires: perl(Carp)
7a430e
BuildRequires: perl(constant)
7a430e
BuildRequires: perl(Data::Dumper)
7a430e
%if ! (0%{?rhel} >= 7)
7a430e
# Digest::BubbleBabble is optional
7a430e
BuildRequires: perl(Digest::BubbleBabble)
7a430e
%endif
7a430e
BuildRequires: perl(Digest::HMAC_MD5) >= 1
7a430e
# Digest::SHA is not used
7a430e
# DynaLoader not used
7a430e
BuildRequires: perl(Encode)
7a430e
BuildRequires: perl(Exporter)
7a430e
BuildRequires: perl(FileHandle)
7a430e
BuildRequires: perl(integer)
7a430e
BuildRequires: perl(IO::Select)
7a430e
BuildRequires: perl(IO::Socket::INET)
7a430e
# IO::Socket::INET6 is optional
7a430e
BuildRequires: perl(IO::Socket::INET6)
7a430e
BuildRequires: perl(MIME::Base64) >= 2.11
7a430e
# Net::LibIDN is optional
7a430e
BuildRequires: perl(Net::LibIDN)
7a430e
BuildRequires: perl(overload)
7a430e
BuildRequires: perl(Socket)
7a430e
BuildRequires: perl(vars)
7a430e
# Win32::IPHelper is not needed
7a430e
# Win32::TieRegistry is not needed
7a430e
BuildRequires: perl(XSLoader)
7a430e
# Tests:
7a430e
BuildRequires: perl(File::Spec)
7a430e
BuildRequires: perl(Test::Builder)
7a430e
BuildRequires: perl(Test::More) >= 0.18
7a430e
# Optional tests:
7a430e
BuildRequires: perl(Test::Pod) >= 0.95
7a430e
Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
7a430e
Requires:      perl(Digest::HMAC_MD5) >= 1
7a430e
Requires:      perl(Encode)
7a430e
Requires:      perl(Exporter)
7a430e
Requires:      perl(MIME::Base64) >= 2.11
7a430e
Requires:      perl(XSLoader)
7a430e
7a430e
%{?perl_default_filter}
7a430e
7a430e
# Do not export under-specified dependencies
7a430e
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Digest::HMAC_MD5|MIME::Base64)\\)$
7a430e
# Do not export under-specified provides
7a430e
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\((Net::DNS::Text)\\)$
7a430e
7a430e
%description
7a430e
Net::DNS is a collection of Perl modules that act as a Domain Name System
7a430e
(DNS) resolver. It allows the programmer to perform DNS queries that are
7a430e
beyond the capabilities of gethostbyname and gethostbyaddr.
7a430e
7a430e
The programmer should be somewhat familiar with the format of a DNS packet and
7a430e
its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details.
7a430e
7a430e
%package Nameserver
7a430e
Summary:        DNS server for Perl
7a430e
Group:          Development/Libraries
7a430e
License:        GPL+ or Artistic
7a430e
7a430e
%description Nameserver
7a430e
Instances of the "Net::DNS::Nameserver" class represent DNS server objects.
7a430e
7a430e
%prep
7a430e
%setup -q -n Net-DNS-%{version} 
185f84
%patch0
7a430e
chmod -x demo/*
7a430e
sed -i -e '1 s,^#!/usr/local/bin/perl,#!%{__perl},' demo/*
7a430e
for i in Changes; do
7a430e
    iconv -f iso8859-1 -t utf-8 "$i" > "${i}.conv"
7a430e
    touch -r "$i" "${i}.iconv"
7a430e
    mv -f "${i}.conv" "$i"
7a430e
done
7a430e
7a430e
%build
7a430e
export PERL_MM_USE_DEFAULT=yes
7a430e
perl Makefile.PL INSTALLDIRS=vendor --no-online-tests
7a430e
make %{?_smp_mflags} OPTIMIZE="%{optflags}"
7a430e
7a430e
%install
7a430e
make pure_install DESTDIR=%{buildroot}
7a430e
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
7a430e
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
7a430e
chmod -R u+w %{buildroot}/*
7a430e
7a430e
%check
7a430e
make test
7a430e
7a430e
%files
7a430e
%doc README Changes TODO demo
7a430e
%{perl_vendorarch}/Net/
7a430e
%exclude %{perl_vendorarch}/Net/DNS/Resolver/cygwin.pm
7a430e
%exclude %{perl_vendorarch}/Net/DNS/Resolver/MSWin32.pm
7a430e
%{perl_vendorarch}/auto/Net/
7a430e
%{_mandir}/man3/Net::DNS*.3*
7a430e
%exclude %{_mandir}/man3/Net::DNS::Resolver::cygwin.3*
7a430e
%exclude %{_mandir}/man3/Net::DNS::Resolver::MSWin32.3*
7a430e
# perl-Net-DNS-Nameserver
7a430e
%exclude %{perl_vendorarch}/Net/DNS/Nameserver.pm
7a430e
%exclude %{_mandir}/man3/Net::DNS::Nameserver*
7a430e
7a430e
%files Nameserver
7a430e
%{perl_vendorarch}/Net/DNS/Nameserver.pm
7a430e
%{_mandir}/man3/Net::DNS::Nameserver*
7a430e
7a430e
%changelog
185f84
* Tue Mar 08 2016 Petr Šabata <contyk@redhat.com> - 0.72-6
185f84
- Fix a memory leak, rhbz#1207802, rt#81942
185f84
6fff31
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.72-5
6fff31
- Mass rebuild 2014-01-24
6fff31
6fff31
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.72-4
6fff31
- Mass rebuild 2013-12-27
6fff31
7a430e
* Wed May 22 2013 Petr Pisar <ppisar@redhat.com> - 0.72-3
7a430e
- Add BSD, ISC, and MIT to licenses
7a430e
- Specify all dependencies
7a430e
7a430e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.72-2
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7a430e
7a430e
* Thu Jan 03 2013 Petr Pisar <ppisar@redhat.com> - 0.72-1
7a430e
- 0.72 bump
7a430e
7a430e
* Mon Dec 17 2012 Petr Šabata <contyk@redhat.com> - 0.71-1
7a430e
- 0.71 bump
7a430e
7a430e
* Fri Dec 07 2012 Petr Pisar <ppisar@redhat.com> - 0.70-1
7a430e
- 0.70 bump
7a430e
7a430e
* Thu Dec 06 2012 Paul Howarth <paul@city-fan.org> - 0.69-2
7a430e
- Fix renamed Win32 excludes
7a430e
7a430e
* Thu Dec 06 2012 Petr Šabata <contyk@redhat.com> - 0.69-1
7a430e
- 0.69 bump
7a430e
- Update source URL
7a430e
7a430e
* Fri Aug 10 2012 Petr Pisar <ppisar@redhat.com> - 0.68-5
7a430e
- Digest::BubbleBabble is not available in RHEL >= 7
7a430e
7a430e
* Fri Aug 10 2012 Petr Pisar <ppisar@redhat.com> - 0.68-4
7a430e
- Correct dependencies
7a430e
7a430e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7a430e
7a430e
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.68-2
7a430e
- Perl 5.16 rebuild
7a430e
7a430e
* Thu Feb 02 2012 Petr Šabata <contyk@redhat.com> - 0.68-1
7a430e
- 0.68 bump
7a430e
- Spec cleanup
7a430e
- Package 'demo' as documentation
7a430e
7a430e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.67-2
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7a430e
7a430e
* Wed Nov 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.67-1
7a430e
- update to 0.67
7a430e
7a430e
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.66-4
7a430e
- Perl mass rebuild
7a430e
7a430e
* Fri Jun 03 2011 Petr Sabata <contyk@redhat.com> - 0.66-3
7a430e
- Introduce IPv6 support and prevent interactive build (#710375)
7a430e
7a430e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.66-2
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a430e
7a430e
* Mon Oct 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.66-1
7a430e
- update
7a430e
7a430e
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.65-3
7a430e
- Mass rebuild with perl-5.12.0
7a430e
7a430e
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.65-2
7a430e
- rebuild against perl 5.10.1
7a430e
7a430e
* Thu Sep 17 2009 Warren Togami <wtogami@redhat.com> - 0.65-1
7a430e
- 0.65
7a430e
7a430e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-6
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7a430e
7a430e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63-5
7a430e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7a430e
7a430e
* Mon May 12 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.63-4
7a430e
- 437681 remove previous patch and use upstream patch, which should solve
7a430e
        all problems with noisy logs.
7a430e
7a430e
* Wed Apr  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-3
7a430e
- fix patch to not require Socket6
7a430e
7a430e
* Wed Apr  9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-2
7a430e
- fix AF_INET6/PF_INET6 redefine noise (bz 437681)
7a430e
7a430e
* Wed Mar 19 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.63-1
7a430e
- upgrade on new upstream version which fix CVE-2007-6341 - no security impact.
7a430e
7a430e
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.61-7
7a430e
- Rebuild for perl 5.10 (again)
7a430e
7a430e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.61-6
7a430e
- Autorebuild for GCC 4.3
7a430e
7a430e
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.61-5
7a430e
- rebuild for new perl
7a430e
7a430e
* Fri Dec 21 2007 Paul Howarth <paul@city-fan.org> - 0.61-4
7a430e
- Fix file ownership for Nameserver subpackage
7a430e
- Fix argument order for find with -depth
7a430e
7a430e
* Fri Dec 14 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-3
7a430e
- Split Nameserver.pm into subpackage, per recommendation from
7a430e
  upstream maintainer Dick Franks.
7a430e
  - Separates the server bits from the client bits.
7a430e
  - Removes the dependancy on perl(Net::IP) from perl-Net-DNS
7a430e
- Add BR for perl(Test::Pod) and perl(Digest::BubbleBabble)
7a430e
7a430e
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-2
7a430e
- Update license tag
7a430e
- Convert Changes to utf-8
7a430e
7a430e
* Thu Aug 09 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-1
7a430e
- Update to latest upstream version
7a430e
7a430e
* Sat Jun 23 2007 Robin Norwood <rnorwood@redhat.com> - 0.60-1
7a430e
- Upgrade to latest upstream version - 0.60
7a430e
7a430e
* Thu Apr 05 2007 Robin Norwood <rnorwood@redhat.com> - 0.59-2
7a430e
- Resolves: bz#226270
7a430e
- Fixed issues brought up during package review
7a430e
- BuildRequires should not require perl, and fixed the format.
7a430e
- Fixed the BuildRoot
7a430e
7a430e
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.59-1
7a430e
- Upgrade to upstream version 0.59 per bug #208315
7a430e
7a430e
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.58-1.fc6
7a430e
- Upgrade to upstream version 0.58
7a430e
7a430e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.57-1.1
7a430e
- rebuild
7a430e
7a430e
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 0.57-1
7a430e
- Upgrade to upstream version 0.57
7a430e
7a430e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.2
7a430e
- bump again for double-long bug on ppc(64)
7a430e
7a430e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.1
7a430e
- rebuilt for new gcc4.1 snapshot and glibc changes
7a430e
7a430e
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.55-1.1
7a430e
- rebuild for new perl-5.8.8
7a430e
7a430e
* Mon Dec 19 2005 Jason Vas Dias <jvdias@redhat.com> - 0.55-1
7a430e
- Upgrade to upstream version 0.55
7a430e
7a430e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
7a430e
- rebuilt for new gcc
7a430e
7a430e
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
7a430e
- rebuilt for new gcj
7a430e
7a430e
* Sun Oct 30 2005 Warren Togami <wtogami@redhat.com> - 0.53-1
7a430e
- 0.53 buildreq perl-Net-IP
7a430e
7a430e
* Sat Apr  9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.49-2
7a430e
- Explicitly disable tests requiring network access at build time.
7a430e
- Exclude Win32 and Cygwin specific modules.
7a430e
- More specfile cleanups.
7a430e
- Honor $RPM_OPT_FLAGS.
7a430e
7a430e
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
7a430e
- upgrade to 0.49 and spec file cleanup (#153186)
7a430e
7a430e
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
7a430e
- reinclude ia64, thanks jvdias
7a430e
7a430e
* Tue Mar 15 2005 Warren Togami <wtogami@redhat.com> 0.48-2
7a430e
- exclude ia64 for now due to Bug #151127
7a430e
7a430e
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> 0.48-1
7a430e
- #119983 0.48 fixes bugs
7a430e
7a430e
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.45-4
7a430e
- rebuild
7a430e
7a430e
* Thu Apr 29 2004 Chip Turner <cturner@redhat.com> 0.45-3
7a430e
- fix bug 122039 -- add filter-depends.sh to remove Win32 deps
7a430e
7a430e
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.45-1
7a430e
- bump, no longer noarch
7a430e
7a430e
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 0.45-1
7a430e
- update to 0.45
7a430e
7a430e
* Mon Oct 20 2003 Chip Turner <cturner@redhat.com> 0.31-3.2
7a430e
- fix interactive build issue
7a430e
7a430e
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
7a430e
- version bump and rebuild
7a430e
7a430e
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
7a430e
- update to latest version from CPAN
7a430e
7a430e
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
7a430e
- automated release bump and build
7a430e
7a430e
* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
7a430e
- update to 0.26
7a430e
7a430e
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
7a430e
- description update
7a430e
7a430e
* Sat Jun 15 2002 cturner@redhat.com
7a430e
- Specfile autogenerated
7a430e