8
0
forked from pool/perl-IPC-Run
Files
perl-IPC-Run/perl-IPC-Run.spec
OBS User autobuild c0d09e5a4e Accepting request 29175 from devel:languages:perl
Copy from devel:languages:perl/perl-IPC-Run based on submit request 29175 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IPC-Run?expand=0&rev=7
2010-01-12 12:48:10 +00:00

76 lines
2.0 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package perl-IPC-Run (Version 0.84)
#
# 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.84
Release: 2
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
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