Blame SPECS/perl-Net-DNS.spec

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