]> git.pld-linux.org Git - packages/perl-Lingua-Stem.git/blob - perl-Lingua-Stem.spec
- use the __perl macro
[packages/perl-Lingua-Stem.git] / perl-Lingua-Stem.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Lingua
3 %define pnam    Stem
4 Summary:        Lingua::Stem -- Stemming of words
5 Summary(pl):    Modu³ Perla Lingua::Stem - okre¶laj±cy temat s³ów
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.50
8 Release:        2
9 License:        GPL/Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl >= 5.6
13 BuildRequires:  rpm-perlprov >= 3.0.3-26
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This routine applies stemming algorithms to its parameters, returning
19 the stemmed words as appropriate to the selected locale.
20
21 %description -l pl
22 Ta funkcja wykonuje na swoich parametrach algorytmy okre¶laj±ce temat
23 s³owa, zwracaj±c tematy s³ów w³a¶ciwe dla ustawionej lokalizacji.
24
25 %prep
26 %setup -q -n %{pdir}-%{pnam}-%{version}
27
28 %build
29 %{__perl} Makefile.PL
30 %{__make}
31 %{!?_without_tests:%{__make} test}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %{perl_sitelib}/%{pdir}/*.pm
44 %{perl_sitelib}/%{pdir}/%{pnam}
45 %{_mandir}/man3/*
This page took 0.051711 seconds and 4 git commands to generate.