[521] | 1 | Summary: Efficient bit vector, set of integers and "big int" math library |
---|
| 2 | Name: perl-Bit-Vector |
---|
[8743] | 3 | Version: 7.3 |
---|
[521] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: distributable |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/~stbey/Bit-Vector/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/STBEY/Bit-Vector-%{version}.tar.gz |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: perl >= 0:5.00503 |
---|
[8743] | 12 | BuildRequires: perl(Carp::Clan) >= 5.3 |
---|
[521] | 13 | Requires: perl |
---|
[8743] | 14 | Requires: perl(Carp::Clan) >= 5.3 |
---|
[521] | 15 | Conflicts: perl-Date-Calc < 5.0 |
---|
| 16 | |
---|
[3170] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
[521] | 20 | %description |
---|
| 21 | Bit::Vector is an efficient C library which allows you to handle |
---|
| 22 | bit vectors, sets (of integers), "big integer arithmetic" and |
---|
| 23 | boolean matrices, all of arbitrary sizes. |
---|
| 24 | |
---|
| 25 | The library is efficient (in terms of algorithmical complexity) |
---|
| 26 | and therefore fast (in terms of execution speed) for instance |
---|
| 27 | through the widespread use of divide-and-conquer algorithms. |
---|
| 28 | |
---|
| 29 | The package also includes an object-oriented Perl module for |
---|
| 30 | accessing the C library from Perl, and optionally features |
---|
| 31 | overloaded operators for maximum ease of use. |
---|
| 32 | |
---|
| 33 | The C library can nevertheless be used stand-alone, without Perl. |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q -n Bit-Vector-%{version} |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 40 | make |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | make DESTDIR=$RPM_BUILD_ROOT pure_install |
---|
| 45 | |
---|
| 46 | find $RPM_BUILD_ROOT%{_prefix} -type f -print | \ |
---|
| 47 | sed "s@^$RPM_BUILD_ROOT@@g" | \ |
---|
| 48 | grep -v perllocal.pod | \ |
---|
| 49 | grep -v %{_mandir} | \ |
---|
| 50 | grep -v "\.packlist" > Bit-Vector-%{version}-filelist |
---|
| 51 | if [ "$(cat Bit-Vector-%{version}-filelist)X" = "X" ] ; then |
---|
| 52 | echo "ERROR: EMPTY FILE LIST" |
---|
| 53 | exit -1 |
---|
| 54 | fi |
---|
| 55 | install -m 0644 blib/man3/* %{buildroot}%{_mandir}/man3 |
---|
| 56 | find examples -type f | xargs perl -pi -e "s|^#!(\s)?/usr/local/bin/perl|#!%{__perl}|g" |
---|
| 57 | |
---|
| 58 | %check |
---|
| 59 | make test |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | |
---|
| 64 | %files -f Bit-Vector-%{version}-filelist |
---|
| 65 | %defattr(-,root,root) |
---|
| 66 | %doc CHANGES.txt CREDITS.txt README.txt examples Artistic.txt GNU_GPL.txt GNU_LGPL.txt |
---|
| 67 | %dir %{perl_vendorarch}/auto/Bit |
---|
| 68 | %dir %{perl_vendorarch}/auto/Bit/Vector |
---|
| 69 | %dir %{perl_vendorarch}/Bit |
---|
| 70 | %dir %{perl_vendorarch}/Bit/Vector |
---|
| 71 | %{_mandir}/man3/*3pm* |
---|
| 72 | |
---|
| 73 | %changelog |
---|
[8743] | 74 | * Sun Jul 6 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 7.3-1 |
---|
| 75 | - build with Perl 5.16 |
---|
| 76 | - update Requires and BuildRequires |
---|
| 77 | |
---|
[3170] | 78 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 7.1-1 |
---|
| 79 | - new upstream release |
---|
| 80 | - add Vendor and Distribution tags |
---|
| 81 | |
---|
[521] | 82 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 6.4-1 |
---|
| 83 | - new upstream release |
---|
| 84 | - built with perl-5.10.0 |
---|
| 85 | |
---|
| 86 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 6.4-0vl1 |
---|
| 87 | - new upstream release |
---|
| 88 | - update Summary and description |
---|
| 89 | - add Requires: perl-Carp-Clan >= 5.3 |
---|
| 90 | - add some license documents |
---|
| 91 | |
---|
| 92 | * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 6.3-0vl1 |
---|
| 93 | - version up to 6.3 |
---|
| 94 | - add directories in %%files section |
---|
| 95 | - add some documents |
---|
| 96 | - add Conflicts: perl-Date-Calc < 5.0 |
---|
| 97 | |
---|
| 98 | * Thu Apr 11 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 6.1-12vl1 |
---|
| 99 | - build Rawhide-6.1-12 for Vine Linux |
---|
| 100 | |
---|
| 101 | * Wed Jan 30 2002 cturner@redhat.com |
---|
| 102 | - Specfile autogenerated |
---|
| 103 | |
---|