perl-Data-Buffer-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. %define module Data-Buffer
  2. %define name perl-%{module}
  3. %define version 0.04
  4. %define release 3%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Read/write buffer class
  9. Group: Development/Libraries
  10. License: GPL or Artistic
  11. URL: http://search.cpan.org/dist/%{module}/
  12. Source: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/%{module}-%{version}.tar.gz
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: perl(ExtUtils::MakeMaker)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. Data::Buffer implements a low-level binary buffer in which you can get and
  21. put integers, strings, and other data.
  22. Internally the implementation is based on pack and unpack,
  23. such that Data::Buffer is really a layer on top of those built-in functions.
  24. %prep
  25. %setup -q -n %{module}-%{version}
  26. %build
  27. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  28. %{__make}
  29. %check
  30. %{__make} test
  31. %install
  32. rm -rf %{buildroot}
  33. %makeinstall
  34. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  35. rm -rf %{buildroot}%{perl_vendorarch}
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root)
  40. %doc README Changes
  41. %{_mandir}/man3*/*
  42. %{perl_vendorlib}/Data/*
  43. %changelog
  44. * Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.04-3
  45. - rebuilt with perl-5.16.3.
  46. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.04-2
  47. - rebuild with perl-5.12.3
  48. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-1vl5
  49. - rebuild with perl 5.10
  50. - new versioning policy
  51. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl1
  52. - built for VineSeed
  53. * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl0.43
  54. - rebuilt to relase for VinePlus 4.2
  55. * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl0.42
  56. - built for Vine 4.2 (testing)