Package cleanup

f38
Petr Šabata 9 years ago
parent 1b1713b7d9
commit 711c4f8b07

@ -1,16 +1,25 @@
Name: perl-Lingua-Stem-Fr
Version: 0.02
Release: 16%{?dist}
Release: 17%{?dist}
Summary: Perl French Stemming
License: GPL+ or Artistic
Group: Development/Libraries
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
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
# Build
BuildRequires: coreutils
BuildRequires: glibc-common
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
This module use the a modified version of the Porter Stemming Algorithm to
@ -18,33 +27,30 @@ return a stemmed words.
%prep
%setup -q -n Lingua-Stem-Fr-%{version}
iconv -f iso-8859-1 -t utf-8 README >README.iconv
touch -r README README.iconv
mv -f README.iconv README
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
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}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save