diff --git a/README.md b/README.md index 71f785c..944fa8c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Bit-Vector +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. + diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec new file mode 100644 index 0000000..5b01640 --- /dev/null +++ b/perl-Bit-Vector.spec @@ -0,0 +1,82 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Bit-Vector +Version: 7.3 +Release: 1mamba +Summary: Bit::Vector - efficient C library which allows you to handle bit vectors +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/perl-root +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-Carp-Clan +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END + +%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. + +%prep +%setup -q -n Bit-Vector-%{version} + +%build +perl Makefile.PL +make %{?_smp_mflags} +make test + +%install +[[ "%{buildroot}" ]] && rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} + +packlist=`find %{buildroot} -name .packlist` +[[ -z "$packlist" ]] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm -f $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[[ "%{buildroot}" ]] && rm -rf %{buildroot} + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Jun 04 2013 Automatic Build System 7.3-1mamba +- automatic version update by autodist + +* Thu Nov 15 2012 Silvan Calarco 7.2-2mamba +- perl 5.16 mass rebuild + +* Wed May 23 2012 Automatic Build System 7.2-1mamba +- automatic version update by autodist + +* Fri Oct 02 2009 Automatic Build System 7.1-1mamba +- automatic update by autodist + +* Mon Aug 24 2009 Automatic Build System 6.9-1mamba +- automatic update by autodist + +* Tue Aug 04 2009 Automatic Build System 6.6-1mamba +- automatic update by autodist + +* Mon Jul 27 2009 Automatic Build System 6.5-1mamba +- automatic update by autodist + +* Mon Nov 03 2008 Silvan Calarco 6.4-3mamba +- automatic rebuild by autodist + +* Wed Jun 25 2008 Tiziana Ferro 6.4-2mamba +- update Vendor, Distribution, mantainer, buildrequirements list, destdir + +* Wed Oct 27 2004 Alessandro Ramazzina 6.4-1qilnx +- package created by autospec