]> git.pld-linux.org Git - packages/perl-Lingua-Stem-Fr.git/blame - perl-Lingua-Stem-Fr.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Lingua-Stem-Fr.git] / perl-Lingua-Stem-Fr.spec
CommitLineData
ecaeee87
AG
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
a94d31f8 4
ab576040 5%define pdir Lingua
6%define pnam Stem-Fr
ecaeee87 7Summary: Lingua::Stem::Fr - Porter's stemming algorithm for French
1e1f1016 8Summary(pl.UTF-8): Lingua::Stem::Fr - algorytm Portera określający rdzenie słów dla języka francuskiego
ecaeee87
AG
9Name: perl-Lingua-Stem-Fr
10Version: 0.02
be2c6a63 11Release: 3
ecaeee87
AG
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: b4ea5dd1d942b190160e9cbc73115b20
a94d31f8 17URL: http://search.cpan.org/dist/Lingua-Stem-Fr/
09546d3b 18BuildRequires: perl-devel >= 1:5.8.0
ecaeee87
AG
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module applies the Porter Stemming Algorithm to its parameters,
25returning the stemmed words.
26
27The algorithm is implemented exactly as described in:
28http://snowball.tartarus.org/italian/stemmer.html .
29
94270b70
JR
30%description -l pl.UTF-8
31Ten moduł stosuje do swoich parametrów algorytm Portera określający
32rdzenie słów, zwracając te rdzenie.
ecaeee87 33
94270b70 34Zaimplementowany został algorytm opisany na stronie:
ecaeee87
AG
35http://snowball.tartarus.org/italian/stemmer.html .
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%{perl_vendorlib}/Lingua/Stem/*.pm
59%{_mandir}/man3/*
This page took 0.251338 seconds and 4 git commands to generate.