commit c147393fb4ec09f359f33cea009da13102cfa381 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Nov 25 11:09:09 2014 +0100 Initial import (#1166670) .gitignore | 1 + perl-Lingua-EN-FindNumber.spec | 51 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..63be5da 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Lingua-EN-FindNumber-1.30.tar.gz diff --git a/perl-Lingua-EN-FindNumber.spec b/perl-Lingua-EN-FindNumber.spec new file mode 100644 index 0000000..232835e --- /dev/null +++ b/perl-Lingua-EN-FindNumber.spec @@ -0,0 +1,51 @@ +Name: perl-Lingua-EN-FindNumber +Version: 1.30 +Release: 1%{?dist} +Summary: Locate (written) numbers in English text +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Lingua-EN-FindNumber/ +Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Lingua-EN-FindNumber-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(Lingua::EN::Words2Nums) +# Tests only +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%description +This module provides a regular expression for finding numbers in +English text. It also provides functions for extracting and +manipulating such numbers. + +%prep +%setup -q -n Lingua-EN-FindNumber-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Nov 21 2014 Petr Šabata <contyk@xxxxxxxxxx> 1.30-1 +- Initial packaging. diff --git a/sources b/sources index e69de29..faf23f3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +90ca3ea9acfc651422480d01bd0a2f0d Lingua-EN-FindNumber-1.30.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel