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): Modu³ Perla Lingua::Stem - okre¶lanie rdzeni s³ów
10 Name: perl-%{pdir}-%{pnam}
13 License: GPL or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: ca99b08aa82fcbcd749d4903b205fcec
18 BuildRequires: perl-Lingua-GL-Stemmer
19 BuildRequires: perl-Lingua-PT-Stemmer
20 BuildRequires: perl-Lingua-Stem-It
21 BuildRequires: perl-Lingua-Stem-Snowball-Da
22 BuildRequires: perl-Lingua-Stem-Snowball-No
23 BuildRequires: perl-Lingua-Stem-Snowball-Se
24 BuildRequires: perl-Text-German
26 BuildRequires: perl-devel >= 5.6
27 BuildRequires: rpm-perlprov >= 4.1-13
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This routine applies stemming algorithms to its parameters, returning
33 the stemmed words as appropriate to the selected locale.
36 Ta funkcja wykonuje na swoich parametrach algorytmy okre¶laj±ce
37 rdzenie s³ów, zwracaj±c rdzenie s³ów w³a¶ciwe dla ustawionej
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %{perl_vendorlib}/%{pdir}/*.pm
61 %{perl_vendorlib}/%{pdir}/%{pnam}/*.pm