Name: perl-DateTime-Format-Strptime Version: 1.2000 Release: 1%{?dist} Summary: Parse and format strp and strf time patterns License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-Strptime/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(DateTime) >= 0.4304 BuildRequires: perl(DateTime::Locale) >= 0.45 BuildRequires: perl(DateTime::TimeZone) >= 0.79 BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.64 Requires: perl(DateTime) >= 0.4304 Requires: perl(DateTime::Locale) >= 0.45 Requires: perl(DateTime::TimeZone) >= 0.79 Requires: perl(Params::Validate) >= 0.64 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implements most of strptime(3), the POSIX function that is the reverse of strftime(3), for DateTime. While strftime takes a DateTime and a pattern and returns a string, strptime takes a string and a pattern and returns the DateTime object associated. %prep %setup -q -n DateTime-Format-Strptime-%{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 Changes LICENSE README xt %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Apr 29 2010 Dave Cross 1.2000-1 - Specfile autogenerated by cpanspec 1.78.