1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- %define real_name Net-CLI-Interact
- Summary: Toolkit for CLI Automation
- Name: perl-%{real_name}
- Version: 1.120670
- Release: 1%{?_dist_release}
- License: GPL+ or Artistic
- Group: Development/Libraries
- Source0: http:
- URL: http:
- BuildArch: noarch
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: perl(Class::MOP)
- BuildRequires: perl(Class::MOP::Class)
- BuildRequires: perl(File::Basename)
- BuildRequires: perl(FileHandle)
- BuildRequires: perl(IPC::Run)
- BuildRequires: perl(List::Util)
- BuildRequires: perl(Log::Dispatch::Config)
- BuildRequires: perl(Log::Dispatch::Configurator::Any)
- BuildRequires: perl(Moose)
- BuildRequires: perl(Moose::Role)
- BuildRequires: perl(Moose::Util::TypeConstraints)
- BuildRequires: perl(Net::Telnet)
- BuildRequires: perl(POSIX)
- BuildRequires: perl(Path::Class)
- BuildRequires: perl(Time::HiRes)
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- %description
- This module exists to support developers of applications
- and libraries which must interact with a command line interface.
- %prep
- %setup -q -n %{real_name}-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
- 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}
- %clean
- rm -rf %{buildroot}
- %check
- make test
- %files
- %defattr(-, root, root, 0755)
- %doc Changes MANIFEST META.yml README
- %doc %{_mandir}/man3/*
- %{perl_vendorlib}
|