perl-Text-Soundex package init

This commit is contained in:
jeff200902 2020-06-20 09:22:10 +08:00
parent 6042eb28ee
commit 0ce7ef18d7
3 changed files with 56 additions and 0 deletions

BIN
Text-Soundex-3.05.tar.gz Normal file

Binary file not shown.

52
perl-Text-Soundex.spec Normal file
View File

@ -0,0 +1,52 @@
Name: perl-Text-Soundex
Version: 3.05
Release: 12
Summary: Implementation of the soundex algorithm
License: (Copyright only) and (GPL+ or Artistic)
URL: https://metacpan.org/release/Text-Soundex
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Text-Soundex-%{version}.tar.gz
BuildRequires: findutils gcc make perl-devel perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(deprecate)
BuildRequires: perl(Exporter) perl(if) perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp) perl(deprecate) perl(Text::Unidecode)
%description
Soundex is a phonetic algorithm that use sound to index names.The original
alorithum implementation of this module was realized by American Robert
Russell and Margaret Odell, as known as "American Soundex".
%package help
Summary: documentation for perl-Text-Soundex
Requires: perl-Text-Soundex = %{version}-%{release}
%description help
Documentation for user of perl-Test-Soundex
%prep
%autosetup -n Text-Soundex-%{version} -p1 -S git
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README LICENSE
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Text*
%exclude /*.bs
%files help
%{_mandir}/man3/*
%doc README LICENSE
%changelog
* Mon Apr 20 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.05-12
- Package init

4
perl-Text-Soundex.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: metacpan
src_repo: Text-Soundex
tag_prefix: "^v"
seperator: "."