Author: glen Date: Wed Oct 25 08:26:00 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Net-DNSBL-MultiDaemon.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Net-DNSBL-MultiDaemon.spec diff -u /dev/null SPECS/perl-Net-DNSBL-MultiDaemon.spec:1.1 --- /dev/null Wed Oct 25 10:26:00 2006 +++ SPECS/perl-Net-DNSBL-MultiDaemon.spec Wed Oct 25 10:25:48 2006 @@ -0,0 +1,82 @@ +# $Revision$, $Date$ +# TODO +# - daemon package +# +# Conditional build: +%bcond_with tests # perform "make test" (uses DNS servers) +# +%include /usr/lib/rpm/macros.perl +%define pdir Net +%define pnam DNSBL-MultiDaemon +Summary: Net::DNSBL::MultiDaemon - multi DNSBL prioritization +Name: perl-Net-DNSBL-MultiDaemon +Version: 0.18 +Release: 0.1 +License: GPL v2 +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/M/MI/MIKER/Net-DNSBL-MultiDaemon-%{version}.tar.gz +# Source0-md5: 7822d4c33316b164773d3c3f6d351cd4 +URL: http://search.cpan.org/dist/Net-DNSBL-MultiDaemon/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl(Geo::IP::PurePerl) >= 1.1 +BuildRequires: perl(NetAddr::IP::Lite) >= 0.02 +BuildRequires: perl-Net-DNS-Codes >= 0.08 +BuildRequires: perl-Net-DNS-ToolKit >= 0.24 +BuildRequires: perl-Unix-Syslog >= 0.97 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Net::DNSBL::MultiDaemon is the Perl module that implements the +multi_dnsbl daemon. + +multi_dnsbl is a DNS emulator daemon that increases the efficacy of +DNSBL look-ups in a mail system. multi_dnsbl may be used as a +stand-alone DNSBL or as a plug-in for a standard BIND 9 installation. +multi_dnsbl shares a common configuration file format with the +Mail::SpamCannibal sc_BLcheck.pl script so that DNSBL's can be +maintained in a common configuration file for an entire mail +installation. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes multi_dnsbl.conf.sample scripts/list_countries.pl rc.multi_dnsbl +%dir %{perl_vendorlib}/Net/DNSBL +%{perl_vendorlib}/Net/DNSBL/*.pm +%dir %{perl_vendorlib}/auto/Net/DNSBL +%dir %{perl_vendorlib}/auto/Net/DNSBL/Utilities +%{perl_vendorlib}/auto/Net/DNSBL/Utilities/autosplit.ix +%{perl_vendorlib}/auto/Net/DNSBL/Utilities/*.al +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/10/25 08:25:48 glen +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
