# vim: set sw=4 ts=4 et nu: Name: perl-IPC-System-Simple Version: 1.21 Release: 0 Summary: Run commands simply, with detailed diagnostics Source: http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/IPC-System-Simple-%{version}.tar.gz URL: http://search.cpan.org/dist/IPC-System-Simple Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} Requires: perl = %{perl_version} BuildRequires: perl BuildRequires: make BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(Test) BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(File::Basename) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildRequires: perl(List::Util) BuildRequires: perl(Config) BuildRequires: perl(BSD::Resource) Requires: perl(Scalar::Util) Requires: perl(List::Util) Requires: perl(Config) Requires: perl(File::Basename) %description Calling Perl's in-built "system()" function is easy, determining if it was successful is *hard*. Let's face it, $? isn't the nicest variable in the world to play with, and even if you *do* check it, producing a well-formatted error string takes a lot of work. "IPC::System::Simple" takes the hard work out of calling external commands. %prep %setup -q -n "IPC-System-Simple-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %check %__make test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc Changes README %dir %{perl_vendorlib}/IPC %dir %{perl_vendorlib}/IPC/System %{perl_vendorlib}/IPC/System/Simple.pm %dir %{perl_vendorarch}/auto/IPC %dir %{perl_vendorarch}/auto/IPC/System %{perl_vendorarch}/auto/IPC/System/Simple %doc %{perl_man3dir}/IPC::System::Simple.%{perl_man3ext}%{ext_man} /var/adm/perl-modules/%{name}