f2505ff
Name:           perl-Net-Appliance-Session
fe0d3a5
Version:        4.200003
fe0d3a5
Release:        1%{?dist}
f2505ff
Summary:        Run command-line sessions to network appliances
f2505ff
License:        GPL+ or Artistic
f2505ff
Group:          Development/Libraries
f2505ff
URL:            http://search.cpan.org/dist/Net-Appliance-Session/
f2505ff
Source0:        http://www.cpan.org/authors/id/O/OL/OLIVER/Net-Appliance-Session-%{version}.tar.gz
f2505ff
BuildArch:      noarch
f2505ff
ce1493b
BuildRequires:  findutils
ce1493b
BuildRequires:  make
165a7b8
BuildRequires:  perl
aff08a4
BuildRequires:  perl-generators
ce1493b
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
ce1493b
BuildRequires:  perl(strict)
ce1493b
BuildRequires:  perl(warnings)
ce1493b
# Run-time:
165a7b8
BuildRequires:  perl(Class::Load)
ce1493b
# Cwd not used at tests
ce1493b
# Data::Dumper not used at tests
ce1493b
# Getopt::Long not used at tests
ce1493b
# IO::Handle not used at tests
ce1493b
# IO::Prompt::Tiny not used at tests
868ed08
BuildRequires:  perl(Moo)
868ed08
BuildRequires:  perl(Moo::Role)
868ed08
BuildRequires:  perl(MooX::Types::MooseLike::Base)
9c599b0
BuildRequires:  perl(Net::CLI::Interact) >= 2.200005
868ed08
BuildRequires:  perl(Sub::Quote)
ce1493b
# Term::ANSIColor not used at tests
ce1493b
# Term::ReadPassword not used at tests
ce1493b
# Text::Glob not used at tests
ce1493b
# Text::ParseWords not used at tests
868ed08
BuildRequires:  perl(Try::Tiny)
ce1493b
# Tests:
ce1493b
BuildRequires:  perl(Test::More) >= 0.88
f2505ff
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
165a7b8
Requires:       perl(Class::Load)
9c599b0
Requires:       perl(Net::CLI::Interact) >= 2.200005
ce1493b
ce1493b
# Remove under-specified dependencies
ce1493b
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Net::CLI::Interact\\)$
f2505ff
f2505ff
%description
f2505ff
Use this module to establish an interactive command-line session with a
f2505ff
network appliance. There is special support for moving into "privileged"
f2505ff
mode and "configure" mode, along with the ability to send commands to the
f2505ff
connected device and retrieve returned output.
f2505ff
f2505ff
%prep
f2505ff
%setup -q -n Net-Appliance-Session-%{version}
f2505ff
f2505ff
%build
f2505ff
%{__perl} Makefile.PL INSTALLDIRS=vendor
f2505ff
make %{?_smp_mflags}
f2505ff
f2505ff
%install
ce1493b
make pure_install DESTDIR=%{buildroot}
fe0d3a5
find %{buildroot} -type f -name .packlist -delete
f2505ff
%{_fixperms} %{buildroot}/*
f2505ff
f2505ff
%check
f2505ff
make test
f2505ff
f2505ff
%files
ce1493b
%doc Changes examples
f2505ff
%{perl_vendorlib}/*
b49eb26
%{_bindir}/nas
b49eb26
%{_mandir}/man1/*
f2505ff
%{_mandir}/man3/*
f2505ff
f2505ff
%changelog
fe0d3a5
* Thu Apr 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4.200003-1
fe0d3a5
- 4.200003 bump
fe0d3a5
8bc4e17
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.200002-2
8bc4e17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8bc4e17
9c599b0
* Tue Jun 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.200002-1
9c599b0
- 4.200002 bump
9c599b0
95bdd86
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4.200000-3
95bdd86
- Perl 5.24 rebuild
95bdd86
33d0fbe
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.200000-2
33d0fbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
33d0fbe
ce1493b
* Tue Sep 22 2015 Petr Pisar <ppisar@redhat.com> - 4.200000-1
ce1493b
- 4.200000 bump
ce1493b
481bc46
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.131260-6
481bc46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
481bc46
ac68b25
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4.131260-5
ac68b25
- Perl 5.22 rebuild
ac68b25
165a7b8
* Tue Feb 10 2015 Petr Pisar <ppisar@redhat.com> - 4.131260-4
165a7b8
- Specify all dependencies
165a7b8
46ef933
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.131260-3
46ef933
- Perl 5.20 rebuild
46ef933
05ca5db
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.131260-2
05ca5db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
05ca5db
bd051b2
* Mon Aug 19 2013 Simone Caronni <negativo17@gmail.com> - 4.131260-1
868ed08
- Update to 4.131260.
5f35cd7
31f2e01
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.122100-3
31f2e01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
31f2e01
f2505ff
* Mon Sep 03 2012 "Simone Caronni <negativo17@gmail.com>" 3.122100-2
f2505ff
- Specfile regenerated by cpanspec 1.78.
f2505ff
- Added perl module compat.
f2505ff
- Removed duplicate Requires.
f2505ff
f2505ff
* Thu Aug 30 2012 Simone Caronni <negativo17@gmail.com> - 3.122100-1
f2505ff
- First build.