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