]> git.pld-linux.org Git - packages/perl-Net-DNS.git/commitdiff
- informative summary/description perl-Net-DNS-0_28-1
authorradek <radek@pld-linux.org>
Sat, 24 Aug 2002 17:05:07 +0000 (17:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- version 0.28, added conditional tests, STBR

Changed files:
    perl-Net-DNS.spec -> 1.25

perl-Net-DNS.spec

index e3a8bf13a2476d06ecce70901baccab8bc699784..314298f3b21340ee3c648dc143c36dc94f868872 100644 (file)
@@ -1,28 +1,36 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Net
 %define        pnam    DNS
-Summary:       Net::DNS perl module
-Summary(pl):   Modu³ perla Net::DNS
+Summary:       Net::DNS - Perl interface to the DNS resolver.
+Summary(pl):   Net::DNS - interfejs do resolvera DNS.
 Name:          perl-Net-DNS
-Version:       0.24
+Version:       0.28
 Release:       1
-License:       GPL
+License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: perl >= 5.6
+%if %{?_without_tests:0}%{!?_without_tests:1}
 BuildRequires: perl-Digest-MD5 >= 2.12
 BuildRequires: perl-Digest-HMAC >= 1.00
 BuildRequires: perl-MIME-Base64 >= 2.11
 BuildRequires: perl-Test-Simple >= 0.18
+%endif
 BuildRequires: rpm-perlprov >= 3.0.3-16
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Net::DNS - Perl interface to the DNS resolver.
+Net::DNS is a DNS resolver implemented in Perl.  It allows the programmer
+to perform nearly any type of DNS query from a Perl script.
 
 %description -l pl
-Net::DNS - interfejs do resolvera DNS.
+Net::DNS jest resolverem DNS, zaimplementowanym w Perlu.  Pozwala
+programi¶cie na wykonanie niemal ka¿dego typu zapytania DNS ze skryptu
+Perla.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -31,6 +39,8 @@ Net::DNS - interfejs do resolvera DNS.
 perl Makefile.PL
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.06162 seconds and 4 git commands to generate.