| 1 |
Name: perl-Net-DNS
|
| 2 |
Version: 0.63
|
| 3 |
Release: 4%{?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 |
Patch0: perl-Net-DNS-upstream.patch
|
| 10 |
BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP)
|
| 11 |
BuildRequires: perl(Test::Pod)
|
| 12 |
BuildRequires: perl(Digest::BubbleBabble)
|
| 13 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
| 14 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 15 |
|
| 16 |
|
| 17 |
%description
|
| 18 |
Net::DNS is a collection of Perl modules that act as a Domain Name
|
| 19 |
System (DNS) resolver. It allows the programmer to perform DNS queries
|
| 20 |
that are beyond the capabilities of gethostbyname and gethostbyaddr.
|
| 21 |
|
| 22 |
The programmer should be somewhat familiar with the format of a DNS
|
| 23 |
packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
|
| 24 |
& Liu) for details.
|
| 25 |
|
| 26 |
|
| 27 |
%package Nameserver
|
| 28 |
Summary: DNS server for Perl
|
| 29 |
Group: Development/Libraries
|
| 30 |
License: GPL+ or Artistic
|
| 31 |
|
| 32 |
%description Nameserver
|
| 33 |
Instances of the "Net::DNS::Nameserver" class represent DNS server
|
| 34 |
objects.
|
| 35 |
|
| 36 |
|
| 37 |
%prep
|
| 38 |
%setup -q -n Net-DNS-%{version}
|
| 39 |
%patch0 -p1
|
| 40 |
|
| 41 |
%build
|
| 42 |
%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests
|
| 43 |
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
| 44 |
|
| 45 |
%install
|
| 46 |
rm -rf $RPM_BUILD_ROOT
|
| 47 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
| 48 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
| 49 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
| 50 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
| 51 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
| 52 |
|
| 53 |
for i in Changes; do
|
| 54 |
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
|
| 55 |
done
|
| 56 |
|
| 57 |
%check
|
| 58 |
make test
|
| 59 |
|
| 60 |
%clean
|
| 61 |
rm -rf $RPM_BUILD_ROOT
|
| 62 |
|
| 63 |
%files
|
| 64 |
%defattr(-,root,root)
|
| 65 |
%doc README Changes TODO
|
| 66 |
%{perl_vendorarch}/Net/
|
| 67 |
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Cygwin.pm
|
| 68 |
%exclude %{perl_vendorarch}/Net/DNS/Resolver/Win32.pm
|
| 69 |
%{perl_vendorarch}/auto/Net/
|
| 70 |
%{_mandir}/man3/Net::DNS*.3*
|
| 71 |
%exclude %{_mandir}/man3/Net::DNS::Resolver::Cygwin.3*
|
| 72 |
%exclude %{_mandir}/man3/Net::DNS::Resolver::Win32.3*
|
| 73 |
|
| 74 |
# perl-Net-DNS-Nameserver
|
| 75 |
%exclude %{perl_vendorarch}/Net/DNS/Nameserver.pm
|
| 76 |
%exclude %{_mandir}/man3/Net::DNS::Nameserver*
|
| 77 |
|
| 78 |
%files Nameserver
|
| 79 |
%defattr(-,root,root)
|
| 80 |
%{perl_vendorarch}/Net/DNS/Nameserver.pm
|
| 81 |
%{_mandir}/man3/Net::DNS::Nameserver*
|
| 82 |
|
| 83 |
|
| 84 |
%changelog
|
| 85 |
* Mon May 12 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.63-4
|
| 86 |
- 437681 remove previous patch and use upstream patch, which should solve
|
| 87 |
all problems with noisy logs.
|
| 88 |
|
| 89 |
* Wed Apr 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-3
|
| 90 |
- fix patch to not require Socket6
|
| 91 |
|
| 92 |
* Wed Apr 9 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.63-2
|
| 93 |
- fix AF_INET6/PF_INET6 redefine noise (bz 437681)
|
| 94 |
|
| 95 |
* Wed Mar 19 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.63-1
|
| 96 |
- upgrade on new upstream version which fix CVE-2007-6341 - no security impact.
|
| 97 |
|
| 98 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.61-7
|
| 99 |
- Rebuild for perl 5.10 (again)
|
| 100 |
|
| 101 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.61-6
|
| 102 |
- Autorebuild for GCC 4.3
|
| 103 |
|
| 104 |
* Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.61-5
|
| 105 |
- rebuild for new perl
|
| 106 |
|
| 107 |
* Fri Dec 21 2007 Paul Howarth <paul@city-fan.org> - 0.61-4
|
| 108 |
- Fix file ownership for Nameserver subpackage
|
| 109 |
- Fix argument order for find with -depth
|
| 110 |
|
| 111 |
* Fri Dec 14 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-3
|
| 112 |
- Split Nameserver.pm into subpackage, per recommendation from
|
| 113 |
upstream maintainer Dick Franks.
|
| 114 |
- Separates the server bits from the client bits.
|
| 115 |
- Removes the dependancy on perl(Net::IP) from perl-Net-DNS
|
| 116 |
- Add BR for perl(Test::Pod) and perl(Digest::BubbleBabble)
|
| 117 |
|
| 118 |
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-2
|
| 119 |
- Update license tag
|
| 120 |
- Convert Changes to utf-8
|
| 121 |
|
| 122 |
* Thu Aug 09 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-1
|
| 123 |
- Update to latest upstream version
|
| 124 |
|
| 125 |
* Sat Jun 23 2007 Robin Norwood <rnorwood@redhat.com> - 0.60-1
|
| 126 |
- Upgrade to latest upstream version - 0.60
|
| 127 |
|
| 128 |
* Thu Apr 05 2007 Robin Norwood <rnorwood@redhat.com> - 0.59-2
|
| 129 |
- Resolves: bz#226270
|
| 130 |
- Fixed issues brought up during package review
|
| 131 |
- BuildRequires should not require perl, and fixed the format.
|
| 132 |
- Fixed the BuildRoot
|
| 133 |
|
| 134 |
* Wed Sep 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.59-1
|
| 135 |
- Upgrade to upstream version 0.59 per bug #208315
|
| 136 |
|
| 137 |
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.58-1.fc6
|
| 138 |
- Upgrade to upstream version 0.58
|
| 139 |
|
| 140 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.57-1.1
|
| 141 |
- rebuild
|
| 142 |
|
| 143 |
* Wed Mar 08 2006 Jason Vas Dias <jvdias@redhat.com> - 0.57-1
|
| 144 |
- Upgrade to upstream version 0.57
|
| 145 |
|
| 146 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.2
|
| 147 |
- bump again for double-long bug on ppc(64)
|
| 148 |
|
| 149 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.55-1.1.1
|
| 150 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
| 151 |
|
| 152 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.55-1.1
|
| 153 |
- rebuild for new perl-5.8.8
|
| 154 |
|
| 155 |
* Mon Dec 19 2005 Jason Vas Dias <jvdias@redhat.com> - 0.55-1
|
| 156 |
- Upgrade to upstream version 0.55
|
| 157 |
|
| 158 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
| 159 |
- rebuilt for new gcc
|
| 160 |
|
| 161 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
| 162 |
- rebuilt for new gcj
|
| 163 |
|
| 164 |
* Sun Oct 30 2005 Warren Togami <wtogami@redhat.com> - 0.53-1
|
| 165 |
- 0.53 buildreq perl-Net-IP
|
| 166 |
|
| 167 |
* Sat Apr 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.49-2
|
| 168 |
- Explicitly disable tests requiring network access at build time.
|
| 169 |
- Exclude Win32 and Cygwin specific modules.
|
| 170 |
- More specfile cleanups.
|
| 171 |
- Honor $RPM_OPT_FLAGS.
|
| 172 |
|
| 173 |
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
|
| 174 |
- upgrade to 0.49 and spec file cleanup (#153186)
|
| 175 |
|
| 176 |
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
|
| 177 |
- reinclude ia64, thanks jvdias
|
| 178 |
|
| 179 |
* Tue Mar 15 2005 Warren Togami <wtogami@redhat.com> 0.48-2
|
| 180 |
- exclude ia64 for now due to Bug #151127
|
| 181 |
|
| 182 |
* Mon Oct 11 2004 Warren Togami <wtogami@redhat.com> 0.48-1
|
| 183 |
- #119983 0.48 fixes bugs
|
| 184 |
|
| 185 |
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.45-4
|
| 186 |
- rebuild
|
| 187 |
|
| 188 |
* Thu Apr 29 2004 Chip Turner <cturner@redhat.com> 0.45-3
|
| 189 |
- fix bug 122039 -- add filter-depends.sh to remove Win32 deps
|
| 190 |
|
| 191 |
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.45-1
|
| 192 |
- bump, no longer noarch
|
| 193 |
|
| 194 |
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 0.45-1
|
| 195 |
- update to 0.45
|
| 196 |
|
| 197 |
* Mon Oct 20 2003 Chip Turner <cturner@redhat.com> 0.31-3.2
|
| 198 |
- fix interactive build issue
|
| 199 |
|
| 200 |
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
|
| 201 |
- version bump and rebuild
|
| 202 |
|
| 203 |
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
|
| 204 |
- update to latest version from CPAN
|
| 205 |
|
| 206 |
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
| 207 |
- automated release bump and build
|
| 208 |
|
| 209 |
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
|
| 210 |
- update to 0.26
|
| 211 |
|
| 212 |
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
|
| 213 |
- description update
|
| 214 |
|
| 215 |
* Sat Jun 15 2002 cturner@redhat.com
|
| 216 |
- Specfile autogenerated
|
| 217 |
|