3 %bcond_without tests # do not perform "make test"
7 Summary: Net::DNS::Codes - collection of C library DNS codes
8 Summary(pl.UTF-8): Net::DNS::Codes - kolekcja kodów DNS
9 Name: perl-Net-DNS-Codes
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 184b659611909946c504f79a36347ef9
16 URL: http://search.cpan.org/dist/Net-DNS-Codes/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Net::DNS::Codes provides forward and reverse lookup for most
24 common C library DNS codes as well as all the codes for the DNS
27 %description -l pl.UTF-8
28 Net::DNS::Codes dostarcza wyszukiwanie zwykłe i odwrotne dla
29 większości popularnych kodów DNS biblioteki C, a także kody dla pola
33 %setup -q -n %{pdir}-%{pnam}-%{version}
36 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/Net/DNS/Codes.pm