perl-Net-Appliance-Session-vl.spec 1.7 KB

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