OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Buffer?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
63346499db
commit
76ba1e9c69
50
perl-Data-Buffer.spec
Normal file
50
perl-Data-Buffer.spec
Normal file
@@ -0,0 +1,50 @@
|
||||
%define modname Data-Buffer
|
||||
Name: perl-%{modname}
|
||||
Version: 0.04
|
||||
Release: 1
|
||||
Summary: Read/write buffer class
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: perl
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-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.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Benjamin Trott <ben@rhumba.pair.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README Changes
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Data/Buffer.pm
|
||||
%{perl_vendorarch}/auto/
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
||||
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.04-1
|
||||
- Initial release
|
Reference in New Issue
Block a user