From 91237981adb44c96972b41dc1e7f312480e59fa5 Mon Sep 17 00:00:00 2001 From: radek Date: Tue, 23 Nov 2004 00:05:22 +0000 Subject: [PATCH] - new Changed files: perl-Net-RBLClient.spec -> 1.1 --- perl-Net-RBLClient.spec | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 perl-Net-RBLClient.spec diff --git a/perl-Net-RBLClient.spec b/perl-Net-RBLClient.spec new file mode 100644 index 0000000..54056fa --- /dev/null +++ b/perl-Net-RBLClient.spec @@ -0,0 +1,60 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Net +%define pnam RBLClient +Summary: Net::RBLClient - Queries multiple Realtime Blackhole Lists in parallel +#Summary(pl): +Name: perl-Net-RBLClient +Version: 0.2 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 4691f4a80b31c83491dcbc53fc4c1e02 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module is used to discover what RBL's are listing a particular +IP address. It parallelizes requests for fast response. + +An RBL, or Realtime Blackhole List, is a list of IP addresses meeting +some criteria such as involvement in Unsolicited Bulk Email. Each RBL +has its own criteria for addition and removal of addresses. If you +want to block email or other traffic to/from your network based on one +or more RBL's, you should carefully study the behavior of those RBL's +before and during such blocking. + +# %description -l pl +# TODO + +%prep +%setup -q -n RBLCLient-%{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 README +%{perl_vendorlib}/Net/*.pm +%{_mandir}/man3/* -- 2.44.0