Name: perl-System-Command Version: 1.06 Release: 1%{?dist} Summary: Object for running system commands License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/System-Command/ Source0: http://www.cpan.org/authors/id/B/BO/BOOK/System-Command-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Command) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description System::Command is a class that launches external system commands and return an object representing them, allowing to interact with them through their STDIN, STDOUT and STDERR handles. %prep %setup -q -n System-Command-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jan 13 2012 Iain Arnell 1.06-1 - Specfile autogenerated by cpanspec 1.78.