Name: perl-Template-Plugin-Lingua-EN-Inflexion Version: 0.01 Release: 1%{?dist} Summary: Interface to Lingua::EN::Inflexion module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Template-Plugin-Lingua-EN-Inflexion/ Source0: http://www.cpan.org/authors/id/H/HO/HOUSTON/Template-Plugin-Lingua-EN-Inflexion-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.010000 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Lingua::EN::Inflexion) >= 0.001008 BuildRequires: perl(Template) >= 2.24 BuildRequires: perl(Test::More) >= 0.41 Requires: perl(Lingua::EN::Inflexion) >= 0.001008 Requires: perl(Template) >= 2.24 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl(Template::Plugin::Lingua::EN::Inflexion) %description The Lingua::EN::Inflexion Plugin is an interface to Damian Conway's Lingua::EN::Inflexion Perl module, which provides plural inflections, "a"/"an" selection for English words, and manipulation of numbers as words. The plugin provides an 'inflect' filter, which can be used to interpolate inflections in a string. %prep %setup -q -n Template-Plugin-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 Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Mar 20 2020 Dave Cross 0.01-1 - Specfile autogenerated by cpanspec 1.78.