perl-String-CRC32-vl.spec 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: Perl interface for cyclic redundency check generation
  2. Name: perl-String-CRC32
  3. Version: 1.5
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: Public Domain
  7. URL: http://search.cpan.org/dist/String-CRC32/
  8. Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 1:5.6.1
  11. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  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. %prep
  23. %setup -q -n String-CRC32-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  31. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %check || :
  35. make test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc README
  41. %{perl_vendorarch}/String/
  42. %{perl_vendorarch}/auto/String
  43. %{_mandir}/man3/*.3*
  44. %changelog
  45. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5-1
  46. - new upstream release.
  47. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.4-2
  48. - build with perl 5.12.3
  49. - add Vendor and Distribution tags
  50. * Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-1
  51. - applied new versioning policy
  52. * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-0vl1
  53. - new upstream release
  54. * Sat Feb 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-3vl1
  55. - rebuild for VineSeed
  56. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
  57. - bump again for double-long bug on ppc(64)
  58. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
  59. - rebuilt for new gcc4.1 snapshot and glibc changes
  60. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
  61. - rebuild for new perl-5.8.8
  62. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
  63. - bug 176175 addendum: license should be 'Public Domain'
  64. * Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
  65. - fix bug 177700: differentiate version from FE4, FE dev versions
  66. * Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
  67. - Initial build.
  68. - Required by lftp-3.3.x+
  69. - Imported to fix bug 176175