Author: cweyl Update of /cvs/extras/rpms/perl-DateTime-Format-Flexible/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5910/devel Modified Files: .cvsignore sources Added Files: import.log perl-DateTime-Format-Flexible.spec Log Message: initial commit --- NEW FILE import.log --- perl-DateTime-Format-Flexible-0_05-1_fc10:HEAD:perl-DateTime-Format-Flexible-0.05-1.fc10.src.rpm:1231712989 --- NEW FILE perl-DateTime-Format-Flexible.spec --- Name: perl-DateTime-Format-Flexible Version: 0.05 Release: 1%{?dist} # see LICENSE License: GPL+ or Artistic Group: Development/Libraries Summary: Flexibly parse strings and turn them into DateTime objects Source: http://search.cpan.org/CPAN/authors/id/T/TH/THINC/DateTime-Format-Flexible-%{version}.tar.gz Url: http://search.cpan.org/dist/DateTime-Format-Flexible 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) BuildRequires: perl(DateTime::Format::Builder) >= 0.74 BuildRequires: perl(Readonly) >= 0.06 BuildRequires: perl(Test::Simple) >= 0.44 BuildRequires: perl(Test::More) BuildRequires: perl(File::Spec::Functions) # optional tests... BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %description If you have ever had to use a program that made you type in the date a certain way and thought "Why can't the computer just figure out what date I wanted?", this module is for you. DateTime::Format::Flexible attempts to take any string you give it and parse it into a DateTime object. The test file tests 2500+ variations of date/time strings. If you can think of any that I do not cover, please let me know. %prep %setup -q -n DateTime-Format-Flexible-%{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 TEST_POD=1 make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README Changes example/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Wed Jan 07 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.05-1 - brush up for submission * Sun Dec 07 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.05-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.6) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-DateTime-Format-Flexible/devel/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 11 Jan 2009 17:21:41 -0000 1.1 +++ .cvsignore 11 Jan 2009 22:30:00 -0000 1.2 @@ -0,0 +1 @@ +DateTime-Format-Flexible-0.05.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-DateTime-Format-Flexible/devel/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 11 Jan 2009 17:21:42 -0000 1.1 +++ sources 11 Jan 2009 22:30:00 -0000 1.2 @@ -0,0 +1 @@ +1730dc9919c9dd73913c4fe3159c9bc3 DateTime-Format-Flexible-0.05.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list