perl 5.16 mass rebuild [release 2.13-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 08:53:39 +01:00
parent 6a711ea432
commit 07d7ab91ba
2 changed files with 91 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# perl-Digest-SHA1 # perl-Digest-SHA1
The Digest::SHA1 module allows you to use the NIST SHA-1 message digest algorithm from within Perl programs.
The algorithm takes as input a message of arbitrary length and produces as output a 160-bit "fingerprint" or "message digest" of the input.
The Digest::SHA1 module provide a procedural interface for simple use, as well as an object oriented interface that can handle messages of arbitrary length and which can read files directly.
A binary digest will be 20 bytes long. A hex digest will be 40 characters long.
A base64 digest will be 27 characters long.

85
perl-Digest-SHA1.spec Normal file
View File

@ -0,0 +1,85 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Digest-SHA1
Version: 2.13
Release: 2mamba
Summary: Digest::SHA1 - Perl module for using the NIST SHA-1 message digest algorithm
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://search.cpan.org/dist/Digest-SHA1/
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-%{version}.tar.gz
License: Artistic
BuildRequires: perl-devel >= %{perl_major_ver}
Requires: perl >= %{perl_major_ver}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Digest::SHA1 module allows you to use the NIST SHA-1 message digest algorithm from within Perl programs.
The algorithm takes as input a message of arbitrary length and produces as output a 160-bit "fingerprint" or "message digest" of the input.
The Digest::SHA1 module provide a procedural interface for simple use, as well as an object oriented interface that can handle messages of arbitrary length and which can read files directly.
A binary digest will be 20 bytes long. A hex digest will be 40 characters long.
A base64 digest will be 27 characters long.
%prep
%setup -q -n Digest-SHA1-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
make test
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $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)
%doc Changes README fip180-1*
%changelog
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13-2mamba
- perl 5.16 mass rebuild
* Sat Jul 10 2010 Automatic Build System <autodist@mambasoft.it> 2.13-1mamba
- automatic update by autodist
* Sat Jun 06 2009 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
- automatic update by autodist
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2mamba
- automatic rebuild by autodist
* Thu Sep 13 2007 Aleph0 <aleph0@openmamba.org> 2.11-1mamba
- update to 2.11
* Thu Nov 10 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.10-1qilnx
- update to version 2.10 by autospec
- specfile updated and fixed
* Wed Jan 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.06-4qilnx
- fix for perl version requirement (>= instead of =)
* Tue Feb 24 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.06-3qilnx
- rebuilt with Perl 5.8.2
* Fri Jan 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.06-2qilnx
- rebuilt with Perl 5.8.1
- specfile updated and fixed
* Wed Nov 05 2003 Davide Madrisan <davide.madrisan@qilinux.it> 2.06-1qilnx
- First build (needed by coreutils 5.0.x)