[5864] | 1 | %define real_name Net-CLI-Interact |
---|
| 2 | |
---|
| 3 | Summary: Toolkit for CLI Automation |
---|
| 4 | Name: perl-%{real_name} |
---|
[9189] | 5 | Version: 1.122530 |
---|
[5864] | 6 | Release: 1%{?_dist_release} |
---|
| 7 | License: GPL+ or Artistic |
---|
| 8 | Group: Development/Libraries |
---|
[9189] | 9 | URL: http://search.cpan.org/dist/%{real_name} |
---|
| 10 | |
---|
[5864] | 11 | Source0: http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/%{real_name}-%{version}.tar.gz |
---|
[9189] | 12 | |
---|
[5864] | 13 | BuildArch: noarch |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: perl(Class::MOP) |
---|
| 17 | BuildRequires: perl(Class::MOP::Class) |
---|
| 18 | BuildRequires: perl(File::Basename) |
---|
| 19 | BuildRequires: perl(FileHandle) |
---|
| 20 | BuildRequires: perl(IPC::Run) |
---|
| 21 | BuildRequires: perl(List::Util) |
---|
| 22 | BuildRequires: perl(Log::Dispatch::Config) |
---|
| 23 | BuildRequires: perl(Log::Dispatch::Configurator::Any) |
---|
| 24 | BuildRequires: perl(Moose) |
---|
| 25 | BuildRequires: perl(Moose::Role) |
---|
| 26 | BuildRequires: perl(Moose::Util::TypeConstraints) |
---|
| 27 | BuildRequires: perl(Net::Telnet) |
---|
| 28 | BuildRequires: perl(POSIX) |
---|
| 29 | BuildRequires: perl(Path::Class) |
---|
| 30 | BuildRequires: perl(Time::HiRes) |
---|
| 31 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
| 32 | |
---|
| 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | Packager: shaolin |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | This module exists to support developers of applications |
---|
| 39 | and libraries which must interact with a command line interface. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n %{real_name}-%{version} |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
| 46 | make %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf %{buildroot} |
---|
| 50 | make pure_install DESTDIR=%{buildroot} |
---|
| 51 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
| 52 | find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null |
---|
| 53 | %{_fixperms} %{buildroot} |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf %{buildroot} |
---|
| 57 | |
---|
| 58 | %check |
---|
| 59 | make test |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-, root, root, 0755) |
---|
| 63 | %doc Changes MANIFEST META.yml README |
---|
| 64 | %doc %{_mandir}/man3/* |
---|
| 65 | %{perl_vendorlib}/* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[9189] | 68 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.122530-1 |
---|
| 69 | - updated to 1.122530 |
---|
| 70 | - built with perl 5.16.3 |
---|
| 71 | |
---|
| 72 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.120670-1 |
---|
[5864] | 73 | - initial build for Vine Linux |
---|