# # spec file for package perl-Bit-Vector (Version 6.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Bit-Vector BuildRequires: perl-Carp-Clan Version: 6.6 Release: 1 Requires: perl = %{perl_version} Requires: perl-Carp-Clan AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License .. Url: http://cpan.org/modules/by-module/Bit/ Summary: Efficient bit vector, set of integers and "big int" math library Source: Bit-Vector-%{version}.tar.bz2 Patch: Bit-Vector-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 Authors: -------- Steffen Beyer %prep %setup -n Bit-Vector-%{version} -q %patch %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %check make test %install %perl_make_install %perl_process_packlist for i in `ls *.txt`; do mv $i `basename $i .txt`; done %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Artistic CHANGES CREDITS GNU_GPL GNU_LGPL README examples %doc %{_mandir}/man?/* %{perl_vendorarch}/Bit %{perl_vendorarch}/auto/Bit /var/adm/perl-modules/%{name} %changelog