]> git.pld-linux.org Git - packages/perl-Lingua-Stem-Snowball-Se.git/blob - perl-Lingua-Stem-Snowball-Se.spec
use generic url
[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 %define         pdir    Lingua
6 %define         pnam    Snowball-Swedish
7 %include        /usr/lib/rpm/macros.perl
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 URL:            http://search.cpan.org/dist/Lingua-Snowball-Swedish/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The stem function takes a scalar as a parameter and stems the word
25 according to Martin Porter's Swedish stemming algorithm, which can be
26 found at the Snowball website: http://snowball.tartarus.org/.
27
28 %description -l pl.UTF-8
29 Funkcja określająca rdzenie słów pobiera skalarny parametr i korzysta
30 z algorytmu dla języka szwedzkiego autorstwa Martina Portera. Algorytm
31 ten można znaleźć na stronie Snowballa: 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-se.pl
56 %{perl_vendorlib}/Lingua/Stem/Snowball/*.pm
57 %{_mandir}/man3/*
This page took 0.059128 seconds and 3 git commands to generate.