From aa05ca4e5cd50e2f457c95d978cd1aecbabe3b0a Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Dec 01 2006 16:38:40 +0000 Subject: auto-import perl-String-Approx-3.26-1.fc6 on branch devel from perl-String-Approx-3.26-1.fc6.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..747af55 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +String-Approx-3.26.tar.gz diff --git a/perl-String-Approx.spec b/perl-String-Approx.spec new file mode 100644 index 0000000..7b122e6 --- /dev/null +++ b/perl-String-Approx.spec @@ -0,0 +1,58 @@ +Name: perl-String-Approx +Version: 3.26 +Release: 1%{?dist} +Summary: Perl extension for approximate matching (fuzzy matching) +License: LGPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/String-Approx/ +Source0: http://www.cpan.org/authors/id/J/JH/JHI/String-Approx-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +String::Approx lets you match and substitute strings approximately. With +this you can emulate errors: typing errorrs, speling errors, closely +related vocabularies (colour color), genetic mutations (GAG ACT), +abbreviations (McScot, MacScot). + + +%prep +%setup -q -n String-Approx-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Artistic BUGS ChangeLog COPYRIGHT COPYRIGHT.agrep LGPL PROBLEMS README README.apse +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/String* +%{_mandir}/man3/* + + +%changelog +* Mon Nov 20 2006 Orion Poplawski 3.26-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..401cacb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fc14d72986431025125d4970dd6b7f88 String-Approx-3.26.tar.gz