1
0
forked from perl/perl-IPC-Run
Files
perl-IPC-Run/perl-IPC-Run.spec

111 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-IPC-Run (Version 0.82)
#
# Copyright (c) 2009 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.82
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
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<EFBFBD>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
#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
* Tue Jan 20 2009 anicka@suse.cz
- update to 0.82
* Simplfied the Makefile.PL code a little.
* Upgraded all tests to Test::More
* Added a $VERSION for all modules
* Adding some missing POD sections
* Various other clean ups
* Wed Jun 06 2007 ro@suse.de
- fix one place with wrong interpreter in example script
* Wed Jul 12 2006 anicka@suse.cz
- update to 0.80
- IPC::Run::IO now retries on certain "temporarily unavailable" errors.
This should fix several reported issues with t/run.t, test 69.
- Applied documentation patch from RT.
- Fixed documentation to work with '<' redirect
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 09 2006 anicka@suse.cz
- disable run.t as it sometimes fails with
"Resource temporarily unavailable"
* Mon Aug 01 2005 mjancar@suse.cz
- update to 0.79
* Thu Aug 19 2004 mjancar@suse.cz
- update to 0.78
* Sat Feb 28 2004 ro@suse.de
- fix requirement for /usr/local/bin
* Thu Feb 26 2004 mjancar@suse.cz
- update to 0.77
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 21 2003 mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Fri Jun 13 2003 mjancar@suse.cz
- initial version 0.75