Initial import (#1166667)

f38
Petr Šabata 10 years ago
parent 360680f7da
commit 0ac9215332

1
.gitignore vendored

@ -0,0 +1 @@
/Lingua-EN-Words2Nums-0.18.tar.gz

@ -0,0 +1,46 @@
Name: perl-Lingua-EN-Words2Nums
Version: 0.18
Release: 1%{?dist}
Summary: Convert English text to numbers
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Lingua-EN-Words2Nums/
Source0: http://www.cpan.org/authors/id/J/JO/JOEY/Lingua-EN-Words2Nums-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests only
BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description
This module converts English text into numbers. It supports both ordinal
and cardinal numbers, negative numbers, and very large numbers.
%prep
%setup -q -n Lingua-EN-Words2Nums-%{version}
chmod -c a-x testnum
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc README samples testnum TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Nov 21 2014 Petr Šabata <contyk@redhat.com> 0.18-1
- Initial packaging.

@ -0,0 +1 @@
088e398a5f98ec6e3dc41a43babaf389 Lingua-EN-Words2Nums-0.18.tar.gz
Loading…
Cancel
Save