Name: perl-Path-Class-File-Stat Version: 0.03 Release: 1%{?dist} Summary: Cache and compare stat() calls on a Path::Class::File object License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Path-Class-File-Stat/ Source0: http://www.cpan.org/authors/id/K/KA/KARMAN/Path-Class-File-Stat-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Path::Class) >= 0.15 Requires: perl(Path::Class) >= 0.15 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Path::Class::File::Stat is a simple extension of Path::Class::File. Path::Class::File::Stat is useful in long-running programs (as under mod_perl) where you might have a file handle opened and want to check if the underlying file has changed. %prep %setup -q -n Path-Class-File-Stat-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 -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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Feb 14 2011 Dave Cross 0.03-1 - Specfile autogenerated by cpanspec 1.78.