source: projects/specs/trunk/p/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable-vl.spec @ 8715

Revision 8715, 3.0 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

Line 
1Name:           perl-Net-DNS-Resolver-Programmable
2Version:        0.003
3Release:        2%{?_dist_release}
4Summary:        Programmable DNS resolver class for offline emulation of DNS
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/
8Source0:        http://www.cpan.org/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v%{version}.tar.gz
9# https://rt.cpan.org/Public/Bug/Display.html?id=95901
10Patch0:         new-net-dns.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12BuildArch:      noarch
13BuildRequires:  perl(Module::Build)
14BuildRequires:  perl(Net::DNS)
15BuildRequires:  perl(version)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19Net::DNS::Resolver::Programmable is a Net::DNS::Resolver descendant class
20that allows a virtual DNS to be emulated instead of querying the real DNS.
21A set of static DNS records may be supplied, or arbitrary code may be
22specified as a means for retrieving DNS records, or even generating them
23on the fly.
24
25%prep
26%setup -q -n Net-DNS-Resolver-Programmable-v%{version}
27%patch0 -p1 -b .net_dns
28
29%build
30%{__perl} Build.PL installdirs=vendor
31./Build
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
37find $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
45rm -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
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
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.
Note: See TracBrowser for help on using the repository browser.