Name: perl-File-Finder Version: 0.53 Release: 2%{?dist} Summary: Nice wrapper for File::Find ala find(1) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Finder/ Source0: http://search.cpan.org/CPAN/authors/id/M/ME/MERLYN/File-Finder-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Distribution) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Text::Glob) Requires: perl(Text::Glob) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::Find is great, but constructing the wanted routine can sometimes be a pain. This module provides a wanted-writer, using syntax that is directly mappable to the find command's syntax. %prep %setup -q -n File-Finder-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test TEST_VERBOSE=1 %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jan 18 2011 RĂ¼diger Landmann 0.53-2 - Correct BuildRequires - Change Source0 to point to author URL instead of by-module * Tue Jan 18 2011 RĂ¼diger Landmann 0.53-1 - Specfile autogenerated by cpanspec 1.78.