1 %include /usr/lib/rpm/macros.perl
4 Summary: Lingua::Stem -- Stemming of words
6 Name: perl-%{pdir}-%{pnam}
10 Group: Development/Languages/Perl
11 Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: perl >= 5.6
13 BuildRequires: rpm-perlprov >= 3.0.3-26
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This routine applies stemming algorithms to its parameters, returning
19 the stemmed words as appropriate to the selected locale.
25 %setup -q -n %{pdir}-%{pnam}-%{version}
30 %{!?_without_tests:%{__make} test}
33 rm -rf $RPM_BUILD_ROOT
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %{perl_sitelib}/%{pdir}/*.pm
43 %{perl_sitelib}/%{pdir}/%{pnam}