Name: perl-DateTime-Format-SQLite Summary: Parse and format SQLite dates and times Version: 0.11 Release: 12%{?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(Class::ISA) 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 Aug 03 2013 Fedora Release Engineering - 0.11-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Petr Pisar - 0.11-11 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 20 2012 Petr Pisar - 0.11-8 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Jul 21 2011 Petr Sabata - 0.11-6 - Perl mass rebuild * Tue Jul 19 2011 Petr Sabata - 0.11-5 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.11-3 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 0.11-2 - Mass rebuild with perl-5.12.0 * 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)