Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 5a2a58ef012ea7f464fb4d1dcc6119cf > files > 2

perl-Mail-SPF-Query-1.997-2mdk.src.rpm

%define module	Mail-SPF-Query
%define name	perl-%{module}
%define version 1.997
%define release 2mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Query Sender Policy Framework for an IP,email,helo 
License:	GPL or Artistic
Group:		Development/Perl
Source:		http://search.cpan.org/CPAN/authors/id/F/FR/FREESIDE/%{module}-%{version}.tar.bz2
Url:		http://www.cpan.org
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl-Net-CIDR-Lite
BuildRequires:	perl-Net-DNS
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-root

%description
The SPF protocol relies on sender domains to describe their designated outbound
mailers in DNS. Given an email address, Mail::SPF::Query determines the
legitimacy of an SMTP client IP.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%clean 
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std
%make test

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Mail
%{_mandir}/*/*
%{_bindir}/*

%changelog
* Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.997-2mdk
- fix buildrequires in a backward compatible way

* Sun Nov 14 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.997-1mdk 
- first mdk release