]> git.pld-linux.org Git - packages/perl-Lingua-PT-Stemmer.git/blob - perl-Lingua-PT-Stemmer.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Lingua-PT-Stemmer.git] / perl-Lingua-PT-Stemmer.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Lingua
6 %define         pnam    PT-Stemmer
7 Summary:        Lingua::PT::Stemmer - Portuguese language stemming
8 Summary(pl.UTF-8):      Lingua::PT::Stemmer - określanie rdzeni słów w języku portugalskim
9 Name:           perl-Lingua-PT-Stemmer
10 Version:        0.01
11 Release:        4
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  74523d7da59dabbf561fa5cf60f98d02
17 URL:            http://search.cpan.org/dist/Lingua-PT-Stemmer/
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 This module implements a Portuguese stemming algorithm proposed in the
25 paper "A Stemming Algorithm for the Portuguese Language" by V. Moreira
26 and C. Huyck.
27
28 %description -l pl.UTF-8
29 Ten moduł zawiera implementację algorytmu określania rdzeni słów dla
30 języka portugalskiego zaproponowany w artykule V. Moreira'y i C Huycka
31 "A Stemming Algorithm for the Portuguese Language" ("Algorytm
32 określania rdzeni słów dla języka portugalskiego").
33
34 %package -n perl-Lingua-GL-Stemmer
35 Summary:        Lingua::GL::Stemmer - Galician language stemmer
36 Summary(pl.UTF-8):      Lingua::GL::Stemmer - określanie rdzeni słów w języku galicyjskim
37 Group:          Development/Languages/Perl
38
39 %description -n perl-Lingua-GL-Stemmer
40 Galician is an endangered language spoken in northwest region of
41 Spain. Galician is morphologically similar to Portuguese but phonetics
42 differs greatly. Due to the morphological similarity between
43 Portuguese and Galician, Portuguese stemming algorithm can be adopted
44 to stem Galician texts.
45
46 %description -n perl-Lingua-GL-Stemmer -l pl.UTF-8
47 Język galicyjski jest ginącym językiem, którym mówi się w północnej
48 Hiszpanii. Język galicyjski jest morfologicznie podobny do
49 portugalskiego lecz bardzo różni się wymową. Ze względu na
50 podobieństwo morfologiczne pomiędzy potrugalskim a galicyjskim, można
51 stosować dla języka galicyjskiego ten sam algorytm określania rdzeni
52 słów, co dla języka portugalskiego.
53
54 %prep
55 %setup -q -n %{pdir}-%{pnam}-%{version}
56
57 %build
58 %{__perl} Makefile.PL \
59         INSTALLDIRS=vendor
60 %{__make}
61
62 %{?with_tests:%{__make} test}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc Changes README
76 %{perl_vendorlib}/Lingua/PT
77 %{_mandir}/man3/*PT*
78
79 %files -n perl-Lingua-GL-Stemmer
80 %defattr(644,root,root,755)
81 %{perl_vendorlib}/Lingua/GL
82 %{_mandir}/man3/*GL*
This page took 0.139266 seconds and 4 git commands to generate.