You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.1 KiB
75 lines
2.1 KiB
Name: perl-Text-Brew
|
|
Version: 0.02
|
|
Release: 7%{?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-interpreter
|
|
BuildRequires: perl-generators
|
|
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
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-7
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.02-5
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.02-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* 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
|