commit 20c6000837deb34d81b5240c2ea63e5eb48f8173 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Mar 5 09:38:53 2013 +0100 Import .gitignore | 1 + perl-Text-Soundex.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a81f05f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Soundex-3.04.tar.gz diff --git a/perl-Text-Soundex.spec b/perl-Text-Soundex.spec new file mode 100644 index 0000000..ead78c4 --- /dev/null +++ b/perl-Text-Soundex.spec @@ -0,0 +1,63 @@ +Name: perl-Text-Soundex +Version: 3.04 +Release: 1%{?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.017') +BuildRequires: perl(deprecated) +%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.017') +Requires: perl(deprecated) +%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 +* Mon Mar 04 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 3.04-1 +- 3.04 bump + +* Wed Jan 30 2013 Petr Pisar <ppisar@xxxxxxxxxx> 3.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..6a01c6c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4630d47b42b92470df7b447984a71446 Text-Soundex-3.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel