Blame SPECS/perl-Text-Soundex.spec

bf370e
Name:           perl-Text-Soundex
bf370e
Version:        3.04
f3d771
Release:        4%{?dist}
bf370e
Summary:        Implementation of the soundex algorithm
bf370e
License:        Copyright only
bf370e
Group:          Development/Libraries
bf370e
URL:            http://search.cpan.org/dist/Text-Soundex/
bf370e
Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Text-Soundex-%{version}.tar.gz
bf370e
BuildRequires:  perl
bf370e
BuildRequires:  perl(ExtUtils::MakeMaker)
bf370e
BuildRequires:  perl(strict)
bf370e
# Run-time:
bf370e
# Carp not needed for tests
bf370e
%if 0%(perl -e 'print $] > 5.016')
bf370e
BuildRequires:  perl(deprecate)
bf370e
%endif
bf370e
BuildRequires:  perl(Exporter)
bf370e
BuildRequires:  perl(if)
bf370e
# Text::Unidecode not needed for tests
bf370e
BuildRequires:  perl(XSLoader)
bf370e
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
bf370e
Requires:       perl(Carp)
bf370e
%if 0%(perl -e 'print $] > 5.016')
bf370e
Requires:       perl(deprecate)
bf370e
%endif
bf370e
Requires:       perl(Text::Unidecode)
bf370e
bf370e
%{?perl_default_filter}
bf370e
bf370e
%description
bf370e
Soundex is a phonetic algorithm for indexing names by sound, as pronounced in
bf370e
English. This module implements the original soundex algorithm developed by
bf370e
Robert Russell and Margaret Odell, as well as a variation called "American
bf370e
Soundex".
bf370e
bf370e
%prep
bf370e
%setup -q -n Text-Soundex-%{version}
bf370e
bf370e
%build
bf370e
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
bf370e
make %{?_smp_mflags}
bf370e
bf370e
%install
bf370e
make pure_install DESTDIR=$RPM_BUILD_ROOT
bf370e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
bf370e
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
bf370e
%{_fixperms} $RPM_BUILD_ROOT/*
bf370e
bf370e
%check
bf370e
make test
bf370e
bf370e
%files
bf370e
%doc Changes README
bf370e
%{perl_vendorarch}/auto/*
bf370e
%{perl_vendorarch}/Text*
bf370e
%{_mandir}/man3/*
bf370e
bf370e
%changelog
f3d771
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.04-4
f3d771
- Mass rebuild 2014-01-24
f3d771
f3d771
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.04-3
f3d771
- Mass rebuild 2013-12-27
f3d771
bf370e
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 3.04-2
bf370e
- Correct typo in dependencies
bf370e
bf370e
* Mon Mar 04 2013 Petr Pisar <ppisar@redhat.com> - 3.04-1
bf370e
- 3.04 bump
bf370e
bf370e
* Wed Jan 30 2013 Petr Pisar <ppisar@redhat.com> 3.03-1
bf370e
- Specfile autogenerated by cpanspec 1.78.