diff --git a/.gitignore b/.gitignore index e69de29..a87818c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Brew-0.02.tar.gz diff --git a/perl-Text-Brew.spec b/perl-Text-Brew.spec new file mode 100644 index 0000000..b5ae138 --- /dev/null +++ b/perl-Text-Brew.spec @@ -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 - 0.02-3 +- Take into account review comments (#1279650) + +* Mon Oct 19 2015 Emmanuel Seyman - 0.02-2 +- Clean up spec file + +* Sat Oct 17 2015 Adam Williamson - 0.02-1 +- initial package diff --git a/sources b/sources index e69de29..fcaf350 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +74c94ff117dd6959196036045b91edee Text-Brew-0.02.tar.gz