perl-Bit-Vector/perl-Bit-Vector.spec

89 lines
2.9 KiB
RPMSpec
Raw Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Bit-Vector
Version: 7.4
Release: 2mamba
Summary: Bit::Vector - efficient C library which allows you to handle bit vectors
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
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
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4-2mamba
- perl 5.24 mass rebuild
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 7.4-1mamba
- automatic update by autodist
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 7.3-1mamba
- automatic version update by autodist
* Thu Nov 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2-2mamba
- perl 5.16 mass rebuild
* Wed May 23 2012 Automatic Build System <autodist@mambasoft.it> 7.2-1mamba
- automatic version update by autodist
* Fri Oct 02 2009 Automatic Build System <autodist@mambasoft.it> 7.1-1mamba
- automatic update by autodist
* Mon Aug 24 2009 Automatic Build System <autodist@mambasoft.it> 6.9-1mamba
- automatic update by autodist
* Tue Aug 04 2009 Automatic Build System <autodist@mambasoft.it> 6.6-1mamba
- automatic update by autodist
* Mon Jul 27 2009 Automatic Build System <autodist@mambasoft.it> 6.5-1mamba
- automatic update by autodist
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4-3mamba
- automatic rebuild by autodist
* Wed Jun 25 2008 Tiziana Ferro <tiziana.ferro@email.it> 6.4-2mamba
- update Vendor, Distribution, mantainer, buildrequirements list, destdir
* Wed Oct 27 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 6.4-1qilnx
- package created by autospec