e78cc3
Name:           perl-Bit-Vector
e78cc3
Version:        7.3
9adffe
Release:        3%{?dist}
e78cc3
Summary:        Efficient bit vector, set of integers and "big int" math library
e78cc3
Group:          Development/Libraries
e78cc3
# Outdated FSF address reported, rt#85827
e78cc3
# Clarified by a private mail from the author:
e78cc3
License:        (GPLv2+ or Artistic) and LGPLv2+
e78cc3
URL:            http://search.cpan.org/dist/Bit-Vector/
e78cc3
Source0:        http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
e78cc3
BuildRequires:  perl
e78cc3
BuildRequires:  perl(Carp::Clan) >= 5.3
e78cc3
BuildRequires:  perl(Config)
e78cc3
BuildRequires:  perl(DynaLoader)
e78cc3
BuildRequires:  perl(Exporter)
e78cc3
BuildRequires:  perl(ExtUtils::MakeMaker)
e78cc3
BuildRequires:  perl(integer)
e78cc3
BuildRequires:  perl(overload)
e78cc3
BuildRequires:  perl(Storable) >= 2.21
e78cc3
BuildRequires:  perl(strict)
e78cc3
BuildRequires:  perl(vars)
e78cc3
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
e78cc3
Requires:       perl(Carp::Clan) >= 5.3
e78cc3
Requires:       perl(Storable) >= 2.21
e78cc3
e78cc3
%{?perl_default_filter}
e78cc3
e78cc3
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Bit::Vector\\)$
e78cc3
e78cc3
%description
e78cc3
Bit::Vector is an efficient C library which allows you to handle bit
e78cc3
vectors, sets (of integers), "big integer arithmetic" and boolean
e78cc3
matrices, all of arbitrary sizes.
e78cc3
e78cc3
The library is efficient (in terms of algorithmical complexity) and
e78cc3
therefore fast (in terms of execution speed) for instance through the
e78cc3
widespread use of divide-and-conquer algorithms.
e78cc3
e78cc3
%prep
e78cc3
%setup -q -n Bit-Vector-%{version} 
e78cc3
chmod -c 644 examples/*.pl
e78cc3
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/benchmk1.pl
e78cc3
perl -pi -e 's|^#!perl\b|#!%{__perl}|' \
e78cc3
    examples/{benchmk{2,3},primes,SetObject}.pl
e78cc3
e78cc3
%build
e78cc3
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
e78cc3
make %{?_smp_mflags}
e78cc3
e78cc3
%install
e78cc3
make pure_install DESTDIR=%{buildroot}
e78cc3
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
e78cc3
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
e78cc3
%{_fixperms} %{buildroot}/*
e78cc3
e78cc3
%check
e78cc3
make test
e78cc3
e78cc3
%files
e78cc3
%doc Artistic.txt GNU_GPL.txt GNU_LGPL.txt
e78cc3
%doc CHANGES.txt CREDITS.txt README.txt examples/
e78cc3
%{perl_vendorarch}/Bit/
e78cc3
%{perl_vendorarch}/auto/Bit/
e78cc3
%{_mandir}/man3/*.3*
e78cc3
e78cc3
e78cc3
%changelog
9adffe
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 7.3-3
9adffe
- Mass rebuild 2014-01-24
9adffe
9adffe
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 7.3-2
9adffe
- Mass rebuild 2013-12-27
9adffe
e78cc3
* Mon Jun 03 2013 Petr Šabata <contyk@redhat.com> - 7.3-1
e78cc3
- 7.3 bump, 5.18 compatibility changes
e78cc3
e78cc3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2-5
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e78cc3
e78cc3
* Wed Sep 19 2012 Jitka Plesnikova <jplesnik@redhat.com> - 7.2-4
e78cc3
- Use latest version of Bit-Vector-7.2.tar.gz from CPAN
e78cc3
e78cc3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2-3
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e78cc3
e78cc3
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 7.2-2
e78cc3
- Perl 5.16 rebuild
e78cc3
e78cc3
* Wed Mar 14 2012 Petr Šabata <contyk@redhat.com> - 7.2-1
e78cc3
- 7.2 bumpity
e78cc3
- Remove command macros
e78cc3
e78cc3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-8
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e78cc3
e78cc3
* Tue Aug  2 2011 Marcela Mašláňová <mmaslano@redhat.com> - 7.1-7
e78cc3
- filter *.so library incorectly provided by package
e78cc3
- clean spec file
e78cc3
e78cc3
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 7.1-6
e78cc3
- Perl mass rebuild
e78cc3
e78cc3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.1-5
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e78cc3
e78cc3
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 7.1-4
e78cc3
- 661697 rebuild for fixing problems with vendorach/lib
e78cc3
e78cc3
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 7.1-3
e78cc3
- Mass rebuild with perl-5.12.0
e78cc3
e78cc3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 7.1-2
e78cc3
- rebuild against perl 5.10.1
e78cc3
e78cc3
* Fri Oct  2 2009 Stepan Kasal <skasal@redhat.com> - 7.1-2
e78cc3
- fixed the license tag
e78cc3
e78cc3
* Thu Oct  1 2009 Stepan Kasal <skasal@redhat.com> - 7.1-1
e78cc3
- new upstream release
e78cc3
e78cc3
* Tue Aug  4 2009 Stepan Kasal <skasal@redhat.com> - 6.6-1
e78cc3
- new upstream release
e78cc3
e78cc3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-10
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e78cc3
e78cc3
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-9
e78cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e78cc3
e78cc3
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 6.4-8
e78cc3
- Rebuild for perl 5.10 (again)
e78cc3
e78cc3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.4-7
e78cc3
- Autorebuild for GCC 4.3
e78cc3
e78cc3
* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 6.4-6
e78cc3
- fix license tag, rebuild for new perl
e78cc3
e78cc3
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 6.4-5
e78cc3
- Rebuild for selinux ppc32 issue.
e78cc3
e78cc3
* Fri Jul 06 2007 Robin Norwood <rnorwood@redhat.com> 6.4-4
e78cc3
- Resolves: rhbz#247212
e78cc3
- Fix broken perl_provides script - it was removing both the versioned
e78cc3
  and unversioned Provides: perl(Bit::Vector)
e78cc3
e78cc3
* Sat Jun 30 2007 Steven Pritchard <steve@kspei.com> 6.4-3
e78cc3
- Fix find option order.
e78cc3
- Use fixperms macro instead of our own chmod incantation.
e78cc3
- Remove check macro cruft.
e78cc3
- Improve Summary.
e78cc3
- Remove redundant perl build dependency.
e78cc3
- BR ExtUtils::MakeMaker.
e78cc3
- Set OPTIMIZE when we run Makefile.PL, not make.
e78cc3
- BR perl(Carp::Clan) instead of perl-Carp-Clan.
e78cc3
- Remove redundant Carp::Clan dependency.
e78cc3
- Filter unversioned Provides: perl(Bit::Vector)
e78cc3
e78cc3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.4-2.2.2.1
e78cc3
- rebuild
e78cc3
e78cc3
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.4-2.2.2
e78cc3
- bump again for double-long bug on ppc(64)
e78cc3
e78cc3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 6.4-2.2.1
e78cc3
- rebuilt for new gcc4.1 snapshot and glibc changes
e78cc3
e78cc3
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 6.4-2.2
e78cc3
- rebuild for new perl-5.8.8
e78cc3
e78cc3
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
e78cc3
- rebuilt for new gcc
e78cc3
e78cc3
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
e78cc3
- rebuilt for new gcj
e78cc3
e78cc3
* Sat Apr  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 6.4-1
e78cc3
- Update to 6.4.
e78cc3
- Bring up to date with current Fedora.Extras perl spec template.
e78cc3
e78cc3
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e78cc3
- rebuilt
e78cc3
e78cc3
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
e78cc3
- rebuilt
e78cc3
e78cc3
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 6.3-1
e78cc3
- update to 6.3
e78cc3
e78cc3
* Wed Jul 16 2003 Elliot Lee <sopwith@redhat.com> 
e78cc3
- Rebuild, remove unpackaged files
e78cc3
e78cc3
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
e78cc3
- rebuilt
e78cc3
e78cc3
* Thu Aug 15 2002 Chip Turner <cturner@redhat.com>
e78cc3
- file list fix for Clan stuff
e78cc3
e78cc3
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
e78cc3
- automated release bump and build
e78cc3
e78cc3
* Wed Jan 30 2002 cturner@redhat.com
e78cc3
- Specfile autogenerated
e78cc3