]> git.pld-linux.org Git - packages/perl-Lingua-Stem.git/blame - perl-Lingua-Stem.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Lingua-Stem.git] / perl-Lingua-Stem.spec
CommitLineData
a5454616
JB
1#
2# Conditional build:
621ba93e 3%bcond_without tests # do not perform "make test"
a5454616 4#
0e3eed34 5%define pdir Lingua
6%define pnam Stem
4acdde78 7Summary: Lingua::Stem Perl module - stemming of words
455a6747 8Summary(pl.UTF-8): Moduł Perla Lingua::Stem - określanie rdzeni słów
342e39fa 9Name: perl-Lingua-Stem
bf1d3995 10Version: 0.84
240c4d34 11Release: 1
cf088390 12# same as perl
13License: GPL v1+ or Artistic
05d4db33 14Group: Development/Languages/Perl
fa037605 15Source0: http://www.cpan.org/modules/by-module/Lingua/%{pdir}-%{pnam}-%{version}.tar.gz
bf1d3995 16# Source0-md5: a236b5d85ac49f84aad447c1383ad2de
fa037605 17URL: http://search.cpan.org/dist/Lingua-Stem/
621ba93e 18%if %{with tests}
a5454616
JB
19BuildRequires: perl-Lingua-GL-Stemmer
20BuildRequires: perl-Lingua-PT-Stemmer
6ed03d98 21BuildRequires: perl-Lingua-Stem-Fr >= 0.02
a5454616 22BuildRequires: perl-Lingua-Stem-It
6ed03d98
AG
23BuildRequires: perl-Lingua-Stem-Snowball-Da >= 1.01
24BuildRequires: perl-Lingua-Stem-Snowball-No >= 1.00
25BuildRequires: perl-Lingua-Stem-Snowball-Se >= 1.01
a5454616
JB
26BuildRequires: perl-Text-German
27%endif
4cc77447 28BuildRequires: perl-devel >= 1:5.8.0
3701101d 29BuildRequires: rpm-perlprov >= 4.1-13
05d4db33 30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34This routine applies stemming algorithms to its parameters, returning
35the stemmed words as appropriate to the selected locale.
36
ade8bdde
JR
37%description -l pl.UTF-8
38Ta funkcja wykonuje na swoich parametrach algorytmy określające
39rdzenie słów, zwracając rdzenie słów właściwe dla ustawionej
a5454616 40lokalizacji.
05d4db33 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
3701101d 46%{__perl} Makefile.PL \
7f5b4a28 47 INSTALLDIRS=vendor
05d4db33 48%{__make}
621ba93e 49
50%{?with_tests:%{__make} test}
05d4db33 51
52%install
53rm -rf $RPM_BUILD_ROOT
54
afbf3fbf 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
05d4db33 57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
fa037605
JB
63%{perl_vendorlib}/Lingua/*.pm
64%{perl_vendorlib}/Lingua/Stem/*.pm
05d4db33 65%{_mandir}/man3/*
This page took 0.070393 seconds and 4 git commands to generate.