This commit is contained in:
Petr Písař 2013-02-15 10:18:51 +01:00
parent 8df867b0bd
commit 959e51b684
4 changed files with 69 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
IPC-Cmd-0.40.tar.gz
/IPC-Cmd-0.78.tar.gz

View File

@ -1 +0,0 @@
Package obsoleted by the base perl package in 5.10.0.

67
perl-IPC-Cmd.spec Normal file
View File

@ -0,0 +1,67 @@
Name: perl-IPC-Cmd
Version: 0.78
Release: 1%{?dist}
Summary: Finding and running system commands made easy
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IPC-Cmd/
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(Module::Load::Conditional)
BuildRequires: perl(Params::Check) >= 0.20
BuildRequires: perl(POSIX)
BuildRequires: perl(Socket)
BuildRequires: perl(strict)
BuildRequires: perl(Symbol)
BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(vars)
# Tests:
# output.pl/IO::Handle not used
BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
# output.pl/warnings not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Config)
Requires: perl(ExtUtils::MakeMaker)
Requires: perl(Params::Check) >= 0.20
Requires: perl(POSIX)
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Check\\)$
%description
IPC::Cmd allows you to run commands platform independently, interactively
if desired, but have them still work.
%prep
%setup -q -n IPC-Cmd-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc CHANGES README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> 0.78-1
- Specfile autogenerated by cpanspec 1.78.

1
sources Normal file
View File

@ -0,0 +1 @@
c9379038439420228567dc3f0e34cd24 IPC-Cmd-0.78.tar.gz