Name: perl-Net-CLI-Interact
Version: 2.200006
Release: 2%{?dist}
Summary: Toolkit for CLI Automation
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-CLI-Interact/
Source0: http://www.cpan.org/modules/by-module/Net/Net-CLI-Interact-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
# ExtUtils::CBuilder not needed on Linux
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Class::Load)
BuildRequires: perl(Class::Mix)
BuildRequires: perl(File::Basename)
# FileHandle not used at tests
BuildRequires: perl(IO::Pty)
# IPC::Run not used at tests
BuildRequires: perl(List::Util)
BuildRequires: perl(Log::Dispatch::Config)
BuildRequires: perl(Log::Dispatch::Configurator::Any)
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role)
BuildRequires: perl(MooX::Types::MooseLike::Base)
# Net::Telnet not used at tests
BuildRequires: perl(Path::Class)
# POSIX not used at tests
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Time::HiRes)
# Tests:
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Automating command line interface (CLI) interactions is not a new idea, but
can be tricky to implement. This module aims to provide a simple and
manageable interface to CLI interactions, supporting:
%prep
%setup -q -n Net-CLI-Interact-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.200006-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Nov 07 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.200006-1
- 2.200006 bump
* Tue Jun 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.200005-1
- 2.200005 bump
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.200002-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.200002-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Sep 22 2015 Petr Pisar <ppisar@redhat.com> - 2.200002-1
- 2.200002 bump
* Tue Aug 11 2015 Petr Ĺ abata <contyk@redhat.com> - 2.131260-7
- Prevent FTBFS by correcting the build time dependency list
- Trimmed the runtime dep list too; all of them were autodetected
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131260-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.131260-5
- Perl 5.22 rebuild
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.131260-4
- Perl 5.20 rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131260-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.131260-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jun 04 2013 Simone Caronni <negativo17@gmail.com> 2.131260-1
- Update to 2.131260.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.122100-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Mon Sep 03 2012 "Simone Caronni <negativo17@gmail.com>" 1.122100-2
- Regenerated with cpanspec 1.78.
- Added perl module compat.
- Removed duplicate Requires.
* Thu Aug 30 2012 Simone Caronni <negativo17@gmail.com> - 1.122100-1
- First build.