Projects
home:Eustace:branches:Eulaceura:Factory
perl-DateTime-Format-Builder
_service:obs_scm:perl-DateTime-Format-Builder.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-DateTime-Format-Builder.spec of Package perl-DateTime-Format-Builder
Name: perl-DateTime-Format-Builder Version: 0.83 Release: 2 Summary: Create DateTime parser classes and objects License: Artistic 2.0 and (GPL+ or Artistic) URL: https://metacpan.org/release/DateTime-Format-Builder Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-Builder-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: sed # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime::Format::Strptime) >= 1.04 BuildRequires: perl(Params::Validate) >= 0.72 BuildRequires: perl(parent) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test::More) >= 0.88 # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Provides: perl(DateTime::Format::Builder) = %{version} %{?perl_default_filter} %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 sub-classes, or for when you need to do something slightly beyond what is expected. %prep %setup -q -n DateTime-Format-Builder-%{version} perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f` sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check make test %files %if 0%{?_licensedir:1} %license LICENSE %else %doc LICENSE %endif %doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples/ t/ %{perl_vendorlib}/DateTime/ %{_mandir}/man3/DateTime::Format::Builder.3* %{_mandir}/man3/DateTime::Format::Builder::Parser.3* %{_mandir}/man3/DateTime::Format::Builder::Parser::Dispatch.3* %{_mandir}/man3/DateTime::Format::Builder::Parser::Quick.3* %{_mandir}/man3/DateTime::Format::Builder::Parser::Regex.3* %{_mandir}/man3/DateTime::Format::Builder::Parser::Strptime.3* %{_mandir}/man3/DateTime::Format::Builder::Parser::generic.3* %{_mandir}/man3/DateTime::Format::Builder::Tutorial.3* %changelog * Sun Oct 23 2022 misaka00251 <misaka00251@misakanet.cn> - 0.83-2 - Fix spec file * Thu Jun 30 2022 misaka00251 <misaka00251@misakanet.cn> - 0.83-1 - Init package (Thanks to fedora team)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2