You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Lingua-Stem/perl-Lingua-Stem.spec

66 lines
2.1 KiB

Name: perl-Lingua-Stem
Version: 0.84
Release: 3%{?dist}
Summary: Stemming of words
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Lingua-Stem/
Source0: http://www.cpan.org/authors/id/S/SN/SNOWHARE/Lingua-Stem-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Lingua::GL::Stemmer)
BuildRequires: perl(Lingua::PT::Stemmer)
BuildRequires: perl(Lingua::Stem::Fr) >= 0.02
BuildRequires: perl(Lingua::Stem::It)
BuildRequires: perl(Lingua::Stem::Ru)
BuildRequires: perl(Lingua::Stem::Snowball::Da) >= 1.01
BuildRequires: perl(Lingua::Stem::Snowball::No) >= 1.00
BuildRequires: perl(Lingua::Stem::Snowball::Se) >= 1.01
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Distribution)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Text::German)
Requires: perl(Lingua::Stem::Fr)
Requires: perl(Lingua::Stem::It)
Requires: perl(Lingua::Stem::Ru)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This routine applies stemming algorithms to its parameters, returning the
stemmed words as appropriate to the selected locale.
%prep
%setup -q -n Lingua-Stem-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
TEST_POD_COVERAGE=1 ./Build test
%files
%defattr(-,root,root,-)
%doc Artistic_License.txt Changes GPL_License.txt LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.84-2
- 661697 rebuild for fixing problems with vendorach/lib
* Mon Aug 16 2010 Iain Arnell <iarnell@epo.org> 0.84-1
- Specfile autogenerated by cpanspec 1.78.