]> git.pld-linux.org Git - packages/perl-Lingua-Stem.git/blobdiff - perl-Lingua-Stem.spec
- up to 0.60, BRs for tests, cosmetics (from RA-branch), release 2
[packages/perl-Lingua-Stem.git] / perl-Lingua-Stem.spec
index b1bb068e21b1514bc9fcea4273b5e820e673c5c5..66f3dc5747598739942c9d3dd24622a450562981 100644 (file)
@@ -1,16 +1,30 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Lingua
 %define        pnam    Stem
-Summary:       Lingua::Stem -- Stemming of words
-#Summary(pl):  
+Summary:       Lingua::Stem - stemming of words
+Summary(pl):   Modu³ Perla Lingua::Stem - okre¶laj±cy rdzenie s³ów
 Name:          perl-%{pdir}-%{pnam}
-Version:       0.50
-Release:       1
-License:       GPL/Artistic
+Version:       0.60
+Release:       2
+License:       GPL or Artistic
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-26
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9fa4e866ff0b20db50b82ac7c984cfca
+%if 0%{!?_without_tests:1}
+BuildRequires: perl-Lingua-GL-Stemmer
+BuildRequires: perl-Lingua-PT-Stemmer
+BuildRequires: perl-Lingua-Stem-It
+BuildRequires: perl-Lingua-Stem-Snowball-Da
+BuildRequires: perl-Lingua-Stem-Snowball-No
+BuildRequires: perl-Lingua-Stem-Snowball-Se
+BuildRequires: perl-Text-German
+%endif
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -18,14 +32,17 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 This routine applies stemming algorithms to its parameters, returning
 the stemmed words as appropriate to the selected locale.
 
-# %description -l pl
-# TODO
+%description -l pl
+Ta funkcja wykonuje na swoich parametrach algorytmy okre¶laj±ce
+rdzenie s³ów, zwracaj±c rdzenie s³ów w³a¶ciwe dla ustawionej
+lokalizacji.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor 
 %{__make}
 %{!?_without_tests:%{__make} test}
 
@@ -39,6 +56,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{perl_sitelib}/%{pdir}/*.pm
-%{perl_sitelib}/%{pdir}/%{pnam}
+%{perl_vendorlib}/%{pdir}/*.pm
+%{perl_vendorlib}/%{pdir}/%{pnam}/*.pm
 %{_mandir}/man3/*
This page took 0.081761 seconds and 4 git commands to generate.