Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 1b91f17de0e3f46c66dcb4243adb219b > files > 2

perl-Data-Buffer-0.04-5mdv2008.1.src.rpm

Name:           perl-Data-Buffer
Version:        0.04
Release:        %mkrel 5
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
Requires:       perl
BuildArch:      noarch

%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 Jan 14 2008 Pixel <pixel@mandriva.com> 0.04-5mdv2008.1
+ Revision: 151443
- rebuild for perl-5.10.0

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill (multiple!) definitions of %%buildroot on Pixel's request

* Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.04-4mdv2008.0
+ Revision: 86324
- rebuild


* 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