|
|
34ac438 |
Name: perl-Text-Levenshtein
|
|
|
34ac438 |
Version: 0.05
|
|
|
089619a |
Release: 12%{?dist}
|
|
|
5e59e42 |
Summary: Implementation of the Levenshtein edit distance
|
|
|
8b3e1e6 |
License: GPL+ or Artistic
|
|
|
34ac438 |
Group: Development/Libraries
|
|
|
34ac438 |
URL: http://search.cpan.org/dist/Text-Levenshtein/
|
|
|
5e59e42 |
Source0: http://www.cpan.org/authors/id/J/JG/JGOLDBERG/Text-Levenshtein-%{version}.tar.gz
|
|
|
34ac438 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
34ac438 |
BuildArch: noarch
|
|
|
fdbcb3e |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
8b3e1e6 |
BuildRequires: perl(Test::More)
|
|
|
34ac438 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
34ac438 |
|
|
|
34ac438 |
%description
|
|
|
5e59e42 |
This module implements the Levenshtein edit distance. The Levenshtein edit
|
|
|
5e59e42 |
distance is a measure of the degree of proximity between two strings. This
|
|
|
5e59e42 |
distance is the number of substitutions, deletions or insertions ("edits")
|
|
|
5e59e42 |
needed to transform one string into the other one (and vice versa). When
|
|
|
5e59e42 |
two strings have distance 0, they are the same. A good point to start is:
|
|
|
5e59e42 |
<http://www.merriampark.com/ld.htm>
|
|
|
34ac438 |
|
|
|
34ac438 |
%prep
|
|
|
34ac438 |
%setup -q -n Text-Levenshtein-%{version}
|
|
|
34ac438 |
|
|
|
34ac438 |
%build
|
|
|
34ac438 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
34ac438 |
make %{?_smp_mflags}
|
|
|
34ac438 |
|
|
|
34ac438 |
%install
|
|
|
34ac438 |
rm -rf $RPM_BUILD_ROOT
|
|
|
34ac438 |
|
|
|
34ac438 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
34ac438 |
|
|
|
34ac438 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
5e59e42 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
34ac438 |
|
|
|
fdbcb3e |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
34ac438 |
|
|
|
34ac438 |
%check
|
|
|
34ac438 |
make test
|
|
|
34ac438 |
|
|
|
34ac438 |
%clean
|
|
|
34ac438 |
rm -rf $RPM_BUILD_ROOT
|
|
|
34ac438 |
|
|
|
34ac438 |
%files
|
|
|
34ac438 |
%defattr(-,root,root,-)
|
|
|
5e59e42 |
%doc Changes README
|
|
|
34ac438 |
%{perl_vendorlib}/*
|
|
|
34ac438 |
%{_mandir}/man3/*
|
|
|
34ac438 |
|
|
|
34ac438 |
%changelog
|
|
|
089619a |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-12
|
|
|
089619a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
089619a |
|
|
|
8b7920e |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-11
|
|
|
8b7920e |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
8b7920e |
|
|
|
bf73cc0 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-10
|
|
|
bf73cc0 |
- Mass rebuild with perl-5.12.0
|
|
|
bf73cc0 |
|
|
|
dbfc23c |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-9
|
|
|
dbfc23c |
- rebuild against perl 5.10.1
|
|
|
dbfc23c |
|
|
|
9fdc272 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
|
|
|
9fdc272 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9fdc272 |
|
|
|
fab8e05 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-7
|
|
|
fab8e05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fab8e05 |
|
|
|
81742f0 |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-6
|
|
|
81742f0 |
Rebuild for new perl
|
|
|
81742f0 |
|
|
|
8b3e1e6 |
* Wed Jan 02 2008 Ralf Cors├ępius <rc040203@freenet.de> 0.05-5
|
|
|
8b3e1e6 |
- Adjust License-tag.
|
|
|
8b3e1e6 |
- Add BR: perl(Test::More) (BZ 419631).
|
|
|
8b3e1e6 |
|
|
|
fdbcb3e |
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.05-4
|
|
|
fdbcb3e |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
fdbcb3e |
- BR ExtUtils::MakeMaker.
|
|
|
fdbcb3e |
|
|
|
5e59e42 |
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.05-3
|
|
|
5e59e42 |
- Improve Summary, description, and Source0 URL.
|
|
|
5e59e42 |
- Fix find option ordering.
|
|
|
5e59e42 |
- Don't generate license files.
|
|
|
5e59e42 |
|
|
|
34ac438 |
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 0.05-2
|
|
|
34ac438 |
- Remove core module Test::More dependency.
|
|
|
34ac438 |
|
|
|
34ac438 |
* Sat Aug 27 2005 Steven Pritchard <steve@kspei.com> 0.05-1
|
|
|
34ac438 |
- Specfile autogenerated.
|