]> git.pld-linux.org Git - SPECS.git/blob - perl-Net-DNSBL-MultiDaemon.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / perl-Net-DNSBL-MultiDaemon.spec
1 # TODO
2 # - daemon package
3 #
4 # Conditional build:
5 %bcond_with     tests           # perform "make test" (uses DNS servers)
6 #
7 %define pdir    Net
8 %define pnam    DNSBL-MultiDaemon
9 Summary:        Net::DNSBL::MultiDaemon - multi DNSBL prioritization
10 Summary(pl.UTF-8):      Net::DNSBL::MultiDaemon - obsługa wielu DNSBL z priorytetami
11 Name:           perl-Net-DNSBL-MultiDaemon
12 Version:        0.29
13 Release:        1
14 License:        GPL v2+
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/Net/Net-DNSBL-MultiDaemon-%{version}.tar.gz
17 # Source0-md5:  b8b22bb6cf63002e0bf13bbca6da4b61
18 URL:            http://search.cpan.org/dist/Net-DNSBL-MultiDaemon/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Geo-IP-PurePerl >= 1.1
23 BuildRequires:  perl-Net-DNS-Codes >= 0.08
24 BuildRequires:  perl-Net-DNS-ToolKit >= 0.24
25 BuildRequires:  perl-NetAddr-IP-Lite >= 0.02
26 BuildRequires:  perl-Unix-Syslog >= 0.97
27 %endif
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Net::DNSBL::MultiDaemon is the Perl module that implements the
33 multi_dnsbl daemon.
34
35 multi_dnsbl is a DNS emulator daemon that increases the efficacy of
36 DNSBL look-ups in a mail system. multi_dnsbl may be used as a
37 stand-alone DNSBL or as a plug-in for a standard BIND 9 installation.
38 multi_dnsbl shares a common configuration file format with the
39 Mail::SpamCannibal sc_BLcheck.pl script so that DNSBL's can be
40 maintained in a common configuration file for an entire mail
41 installation.
42
43 %description -l pl.UTF-8
44 Net::DNSBL::MultiDaemon to moduł Perla implementujacy demona
45 multi_dnsbl.
46
47 multi_dnsbl to demon emulujący DNS zwiększający wydajność wyszukiwań
48 DNSBL w systemach pocztowych. multi_dnsbl może być używany jako
49 samodzielny DNSBL lub jako wtyczka dla standardowej instalacji BIND-a
50 9. multi_dnsbl współdzieli format pliku konfiguracyjnego ze skryptem
51 sc_BLcheck.pl z pakietu Mail::SpamCannibal, więc DNSBL-e mogą być
52 zarządzane z poziomu tego samego pliku konfiguracyjnego, co cały
53 system pocztowy.
54
55 %prep
56 %setup -q -n %{pdir}-%{pnam}-%{version}
57
58 %build
59 %{__perl} Makefile.PL \
60         INSTALLDIRS=vendor
61 %{__make}
62
63 %{?with_tests:%{__make} test}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc Changes multi_dnsbl.conf.sample scripts/list_countries.pl rc.multi_dnsbl
77 %dir %{perl_vendorlib}/Net/DNSBL
78 %{perl_vendorlib}/Net/DNSBL/*.pm
79 %dir %{perl_vendorlib}/auto/Net/DNSBL
80 %dir %{perl_vendorlib}/auto/Net/DNSBL/Utilities
81 %{perl_vendorlib}/auto/Net/DNSBL/Utilities/autosplit.ix
82 %{perl_vendorlib}/auto/Net/DNSBL/Utilities/*.al
83 %{_mandir}/man3/*
This page took 0.622075 seconds and 3 git commands to generate.