Name: perl-Digest-SHA1
Summary: Digest-SHA1 Perl module
Version: 2.13
Release: 1
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Digest-SHA1/
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.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag ### EL6 ships with perl-Digest-SHA1-2.12-2.el6 %{?el6:# Tag: rfx} ### EL5 ships with perl-Digest-SHA1-2.11-1.2.1 %{?el5:# Tag: rfx} ### EL4 ships with perl-Digest-SHA1-2.07-5 %{?el4:# Tag: rfx} ### EL3 ships with perl-Digest-SHA1-2.01-15.1 %{?el3:# Tag: rfx} %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name Digest-SHA1 Summary: Digest-SHA1 Perl module Name: perl-Digest-SHA1 Version: 2.13 Release: 1%{?dist} License: distributable Group: Applications/CPAN URL: http://search.cpan.org/dist/Digest-SHA1/ Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl >= 0:5.00503 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl >= 0:5.00503 %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 -n %{real_name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST README fip180-1* %doc %{_mandir}/man3/*.3pm* %dir %{perl_vendorarch}/Digest/ %{perl_vendorarch}/Digest/SHA1.pm %dir %{perl_vendorarch}/auto/Digest/ %{perl_vendorarch}/auto/Digest/SHA1/ %changelog * Fri Sep 10 2010 David Hrbáč <david@hrbac.cz> - 2.13-1 - new upstream release * Mon Dec 28 2009 Christoph Maser <cmr@financial.com> - 2.12-2 - Change Source: - Remove el4-exclude * Mon Jul 6 2009 Christoph Maser <cmr@financial.com> - 2.12-1 - Updated to version 2.12. * Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 2.11-1 - Updated to release 2.11. * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.10-1.2 - Rebuild for Fedora Core 5. * Fri Mar 18 2005 Dag Wieers <dag@wieers.com> - 2.10-1 - Cosmetic cleanup. * Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 2.07-1 - Updated to release 2.07. * Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 2.03-0 - Initial package. (using DAR)