| 1 |
Name: perl-Net-DNS
|
| 2 |
Version: 0.61
|
| 3 |
Release: 1%{?dist}
|
| 4 |
Summary: DNS resolver modules for Perl
|
| 5 |
License: GPL or Artistic
|
| 6 |
Group: Development/Libraries
|
| 7 |
URL: http://www.net-dns.org/
|
| 8 |
Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz
|
| 9 |
BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP)
|
| 10 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
| 11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 12 |
|
| 13 |
%description
|
| 14 |
Net::DNS is a collection of Perl modules that act as a Domain Name
|
| 15 |
System (DNS) resolver. It allows the programmer to perform DNS queries
|
| 16 |
that are beyond the capabilities of gethostbyname and gethostbyaddr.
|
| 17 |
|
| 18 |
The programmer should be somewhat familiar with the format of a DNS
|
| 19 |
packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
|
| 20 |
& Liu) for details.
|
| 21 |
|
| 22 |
%prep
|
| 23 |
%setup -q -n Net-DNS-%{version}
|
| 24 |
|
| 25 |
%build
|
| 26 |
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
|
| 27 |
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
| 28 |
|
| 29 |
%install
|
| 30 |
rm -rf $RPM_BUILD_ROOT
|
| 31 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
| 32 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
| 33 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
| 34 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
| 35 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
| 36 |
|
| 37 |
%check
|
| 38 |
make test
|
| 39 |
|
| 40 |
%clean
|
| 41 |
rm -rf $RPM_BUILD_ROOT
|
| 42 |
|
| 43 |
%files
|
| 44 |
%defattr(-,root,root)
|
| 45 |
%doc README Changes TODO
|
| 46 |
%{perl_vendorarch}/Net/
|
| 47 |
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Cygwin.pm
|
| 48 |
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Win32.pm
|
| 49 |
%{perl_vendorarch}/auto/Net/
|
| 50 |
%{_mandir}/man3/Net::DNS*.3*
|
| 51 |
%exclude %{_mandir}/man3/Net::DNS::Resolver::Cygwin.3*
|
| 52 |
%exclude %{_mandir}/man3/Net::DNS::Resolver::Win32.3*
|
| 53 |
|
| 54 |
%changelog
|
| 55 |
* Thu Aug 09 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-1
|
| 56 |
- Update to latest upstream version
|
| 57 |
|
| 58 |
* Sat Jun 23 2007 Robin Norwood <rnorwood@redhat.com> - 0.60-1
|
| 59 |
- Upgrade to latest upstream version - 0.60
|
| 60 |
|
| 61 |
* Thu Apr 05 2007 Robin Norwood <rnorwood@redhat.com> - 0.59-2
|
| 62 |
- Resolves: bz#226270
|
| 63 |
- Fixed issues brought up during package review
|
| 64 |
- BuildRequires should not require perl, and fixed the format.
|
| 65 |
- Fixed the BuildRoot
|
| 66 |
|
| 67 |
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.59-1
|
| 68 |
- Upgrade to upstream version 0.59 per bug #208315
|
| 69 |
|
| 70 |
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.58-1.fc6
|
| 71 |
- Upgrade to upstream version 0.58
|
| 72 |
|
| 73 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.57-1.1
|
| 74 |
- rebuild
|
| 75 |
|
| 76 |
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 0.57-1
|
| 77 |
- Upgrade to upstream version 0.57
|
| 78 |
|
| 79 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.2
|
| 80 |
- bump again for double-long bug on ppc(64)
|
| 81 |
|
| 82 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.1
|
| 83 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
| 84 |
|
| 85 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.55-1.1
|
| 86 |
- rebuild for new perl-5.8.8
|
| 87 |
|
| 88 |
* Mon Dec 19 2005 Jason Vas Dias <jvdias@redhat.com> - 0.55-1
|
| 89 |
- Upgrade to upstream version 0.55
|
| 90 |
|
| 91 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
| 92 |
- rebuilt for new gcc
|
| 93 |
|
| 94 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
| 95 |
- rebuilt for new gcj
|
| 96 |
|
| 97 |
* Sun Oct 30 2005 Warren Togami <wtogami@redhat.com> - 0.53-1
|
| 98 |
- 0.53 buildreq perl-Net-IP
|
| 99 |
|
| 100 |
* Sat Apr 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.49-2
|
| 101 |
- Explicitly disable tests requiring network access at build time.
|
| 102 |
- Exclude Win32 and Cygwin specific modules.
|
| 103 |
- More specfile cleanups.
|
| 104 |
- Honor $RPM_OPT_FLAGS.
|
| 105 |
|
| 106 |
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
|
| 107 |
- upgrade to 0.49 and spec file cleanup (#153186)
|
| 108 |
|
| 109 |
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
|
| 110 |
- reinclude ia64, thanks jvdias
|
| 111 |
|
| 112 |
* Tue Mar 15 2005 Warren Togami <wtogami@redhat.com> 0.48-2
|
| 113 |
- exclude ia64 for now due to Bug #151127
|
| 114 |
|
| 115 |
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> 0.48-1
|
| 116 |
- #119983 0.48 fixes bugs
|
| 117 |
|
| 118 |
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.45-4
|
| 119 |
- rebuild
|
| 120 |
|
| 121 |
* Thu Apr 29 2004 Chip Turner <cturner@redhat.com> 0.45-3
|
| 122 |
- fix bug 122039 -- add filter-depends.sh to remove Win32 deps
|
| 123 |
|
| 124 |
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.45-1
|
| 125 |
- bump, no longer noarch
|
| 126 |
|
| 127 |
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 0.45-1
|
| 128 |
- update to 0.45
|
| 129 |
|
| 130 |
* Mon Oct 20 2003 Chip Turner <cturner@redhat.com> 0.31-3.2
|
| 131 |
- fix interactive build issue
|
| 132 |
|
| 133 |
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
| 134 |
- version bump and rebuild
|
| 135 |
|
| 136 |
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
|
| 137 |
- update to latest version from CPAN
|
| 138 |
|
| 139 |
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
| 140 |
- automated release bump and build
|
| 141 |
|
| 142 |
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
|
| 143 |
- update to 0.26
|
| 144 |
|
| 145 |
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
|
| 146 |
- description update
|
| 147 |
|
| 148 |
* Sat Jun 15 2002 cturner@redhat.com
|
| 149 |
- Specfile autogenerated
|
| 150 |
|