Name: perl-Data-Buffer Version: 0.04 Release: %mkrel 3 License: GPL or Artistic %define realname Data-Buffer Group: Development/Perl Summary: Read/write buffer class Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Data/%{realname}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: perl BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Data::Buffer implements a low-level binary buffer in which you can get and put integers, strings, and other data. Internally the implementation is based on pack and unpack, such that Data::Buffer is really a layer on top of those built-in functions. All of the get_* and put_* methods respect the internal offset state in the buffer object. This means that you should read data out of the buffer in the same order that you put it in. %prep %setup -q -n %{realname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" echo | %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Mon Aug 28 2006 Olivier Thauvin <nanardon@mandriva.org> + 2006-08-28 15:09:49 (58456) - mkrel - check section * Mon Aug 28 2006 Olivier Thauvin <nanardon@mandriva.org> + 2006-08-28 15:07:25 (58449) Import perl-Data-Buffer * Wed Feb 09 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.04-2mdk - rebuild for new perl * Thu Nov 06 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.04-1mdk - New package