]> git.pld-linux.org Git - SPECS.git/blob - perl-Lingua-Stem-Snowball-No.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Lingua-Stem-Snowball-No.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Lingua
6 %define         pnam    Snowball-Norwegian
7 Summary:        Lingua::Stem::Snowball::No - Porter's stemming algorithm for Norwegian
8 Summary(pl.UTF-8):      Lingua::Stem::Snowball::No - algorytm Portera określający rdzenie słów dla języka norweskiego
9 Name:           perl-Lingua-Stem-Snowball-No
10 Version:        1.2
11 Release:        1
12 License:        GPL v2
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  24197e600ea4d9b5bb5ca9c175f14676
16 URL:            http://search.cpan.org/dist/Lingua-Snowball-Norwegian/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The stem function takes a scalar as a parameter and stems the word
24 according to Martin Porter's Norwegian stemming algorithm, which can
25 be found at the Snowball website: <http://snowball.tartarus.org/>.
26
27 %description -l pl.UTF-8
28 Funkcja określająca rdzenie słów pobiera skalarny parametr i korzysta
29 z algorytmu dla języka norweskiego autorstwa Martina Portera. Algorytm
30 ten można znaleźć na stronie Snowballa:
31 <http://snowball.tartarus.org/>.
32
33 %prep
34 %setup -q -n %{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README
55 %attr(755,root,root) %{_bindir}/stemmer-no.pl
56 %{perl_vendorlib}/Lingua/Stem/Snowball/*.pm
57 %{_mandir}/man3/*
This page took 3.420875 seconds and 3 git commands to generate.