%define upstream_name Lingua-EN-Inflect-Number %define upstream_version 1.1 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Force number of words to singular or plural License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Lingua/%{upstream_name}-%{upstream_version}.tar.bz2 Buildrequires: perl(Lingua::EN::Inflect) Buildarch: noarch %description This module extends the functionality of Lingua::EN::Inflect with three new functions available for export: number: This takes a word, and determines its number. It returns s for singular, p for plural, and ambig for words that can be either singular or plural. to_S / to_PL: These take a word and convert it forcefully either to singular or to plural. Lingua::EN::Inflect does funny things if you try to pluralise an already-plural word, but this module does the right thing. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %check %make test %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Lingua %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.100.0-2.mga3 + Revision: 369009 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 1.100.0-1.mga1 + Revision: 30652 - mageia rebuild - imported package perl-Lingua-EN-Inflect-Number