Name: perl-DateTime-Format-SQLite Summary: Parse and format SQLite dates and times Version: 0.11 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-%{version}.tar.gz URL: http://search.cpan.org/dist/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(DateTime) >= 0.1 BuildRequires: perl(DateTime::Format::Builder) >= 0.6 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(DateTime) >= 0.1 Requires: perl(DateTime::Format::Builder) >= 0.6 %{?perl_default_filter} %{?perl_default_subpackage_tests} %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 the DateTime manpage objects, and it can take a DateTime object and produce a timestring accepted by SQLite.*NOTE:* SQLite does not have real date/time types but stores everything as strings. This module deals with the date/time strings as understood/returned by SQLite's 'date', 'time', 'datetime', 'julianday' and 'strftime' SQL functions. You will usually want to store your dates in one of these formats. %prep %setup -q -n DateTime-Format-SQLite-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README LICENSE %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Feb 13 2010 Chris Weyl 0.11-1 - auto-update by cpan-spec-update 0.002 - added a new req on perl(DateTime) (version 0.1) - PERL_INSTALL_ROOT => DESTDIR * Mon Dec 7 2009 Stepan Kasal - 0.10-4 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 29 2009 Chris Weyl 0.10-2 - add br on Test::More * Fri Jun 26 2009 Chris Weyl 0.10-1 - submission (testing dep for DBIC) * Fri Jun 26 2009 Chris Weyl 0.10-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)