3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Net::RBLClient - Queries multiple Realtime Blackhole Lists in parallel
9 Summary(pl.UTF-8): Net::RBLClient - odpytywanie wielu list RBL równolegle
10 Name: perl-Net-RBLClient
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 4691f4a80b31c83491dcbc53fc4c1e02
18 URL: http://search.cpan.org/dist/Net-RBLClient/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module is used to discover what RBLs are listing a particular
26 IP address. It parallelizes requests for fast response.
28 An RBL, or Realtime Blackhole List, is a list of IP addresses meeting
29 some criteria such as involvement in Unsolicited Bulk Email. Each RBL
30 has its own criteria for addition and removal of addresses. If you
31 want to block email or other traffic to/from your network based on one
32 or more RBL's, you should carefully study the behavior of those RBL's
33 before and during such blocking.
35 %description -l pl.UTF-8
36 Ten moduł służy do ustalania, które RBL zawierają dany adres IP.
37 Zrównolegla on zapytania w celu otrzymania odpowiedzi szybciej.
39 RBL (Realtime Blackhole List) to lista adresów IP spełniających pewne
40 kryteria, takie jak udział w wysyłaniu spamu. Każdy RBL ma własne
41 kryteria dodawania i usuwania adresów. Aby zablokować pocztę lub inny
42 ruch z/do własnej sieci w oparciu o jeden lub więcej RBL, należy
43 uważnie zaznajomić się z zachowaniem danego RBL przed i w czasie
47 %setup -q -n RBLCLient-%{version}
50 %{__perl} Makefile.PL \
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %{perl_vendorlib}/Net/*.pm