parent
037e285dfd
commit
50696ccdbe
@ -0,0 +1 @@
|
||||
/Text-Brew-0.02.tar.gz
|
@ -0,0 +1,61 @@
|
||||
Name: perl-Text-Brew
|
||||
Version: 0.02
|
||||
Release: 3%{?dist}
|
||||
Summary: Implementation of the Brew edit distance
|
||||
# License specified in README
|
||||
License: GPL+ or Artistic
|
||||
|
||||
URL: http://search.cpan.org/dist/Text-Brew/
|
||||
Source0: http://www.cpan.org/authors/id/K/KC/KCIVEY/Text-Brew-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
|
||||
Requires: perl(Carp)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
This module implements the Brew edit distance that is very close to the
|
||||
dynamic programming technique used for the Wagner-Fischer (and so for the
|
||||
Levenshtein) edit distance.
|
||||
|
||||
%prep
|
||||
%setup -q -n Text-Brew-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Text*
|
||||
%{_mandir}/man3/Text*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 10 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.02-3
|
||||
- Take into account review comments (#1279650)
|
||||
|
||||
* Mon Oct 19 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 0.02-2
|
||||
- Clean up spec file
|
||||
|
||||
* Sat Oct 17 2015 Adam Williamson <awilliam@redhat.com> - 0.02-1
|
||||
- initial package
|
Loading…
Reference in new issue