|
|
@ -1,16 +1,25 @@
|
|
|
|
Name: perl-Lingua-Stem-Fr
|
|
|
|
Name: perl-Lingua-Stem-Fr
|
|
|
|
Version: 0.02
|
|
|
|
Version: 0.02
|
|
|
|
Release: 16%{?dist}
|
|
|
|
Release: 17%{?dist}
|
|
|
|
Summary: Perl French Stemming
|
|
|
|
Summary: Perl French Stemming
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
URL: http://search.cpan.org/dist/Lingua-Stem-Fr/
|
|
|
|
URL: http://search.cpan.org/dist/Lingua-Stem-Fr/
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SD/SDP/Lingua-Stem-Fr-%{version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SD/SDP/Lingua-Stem-Fr-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Build
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: glibc-common
|
|
|
|
%{?perl_default_filter}
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
# Runtime
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Tests only
|
|
|
|
|
|
|
|
# -
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module use the a modified version of the Porter Stemming Algorithm to
|
|
|
|
This module use the a modified version of the Porter Stemming Algorithm to
|
|
|
@ -18,33 +27,30 @@ return a stemmed words.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Lingua-Stem-Fr-%{version}
|
|
|
|
%setup -q -n Lingua-Stem-Fr-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
iconv -f iso-8859-1 -t utf-8 README >README.iconv
|
|
|
|
iconv -f iso-8859-1 -t utf-8 README >README.iconv
|
|
|
|
touch -r README README.iconv
|
|
|
|
touch -r README README.iconv
|
|
|
|
mv -f README.iconv README
|
|
|
|
mv -f README.iconv README
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc README
|
|
|
|
%doc README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 18 2016 Petr Šabata <contyk@redhat.com> - 0.02-17
|
|
|
|
|
|
|
|
- Package cleanup
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-16
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|