a90fbf
Name:           perl-File-Path
a90fbf
Version:        2.09
e51def
Release:        2%{?dist}
a90fbf
Summary:        Create or remove directory trees
a90fbf
License:        GPL+ or Artistic
a90fbf
Group:          Development/Libraries
a90fbf
URL:            http://search.cpan.org/dist/File-Path/
a90fbf
Source0:        http://www.cpan.org/authors/id/D/DL/DLAND/File-Path-%{version}.tar.gz
a90fbf
BuildArch:      noarch
a90fbf
BuildRequires:  perl
a90fbf
BuildRequires:  perl(ExtUtils::MakeMaker)
a90fbf
BuildRequires:  perl(strict)
a90fbf
# ExtUtils::MakeMaker::Coverage not needed
a90fbf
# Run-time:
a90fbf
BuildRequires:  perl(Carp)
a90fbf
BuildRequires:  perl(Cwd)
a90fbf
BuildRequires:  perl(Exporter)
a90fbf
BuildRequires:  perl(File::Basename)
a90fbf
BuildRequires:  perl(File::Spec)
a90fbf
# Symbol not used
a90fbf
BuildRequires:  perl(vars)
a90fbf
# Tests:
a90fbf
BuildRequires:  perl(Config)
a90fbf
BuildRequires:  perl(File::Spec::Functions)
a90fbf
BuildRequires:  perl(Test::More)
a90fbf
%if !%{defined perl_bootstrap}
a90fbf
# Optional tests:
a90fbf
BuildRequires:  perl(Test::Output)
a90fbf
%endif
a90fbf
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a90fbf
Requires:       perl(Carp)
a90fbf
a90fbf
%description
a90fbf
This module provides a convenient way to create directories of arbitrary
a90fbf
depth and to delete an entire directory subtree from the file system.
a90fbf
a90fbf
%prep
a90fbf
%setup -q -n File-Path-%{version}
a90fbf
a90fbf
%build
a90fbf
perl Makefile.PL INSTALLDIRS=vendor
a90fbf
make %{?_smp_mflags}
a90fbf
a90fbf
%install
a90fbf
make pure_install DESTDIR=$RPM_BUILD_ROOT
a90fbf
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
a90fbf
%{_fixperms} $RPM_BUILD_ROOT/*
a90fbf
a90fbf
%check
a90fbf
make test
a90fbf
a90fbf
%files
a90fbf
%doc Changes README TODO
a90fbf
%{perl_vendorlib}/*
a90fbf
%{_mandir}/man3/*
a90fbf
a90fbf
%changelog
e51def
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.09-2
e51def
- Mass rebuild 2013-12-27
e51def
a90fbf
* Fri Mar 22 2013 Petr Pisar <ppisar@redhat.com> 2.09-1
a90fbf
- Specfile autogenerated by cpanspec 1.78.