Sisyphus repository
Last update: 2017-12-17 09:05:52 +0300 | SRPMs: 18242 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 0.06-alt1
p8: 0.05-alt1

Group :: Development/Perl
Source RPM: perl-Date-Extract

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):

BuildRequires: perl(CPAN.pm) perl(Carp.pm) perl(Class/Data/Inheritable.pm) perl(Config.pm) perl(Cwd.pm) perl(DateTime/Format/Natural.pm) perl(ExtUtils/MM_Unix.pm) perl(ExtUtils/MakeMaker.pm) perl(ExtUtils/Manifest.pm) perl(File/Basename.pm) perl(File/Find.pm) perl(File/Spec.pm) perl(FileHandle.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(List/Util.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(Socket.pm) perl(Test/MockTime.pm) perl(Test/More.pm) perl(YAML/Tiny.pm) perl(inc/Module/Install.pm) perl(parent.pm)
# 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: alt1
Summary: extract probable dates from strings
Group: Development/Perl
License: perl
Url: %CPAN %module_name

Source: http://www.cpan.org/authors/id/A/AL/ALEXMV/Date-Extract-%{version}.tar.gz
BuildArch: noarch

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


%prep
%setup -n %module_name-%module_version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes
%perl_vendor_privlib/D*

%changelog
* Thu Nov 17 2016 Igor Vlasenko <viy at altlinux.ru> 0.06-alt1
- automated CPAN update

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

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

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

 
© 2009–2017 Igor Zubkov