Name: perl-File-Path-Tiny
Version: 0.1
Release: 1%{?dist}
Summary: Recursive versions of mkdir() and rmdir() without as much overhead as File::Path
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Path-Tiny/
Source0: http://www.cpan.org/authors/id/D/DM/DMUEY/File-Path-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
The goal here is simply to provide recursive versions of mkdir() and
rmdir() with as little code and overhead as possible.
%prep
%setup -q -n File-Path-Tiny-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Nov 14 2010 Iain Arnell <iarnell@gmail.com> 0.1-1
- Specfile autogenerated by cpanspec 1.78.