Name: perl-POE-Component-Client-DNS
Version: 1.00
Release: 1%{?dist}
Summary: Non-blocking/concurrent DNS queries using Net::DNS and POE
Group: Development/Libraries
License: Artistic or GPL
URL: http://search.cpan.org/dist/POE-Component-Client-DNS
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Component-Client-DNS-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(POE) >= 0.31, perl(Net::DNS) >= 0.59
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
POE::Component::Client::DNS provides a facility for non-blocking, concurrent
DNS requests. Using POE, it allows other tasks to run while waiting for name
servers to respond.
%prep
%setup -q -n POE-Component-Client-DNS-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
# the perldoc/pod documentation is nice, but I really found this much more
# useful.
cp t/01_resolve.t example_resolve
%check
# tests are not conducted as they require network access.
#make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGES README example_resolve
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jan 11 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.00-1
- update to 1.00
- bump br on Net::DNS to >= 0.59
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.99-2
- bump for mass rebuild
* Sat Jul 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.99-1
- bump for f-e release
* Thu Jul 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.99-0
- Initial spec file for F-E