%define pkg_name Lingua-EN-Inflect %define pkg_version 1.89 %define rpm_pkg_version 1.89 %define rpm_pkg_release 2.n0i.7 Summary: English sing->plur, a/an, nums, participles Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description The exportable subroutines of Lingua::EN::Inflect provide plural inflections and "a"/"an" selection for English words. Plural forms of all nouns, most verbs, and some adjectives are provided. Where appropriate, "classical" variants (for example: "brother" -> "brethren", "dogma" -> "dogmata", etc.) are also provided. Pronunciation-based "a"/"an" selection is provided for all English words, and most initialisms. Lingua::EN::Inflect also provides facilities for comparing words in a "number-insensitive" manner (that is, an eq-like comparison in which "ox" and "oxen" compare equal). In generating these inflections, Lingua::EN::Inflect follows the Oxford English Dictionary and the guidelines in Fowler's Modern English Usage, preferring the former where the two disagree. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path demo*.pl} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %exclude %{perl_vendorlib}/Lingua/EN/demo*.pl %doc Changes README demo*.pl %changelog * Tue May 22 2007 Marius Feraru - 1.89-2.n0i.7 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 * Sun Jul 24 2005 Marius Feraru 1.89-1.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.88-2.n0i.5 - automatic rebuild (perl 5.8.6) * Fri Dec 03 2004 Marius Feraru 0:1.88-2.n0i.4 - automatic rebuild (perl 5.8.6) - no dependencies are to be computed based on files in %%docdir * Tue May 04 2004 Marius Feraru 0:1.88-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:1.88-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Sat Jan 10 2004 Marius FERARU 0:1.88-0.n0i.1 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001 * Wed Jul 30 2003 Marius FERARU 1.88-0.n0i - version 1.88