Репозиторий Sisyphus
Последнее обновление: 26 октября 2021 | Пакетов: 17374 | Посещений: 22159811
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-IPC-System-Simple

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(English.pm) perl(Fatal.pm) perl-devel perl-podlators
# END SourceDeps(oneline)
Name: perl-IPC-System-Simple
Version: 1.30
Release: alt1
License: GPL+ or Artistic
Group: Development/Perl
Summary: Run commands simply, with detailed diagnostics
URL: http://search.cpan.org/dist/IPC-System-Simple
Source0: http://www.cpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(BSD/Resource.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Config.pm)
BuildRequires: perl(constant.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(File/Basename.pm)
BuildRequires: perl(File/Spec.pm)
BuildRequires: perl(List/Util.pm)
BuildRequires: perl(Pod/Coverage/TrustPod.pm)
BuildRequires: perl(POSIX.pm)
BuildRequires: perl(re.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/NoWarnings.pm)
BuildRequires: perl(Test/Perl/Critic.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Pod/Coverage.pm)
BuildRequires: perl(warnings.pm)
Source44: import.info

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. In fact, if you
want to be really lazy, you can just write:

   use IPC::System::Simple qw(system);

and all of your "system" commands will either succeed (run to completion and
return a zero exit value), or die with rich diagnostic messages.

%setup -q -n IPC-System-Simple-%{version}

# Avoid doc-file dependencies

chmod -c -x examples/*.pl

perl Makefile.PL INSTALLMAN1DIR=%_man1dir INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
# %{_fixperms} %{buildroot}

%doc Changes README examples/ examples


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin