%define pkg_name String-CRC32 %define pkg_version 1.4 %define rpm_pkg_version 1.4 %define rpm_pkg_release 2.n0i.7 Summary: Perl module to generate checksums from strings/files Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SO/SOENKE/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This packages provides a perl module to generate checksums from strings and from files. The checksums are the same as those calculated by ZMODEM, PKZIP, PICCHECK and many others. There's another perl module called String::CRC which allows to calculate not only 32 bit CRC numbers, but the generated sums differ from those of the programs mentioned above. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc README %changelog * Tue May 22 2007 Marius Feraru - 1.4-2.n0i.7 - rebuild * Tue May 02 2006 Marius Feraru - 1.4-1.n0i.6 - version 1.4 * Sat Mar 04 2006 Marius Feraru - 1.3-2.n0i.5 - automatic rebuild (perl 5.8.8) * Sat Jul 23 2005 Marius Feraru 1.3-1.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.2-1.n0i.3 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.2-1.n0i.2 - automatic rebuild (perl 5.8.6) * Fri Nov 19 2004 Marius Feraru 0:1.2-1.n0i.1 - version 1.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004083101