]> git.pld-linux.org Git - packages/perl-Lingua-Stem-Snowball-Se.git/blob - perl-Lingua-Stem-Snowball-Se.spec
6a851f67a8033ec6bec7bab683d0c333fdb78ea8
[packages/perl-Lingua-Stem-Snowball-Se.git] / perl-Lingua-Stem-Snowball-Se.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Lingua
7 %define         pnam    Snowball-Swedish
8 Summary:        Lingua::Stem::Snowball::Se - Porter's stemming algorithm for Sweedish
9 Summary(pl.UTF-8):      Lingua::Stem::Snowball::Se - algorytm Portera określający rdzenie słów dla języka szwedzkiego
10 Name:           perl-Lingua-Stem-Snowball-Se
11 Version:        1.2
12 Release:        1
13 License:        GPL v2
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
16 # Source0-md5:  e2ed0f5c2a9fc7e500c61553c4c1e9c9
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 Swedish stemming algorithm, which can be
25 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 szwedzkiego autorstwa Martina Portera. Algorytm
30 ten można znaleźć na stronie Snowballa: http://snowball.tartarus.org/.
31
32 %prep
33 %setup -q -n %{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %attr(755,root,root) %{_bindir}/stemmer-se.pl
55 %{perl_vendorlib}/Lingua/Stem/Snowball/*.pm
56 %{_mandir}/man3/*
This page took 0.090658 seconds and 2 git commands to generate.