Name: perl-Symbol-Approx-Sub Version: 2.07 Release: 1%{?dist} Summary: Perl module for calling subroutines by approximate names! License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Symbol-Approx-Sub/ Source0: http://www.cpan.org/authors/id/D/DA/DAVECROSS/Symbol-Approx-Sub-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Devel::Symdump) BuildRequires: perl(Module::Build) BuildRequires: perl(String::Approx) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Metaphone) Requires: perl(Devel::Symdump) Requires: perl(String::Approx) Requires: perl(Text::Metaphone) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This is _really_ stupid. This module allows you to call subroutines by _approximate_ names. Why you would ever want to do this is a complete mystery to me. It was written as an experiment to see how well I understood typeglobs and AUTOLOADing. %prep %setup -q -n Symbol-Approx-Sub-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes COPYING README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Nov 14 2011 Dave Cross 2.07-1 - Specfile autogenerated by cpanspec 1.78.