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