Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-IPC-System-Options
perl-IPC-System-Options.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-IPC-System-Options.spec of Package perl-IPC-System-Options
# # spec file for package perl-IPC-System-Options # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name IPC-System-Options Name: perl-IPC-System-Options Version: 0.341 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Perl's system(), readpipe()/qx, IPC::Run's run(), start() (with more options) URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Capture::Tiny) BuildRequires: perl(File::Temp) >= 0.2307 BuildRequires: perl(IPC::Run) BuildRequires: perl(Log::ger::Format) >= 0.018 BuildRequires: perl(Log::ger::Format::MultilevelLog) BuildRequires: perl(Proc::ChildError) BuildRequires: perl(String::ShellQuote) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.98 Requires: perl(Capture::Tiny) Requires: perl(IPC::Run) Requires: perl(Log::ger::Format) >= 0.018 Requires: perl(Log::ger::Format::MultilevelLog) Requires: perl(Proc::ChildError) Requires: perl(String::ShellQuote) Recommends: perl(Log::ger) >= 0.038 %{perl_requires} %description This module provides replacement (wrapper) for Perl's 'system()', 'readpipe()' (qx//, a.k.a. the backtick operator), as well as IPC::Run's 'start()' and 'run()'. The wrappers give you options like forcing/avoiding use of shell (like what IPC::System::Simple offers you), logging the arguments and/or output (using Log::ger), temporarily setting environment variables, temporarily setting working directory, dying on non-zero exit code, capturing (or tee-ing) output (stdout/stderr) (using Capture::Tiny), and a few others. They are meant as a convenience so you can just call 'system()' (or the other wrapper target) instead of doing some additional setup and cleanup yourself. %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor