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
|
|
|
#
|
2015-04-16 05:12:14 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-15 23:30:58 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-IPC-Run
|
2015-04-16 05:12:14 +00:00
|
|
|
Version: 0.94
|
2012-10-15 10:47:33 +00:00
|
|
|
Release: 0
|
2015-04-16 05:12:14 +00:00
|
|
|
%define cpan_name IPC-Run
|
|
|
|
Summary: System() and Background Procs W/ Piping, Redirs, Ptys (Unix, Win32)
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2012-02-20 12:29:40 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2015-04-16 05:12:14 +00:00
|
|
|
Url: http://search.cpan.org/dist/IPC-Run/
|
|
|
|
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2012-02-20 12:29:40 +00:00
|
|
|
Patch0: IPC-Run-0.89-path.diff
|
2015-04-16 05:12:14 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
|
|
Requires: perl(IO::Pty) >= 1.08
|
2015-04-16 05:12:14 +00:00
|
|
|
Recommends: perl(IO::Pty) >= 1.08
|
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
|
2015-04-16 05:12:14 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%patch0
|
|
|
|
# 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
|
2015-04-16 05:12:14 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-03-26 15:54:08 +00:00
|
|
|
|
|
|
|
%check
|
2015-04-16 05:12:14 +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
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes LICENSE README TODO
|
2007-01-15 23:30:58 +00:00
|
|
|
|
2007-06-05 23:12:51 +00:00
|
|
|
%changelog
|