perl-String-CRC32-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Summary: Perl interface for cyclic redundency check generation
  2. Name: perl-String-CRC32
  3. Version: 1.4
  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 >= 1:%(eval "`%{__perl} -V:version`"; echo $version)
  12. %description
  13. This packages provides a perl module to generate checksums from strings
  14. and from files.
  15. The checksums are the same as those calculated by ZMODEM, PKZIP,
  16. PICCHECK and many others.
  17. There's another perl module called String::CRC which allows to calculate
  18. not only 32 bit CRC numbers, but the generated sums differ from those of
  19. the programs mentioned above.
  20. %prep
  21. %setup -q -n String-CRC32-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  28. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  29. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  30. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  31. chmod -R u+w $RPM_BUILD_ROOT/*
  32. %check || :
  33. make test
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc README
  39. %{perl_vendorarch}/String/
  40. %{perl_vendorarch}/auto/String
  41. %{_mandir}/man3/*.3*
  42. %changelog
  43. * Wed Apr 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-1
  44. - applied new versioning policy
  45. * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4-0vl1
  46. - new upstream release
  47. * Sat Feb 18 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-3vl1
  48. - rebuild for VineSeed
  49. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
  50. - bump again for double-long bug on ppc(64)
  51. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
  52. - rebuilt for new gcc4.1 snapshot and glibc changes
  53. * Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
  54. - rebuild for new perl-5.8.8
  55. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
  56. - bug 176175 addendum: license should be 'Public Domain'
  57. * Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
  58. - fix bug 177700: differentiate version from FE4, FE dev versions
  59. * Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
  60. - Initial build.
  61. - Required by lftp-3.3.x+
  62. - Imported to fix bug 176175