56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
Name: perl-Text-Soundex
|
|
Version: 3.05
|
|
Release: 13
|
|
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
|
|
|
|
%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
|
|
* Wed Jun 09 2021 zhaoyao<zhaoyao32@huawei.com> - 3.05-13
|
|
- Remove redundant dependencies, Git is only for patching, user patches instead.
|
|
|
|
* Mon Apr 20 2020 Jeffery.Gao <gaojianxing@huawei.com> - 3.05-12
|
|
- Package init
|