Name: perl-Email-Date Version: 1.102 Release: 2%{?dist} Summary: Find and format date headers Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Email-Date/ Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker), perl(Date::Parse), perl(Email::Abstract) BuildRequires: perl(Test::More), perl(Time::Local), perl(Time::Piece) BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description RFC 2822 defines the "Date:" header. It declares the header a required part of an email message. The syntax for date headers is clearly laid out. Stil, even a perfectly planned world has storms. The truth is, many programs get it wrong. Very wrong. Or, they don't include a "Date:" header at all. This often forces you to look elsewhere for the date, and hoping to find something. For this reason, the tedious process of looking for a valid date has been encapsulated in this software. Further, the process of creating RFC compliant date strings is also found in this software. %prep %setup -q -n Email-Date-%{version} %build sed -i '/LICENSE/ d' Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor make %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 {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README LICENSE %{perl_vendorlib}/Email/ %{_mandir}/man3/*.3* %changelog * Tue Apr 24 2007 Tom "spot" Callaway - 1.102-2 - add missing BR: perl(Test::Pod), perl(Test::Pod::Coverage) - get rid of WARNING: License * Sun Apr 1 2007 Tom "spot" Callaway - 1.102-1 - Initial package for Fedora