|
|
@ -9,8 +9,8 @@ BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(bytes)
|
|
|
|
BuildRequires: perl(bytes)
|
|
|
@ -32,11 +32,11 @@ at the Snowball website: http://snowball.tartarus.org/.
|
|
|
|
mv stemmer.pl stemmer-da
|
|
|
|
mv stemmer.pl stemmer-da
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
install -D -m 0755 stemmer-da %{buildroot}/%{_bindir}/stemmer-da
|
|
|
|
install -D -m 0755 stemmer-da %{buildroot}/%{_bindir}/stemmer-da
|
|
|
|
|
|
|
|
|
|
|
|