perl-Net-Frame-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Name: perl-Net-Frame
  2. Summary: the base framework for frame crafting
  3. Version: 1.11
  4. Release: 1%{?_dist_release}
  5. License: Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Net-Frame/
  8. Source: http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Frame-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Class::Gomor) >= 1.00
  13. BuildRequires: perl(Net::IPv6Addr)
  14. BuildRequires: perl(Bit::Vector)
  15. BuildRequires: perl(Socket6)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %description
  18. the base framework for frame crafting.
  19. %prep
  20. %setup -q -n Net-Frame-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS="vendor"
  23. %{__make} %{?_smp_mflags}
  24. %install
  25. %{__rm} -rf %{buildroot}
  26. %{__make} pure_install DESTDIR=%{buildroot}
  27. ### Clean up buildroot
  28. find %{buildroot} -name .packlist -exec %{__rm} {} \;
  29. ### Clean up docs
  30. find examples/ -type f -exec %{__chmod} a-x {} \;
  31. %check
  32. %{__make} test
  33. %clean
  34. %{__rm} -rf %{buildroot}
  35. %files
  36. %defattr(-, root, root, 0755)
  37. %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/
  38. %doc %{_mandir}/man3/Net::Frame*.3pm*
  39. %dir %{perl_vendorlib}/Net/
  40. %{perl_vendorlib}/Net/Frame/
  41. %{perl_vendorlib}/Net/Frame.pm
  42. %changelog
  43. * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.11-1
  44. - updated to 1.11
  45. - built with perl 5.16.3
  46. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
  47. - fix BuildRequires (for tests)
  48. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1
  49. - initial build for Vine Linux