- Initial import.
- Update license tag.
This commit is contained in:
parent
fbddac81f9
commit
1c67683c8f
@ -0,0 +1 @@
|
||||
IPC-Run3-0.037.tar.gz
|
4
Makefile
4
Makefile
@ -1,6 +1,6 @@
|
||||
# Makefile for source rpm: perl-IPC-RUN3
|
||||
# Makefile for source rpm: perl-IPC-Run3
|
||||
# $Id$
|
||||
NAME := perl-IPC-RUN3
|
||||
NAME := perl-IPC-Run3
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
|
57
perl-IPC-Run3.spec
Normal file
57
perl-IPC-Run3.spec
Normal file
@ -0,0 +1,57 @@
|
||||
Name: perl-IPC-Run3
|
||||
Version: 0.037
|
||||
Release: 2%{?dist}
|
||||
Summary: Run a subprocess in batch mode (a la system) on Unix, Win32, etc
|
||||
License: GPL+ or BSD or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/IPC-Run3/
|
||||
Source0: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# For improved tests
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module allows you to run a subprocess and redirect stdin, stdout,
|
||||
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 and none of the bloat and rarely used features of IPC::Run.
|
||||
|
||||
%prep
|
||||
%setup -q -n IPC-Run3-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2
|
||||
- Initial import.
|
||||
- Update license tag.
|
||||
|
||||
* Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1
|
||||
- Initial submission.
|
Loading…
Reference in New Issue
Block a user