%define module Mail-RBL %define name perl-%{module} %define version 1.10 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Perl extension to access RBL-style host verification services License: GPL or Artistic Group: Development/Perl Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Mail/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(NetAddr::IP) BuildRequires: perl(Net::DNS) Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module eases the task of checking if a given host is in the list. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check # some RBL can't be queries from build host export SKIP_RBL_TESTS=1 %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Mail %{_mandir}/*/* %changelog * Thu Jul 05 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.10-1mdv2008.0 + Revision: 48616 - update to new version 1.10 - skip RBL tests * Mon Dec 11 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-1mdv2007.0 + Revision: 94825 - new version - Import perl-Mail-RBL * Fri Sep 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.04-4mdv2007.0 - Rebuild * Thu May 04 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.04-3mdk - Fix According to perl Policy - BuildRequires - Source URL * Tue Dec 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.04-2mdk - Add BuildRequires * Wed Dec 14 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.04-1mdk - new version - spec cleanup - fix directory ownership - re-enale tests * Tue Jul 05 2005 Oden Eriksson <oeriksson@mandriva.com> 1.02-2mdk - rebuild * Fri Jun 04 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.02-1mdk - 1.02 - disable test for now - cosmetics