[5864] | 1 | Name: perl-Net-Appliance-Session |
---|
| 2 | Summary: Run command-line sessions to network appliances |
---|
| 3 | Version: 3.120560 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: Artistic or GPL+ |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source: http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/Net-Appliance-Session-%{version}.tar.gz |
---|
| 8 | URL: http://search.cpan.org/dist/Net-Appliance-Session/ |
---|
| 9 | BuildArch: noarch |
---|
| 10 | |
---|
| 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 12 | BuildRequires: perl(Test::More) >= 0.88 |
---|
| 13 | BuildRequires: perl(strict) |
---|
| 14 | BuildRequires: perl(warnings) |
---|
| 15 | |
---|
| 16 | Requires: perl(Moose) |
---|
| 17 | Requires: perl(Moose::Role) |
---|
| 18 | Requires: perl(Net::CLI::Interact) |
---|
| 19 | Requires: perl(overload) |
---|
| 20 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Run command-line sessions to network appliances |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n Net-Appliance-Session-%{version} |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | %{__perl} Makefile.PL INSTALLDIRS="vendor" |
---|
| 30 | %{__make} %{?_smp_mflags} |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | %{__rm} -rf %{buildroot} |
---|
| 34 | %{__make} pure_install DESTDIR=%{buildroot} |
---|
| 35 | |
---|
| 36 | ### Clean up buildroot |
---|
| 37 | find %{buildroot} -name .packlist -exec %{__rm} {} \; |
---|
| 38 | |
---|
| 39 | ### Clean up docs |
---|
| 40 | find examples/ -type f -exec %{__chmod} a-x {} \; |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | %{__rm} -rf %{buildroot} |
---|
| 44 | |
---|
| 45 | %check |
---|
| 46 | %{__make} test |
---|
| 47 | |
---|
| 48 | %files |
---|
| 49 | %defattr(-, root, root, -) |
---|
| 50 | %doc Changes LICENSE MANIFEST META.* README examples/ |
---|
| 51 | %{perl_vendorlib}/* |
---|
| 52 | %{_mandir}/man3/* |
---|
| 53 | |
---|
| 54 | %changelog |
---|
| 55 | * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.36-1 |
---|
| 56 | - initial build for Vine Linux |
---|