|
|
b0aa0a |
Name: perl-String-Similarity
|
|
|
b0aa0a |
Version: 1.04
|
|
|
3364f7 |
Release: 10%{?dist}
|
|
|
b0aa0a |
Summary: Calculates the similarity of two strings
|
|
|
b0aa0a |
License: GPLv2+
|
|
|
b0aa0a |
Group: Development/Libraries
|
|
|
b0aa0a |
URL: http://search.cpan.org/dist/String-Similarity/
|
|
|
b0aa0a |
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/String-Similarity-%{version}.tar.gz
|
|
|
b0aa0a |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
b0aa0a |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%{?perl_default_filter}
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%description
|
|
|
b0aa0a |
The similarity function calculates the similarity index of its two arguments.
|
|
|
b0aa0a |
A value of 0 means that the strings are entirely different. A value of 1
|
|
|
b0aa0a |
means that the strings are identical. Everything else lies between 0 and 1
|
|
|
b0aa0a |
and describes the amount of similarity between the strings.
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%prep
|
|
|
b0aa0a |
%setup -q -n String-Similarity-%{version}
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%build
|
|
|
b0aa0a |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
b0aa0a |
make %{?_smp_mflags}
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%install
|
|
|
b0aa0a |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
b0aa0a |
|
|
|
b0aa0a |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
b0aa0a |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
b0aa0a |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%check
|
|
|
b0aa0a |
make test
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%files
|
|
|
b0aa0a |
%defattr(-,root,root,-)
|
|
|
b0aa0a |
%doc Changes COPYING README
|
|
|
b0aa0a |
%{perl_vendorarch}/auto/*
|
|
|
b0aa0a |
%{perl_vendorarch}/String*
|
|
|
b0aa0a |
%{_mandir}/man3/*
|
|
|
b0aa0a |
|
|
|
b0aa0a |
%changelog
|
|
|
3364f7 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.04-10
|
|
|
3364f7 |
- Mass rebuild 2014-01-24
|
|
|
3364f7 |
|
|
|
3364f7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.04-9
|
|
|
3364f7 |
- Mass rebuild 2013-12-27
|
|
|
3364f7 |
|
|
|
b0aa0a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8
|
|
|
b0aa0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7
|
|
|
b0aa0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1.04-6
|
|
|
b0aa0a |
- Perl 5.16 rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5
|
|
|
b0aa0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Thu Jun 09 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-4
|
|
|
b0aa0a |
- Perl 5.14 mass rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3
|
|
|
b0aa0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Wed Jan 19 2011 Rüdiger Landmann <r.landmann@redhat.com> 1.04-2
|
|
|
b0aa0a |
- Correct license
|
|
|
b0aa0a |
- remove unnecessary cleaning of build root from spec file
|
|
|
b0aa0a |
|
|
|
b0aa0a |
* Mon Jan 17 2011 Rüdiger Landmann <r.landmann@redhat.com> 1.04-1
|
|
|
b0aa0a |
- Specfile autogenerated by cpanspec 1.78.
|