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

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