f5a28f
Name:           perl-String-CRC32
f5a28f
Version:        1.6
f5a28f
Release:        4%{?dist}
f5a28f
Summary:        Perl interface for cyclic redundancy check generation
f5a28f
License:        Public Domain
f5a28f
URL:            http://search.cpan.org/dist/String-CRC32/
f5a28f
Source0:        http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/String-CRC32-%{version}.tar.gz
f5a28f
# Module Build
f5a28f
BuildRequires:  coreutils
f5a28f
BuildRequires:  findutils
f5a28f
BuildRequires:  gcc
f5a28f
BuildRequires:  make
f5a28f
BuildRequires:  perl-interpreter
f5a28f
BuildRequires:  perl-devel
f5a28f
BuildRequires:  perl-generators
f5a28f
BuildRequires:  perl(ExtUtils::MakeMaker)
f5a28f
# Module Runtime
f5a28f
BuildRequires:  perl(DynaLoader)
f5a28f
BuildRequires:  perl(Exporter)
f5a28f
BuildRequires:  perl(strict)
f5a28f
BuildRequires:  perl(vars)
f5a28f
BuildRequires:  perl(warnings)
f5a28f
# Test Suite
f5a28f
# (no additional dependencies)
f5a28f
# Dependencies
f5a28f
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
f5a28f
f5a28f
%{?perl_default_filter}
f5a28f
f5a28f
%description
f5a28f
This packages provides a perl module to generate checksums from strings and
f5a28f
from files.
f5a28f
f5a28f
The checksums are the same as those calculated by ZMODEM, PKZIP, PICCHECK and
f5a28f
many others.
f5a28f
f5a28f
There's another perl module called String::CRC, which supports calculation of
f5a28f
CRC values of various widths (i.e. not just 32 bits), but the generated sums
f5a28f
differ from those of the programs mentioned above.
f5a28f
f5a28f
%prep
f5a28f
%setup -q -n String-CRC32-%{version}
f5a28f
f5a28f
%build
f5a28f
perl Makefile.PL INSTALLDIRS=vendor
f5a28f
make %{?_smp_mflags}
f5a28f
f5a28f
%install
f5a28f
make pure_install DESTDIR=%{buildroot}
f5a28f
find %{buildroot} -type f -name .packlist -delete
f5a28f
find %{buildroot} -type f -name '*.bs' -empty -delete
f5a28f
%{_fixperms} -c %{buildroot}
f5a28f
f5a28f
%check
f5a28f
make test
f5a28f
f5a28f
%files
f5a28f
%if 0%{?_licensedir:1}
f5a28f
%license LICENSE
f5a28f
%else
f5a28f
%doc LICENSE
f5a28f
%endif
f5a28f
%doc README.md
f5a28f
%{perl_vendorarch}/String/
f5a28f
%{perl_vendorarch}/auto/String/
f5a28f
%{_mandir}/man3/String::CRC32.3*
f5a28f
f5a28f
%changelog
f5a28f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f5a28f
f5a28f
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-3
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f5a28f
f5a28f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f5a28f
f5a28f
* Tue Jun 27 2017 Paul Howarth <paul@city-fan.org> - 1.6-1
f5a28f
- Update to 1.6
f5a28f
  - New maintainer: LEEJO
f5a28f
  - Add Changes file
f5a28f
  - Add link to github repo
f5a28f
  - Add strict and warnings
f5a28f
  - Add LICENSE to POD + LICENSE file
f5a28f
  - Add META.* files through make dist
f5a28f
  - Add .travis.yml for CI
f5a28f
- This release by LEEJO → update source URL
f5a28f
- Drop EL-5 support
f5a28f
  - Drop BuildRoot: and Group: tags
f5a28f
  - Drop explicit buildroot cleaning in %%install section
f5a28f
  - Drop explicit %%clean section
f5a28f
f5a28f
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-11
f5a28f
- Perl 5.26 rebuild
f5a28f
f5a28f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-10
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f5a28f
f5a28f
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-9
f5a28f
- Perl 5.24 rebuild
f5a28f
f5a28f
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 1.5-8
f5a28f
- Classify buildreqs by usage
f5a28f
- Simplify find commands using -delete
f5a28f
f5a28f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f5a28f
f5a28f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f5a28f
f5a28f
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-5
f5a28f
- Perl 5.22 rebuild
f5a28f
f5a28f
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-4
f5a28f
- Perl 5.20 rebuild
f5a28f
f5a28f
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f5a28f
f5a28f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f5a28f
f5a28f
* Wed Jan  1 2014 Paul Howarth <paul@city-fan.org> - 1.5-1
f5a28f
- Update to 1.5 (document use of binmode)
f5a28f
- Drop %%defattr, redundant since rpm 4.4
f5a28f
- No need to remove empty directories from the buildroot
f5a28f
- Use %%{_fixperms} macro rather than our own chmod incantation
f5a28f
f5a28f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-20
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f5a28f
f5a28f
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.4-19
f5a28f
- Perl 5.18 rebuild
f5a28f
f5a28f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-18
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f5a28f
f5a28f
* Fri Nov 02 2012 Petr Pisar <ppisar@redhat.com> - 1.4-17
f5a28f
- Correct dependencies
f5a28f
f5a28f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f5a28f
f5a28f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-15
f5a28f
- Perl 5.16 rebuild
f5a28f
f5a28f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f5a28f
f5a28f
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-13
f5a28f
- Perl mass rebuild
f5a28f
f5a28f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f5a28f
f5a28f
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-11
f5a28f
- Rebuild to fix problems with vendorarch/lib (#661697)
f5a28f
f5a28f
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-10
f5a28f
- Mass rebuild with perl-5.12.0
f5a28f
f5a28f
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.4-9
f5a28f
- rebuild against perl 5.10.1
f5a28f
f5a28f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f5a28f
f5a28f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
f5a28f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f5a28f
f5a28f
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-6
f5a28f
- Rebuild for perl 5.10 (again)
f5a28f
f5a28f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4-5
f5a28f
- Autorebuild for GCC 4.3
f5a28f
f5a28f
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-4
f5a28f
- rebuild for new perl
f5a28f
f5a28f
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 1.4-3
f5a28f
- fix typo in %%summary and tidy up %%description
f5a28f
- remove redundant dependency on perl >= 1:5.6.1
f5a28f
- fix argument order for find with -depth
f5a28f
- drop "|| :" from %%check (only required for ancient rpmbuild versions)
f5a28f
- add buildreq perl(ExtUtils::MakeMaker)
f5a28f
f5a28f
* Wed Aug 02 2006 Warren Togami <wtogami@redhat.com> 1.4-2
f5a28f
- bump
f5a28f
f5a28f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
f5a28f
- rebuild
f5a28f
f5a28f
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 1.4-1.FC6
f5a28f
- upgrade to upstream version 1.4
f5a28f
f5a28f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
f5a28f
- bump again for double-long bug on ppc(64)
f5a28f
f5a28f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
f5a28f
- rebuilt for new gcc4.1 snapshot and glibc changes
f5a28f
f5a28f
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
f5a28f
- rebuild for new perl-5.8.8
f5a28f
f5a28f
* Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
f5a28f
- bug 176175 addendum: license should be 'Public Domain'
f5a28f
f5a28f
* Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
f5a28f
- fix bug 177700: differentiate version from FE4, FE dev versions
f5a28f
f5a28f
* Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
f5a28f
- Initial build.
f5a28f
- Required by lftp-3.3.x+
f5a28f
- Imported to fix bug 176175