|
|
e9020a7 |
Summary: Read/write buffer class for perl
|
|
|
e9020a7 |
Name: perl-Data-Buffer
|
|
|
e9020a7 |
Version: 0.04
|
|
|
7eb6159 |
Release: 7%{?dist}
|
|
|
93b1218 |
License: GPL+ or Artistic
|
|
|
e9020a7 |
Group: Development/Libraries
|
|
|
e9020a7 |
Url: http://search.cpan.org/dist/Data-Buffer/
|
|
|
e9020a7 |
Source0: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-Buffer-%{version}.tar.gz
|
|
|
e9020a7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e9020a7 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
e9020a7 |
BuildArch: noarch
|
|
|
c26e34f |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%description
|
|
|
e9020a7 |
Data::Buffer implements a low-level binary buffer in which you can get and put
|
|
|
e9020a7 |
integers, strings, and other data. Internally the implementation is based on
|
|
|
e9020a7 |
pack and unpack, such that Data::Buffer is really a layer on top of those
|
|
|
e9020a7 |
built-in functions.
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%prep
|
|
|
e9020a7 |
%setup -q -n Data-Buffer-%{version}
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%build
|
|
|
e9020a7 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
e9020a7 |
%{__make} %{?_smp_mflags}
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%check
|
|
|
e9020a7 |
%{__make} test
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%install
|
|
|
e9020a7 |
%{__rm} -rf %{buildroot}
|
|
|
e9020a7 |
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
e9020a7 |
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
|
|
|
6a3460a |
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
|
|
|
e9020a7 |
%{__chmod} -R u+w %{buildroot}/*
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%clean
|
|
|
e9020a7 |
%{__rm} -rf %{buildroot}
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%files
|
|
|
6a3460a |
%defattr(-,root,root,-)
|
|
|
e9020a7 |
%doc Changes
|
|
|
e9020a7 |
%{perl_vendorlib}/Data/
|
|
|
e9020a7 |
%{_mandir}/man3/Data::Buffer.3pm*
|
|
|
e9020a7 |
|
|
|
e9020a7 |
%changelog
|
|
|
7eb6159 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7
|
|
|
7eb6159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7eb6159 |
|
|
|
d1bc272 |
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.04-6
|
|
|
d1bc272 |
- rebuild for new perl
|
|
|
d1bc272 |
|
|
|
93b1218 |
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 0.04-5
|
|
|
93b1218 |
- Clarify license as GPL v1 or later, or Artistic (same as perl)
|
|
|
93b1218 |
|
|
|
c26e34f |
* Wed Apr 18 2007 Paul Howarth <paul@city-fan.org> 0.04-4
|
|
|
c26e34f |
- Buildrequire perl(ExtUtils::MakeMaker)
|
|
|
6a3460a |
- Fix argument order for find with -depth
|
|
|
6a3460a |
|
|
|
ecfea87 |
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 0.04-3
|
|
|
ecfea87 |
- FE6 mass rebuild
|
|
|
ecfea87 |
|
|
|
1355f86 |
* Wed Feb 15 2006 Paul Howarth <paul@city-fan.org> 0.04-2
|
|
|
1355f86 |
- Rebuild for perl 5.8.8 (FC5)
|
|
|
1355f86 |
|
|
|
e9020a7 |
* Mon Nov 28 2005 Paul Howarth <paul@city-fan.org> 0.04-1
|
|
|
e9020a7 |
- Initial build
|