[perl-Lingua-EN-Number-IsOrdinal] Initial import (#1166672)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit af0d16dacf280340818af6792be5a049615816f2
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 26 14:51:16 2014 +0100

    Initial import (#1166672)

 .gitignore                           |    1 +
 perl-Lingua-EN-Number-IsOrdinal.spec |   52 ++++++++++++++++++++++++++++++++++
 sources                              |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7f63541 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-EN-Number-IsOrdinal-0.04.tar.gz
diff --git a/perl-Lingua-EN-Number-IsOrdinal.spec b/perl-Lingua-EN-Number-IsOrdinal.spec
new file mode 100644
index 0000000..968f993
--- /dev/null
+++ b/perl-Lingua-EN-Number-IsOrdinal.spec
@@ -0,0 +1,52 @@
+Name:           perl-Lingua-EN-Number-IsOrdinal
+Version:        0.04
+Release:        1%{?dist}
+Summary:        Detect if English number is ordinal or cardinal
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Lingua-EN-Number-IsOrdinal/
+Source0:        http://www.cpan.org/authors/id/R/RK/RKITOVER/Lingua-EN-Number-IsOrdinal-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Lingua::EN::FindNumber)
+# Tests only
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Try::Tiny)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+
+%description
+This module will tell you if a number, either in words or as digits, is a
+cardinal or ordinal number.
+
+%prep
+%setup -q -n Lingua-EN-Number-IsOrdinal-%{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> 0.04-1
+- Initial packaging.
diff --git a/sources b/sources
index e69de29..d21cee8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5b94054b1311ed1bd338356ce1f1741d  Lingua-EN-Number-IsOrdinal-0.04.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





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux