2007-01-15 23:30:58 +00:00
|
|
|
#
|
2011-03-17 09:56:30 +00:00
|
|
|
# spec file for package perl-IPC-Run
|
2007-01-15 23:30:58 +00:00
|
|
|
#
|
2024-03-08 22:34:09 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:30:58 +00:00
|
|
|
#
|
2009-01-21 01:36:10 +00:00
|
|
|
# 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.
|
|
|
|
|
2020-05-07 12:51:56 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:30:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-08-24 08:56:22 +00:00
|
|
|
%define cpan_name IPC-Run
|
2007-01-15 23:30:58 +00:00
|
|
|
Name: perl-IPC-Run
|
2023-10-16 09:39:36 +00:00
|
|
|
Version: 20231003.0.0
|
2012-10-15 10:47:33 +00:00
|
|
|
Release: 0
|
2023-10-16 09:39:36 +00:00
|
|
|
%define cpan_version 20231003.0
|
2018-03-28 14:27:01 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-08-24 08:56:22 +00:00
|
|
|
Summary: System() and background procs w/ piping, redirs, ptys (Unix, Win32)
|
2020-05-07 12:51:56 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2023-10-16 09:39:36 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-16 05:12:14 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:14:52 +02:00
|
|
|
Source100: README.md
|
2018-04-04 10:20:17 +00:00
|
|
|
BuildArch: noarch
|
2010-10-19 08:46:22 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:39:08 +00:00
|
|
|
BuildRequires: perl-macros
|
2013-07-27 12:24:43 +00:00
|
|
|
BuildRequires: perl(IO::Pty) >= 1.08
|
2018-04-04 10:20:17 +00:00
|
|
|
BuildRequires: perl(Readonly::Array)
|
2013-07-27 12:24:43 +00:00
|
|
|
Requires: perl(IO::Pty) >= 1.08
|
2023-10-16 09:39:36 +00:00
|
|
|
Provides: perl(IPC::Run) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Debug) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::IO) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Timer) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Win32Helper) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Win32IO) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Win32Process) = 20231003.0.0
|
|
|
|
Provides: perl(IPC::Run::Win32Pump) = 20231003.0.0
|
2024-03-08 22:34:09 +00:00
|
|
|
%undefine __perllib_provides
|
2015-04-16 05:12:14 +00:00
|
|
|
Recommends: perl(IO::Pty) >= 1.08
|
2020-05-07 12:51:56 +00:00
|
|
|
Recommends: perl(Readonly)
|
2012-02-20 12:29:40 +00:00
|
|
|
%{perl_requires}
|
2015-04-16 05:12:14 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
BuildRequires: netcfg
|
|
|
|
# MANUAL END
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-16 05:12:14 +00:00
|
|
|
IPC::Run allows you to run and interact with child processes using files,
|
|
|
|
pipes, and pseudo-ttys. Both system()-style and scripted usages are
|
|
|
|
supported and may be mixed. Likewise, functional and OO API styles are both
|
|
|
|
supported and may be mixed.
|
|
|
|
|
|
|
|
Various redirection operators reminiscent of those seen on common Unix and
|
|
|
|
DOS command lines are provided.
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%prep
|
2023-10-16 09:39:36 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2015-04-16 05:12:14 +00:00
|
|
|
# MANUAL BEGIN
|
|
|
|
# run.t sometimes fails with "Resource temporarily unavailable"
|
|
|
|
mv t/run.t t/run.tt
|
|
|
|
# MANUAL END
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%build
|
2020-05-07 12:51:56 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2022-08-24 08:56:22 +00:00
|
|
|
%make_build
|
2010-03-26 15:54:08 +00:00
|
|
|
|
|
|
|
%check
|
2020-05-07 12:51:56 +00:00
|
|
|
make test
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-16 05:12:14 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:58 +00:00
|
|
|
|
2015-04-16 05:12:14 +00:00
|
|
|
%files -f %{name}.files
|
2020-05-07 12:51:56 +00:00
|
|
|
%doc Changelog README.md
|
2018-03-28 14:27:01 +00:00
|
|
|
%license LICENSE
|
2007-01-15 23:30:58 +00:00
|
|
|
|
2007-06-05 23:12:51 +00:00
|
|
|
%changelog
|