Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
perl-DateTime-Format-Builder
perl-DateTime-Format-Builder.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DateTime-Format-Builder.spec of Package perl-DateTime-Format-Builder
# # spec file for package perl-DateTime-Format-Builder # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-DateTime-Format-Builder Version: 0.81 Release: 0 %define cpan_name DateTime-Format-Builder Summary: Create DateTime parser classes and objects. License: Artistic-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DateTime-Format-Builder/ Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Factory::Util) >= 1.6 BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime::Format::Strptime) >= 1.04 BuildRequires: perl(Params::Validate) >= 0.72 BuildRequires: perl(Test::More) >= 0.88 #BuildRequires: perl(DateTime::Format::Builder) #BuildRequires: perl(DateTime::Format::Builder::Parser) #BuildRequires: perl(DateTime::Format::Builder::Parser::generic) #BuildRequires: perl(DateTime::Format::HTTP) #BuildRequires: perl(DateTime::Format::IBeat) #BuildRequires: perl(DateTime::Format::Mail) Requires: perl(Class::Factory::Util) >= 1.6 Requires: perl(DateTime) >= 1.00 Requires: perl(DateTime::Format::Strptime) >= 1.04 Requires: perl(Params::Validate) >= 0.72 %{perl_requires} %description 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 expected. This creates the end methods. Coderefs die on bad parses, return 'DateTime' objects on good parse. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes examples LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor