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