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
|
|
|
#
|
2013-07-27 12:24:43 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products 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
|
2013-07-27 12:24:43 +00:00
|
|
|
Version: 0.92
|
2012-10-15 10:47:33 +00:00
|
|
|
Release: 0
|
2007-01-15 23:30:58 +00:00
|
|
|
Summary: System() and Background Procs with Piping, Redirs, and PTYs
|
2012-10-15 10:47:33 +00:00
|
|
|
License: GPL-1.0+ or Artistic-1.0
|
2012-02-20 12:29:40 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-10-15 10:47:33 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/IPC/
|
2011-07-11 14:50:32 +00:00
|
|
|
Source: IPC-Run-%{version}.tar.gz
|
2013-07-27 12:24:43 +00:00
|
|
|
# PATCH-FIX-OPENSUSE -- Fix intepreter
|
2012-02-20 12:29:40 +00:00
|
|
|
Patch0: IPC-Run-0.89-path.diff
|
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
|
2012-10-15 10:47:33 +00:00
|
|
|
# MANUAL
|
|
|
|
BuildRequires: netcfg
|
2012-02-20 12:29:40 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%{perl_requires}
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
IPC::Run allows you run and interact with child processes using files,
|
|
|
|
pipes, and pseudo-ttys. Both system()-style and scripted usages are
|
2010-03-26 15:54:08 +00:00
|
|
|
supported and may be mixed. Like-wise, functional and OO API styles are
|
2007-01-15 23:30:58 +00:00
|
|
|
both supported and may be mixed.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n IPC-Run-%{version}
|
2012-02-20 12:29:40 +00:00
|
|
|
%patch0
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 12:48:10 +00:00
|
|
|
make %{?_smp_mflags}
|
2012-02-20 12:29:40 +00:00
|
|
|
#run.t sometimes fails with "Resource temporarily unavailable"
|
2007-01-15 23:30:58 +00:00
|
|
|
mv t/run.t t/run.tt
|
2010-03-26 15:54:08 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:58 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
chmod 644 Changes
|
|
|
|
|
|
|
|
%clean
|
2012-02-20 12:29:40 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-01-15 23:30:58 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes eg abuse
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/IPC
|
|
|
|
%{perl_vendorarch}/auto/IPC
|
|
|
|
|
2007-06-05 23:12:51 +00:00
|
|
|
%changelog
|