3 %bcond_without tests # do not perform "make test"
6 %define pnam Component-Client-DNS
7 Summary: POE component for non-blocking/concurrent DNS queries
8 Summary(pl.UTF-8): Komponent POE do wykonywania nieblokujących/równoczesnych zapytań DNS
9 Name: perl-POE-Component-Client-DNS
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: ba9bb11cd097b2348ee3d14de3ab432a
18 URL: http://search.cpan.org/dist/POE-Component-Client-DNS/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-Net-DNS >= 0.53
23 BuildRequires: perl-POE >= 1:0.3100
25 Requires: perl-POE >= 1:0.3100
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 POE::Component::Client::DNS is a wrapper for non-blocking Net::DNS.
31 It lets other tasks to run while something is waiting for a nameserver
32 to respond, and it lets several DNS queries run in parallel.
34 %description -l pl.UTF-8
35 POE::Component::Client::DNS to interfejs do nieblokującej klasy
36 Net::DNS. Pozwala na wykonywanie innych zadań podczas gdy coś czeka na
37 odpowiedź serwera nazw, a także pozwala na równoległe wykonywanie
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/POE/Component/Client/*.pm