perl-Digest-SHA1-vl.spec 2.5 KB

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