2007-01-15 23:30:58 +00:00
|
|
|
#
|
2010-10-19 08:46:22 +00:00
|
|
|
# spec file for package perl-IPC-Run (Version 0.89)
|
2007-01-15 23:30:58 +00:00
|
|
|
#
|
2010-01-12 12:48:10 +00:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-21 01:36:10 +00:00
|
|
|
|
2007-01-15 23:30:58 +00:00
|
|
|
Name: perl-IPC-Run
|
2010-10-19 08:46:22 +00:00
|
|
|
Version: 0.89
|
2011-03-16 20:17:21 +00:00
|
|
|
Release: 5
|
2009-01-21 01:36:10 +00:00
|
|
|
AutoReqProv: on
|
2007-01-15 23:30:58 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2011-03-16 20:17:21 +00:00
|
|
|
License: GPL+ or Artistic
|
2009-01-21 01:36:10 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/IPC/
|
2007-01-15 23:30:58 +00:00
|
|
|
Summary: System() and Background Procs with Piping, Redirs, and PTYs
|
|
|
|
Source: IPC-Run-%{version}.tar.bz2
|
|
|
|
Patch: IPC-Run-%{version}-path.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:39:08 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 08:46:22 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:39:08 +00:00
|
|
|
BuildRequires: perl-macros
|
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.
|
|
|
|
|
|
|
|
Authors: Barrie Slaymaker <barries@slaysys.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Barrie Slaymaker <barries@slaysys.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n IPC-Run-%{version}
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 12:48:10 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-15 23:30:58 +00:00
|
|
|
#run.t sometimes fails with "Resource temporarily unavailable"
|
|
|
|
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
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%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
|