Blame SPECS/perl-String-CRC32.spec

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