Name: perl-Lingua-EN-Inflexion Version: 0.001008 Release: 1%{?dist} Summary: Inflect English nouns, verbs, adjectives, and articles License: Artistic 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Lingua-EN-Inflexion/ Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/Lingua-EN-Inflexion-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.01 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Lingua::EN::Nums2Words) >= 1.16 BuildRequires: perl(Lingua::EN::Words2Nums) BuildRequires: perl(Test::More) Requires: perl(Lingua::EN::Nums2Words) >= 1.16 Requires: perl(Lingua::EN::Words2Nums) Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Lingua::EN::Inflexion) %description Lingua::EN::Inflexion allows you to correctly inflect all English nouns and verbs, as well as the small number of adjectives and articles that still decline in modern English. %prep %setup -q -n Lingua-EN-Inflexion-%{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 adjectives.lei Changes META.json nouns.lei README verbs.lei %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Mar 20 2020 Dave Cross 0.001008-1 - Specfile autogenerated by cpanspec 1.78.