perl-String-CRC32-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Summary: Perl interface for cyclic redundency check generation
  2. Name: perl-String-CRC32
  3. Version: 2.100
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: Public Domain
  9. URL: https://metacpan.org/dist/String-CRC32/
  10. Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/String-CRC32-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: perl >= 2:5.26.2
  13. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  14. %description
  15. This packages provides a perl module to generate checksums from strings
  16. and from files.
  17. The checksums are the same as those calculated by ZMODEM, PKZIP,
  18. PICCHECK and many others.
  19. There's another perl module called String::CRC which allows to calculate
  20. not only 32 bit CRC numbers, but the generated sums differ from those of
  21. the programs mentioned above.
  22. %debug_package
  23. %prep
  24. %setup -q -n String-CRC32-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  33. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  34. chmod -R u+w $RPM_BUILD_ROOT/*
  35. %check || :
  36. make test
  37. %files
  38. %license LICENSE
  39. %doc README.md
  40. %{perl_vendorarch}/String/
  41. %{perl_vendorarch}/auto/String
  42. %{_mandir}/man3/*.3*
  43. %changelog
  44. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.100-1
  45. - new upstream release.
  46. - built with perl-5.40.
  47. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5-1
  51. - new upstream release.
  52. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.4-2
  53. - build with perl 5.12.3
  54. - add Vendor and Distribution tags
  55. * Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-1
  56. - applied new versioning policy
  57. * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-0vl1
  58. - new upstream release
  59. * Sat Feb 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-3vl1
  60. - rebuild for VineSeed
  61. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
  62. - bump again for double-long bug on ppc(64)
  63. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
  64. - rebuilt for new gcc4.1 snapshot and glibc changes
  65. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
  66. - rebuild for new perl-5.8.8
  67. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
  68. - bug 176175 addendum: license should be 'Public Domain'
  69. * Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
  70. - fix bug 177700: differentiate version from FE4, FE dev versions
  71. * Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
  72. - Initial build.
  73. - Required by lftp-3.3.x+
  74. - Imported to fix bug 176175