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