perl-Data-Buffer-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. %define module Data-Buffer
  2. %define name perl-%{module}
  3. %define version 0.04
  4. %define release 2%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Read/write buffer class
  9. Group: Development/Languages
  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}
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Data::Buffer implements a low-level binary buffer in which you can get and
  19. put integers, strings, and other data.
  20. Internally the implementation is based on pack and unpack,
  21. such that Data::Buffer is really a layer on top of those built-in functions.
  22. %prep
  23. %setup -q -n %{module}-%{version}
  24. %build
  25. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  26. %{__make}
  27. %check
  28. %{__make} test
  29. %install
  30. rm -rf %{buildroot}
  31. %makeinstall
  32. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  33. rm -rf %{buildroot}%{perl_vendorarch}
  34. %clean
  35. rm -rf %{buildroot}
  36. %files
  37. %defattr(-,root,root)
  38. %doc README Changes
  39. %{_mandir}/man3*/*
  40. %{perl_vendorlib}/Data/*
  41. %changelog
  42. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.04-2
  43. - rebuild with perl-5.12.3
  44. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-1vl5
  45. - rebuild with perl 5.10
  46. - new versioning policy
  47. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl1
  48. - built for VineSeed
  49. * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl0.43
  50. - rebuilt to relase for VinePlus 4.2
  51. * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.04-0vl0.42
  52. - built for Vine 4.2 (testing)