forked from pool/perl-Bit-Vector
Accepting request 53925 from devel:languages:perl
Accepted submit request 53925 from user computersalat OBS-URL: https://build.opensuse.org/request/show/53925 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=10
This commit is contained in:
commit
aecc2b2fb2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 21:36:24 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
o fix deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 16:36:27 CET 2010 - anicka@suse.cz
|
Wed Jan 13 16:36:27 CET 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -17,58 +17,79 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Bit-Vector
|
Name: perl-Bit-Vector
|
||||||
BuildRequires: perl-Carp-Clan
|
%define cpan_name Bit-Vector
|
||||||
|
Summary: Bit::Vector Perl module
|
||||||
Version: 7.1
|
Version: 7.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Requires: perl = %{perl_version}
|
License: GPL+ or Artistic
|
||||||
Requires: perl-Carp-Clan
|
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License ..
|
Url: http://search.cpan.org/dist/Bit-Vector/
|
||||||
Url: http://cpan.org/modules/by-module/Bit/
|
#Source: http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-7.1.tar.gz
|
||||||
Summary: Efficient bit vector, set of integers and "big int" math library
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source: Bit-Vector-%{version}.tar.bz2
|
|
||||||
Patch: Bit-Vector-%{version}.diff
|
Patch: Bit-Vector-%{version}.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Carp::Clan) >= 5.3
|
||||||
|
BuildRequires: perl(Storable) >= 2.21
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Carp::Clan) >= 5.3
|
||||||
|
Requires: perl(Storable) >= 2.21
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bit::Vector is an efficient C library which allows you to handle bit
|
Bit::Vector is an efficient C library which allows you to handle
|
||||||
vectors, sets (of integers), "big integer arithmetic" and boolean
|
bit vectors, sets (of integers), "big integer arithmetic" and
|
||||||
matrices, all of arbitrary sizes
|
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.
|
||||||
|
|
||||||
|
The package also includes an object-oriented Perl module for
|
||||||
|
accessing the C library from Perl, and optionally features
|
||||||
|
overloaded operators for maximum ease of use.
|
||||||
|
|
||||||
|
The C library can nevertheless be used stand-alone, without Perl.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Steffen Beyer <sb@engelschall.com>
|
Steffen Beyer <sb@engelschall.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n Bit-Vector-%{version} -q
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
### since 11.4 perl_process_packlist
|
||||||
|
### removes .packlist, perllocal.pod files
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
for i in `ls *.txt`; do mv $i `basename $i .txt`; done
|
%else
|
||||||
|
# do not perl_process_packlist
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/Bit/Vector/.packlist
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||||
|
%endif
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Artistic CHANGES CREDITS GNU_GPL GNU_LGPL README examples
|
%doc Artistic.txt CREDITS.txt GNU_GPL.txt GNU_LGPL.txt
|
||||||
%doc %{_mandir}/man?/*
|
%doc CHANGES.txt README.txt examples
|
||||||
%{perl_vendorarch}/Bit
|
|
||||||
%{perl_vendorarch}/auto/Bit
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user