diff --git a/.perl-Text-Soundex.metadata b/.perl-Text-Soundex.metadata new file mode 100644 index 0000000..58f9668 --- /dev/null +++ b/.perl-Text-Soundex.metadata @@ -0,0 +1 @@ +6de55ea2a02d0aa3c04565dbf4b7cfa121d75492 SOURCES/Text-Soundex-3.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Text-Soundex.spec b/SPECS/perl-Text-Soundex.spec new file mode 100644 index 0000000..4e41a1d --- /dev/null +++ b/SPECS/perl-Text-Soundex.spec @@ -0,0 +1,66 @@ +Name: perl-Text-Soundex +Version: 3.04 +Release: 2%{?dist} +Summary: Implementation of the soundex algorithm +License: Copyright only +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: perl +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 +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Text* +%{_mandir}/man3/* + +%changelog +* 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.