File perl-IPC-Run.spec of Package perl-IPC-Run

#
# spec file for package perl-IPC-Run (Version 0.89)
#
# 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:        5
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
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros

%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

%changelog
openSUSE Build Service is sponsored by