[3801] | 1 | Name: perl-Net-DNS-Resolver-Programmable |
---|
| 2 | Version: 0.003 |
---|
[8715] | 3 | Release: 2%{?_dist_release} |
---|
[3801] | 4 | Summary: Programmable DNS resolver class for offline emulation of DNS |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v%{version}.tar.gz |
---|
[8715] | 9 | # https://rt.cpan.org/Public/Bug/Display.html?id=95901 |
---|
| 10 | Patch0: new-net-dns.patch |
---|
[3801] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: perl(Module::Build) |
---|
| 14 | BuildRequires: perl(Net::DNS) |
---|
| 15 | BuildRequires: perl(version) |
---|
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Net::DNS::Resolver::Programmable is a Net::DNS::Resolver descendant class |
---|
| 20 | that allows a virtual DNS to be emulated instead of querying the real DNS. |
---|
| 21 | A set of static DNS records may be supplied, or arbitrary code may be |
---|
| 22 | specified as a means for retrieving DNS records, or even generating them |
---|
| 23 | on the fly. |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n Net-DNS-Resolver-Programmable-v%{version} |
---|
[8715] | 27 | %patch0 -p1 -b .net_dns |
---|
[3801] | 28 | |
---|
| 29 | %build |
---|
| 30 | %{__perl} Build.PL installdirs=vendor |
---|
| 31 | ./Build |
---|
| 32 | |
---|
| 33 | %install |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
---|
| 37 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 38 | |
---|
| 39 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 40 | |
---|
| 41 | %check |
---|
| 42 | ./Build test |
---|
| 43 | |
---|
| 44 | %clean |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | |
---|
| 47 | %files |
---|
| 48 | %defattr(-,root,root,-) |
---|
| 49 | %doc CHANGES LICENSE README TODO |
---|
| 50 | %{perl_vendorlib}/* |
---|
| 51 | %{_mandir}/man3/* |
---|
| 52 | |
---|
| 53 | %changelog |
---|
[8715] | 54 | * Wed Jul 2 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.003-2 |
---|
| 55 | - rebuilt with perl-5.16.3. |
---|
| 56 | - added Patch0 against Net::DNS >= 0.75. |
---|
| 57 | |
---|
[3801] | 58 | * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.003-1 |
---|
| 59 | - initial build for Vine Linux |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-9 |
---|
| 63 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 64 | |
---|
| 65 | * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-8 |
---|
| 66 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 67 | |
---|
| 68 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.003-7 |
---|
| 69 | - Mass rebuild with perl-5.12.0 |
---|
| 70 | |
---|
| 71 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.003-6 |
---|
| 72 | - rebuild against perl 5.10.1 |
---|
| 73 | |
---|
| 74 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-5 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-4 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.003-3 |
---|
| 81 | - rebuild for new perl |
---|
| 82 | |
---|
| 83 | * Wed Jul 11 2007 Steven Pritchard <steve@kspei.com> 0.003-2 |
---|
| 84 | - Rebuild. |
---|
| 85 | |
---|
| 86 | * Tue Jul 10 2007 Steven Pritchard <steve@kspei.com> 0.003-1 |
---|
| 87 | - Specfile autogenerated by cpanspec 1.72. |
---|
| 88 | - Add "v" to files and path names. |
---|
| 89 | - Drop explicit redundant dependencies. |
---|