Name: perl-DateTime-Format-Mail Version: 0.3001 Release: 1%{?dist} Summary: Convert between DateTime and RFC2822/822 formats License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-Mail/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(DateTime) >= 0.1705 BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.67 Requires: perl(DateTime) >= 0.1705 Requires: perl(Params::Validate) >= 0.67 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description RFCs 2822 and 822 specify date formats to be used by email. This module parses and emits such dates. %prep %setup -q -n DateTime-Format-Mail-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Artistic AUTHORS Changes COPYING CREDITS LICENCE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Sep 10 2008 Dave Cross 0.3001-1 - Specfile autogenerated by cpanspec 1.77.