]> git.pld-linux.org Git - packages/perl-Lingua-Stem.git/blame - perl-Lingua-Stem.spec
- new, stbr
[packages/perl-Lingua-Stem.git] / perl-Lingua-Stem.spec
CommitLineData
05d4db33 1%include /usr/lib/rpm/macros.perl
2%define pdir Lingua
3%define pnam Stem
4Summary: Lingua::Stem -- Stemming of words
5#Summary(pl):
6Name: perl-%{pdir}-%{pnam}
7Version: 0.50
8Release: 1
9License: GPL/Artistic
10Group: Development/Languages/Perl
11Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12BuildRequires: perl >= 5.6
13BuildRequires: rpm-perlprov >= 3.0.3-26
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18This routine applies stemming algorithms to its parameters, returning
19the stemmed words as appropriate to the selected locale.
20
21# %description -l pl
22# TODO
23
24%prep
25%setup -q -n %{pdir}-%{pnam}-%{version}
26
27%build
28perl Makefile.PL
29%{__make}
30%{!?_without_tests:%{__make} test}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35%{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
42%{perl_sitelib}/%{pdir}/*.pm
43%{perl_sitelib}/%{pdir}/%{pnam}
44%{_mandir}/man3/*
This page took 0.126597 seconds and 4 git commands to generate.