forked from perl/perl-IPC-Run
checked in (request 35786) OBS-URL: https://build.opensuse.org/request/show/35786 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IPC-Run?expand=0&rev=8
76 lines
2.0 KiB
RPMSpec
76 lines
2.0 KiB
RPMSpec
#
|
||
# 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. Likewise, 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
|