commit 8cb958ce68e6dd8ced3664e6db3b44fc3cc5cd7c Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Feb 3 06:15:20 2012 +0100 initial import (rhbz#781705) .gitignore | 1 + perl-System-Command.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a9c8aa8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/System-Command-1.06.tar.gz diff --git a/perl-System-Command.spec b/perl-System-Command.spec new file mode 100644 index 0000000..2671de0 --- /dev/null +++ b/perl-System-Command.spec @@ -0,0 +1,46 @@ +Name: perl-System-Command +Version: 1.06 +Release: 1%{?dist} +Summary: Object for running system commands +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/System-Command/ +Source0: http://www.cpan.org/authors/id/B/BO/BOOK/System-Command-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Command) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Output) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +System::Command is a class that launches external system commands and +return an object representing them, allowing to interact with them through +their STDIN, STDOUT and STDERR handles. + +%prep +%setup -q -n System-Command-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jan 13 2012 Iain Arnell <iarnell@xxxxxxxxx> 1.06-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..747c923 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +461468487acdbe0317a5729973f91bf2 System-Command-1.06.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel