From 07d7ab91babede7592a3680a6b3fbff647d7ef6c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:53:39 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 2.13-2mamba;Mon Nov 12 2012] --- README.md | 6 +++ perl-Digest-SHA1.spec | 85 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 perl-Digest-SHA1.spec diff --git a/README.md b/README.md index c6f258e..7f7b8c1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # 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. + diff --git a/perl-Digest-SHA1.spec b/perl-Digest-SHA1.spec new file mode 100644 index 0000000..84ea590 --- /dev/null +++ b/perl-Digest-SHA1.spec @@ -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 +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 2.13-2mamba +- perl 5.16 mass rebuild + +* Sat Jul 10 2010 Automatic Build System 2.13-1mamba +- automatic update by autodist + +* Sat Jun 06 2009 Automatic Build System 2.12-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 2.11-2mamba +- automatic rebuild by autodist + +* Thu Sep 13 2007 Aleph0 2.11-1mamba +- update to 2.11 + +* Thu Nov 10 2005 Stefano Cotta Ramusino 2.10-1qilnx +- update to version 2.10 by autospec +- specfile updated and fixed + +* Wed Jan 19 2005 Silvan Calarco 2.06-4qilnx +- fix for perl version requirement (>= instead of =) + +* Tue Feb 24 2004 Davide Madrisan 2.06-3qilnx +- rebuilt with Perl 5.8.2 + +* Fri Jan 02 2004 Davide Madrisan 2.06-2qilnx +- rebuilt with Perl 5.8.1 +- specfile updated and fixed + +* Wed Nov 05 2003 Davide Madrisan 2.06-1qilnx +- First build (needed by coreutils 5.0.x)