Name: perl-Path-Class Version: 0.37 Release: 1%{?dist} Summary: Cross-platform path specification manipulation License: GPL+ or Artistic Group: Development/Libraries Vendor: bww bitwise works GmbH URL: http://search.cpan.org/dist/Path-Class/ Source0: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: make #BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Module::Build) > 0.36 # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) >= 3.26 BuildRequires: perl(File::stat) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Dir) BuildRequires: perl(IO::File) BuildRequires: perl(overload) BuildRequires: perl(parent) BuildRequires: perl(Perl::OSType) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) # Test Suite BuildRequires: perl(Test) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(warnings) # Author Tests #%if !%{defined perl_bootstrap} #BuildRequires: perl(English) # Cycle: perl-Path-Class → perl-Test-Perl-Critic → perl-Perl-Critic → # perl-Pod-Spell → perl-File-ShareDir-ProjectDistDir → perl-Path-Class #BuildRequires: perl(Test::Perl::Critic) #%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(File::Copy) Requires: perl(Perl::OSType) %description Path::Class is a module for manipulation of file and directory specifications (strings describing their locations, like '/home/ken/foo.txt' or 'C:\Windows\Foo.txt') in a cross-platform manner. It supports pretty much every platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2, and NetWare. %prep %setup -q -n Path-Class-%{version} %build perl Build.PL --installdirs=vendor ./Build %install ./Build install --destdir=%{buildroot} --create_packlist=0 %{_fixperms} %{buildroot} %check #AUTHOR_TESTING=1 ./Build test %files %if 0%{?_licensedir:1} %license LICENSE %else %doc LICENSE %endif %doc Changes README %{perl_vendorlib}/Path/ #%{_mandir}/man3/Path::Class.3* #%{_mandir}/man3/Path::Class::Dir.3* #%{_mandir}/man3/Path::Class::Entity.3* %{_mandir}/man3/*.3* %changelog * Thu Mar 08 2018 Elbert Pol - 0.37-1 - initial rpm for OS2