[perl-Lingua-EN-Words2Nums] Initial import (#1166667)

Petr Šabata psabata at fedoraproject.org
Mon Nov 24 15:03:18 UTC 2014


commit 0ac9215332f4d343c1de54f53e4d4b6999343ad7
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Nov 24 16:03:03 2014 +0100

    Initial import (#1166667)

 .gitignore                     |    1 +
 perl-Lingua-EN-Words2Nums.spec |   46 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f996949 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-EN-Words2Nums-0.18.tar.gz
diff --git a/perl-Lingua-EN-Words2Nums.spec b/perl-Lingua-EN-Words2Nums.spec
new file mode 100644
index 0000000..898864e
--- /dev/null
+++ b/perl-Lingua-EN-Words2Nums.spec
@@ -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 at redhat.com> 0.18-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..d51c75e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+088e398a5f98ec6e3dc41a43babaf389  Lingua-EN-Words2Nums-0.18.tar.gz


More information about the scm-commits mailing list