|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-Lingua-Stem-Ru
|
|
|
|
|
Version: 0.02
|
|
|
|
|
Version: 0.03
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Porter's stemming algorithm for Russian (KOI8-R only)
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -7,11 +7,9 @@ Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Lingua-Stem-Ru/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Lingua-Stem-Ru-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
@ -19,11 +17,9 @@ BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module applies the Porter Stemming Algorithm to its parameters,
|
|
|
|
|
returning the stemmed words.
|
|
|
|
@ -32,12 +28,11 @@ returning the stemmed words.
|
|
|
|
|
%setup -q -n Lingua-Stem-Ru-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -50,6 +45,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 08 2016 Petr Šabata <contyk@redhat.com> - 0.03-1
|
|
|
|
|
- 0.03 bump
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Petr Pisar <ppisar@redhat.com> - 0.02-1
|
|
|
|
|
- 0.02 bump
|
|
|
|
|
|
|
|
|
|