File perl-DateTime-Format-Builder.spec of Package perl-DateTime-Format-Builder

# spec file for package perl-DateTime-Format-Builder

# norootforbuild

Name:          perl-DateTime-Format-Builder
%define        cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
Summary:       Create DateTime parser classes and objects
Group:         Development/Libraries/Perl
License:       Artistic License
Version:       0.80
Release:       1
Source:        %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl-macros
BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Strptime)
BuildRequires: perl(Class::Factory::Util)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Memory::Cycle)
Requires:      perl(DateTime)
Requires:      perl(DateTime::Format::Strptime)
Requires:      perl(Class::Factory::Util)
BuildRoot:     %{_tmppath}/%{name}-%{version}-build

DateTime::Format::Builder creates DateTime parsers. Many string formats of
dates and times are simple and just require a basic regular expression to
extract the relevant information. Builder provides a simple way to do this
without writing reams of structural code.

Builder provides a number of methods, most of which you'll never need, or at
least rarely need. They're provided more for exposing of the module's innards
to any subclasses, or for when you need to do something slightly beyond what I

    Iain Truskett <>,
    Dave Rolsky <>

%setup -n %{cpan_name}-%{version}

perl Makefile.PL 
make %{?jobs:-j%jobs}

make test


rm -rf %{buildroot}

%files -f %{name}.files 
%defattr(-, root, root)