3 %bcond_without tests # do not perform "make test"
7 Summary: Lingua::Stem Perl module - stemming of words
8 Summary(pl.UTF-8): Moduł Perla Lingua::Stem - określanie rdzeni słów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Lingua/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: a236b5d85ac49f84aad447c1383ad2de
17 URL: http://search.cpan.org/dist/Lingua-Stem/
19 BuildRequires: perl-Lingua-GL-Stemmer
20 BuildRequires: perl-Lingua-PT-Stemmer
21 BuildRequires: perl-Lingua-Stem-Fr >= 0.02
22 BuildRequires: perl-Lingua-Stem-It
23 BuildRequires: perl-Lingua-Stem-Snowball-Da >= 1.01
24 BuildRequires: perl-Lingua-Stem-Snowball-No >= 1.00
25 BuildRequires: perl-Lingua-Stem-Snowball-Se >= 1.01
26 BuildRequires: perl-Text-German
28 BuildRequires: perl-devel >= 1:5.8.0
29 BuildRequires: rpm-perlprov >= 4.1-13
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 This routine applies stemming algorithms to its parameters, returning
35 the stemmed words as appropriate to the selected locale.
37 %description -l pl.UTF-8
38 Ta funkcja wykonuje na swoich parametrach algorytmy określające
39 rdzenie słów, zwracając rdzenie słów właściwe dla ustawionej
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %{perl_vendorlib}/Lingua/*.pm
64 %{perl_vendorlib}/Lingua/Stem/*.pm