jvdias 7aa11a9
Name:           perl-String-CRC32
jvdias 68b1eea
Version:        1.4
9c902c5
Release:        16%{?dist}
f7f8701
Summary:        Perl interface for cyclic redundancy check generation
jvdias 7aa11a9
Group:          Development/Libraries
jvdias d9a2103
License:        Public Domain
jvdias 7aa11a9
URL:            http://search.cpan.org/dist/String-CRC32/
f7f8701
Source0:        http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
jvdias 7aa11a9
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f7f8701
BuildRequires:  perl(ExtUtils::MakeMaker)
f7f8701
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
jvdias 7aa11a9
jvdias 7aa11a9
%description
f7f8701
This packages provides a perl module to generate checksums from strings and
f7f8701
from files.
jvdias 7aa11a9
f7f8701
The checksums are the same as those calculated by ZMODEM, PKZIP, PICCHECK and
f7f8701
many others.
f7f8701
f7f8701
There's another perl module called String::CRC, which supports calculation of
f7f8701
CRC values of various widths (i.e. not just 32 bits), but the generated sums
f7f8701
differ from those of the programs mentioned above.
jvdias 7aa11a9
jvdias 7aa11a9
%prep
jvdias 7aa11a9
%setup -q -n String-CRC32-%{version}
jvdias 7aa11a9
jvdias 7aa11a9
%build
jvdias 7aa11a9
%{__perl} Makefile.PL INSTALLDIRS=vendor
jvdias 7aa11a9
make %{?_smp_mflags}
jvdias 7aa11a9
jvdias 7aa11a9
%install
jvdias 7aa11a9
rm -rf $RPM_BUILD_ROOT
jvdias 7aa11a9
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
jvdias 7aa11a9
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
jvdias 7aa11a9
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
f7f8701
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
jvdias 7aa11a9
chmod -R u+w $RPM_BUILD_ROOT/*
jvdias 7aa11a9
f7f8701
%check
jvdias 7aa11a9
make test
jvdias 7aa11a9
jvdias 7aa11a9
%clean
jvdias 7aa11a9
rm -rf $RPM_BUILD_ROOT
jvdias 7aa11a9
jvdias 7aa11a9
%files
jvdias 7aa11a9
%defattr(-,root,root,-)
jvdias 7aa11a9
%doc README
jvdias 7aa11a9
%{perl_vendorarch}/String/
f7f8701
%{perl_vendorarch}/auto/String/
jvdias 7aa11a9
%{_mandir}/man3/*.3*
jvdias 7aa11a9
jvdias 7aa11a9
%changelog
9c902c5
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
9c902c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c902c5
245b62f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-15
245b62f
- Perl 5.16 rebuild
245b62f
683aae6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
683aae6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
683aae6
9d312f5
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-13
9d312f5
- Perl mass rebuild
9d312f5
117c4e2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-12
117c4e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
117c4e2
282ee6c
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-11
282ee6c
- 661697 rebuild for fixing problems with vendorach/lib
282ee6c
b3e39cf
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-10
b3e39cf
- Mass rebuild with perl-5.12.0
b3e39cf
67cedea
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.4-9
67cedea
- rebuild against perl 5.10.1
67cedea
349e40e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
349e40e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
349e40e
e95c25c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
e95c25c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e95c25c
86632b6
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-6
86632b6
- Rebuild for perl 5.10 (again)
86632b6
6359ede
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4-5
6359ede
- Autorebuild for GCC 4.3
6359ede
487efec
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-4
487efec
- rebuild for new perl
487efec
f7f8701
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 1.4-3
f7f8701
- fix typo in %%summary and tidy up %%description
f7f8701
- remove redundant dependency on perl >= 1:5.6.1
f7f8701
- fix argument order for find with -depth
f7f8701
- drop "|| :" from %%check (only required for ancient rpmbuild versions)
f7f8701
- add buildreq perl(ExtUtils::MakeMaker)
f7f8701
67f0812
* Wed Aug 02 2006 Warren Togami <wtogami@redhat.com> 1.4-2
67f0812
- bump
67f0812
67f0812
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 
e1b6c51
- rebuild
e1b6c51
jvdias 68b1eea
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 1.4-1.FC6
jvdias 68b1eea
- upgrade to upstream version 1.4
jvdias 68b1eea
ee10314
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.2
ee10314
- bump again for double-long bug on ppc(64)
ee10314
c4392ea
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.FC5.1
c4392ea
- rebuilt for new gcc4.1 snapshot and glibc changes
c4392ea
jvdias 6fed009
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-3.FC5
jvdias 6fed009
- rebuild for new perl-5.8.8
jvdias 6fed009
jvdias d9a2103
* Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-2.FC5
jvdias d9a2103
- bug 176175 addendum: license should be 'Public Domain'
jvdias d9a2103
jvdias 4924a48
* Fri Jan 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.1.03-1.4.FC5
jvdias 4924a48
- fix bug 177700: differentiate version from FE4, FE dev versions
jvdias 4924a48
jvdias 7aa11a9
* Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
jvdias 7aa11a9
- Initial build.
jvdias 7aa11a9
- Required by lftp-3.3.x+ 
jvdias 7aa11a9
- Imported to fix bug 176175