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