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

91 lines
3.1 KiB

15 years ago
Name: perl-Lingua-Stem
Version: 0.84
Release: 10%{?dist}
15 years ago
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
# Define POD encoding, CPAN RT#87242
Patch0: Lingua-Stem-0.84-Define-POD-encoding.patch
15 years ago
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}
%patch0 -p1
15 years ago
%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
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.84-9
- Perl 5.18 rebuild
- Define POD encoding (CPAN RT#87242)
12 years ago
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.84-6
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.84-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
14 years ago
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.84-4
- Perl mass rebuild
* 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
15 years ago
* Mon Aug 16 2010 Iain Arnell <iarnell@epo.org> 0.84-1
- Specfile autogenerated by cpanspec 1.78.