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