perl-Net-Frame-Simple-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Name: perl-Net-Frame-Simple
  2. Summary: Net-Frame-Simple - frame crafting made easy
  3. Version: 1.05
  4. Release: 2%{?_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-Simple-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Class::Gomor)
  13. BuildRequires: perl(Class::Gomor::Array)
  14. BuildRequires: perl(Net::Frame)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. %description
  17. the base framework for frame crafting.
  18. %prep
  19. %setup -q -n Net-Frame-Simple-%{version}
  20. %build
  21. %{__perl} Makefile.PL INSTALLDIRS="vendor"
  22. %{__make} %{?_smp_mflags}
  23. %install
  24. %{__rm} -rf %{buildroot}
  25. %{__make} pure_install DESTDIR=%{buildroot}
  26. ### Clean up buildroot
  27. find %{buildroot} -name .packlist -exec %{__rm} {} \;
  28. ### Clean up docs
  29. find examples/ -type f -exec %{__chmod} a-x {} \;
  30. %check
  31. %{__make} test
  32. %clean
  33. %{__rm} -rf %{buildroot}
  34. %files
  35. %defattr(-, root, root, 0755)
  36. %doc Changes LICENSE LICENSE.Artistic MANIFEST META.yml README examples/
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.05-2
  41. - rebuilt with perl 5.16.3
  42. * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.05-1
  43. - initial build for Vine Linux