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

380 lines
13 KiB
RPMSpec
Raw Normal View History

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