auto-import perl-Bit-Vector-6.1-24 from perl-Bit-Vector-6.1-24.src.rpm

This commit is contained in:
cvsdist 2004-09-09 10:02:09 +00:00
parent 309b36aed6
commit 1eb7e91422

View File

@ -1,7 +1,7 @@
Name: perl-Bit-Vector
Version: 6.1
Release: 12
Summary: Bit-Vector Perl module
Release: 24
Summary: A module for high-performance Perl manipulation of bit vectors.
License: distributable
Group: Development/Libraries
URL: http://search.cpan.org/search?mode=module&query=Bit%3a%3aVector
@ -10,13 +10,21 @@ BuildRequires: perl >= 0:5.00503
Source0: Bit-Vector-6.1.tar.gz
%description
Bit-Vector Perl module
Bit::Vector is an efficient C library which allows you to handle bit
vectors, sets (of integers), "big integer arithmetic" and boolean
matrices, all of arbitrary sizes.
The library is efficient (in terms of algorithmical complexity) and
therefore fast (in terms of execution speed) for instance through the
widespread use of divide-and-conquer algorithms.
%prep
%setup -q -n Bit-Vector-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test
%clean
@ -24,9 +32,7 @@ rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make PREFIX=$RPM_BUILD_ROOT/usr install
make install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress