Name: perl-Email-Find Version: 0.10 Release: 2%{?dist} Summary: Find RFC 822 email addresses in plain text Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Email-Find/ Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Email-Find-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Email::Valid) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Email::Find is a module for finding a *subset* of RFC 822 email addresses in arbitrary text (see the section on "CAVEATS"). The addresses it finds are not guaranteed to exist or even actually be email addresses at all (see the section on "CAVEATS"), but they will be valid RFC 822 syntax. %prep %setup -q -n Email-Find-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Aug 9 2008 kwizart < kwizart at gmail.com > - 0.10-2 - Add BR perl(Test:More) * Thu Jul 31 2008 kwizart < kwizart at gmail.com > - 0.10-1 - Initial package for Fedora