[521] | 1 | %define real_name Digest-SHA1 |
---|
| 2 | |
---|
| 3 | Summary: Digest-SHA1 Perl module |
---|
| 4 | Name: perl-Digest-SHA1 |
---|
[3172] | 5 | Version: 2.13 |
---|
[8699] | 6 | Release: 2%{_dist_release} |
---|
[521] | 7 | License: distributable |
---|
| 8 | Group: Development/Libraries |
---|
| 9 | URL: http://search.cpan.org/dist/Digest-SHA1/ |
---|
| 10 | |
---|
| 11 | Source: http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: perl >= 0:5.10.0 |
---|
| 15 | Requires: perl >= 0:5.10.0 |
---|
| 16 | |
---|
[3172] | 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
[521] | 20 | %description |
---|
| 21 | The Digest::SHA1 module allows you to use the NIST SHA-1 message |
---|
| 22 | digest algorithm from within Perl programs. The algorithm takes as |
---|
| 23 | input a message of arbitrary length and produces as output a 160-bit |
---|
| 24 | "fingerprint" or "message digest" of the input. |
---|
| 25 | |
---|
| 26 | The Digest::SHA1 module provide a procedural interface for simple use, |
---|
| 27 | as well as an object oriented interface that can handle messages of |
---|
| 28 | arbitrary length and which can read files directly. |
---|
| 29 | |
---|
| 30 | A binary digest will be 20 bytes long. A hex digest will be 40 |
---|
| 31 | characters long. A base64 digest will be 27 characters long. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -n %{real_name}-%{version} |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 38 | %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | %{__rm} -rf %{buildroot} |
---|
| 42 | %makeinstall |
---|
| 43 | |
---|
| 44 | ### Clean up buildroot |
---|
| 45 | %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | %{__rm} -rf %{buildroot} |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-, root, root, 0755) |
---|
| 52 | %doc Changes MANIFEST README fip180-1* |
---|
| 53 | %doc %{_mandir}/man3/*.3pm* |
---|
| 54 | %dir %{perl_vendorarch}/Digest/ |
---|
| 55 | %{perl_vendorarch}/Digest/SHA1.pm |
---|
| 56 | %dir %{perl_vendorarch}/auto/Digest/ |
---|
| 57 | %{perl_vendorarch}/auto/Digest/SHA1/ |
---|
| 58 | |
---|
| 59 | %changelog |
---|
[8699] | 60 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-2 |
---|
| 61 | - rebuilt with perl-5.6.13. |
---|
| 62 | |
---|
[3172] | 63 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 2.13-1 |
---|
| 64 | - new upstream release |
---|
| 65 | - add Vendor and Distribution tags |
---|
| 66 | |
---|
[521] | 67 | * Wed Jul 8 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-1 |
---|
| 68 | - new upstream release. |
---|
| 69 | |
---|
| 70 | * Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> - 2.11-2 |
---|
| 71 | - rebuilt with perl-5.10.0. |
---|
| 72 | |
---|
| 73 | * Sat Sep 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.11-1vl1 |
---|
| 74 | - Initial built for Vine Linux |
---|
| 75 | |
---|
| 76 | * Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 2.11-1 |
---|
| 77 | - Updated to release 2.11. |
---|
| 78 | |
---|
| 79 | * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.10-1.2 |
---|
| 80 | - Rebuild for Fedora Core 5. |
---|
| 81 | |
---|
| 82 | * Fri Mar 18 2005 Dag Wieers <dag@wieers.com> - 2.10-1 |
---|
| 83 | - Cosmetic cleanup. |
---|
| 84 | |
---|
| 85 | * Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 2.07-1 |
---|
| 86 | - Updated to release 2.07. |
---|
| 87 | |
---|
| 88 | * Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 2.03-0 |
---|
| 89 | - Initial package. (using DAR) |
---|