ALT repositories
Last updated at Sat, 16 Oct 2021 01:19:56 +0000 | SRPMs: 17600
en ru
SRPMs in branches
hide window
Group :: Development/Perl
Source RPM: perl-Date-Extract
Raw spec file

%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):

BuildRequires: perl( perl( perl(Class/Data/ perl( perl( perl(DateTime/Format/ perl(DateTime/ perl(ExtUtils/ perl(ExtUtils/ perl(ExtUtils/ perl(File/ perl(File/ perl(File/ perl( perl( perl(LWP/ perl(List/ perl(Module/ perl(Net/ perl(Parse/CPAN/ perl( perl(Test/ perl(Test/ perl(YAML/ perl(inc/Module/ perl(
# END SourceDeps(oneline)

%define module_version 0.06
%define module_name Date-Extract
BuildRequires: rpm-build-perl perl-devel perl-podlators

Name: perl-%module_name
Version: 0.06
Release: alt2
Summary: extract probable dates from strings
Group: Development/Perl
License: perl
Url: %CPAN %module_name

BuildArch: noarch

my $parser = Date::Extract->new();
my $dt = $parser->extract($arbitrary_text)
or die "No date found.";
return $dt->ymd;

%setup -n %module_name-%module_version



%doc README Changes

* Tue Jun 08 2021 Igor Vlasenko <viy at> 0.06-alt2
- fixed build

* Thu Nov 17 2016 Igor Vlasenko <viy at> 0.06-alt1
- automated CPAN update

* Tue Jun 10 2014 Igor Vlasenko <viy at> 0.05-alt1
- automated CPAN update

* Sat Mar 29 2014 Igor Vlasenko <viy at> 0.04-alt2
- moved to Sisyphus by lav@ request

* Thu Sep 19 2013 Igor Vlasenko <viy at> 0.04-alt1
- initial import by package builder

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.