Name: perl-DateTime Version: 0.65 Release: 1%{?dist} Summary: Date and time object License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(DateTime::Locale) >= 0.41 BuildRequires: perl(DateTime::TimeZone) >= 1.09 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.76 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(DateTime::Locale) >= 0.41 Requires: perl(DateTime::TimeZone) >= 1.09 Requires: perl(Params::Validate) >= 0.76 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description DateTime is a class for the representation of date/time combinations, and is part of the Perl DateTime project. For details on this project please see http://datetime.perl.org/. The DateTime site has a FAQ which may help answer many "how do I do X?" questions. The FAQ is at http://datetime.perl.org/wiki/datetime/page/FAQ. %prep %setup -q -n DateTime-%{version} %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; 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 c Changes CREDITS dist.ini leaptab.txt LICENSE META.json README TODO tools %{perl_vendorarch}/auto/* %{perl_vendorarch}/DateTime* %{_mandir}/man3/* %changelog * Wed Nov 03 2010 Dave Cross 0.65-1 - Specfile autogenerated by cpanspec 1.78.