Name: perl-Lingua-EN-Numbers Version: 2.03 Release: 1%{?dist} Summary: Turn "407" into "four hundred and seven", etc License: OSI-Approved Group: Development/Libraries URL: http://search.cpan.org/dist/Lingua-EN-Numbers/ Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Lingua-EN-Numbers-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(Exporter) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a function num2en, which converts a number (such as 123) into English text ("one hundred and twenty-three"). It also provides a function num2en_ordinal, which converts a number into the ordinal form in words, so 54 becomes "fifty-fourth". %prep %setup -q -n Lingua-EN-Numbers-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jan 27 2018 Dave Cross 2.03-1 - Specfile autogenerated by cpanspec 1.78.