8
0
forked from pool/perl-IPC-Run
Files
perl-IPC-Run/perl-IPC-Run.spec
Anna Maresova 2ca88f151c - update to 0.89
* Revert extended tests to require "oslo consensus" variables
  * Add IO::Pty to META.yml requirement
  * Missed dangling isa in IPC::Run::Debug
  * Fix retry for read of fh when I get "Resource temporarily 
    unavailable."
  * Fix POD indentation in IO.pm

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=11
2010-04-02 11:20:34 +00:00

78 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-IPC-Run (Version 0.87)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-IPC-Run
Version: 0.89
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License .. ; GPLv2+
Url: http://cpan.org/modules/by-module/IPC/
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
%description
IPC::Run allows you run and interact with child processes using files,
pipes, and pseudo-ttys. Both system()-style and scripted usages are
supported and may be mixed. Like-wise, functional and OO API styles are
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
make %{?_smp_mflags}
#run.t sometimes fails with "Resource temporarily unavailable"
mv t/run.t t/run.tt
%check
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
/var/adm/perl-modules/perl-IPC-Run
%changelog