Name: perl-DateTime-Format-SQLite Version: 0.10 Release: 1%{?dist} # lib/DateTime/Format/SQLite.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Parse and format SQLite dates and times Source: http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-%{version}.tar.gz Url: http://search.cpan.org/dist/DateTime-Format-SQLite BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(DateTime) >= 0.1 BuildRequires: perl(DateTime::Format::Builder) >= 0.6 Requires: perl(DateTime::Format::Builder) >= 0.6 %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 PERL_INSTALL_ROOT=%{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 * 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)