perl-IPC-Cmd/perl-IPC-Cmd.spec

Name: perl-IPC-Cmd
Summary: Finding and running system commands made easy
Version: 0.96
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/IPC-Cmd/
Description: Allows for the searching and execution of any binary on your system. It adheres to verbosity settings and is able to run intereactive. It also has an option to capture output/error buffers.

CentOS 7 x86_64

No build yet for CentOS 7 x86_64.

Build Status

CentOS 6 x86_64

No build yet for CentOS 6 x86_64.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Chris Williams <chris@bingosnet.co.uk>

### EL6 ships with perl-IPC-Cmd-0.56-115.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name IPC-Cmd

Summary: Finding and running system commands made easy
Name: perl-IPC-Cmd
Version: 0.96
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/IPC-Cmd/

Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/IPC-Cmd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(Module::Load::Conditional)
BuildRequires: perl(Params::Check) >= 0.20
BuildRequires: perl(Test::More)
Requires: perl(ExtUtils::MakeMaker)
Requires: perl(File::Spec)
Requires: perl(Locale::Maketext::Simple)
Requires: perl(Module::Load::Conditional)
Requires: perl(Params::Check) >= 0.20
Requires: perl(Test::More)

%filter_from_requires /^perl*/d
%filter_setup


%description
Allows for the searching and execution of any binary on your system.
It adheres to verbosity settings and is able to run intereactive. It
also has an option to capture output/error buffers.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES MANIFEST META.yml README
%doc %{_mandir}/man3/IPC::Cmd.3pm*
%dir %{perl_vendorlib}/IPC/
%{perl_vendorlib}/IPC/Cmd.pm

%changelog
* Tue Aug 16 2016 Dries Verachtert <dries.verachtert@dries.eu> - 0.96-1
- Updated to release 0.96.

* Sat Feb  6 2010 Christoph Maser <cmr@financial.com> - 0.56-1
- Updated to version 0.56.

* Wed Dec 23 2009 Christoph Maser <cmr@financial.com> - 0.54-1
- Updated to version 0.54.

* Wed Sep  9 2009 Christoph Maser <cmr@financial.com> - 0.50-1
- Updated to version 0.50.

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 0.46-1
- Updated to version 0.46.

* Mon Oct 13 2008 Dag Wieers <dag@wieers.com> - 0.42-1
- Updated to release 0.42.

* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 0.40-1
- Updated to release 0.40.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.36-1
- Updated to release 0.36.

* Tue Nov 14 2006 Dries Verachtert <dries@ulyssis.org> - 0.34-1
- Updated to release 0.34.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.25-1
- Updated to release 0.25.

* Thu Mar 31 2005 Dries Verachtert <dries@ulyssis.org> - 0.24-1
- Initial package.