From 427556adbbc633d29259fc5af65e2dab15177c83 Mon Sep 17 00:00:00 2001 From: Chris Weyl <cw...@fedoraproject.org> Date: Tue, 30 Jun 2009 00:16:52 +0000 Subject: initial import
--- .cvsignore | 1 + import.log | 1 + perl-DateTime-Format-SQLite.spec | 67 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 70 insertions(+) create mode 100644 import.log create mode 100644 perl-DateTime-Format-SQLite.spec diff --git a/.cvsignore b/.cvsignore index e69de29..98fd425 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +DateTime-Format-SQLite-0.10.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..543041e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-DateTime-Format-SQLite-0_10-1_fc11:HEAD:perl-DateTime-Format-SQLite-0.10-1.fc11.src.rpm:1246321005 diff --git a/perl-DateTime-Format-SQLite.spec b/perl-DateTime-Format-SQLite.spec new file mode 100644 index 0000000..581dec3 --- /dev/null +++ b/perl-DateTime-Format-SQLite.spec @@ -0,0 +1,67 @@ +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 <cw...@alumni.drew.edu> 0.10-1 +- submission (testing dep for DBIC) + +* Fri Jun 26 2009 Chris Weyl <cw...@alumni.drew.edu> 0.10-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..de4b13c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +93c0849d25498028f18e10816b9b32b8 DateTime-Format-SQLite-0.10.tar.gz -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-DateTime-Format-SQLite.git/commit/?h=epel7&id=427556adbbc633d29259fc5af65e2dab15177c83 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org