diff --git a/Text-Soundex-3.05.tar.gz b/Text-Soundex-3.05.tar.gz new file mode 100644 index 0000000..d6be2d9 Binary files /dev/null and b/Text-Soundex-3.05.tar.gz differ diff --git a/perl-Text-Soundex.spec b/perl-Text-Soundex.spec new file mode 100644 index 0000000..6885e1f --- /dev/null +++ b/perl-Text-Soundex.spec @@ -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 - 3.05-12 +- Package init diff --git a/perl-Text-Soundex.yaml b/perl-Text-Soundex.yaml new file mode 100644 index 0000000..68d094a --- /dev/null +++ b/perl-Text-Soundex.yaml @@ -0,0 +1,4 @@ +version-control: metacpan +src_repo: Text-Soundex +tag_prefix: "^v" +seperator: "."