3 %bcond_with tests # do not perform "make test"
7 Summary: Mail::RBL - Perl extension to access RBL-style host verification services
8 Summary(pl.UTF-8): Mail::RBL - rozszerzenie perlowe do dostępu do usług weryfikacji hostów w stylu RBL
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: f71ee986c79ead33970bd1e4dfe7891c
16 URL: http://search.cpan.org/dist/Mail-RBL/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Net-DNS
21 BuildRequires: perl-NetAddr-IP >= 3.14
22 BuildRequires: perl(Test::More)
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module is meant to help querying blackhole lists, typically for
29 use in anti-spam solutions.
31 %description -l pl.UTF-8
32 Ten moduł ma pomagać w odpytywaniu list "czarnych dziur", zwykle
33 używanych w mechanizmach antyspamowych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorlib}/Mail/*.pm