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