# # spec file for package perl-Bit-Vector (Version 6.4) # # 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.4 Release: 136 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} %patch %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make 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 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Aug 01 2005 mjancar@suse.cz - update to 6.4 - add perl-Carp-Clan to Requires * Sun Jan 11 2004 adrian@suse.de - build as user * Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with * Tue Jul 15 2003 mjancar@suse.cz - adapt to perl-5.8.1 - use %%perl_process_packlist * Mon Jun 16 2003 mjancar@suse.cz - use $RPM_OPT_FLAGS - fix filelist * Tue May 20 2003 mjancar@suse.cz - remove unpackaged files * Sat Oct 12 2002 prehak@suse.cz - update to version 6.3 - removed .txt extension from documentation files * Tue Jul 02 2002 mls@suse.de - remove race in .packlist generation * Mon Jan 21 2002 rvasice@suse.cz - initial package release (version 6.1)