%define upstream_name perlindex %define upstream_version 1.606 Name: %{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 11 Summary: English language stemming License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Text/%{upstream_name}-%{upstream_version}.tar.gz BuildArch: noarch Obsoletes: perl-perlindex %description This routine applies the Porter Stemming Algorithm to its parameters, returning the stemmed words. It is derived from the C program "stemmer.c" as found in freewais and elsewhere, which contains these notes: Purpose: Implementation of the Porter stemming algorithm documented in: Porter, M.F., "An Algorithm For Suffix Stripping," Program 14 (3), July 1980, pp. 130-137. Provenance: Written by B. Frakes and C. Cox, 1986. I have re-interpreted areas that use Frakes and Cox's "WordSize" function. My version may misbehave on short words starting with "y", but I can't think of any examples. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc ChangeLog META.yml README %{_mandir}/man1/* %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/perlindex %changelog * Wed Feb 12 2020 umeabot <umeabot> 1.606.0-11.mga8 + Revision: 1495089 - Mageia 8 Mass Rebuild * Wed Sep 19 2018 umeabot <umeabot> 1.606.0-10.mga7 + Revision: 1268656 - Mageia 7 Mass Rebuild + kekepower <kekepower> - Use new make macros * Sun Jun 19 2016 pterjan <pterjan> 1.606.0-9.mga6 + Revision: 1028529 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 1.606.0-8.mga6 + Revision: 948919 - Mageia 6 Mass Rebuild * Sun Oct 19 2014 umeabot <umeabot> 1.606.0-7.mga5 + Revision: 788691 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 1.606.0-6.mga5 + Revision: 743657 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.606.0-5.mga5 + Revision: 687069 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 1.606.0-4.mga4 + Revision: 522739 - Mageia 4 Mass Rebuild * Tue Mar 26 2013 guillomovitch <guillomovitch> 1.606.0-3.mga3 + Revision: 405341 - new release + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Feb 16 2011 jquelin <jquelin> 1.605.0-2.mga1 + Revision: 52169 - fix %%files - obsoleting perl-perlindex (same module, different pkg name) * Tue Jan 18 2011 jquelin <jquelin> 1.605.0-1.mga1 + Revision: 22512 - cleaning spec file - imported package perlindex