Name: perl-DateTime-Format-SQLite Version: 0.11 Release: 1%{?dist} Summary: Parse and format SQLite dates and times License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-SQLite/ Source0: http://www.cpan.org/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.003 BuildRequires: perl(DateTime) >= 0.1 BuildRequires: perl(DateTime::Format::Builder) >= 0.6 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(DateTime) >= 0.1 Requires: perl(DateTime::Format::Builder) >= 0.6 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module understands the formats used by SQLite for its date, datetime and time functions. It can be used to parse these formats in order to create DateTime objects, and it can take a DateTime object and produce a timestring accepted by SQLite. %prep %setup -q -n DateTime-Format-SQLite-%{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 LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon May 04 2015 Dave Cross 0.11-1 - Specfile autogenerated by cpanspec 1.78.