Name: perl-HTTP-Date Version: 6.00 Release: 1%{?dist} Summary: Date conversion routines License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-Date/ Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008008 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Time::Zone) Requires: perl(Time::Zone) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides functions that deal the date formats used by the HTTP protocol (and then some more). Only the first two functions, time2str() and str2time(), are exported by default. %prep %setup -q -n HTTP-Date-%{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 {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jan 15 2012 Dave Cross 6.00-1 - Specfile autogenerated by cpanspec 1.78.