perl-Bit-Vector/perl-Bit-Vector.spec
cvsdist b3217dc8d3 auto-import changelog data from perl-Bit-Vector-6.1-26.src.rpm
Tue Aug 06 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
2004-09-09 10:02:16 +00:00

59 lines
1.5 KiB
RPMSpec

Name: perl-Bit-Vector
Version: 6.1
Release: 26
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
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: perl >= 0:5.00503
Source0: Bit-Vector-%{version}.tar.gz
%description
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 PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
make install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT/usr -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" | \
grep -v perllocal.pod | \
grep -v Carp::Clan.3pm.gz | \
grep -v "\.packlist" > Bit-Vector-%{version}-filelist
if [ "$(cat Bit-Vector-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f Bit-Vector-%{version}-filelist
%defattr(-,root,root)
%changelog
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Wed Jan 30 2002 cturner@redhat.com
- Specfile autogenerated