diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8eb2395 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Text-Soundex-3.05.tar.gz diff --git a/.perl-Text-Soundex.metadata b/.perl-Text-Soundex.metadata new file mode 100644 index 0000000..50dbd43 --- /dev/null +++ b/.perl-Text-Soundex.metadata @@ -0,0 +1 @@ +aa846efe4da6f84dc33088f186b7984271334f5e SOURCES/Text-Soundex-3.05.tar.gz diff --git a/SPECS/perl-Text-Soundex.spec b/SPECS/perl-Text-Soundex.spec new file mode 100644 index 0000000..64fca0c --- /dev/null +++ b/SPECS/perl-Text-Soundex.spec @@ -0,0 +1,122 @@ +Name: perl-Text-Soundex +Version: 3.05 +Release: 8%{?dist} +Summary: Implementation of the soundex algorithm +# The original license was (Copyright only). Since 3.05 somebody (RJBS?) +# added Perl license but kept the original license text. +License: (Copyright only) and (GPL+ or Artistic) +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-Soundex/ +Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Text-Soundex-%{version}.tar.gz +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-devel +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +# Run-time: +# Carp not needed for tests +%if 0%(perl -e 'print $] > 5.016') +BuildRequires: perl(deprecate) +%endif +BuildRequires: perl(Exporter) +BuildRequires: perl(if) +# Text::Unidecode not needed for tests +BuildRequires: perl(XSLoader) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +%if 0%(perl -e 'print $] > 5.016') +Requires: perl(deprecate) +%endif +Requires: perl(Text::Unidecode) + +%{?perl_default_filter} + +%description +Soundex is a phonetic algorithm for indexing names by sound, as pronounced in +English. This module implements the original soundex algorithm developed by +Robert Russell and Margaret Odell, as well as a variation called "American +Soundex". + +%prep +%setup -q -n Text-Soundex-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$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 {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Text* +%{_mandir}/man3/* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 3.05-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 3.05-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.05-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 3.05-5 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.05-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 3.05-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3.05-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Nov 11 2015 Petr Pisar - 3.05-1 +- 3.05 bump (license changed to ((Copyright only) and (GPL+ or Artistic))) + +* Thu Jun 18 2015 Fedora Release Engineering - 3.04-296 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 3.04-295 +- Perl 5.22 rebuild + +* Tue Aug 26 2014 Jitka Plesnikova - 3.04-294 +- Perl 5.20 rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 3.04-293 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.04-292 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 3.04-291 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 15 2013 Petr Pisar - 3.04-290 +- Increase release to favour standalone package + +* Fri Jul 12 2013 Petr Pisar - 3.04-3 +- Perl 5.18 rebuild + +* Tue May 28 2013 Petr Pisar - 3.04-2 +- Correct typo in dependencies + +* Mon Mar 04 2013 Petr Pisar - 3.04-1 +- 3.04 bump + +* Wed Jan 30 2013 Petr Pisar 3.03-1 +- Specfile autogenerated by cpanspec 1.78.