perl-Digest-SHA1-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. %define real_name Digest-SHA1
  2. Summary: Digest-SHA1 Perl module
  3. Name: perl-Digest-SHA1
  4. Version: 2.13
  5. Release: 2%{_dist_release}
  6. License: distributable
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Digest-SHA1/
  9. Source: http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl >= 0:5.10.0
  12. Requires: perl >= 0:5.10.0
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  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. %prep
  26. %setup -n %{real_name}-%{version}
  27. %build
  28. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  29. %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
  30. %install
  31. %{__rm} -rf %{buildroot}
  32. %makeinstall
  33. ### Clean up buildroot
  34. %{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
  35. %clean
  36. %{__rm} -rf %{buildroot}
  37. %files
  38. %defattr(-, root, root, 0755)
  39. %doc Changes MANIFEST README fip180-1*
  40. %doc %{_mandir}/man3/*.3pm*
  41. %dir %{perl_vendorarch}/Digest/
  42. %{perl_vendorarch}/Digest/SHA1.pm
  43. %dir %{perl_vendorarch}/auto/Digest/
  44. %{perl_vendorarch}/auto/Digest/SHA1/
  45. %changelog
  46. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13-2
  47. - rebuilt with perl-5.6.13.
  48. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 2.13-1
  49. - new upstream release
  50. - add Vendor and Distribution tags
  51. * Wed Jul 8 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-1
  52. - new upstream release.
  53. * Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> - 2.11-2
  54. - rebuilt with perl-5.10.0.
  55. * Sat Sep 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.11-1vl1
  56. - Initial built for Vine Linux
  57. * Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 2.11-1
  58. - Updated to release 2.11.
  59. * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.10-1.2
  60. - Rebuild for Fedora Core 5.
  61. * Fri Mar 18 2005 Dag Wieers <dag@wieers.com> - 2.10-1
  62. - Cosmetic cleanup.
  63. * Thu Mar 18 2004 Dag Wieers <dag@wieers.com> - 2.07-1
  64. - Updated to release 2.07.
  65. * Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 2.03-0
  66. - Initial package. (using DAR)