[perl-Lingua-EN-Numbers-Easy] Initial import (#878247)

Miroslav Hrončok churchyard at fedoraproject.org
Thu Dec 6 14:13:28 UTC 2012


commit 50bd426934d8658d3e62c0a0d4921034d9f3a374
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Thu Dec 6 15:13:11 2012 +0100

    Initial import (#878247)

 .gitignore                       |    1 +
 perl-Lingua-EN-Numbers-Easy.spec |   56 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a0d7e15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Lingua-EN-Numbers-Easy-2009110701.tar.gz
diff --git a/perl-Lingua-EN-Numbers-Easy.spec b/perl-Lingua-EN-Numbers-Easy.spec
new file mode 100644
index 0000000..dbec258
--- /dev/null
+++ b/perl-Lingua-EN-Numbers-Easy.spec
@@ -0,0 +1,56 @@
+Name:           perl-Lingua-EN-Numbers-Easy
+Version:        2009110701
+Release:        3%{?dist}
+Summary:        Hash access to Lingua::EN::Numbers objects
+License:        MIT
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Lingua-EN-Numbers-Easy/
+Source0:        http://www.cpan.org/authors/id/A/AB/ABIGAIL/Lingua-EN-Numbers-Easy-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.006
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Lingua::EN::Numbers) >= 1.01
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter} # Filters (not)shared c libs
+
+%description
+Lingua::EN::Numbers is a module that translates numbers to English words.
+Unfortunately, it has an object oriented interface, which makes it hard to
+interpolate them in strings. Lingua::EN::Numbers::Easy translates numbers
+to words using a tied hash, which can be interpolated.
+
+%prep
+%setup -q -n Lingua-EN-Numbers-Easy-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Dec 06 2012 Miro Hrončok <miro at hroncok.cz> - 2009110701-3
+- Removed deleting empty dirs
+- Replaced obsoleted PERL_INSTALL_ROOT with DESTDIR
+- Removed README (same as manpage)
+
+* Fri Nov 16 2012 Miro Hrončok <miro at hroncok.cz> - 2009110701-2
+- Removed BRs provided by perl package
+
+* Sun Sep 23 2012 Miro Hrončok <miro at hroncok.cz> - 2009110701-1
+- Specfile autogenerated by cpanspec 1.78 and revised.
diff --git a/sources b/sources
index e69de29..6b94689 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5c5ed19eaddefa9678b10230888f5c57  Lingua-EN-Numbers-Easy-2009110701.tar.gz


More information about the scm-commits mailing list