2007-01-16 00:29:50 +01:00
|
|
|
#
|
2010-01-18 15:25:40 +01:00
|
|
|
# spec file for package perl-Bit-Vector (Version 7.1)
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
2010-01-18 15:25:40 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
2009-06-18 16:58:30 +02:00
|
|
|
# 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/
|
2007-01-16 00:29:50 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 16:58:30 +02:00
|
|
|
|
|
|
|
Name: perl-Bit-Vector
|
|
|
|
BuildRequires: perl-Carp-Clan
|
2010-01-18 15:25:40 +01:00
|
|
|
Version: 7.1
|
2009-08-03 18:50:06 +02:00
|
|
|
Release: 1
|
2009-06-18 16:58:30 +02:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl-Carp-Clan
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
2009-08-03 18:50:06 +02:00
|
|
|
License: Artistic License ..
|
2009-06-18 16:58:30 +02:00
|
|
|
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
|
2007-01-16 00:29:50 +01:00
|
|
|
|
|
|
|
%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 <sb@engelschall.com>
|
|
|
|
|
|
|
|
%prep
|
2009-08-03 18:50:06 +02:00
|
|
|
%setup -n Bit-Vector-%{version} -q
|
2007-01-16 00:29:50 +01:00
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-18 15:25:40 +01:00
|
|
|
make %{?_smp_mflags}
|
2009-08-03 18:50:06 +02:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:29:50 +01:00
|
|
|
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}
|
|
|
|
|
2009-06-18 16:58:30 +02:00
|
|
|
%changelog
|