Import
This commit is contained in:
parent
83704e3455
commit
20c6000837
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Text-Soundex-3.04.tar.gz
|
||||
63
perl-Text-Soundex.spec
Normal file
63
perl-Text-Soundex.spec
Normal file
@ -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@redhat.com> - 3.04-1
|
||||
- 3.04 bump
|
||||
|
||||
* Wed Jan 30 2013 Petr Pisar <ppisar@redhat.com> 3.03-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user