%define module Email-Address %define name perl-%{module} %define up_version 1.889 %define version %perl_convert_version %{up_version} %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: RFC 2822 Address Parsing and Creation License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Email/%{module}-%{up_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This class implements a complete RFC 2822 parser that locates email addresses in strings and returns a list of "Email::Address" objects found. Alternatley you may construct objects manually. The goal of this software is to be correct, and very very fast. %prep %setup -q -n %{module}-%{up_version} perl -pi -e 's|/usr/local/bin/perl|%{__perl}|' bench/ea-vs-ma.pl %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README bench %{perl_vendorlib}/Email %{_mandir}/man3/* %changelog * Wed Feb 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.889.0-3mdv2010.0 + Revision: 337631 - new release - use standardized version * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.88.8-3mdv2009.0 + Revision: 241209 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Jul 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.88.8-1mdv2008.0 + Revision: 56079 - update to new version 1.88.8 * Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 1.88.7-1mdv2008.0 + Revision: 20063 - 1.887 * Mon Aug 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.87.0-1mdv2007.0 - new version (upstream version 1.870) * Wed Aug 02 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.86-1mdv2007.0 - new version - spec cleanup - fix directory ownership * Sun Jul 10 2005 Oden Eriksson <oeriksson@mandriva.com> 1.80-1mdk - initial Mandriva package