source: projects/specs/trunk/p/perl-Net-Appliance-Session/perl-Net-Appliance-Session-vl.spec @ 9189

Revision 9189, 1.7 KB checked in by inagaki, 9 years ago (diff)

2014-12-24 Ryoichi INAGAKI <ryo1@…>


Line 
1Name:           perl-Net-Appliance-Session
2Summary:        Run command-line sessions to network appliances
3Version:        3.122530
4Release:        1%{?_dist_release}
5License:        Artistic or GPL+
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Net-Appliance-Session/
8
9Source:         http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/Net-Appliance-Session-%{version}.tar.gz
10
11BuildArch:      noarch
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
15BuildRequires:  perl(Test::More) >= 0.88
16BuildRequires:  perl(strict)
17BuildRequires:  perl(warnings)
18
19Requires:       perl(Moose)
20Requires:       perl(Moose::Role)
21Requires:       perl(Net::CLI::Interact) >= 1.122530
22Requires:       perl(overload)
23Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
24
25%description
26Run 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
40find %{buildroot} -name .packlist -exec %{__rm} {} \;
41
42### Clean up docs
43find 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
Note: See TracBrowser for help on using the repository browser.