%define module Lingua-Stem-It %define name perl-%{module} %define version 0.02 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Porter's stemming algorithm for Italian License: GPL or Artistic Group: Development/Perl Source0: http://search.cpan.org/CPAN/authors/id/A/AC/ACALPINI/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module} BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module applies the Porter Stemming Algorithm to its parameters, returning the stemmed words. The algorithm is implemented exactly as described in: http://snowball.tartarus.org/italian/stemmer.html The code is carefully crafted to work in conjunction with the Lingua::Stem module by Benjamin Franz, from which some functionalities have been borrowed (caching and exception list). %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Lingua %{_mandir}/man3*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.02-4mdv2009.0 + Revision: 257597 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.02-3mdv2009.0 + Revision: 245628 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.02-1mdv2008.1 + Revision: 136280 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jul 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.02-1mdv2008.0 + Revision: 46531 - update to new version 0.02 * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-4mdv2007.0 - Rebuild * Wed Nov 30 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-3mdk - spec cleanup - better summary - better description - better url - rpmbuildupdate aware - %%mkrel * Fri Oct 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.01-2mdk - fix deps