Accepting request 34091 from devel:languages:perl
Copy from devel:languages:perl/perl-IPC-Run3 based on submit request 34091 from user computersalat OBS-URL: https://build.opensuse.org/request/show/34091 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-IPC-Run3?expand=0&rev=3
This commit is contained in:
parent
be5e34a2da
commit
088082bc82
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 4 22:23:06 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- cleanup spec
|
||||
o norootforbuild
|
||||
- fixed deps
|
||||
- added perl-macros
|
||||
o perl_gen_filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 30 00:36:31 UTC 2010 - larry+opensuse@l2g.to
|
||||
|
||||
|
@ -15,20 +15,30 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-IPC-Run3
|
||||
Version: 0.043
|
||||
Release: 2
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Run a subprocess with input/ouput redirection
|
||||
Version: 0.043
|
||||
Release: 3
|
||||
License: BSDv1+ ; Artistic V1+ ; GPLv1+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/IPC-Run3/
|
||||
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::More) >= 0.31
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl(Time::HiRes)
|
||||
Requires: perl = %{perl_version}
|
||||
Provides: %{cpan_name}
|
||||
|
||||
%description
|
||||
This module allows you to run a subprocess and redirect stdin, stdout,
|
||||
@ -36,33 +46,28 @@ and/or stderr to files and perl data structures. It aims to satisfy 99%
|
||||
of the need for using system, qx, and open3 with a simple, extremely
|
||||
Perlish API.
|
||||
|
||||
Author: Barrie Slaymaker <barries@slaysys.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n IPC-Run3-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/IPC/Run3.pm
|
||||
%{perl_vendorlib}/IPC/Run3
|
||||
%{_mandir}/man3/IPC::Run3*.3*
|
||||
%{perl_vendorarch}/auto/IPC/Run3
|
||||
%dir %{perl_vendorarch}/auto/IPC
|
||||
%dir %{perl_vendorlib}/IPC
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user