]> git.pld-linux.org Git - packages/perl-Net-RBLClient.git/blame - perl-Net-RBLClient.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-RBLClient.git] / perl-Net-RBLClient.spec
CommitLineData
91237981 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
91237981 5%define pdir Net
6%define pnam RBLClient
7Summary: Net::RBLClient - Queries multiple Realtime Blackhole Lists in parallel
c02010ce 8Summary(pl.UTF-8): Net::RBLClient - odpytywanie wielu list RBL równolegle
91237981 9Name: perl-Net-RBLClient
c3fcf10e 10Version: 0.5
11Release: 1
91237981 12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
27f31452 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c3fcf10e 16# Source0-md5: 1fb9961106cbb5a6eb2257762847e502
f31afaac 17URL: http://search.cpan.org/dist/Net-RBLClient/
91237981 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
f31afaac
JB
24This module is used to discover what RBLs are listing a particular
25IP address. It parallelizes requests for fast response.
91237981 26
27An RBL, or Realtime Blackhole List, is a list of IP addresses meeting
f31afaac
JB
28some criteria such as involvement in Unsolicited Bulk Email. Each RBL
29has its own criteria for addition and removal of addresses. If you
91237981 30want to block email or other traffic to/from your network based on one
31or more RBL's, you should carefully study the behavior of those RBL's
32before and during such blocking.
33
a212cd66
JR
34%description -l pl.UTF-8
35Ten moduł służy do ustalania, które RBL zawierają dany adres IP.
36Zrównolegla on zapytania w celu otrzymania odpowiedzi szybciej.
f31afaac 37
a212cd66
JR
38RBL (Realtime Blackhole List) to lista adresów IP spełniających pewne
39kryteria, takie jak udział w wysyłaniu spamu. Każdy RBL ma własne
40kryteria dodawania i usuwania adresów. Aby zablokować pocztę lub inny
41ruch z/do własnej sieci w oparciu o jeden lub więcej RBL, należy
42uważnie zaznajomić się z zachowaniem danego RBL przed i w czasie
f31afaac 43takiego blokowania.
91237981 44
45%prep
46%setup -q -n RBLCLient-%{version}
47
48%build
49%{__perl} Makefile.PL \
50 INSTALLDIRS=vendor
51%{__make}
52
53%{?with_tests:%{__make} test}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc README
c3fcf10e 67%attr(755,root,root) %{_bindir}/spamalyze
91237981 68%{perl_vendorlib}/Net/*.pm
c3fcf10e 69%{_mandir}/man1/spamalyze*
91237981 70%{_mandir}/man3/*
This page took 0.520829 seconds and 4 git commands to generate.