File perl-String-CRC32.spec of Package perl-String-CRC32

#
# spec file for package perl-String-CRC32 (Version 1.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define tarname       String-CRC32

Name:           perl-%{tarname} 
Version:        1.4
Release:        0
Requires:       perl = %{perl_version}
Group:          Development/Libraries/Perl
License:        Public Domain
URL:            http://search.cpan.org/~soenke/String-CRC32-1.4/
Summary:        Perl interface for cyclic redundency check generation
Source:         %{tarname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The CRC32 module calculates CRC sums of 32 bit lenghts. It generates the same CRC values as ZMODEM, PKZIP, PICCHECK and many others.

Despite its name, this module is able to compute the checksum of files as well as strings.

Authors:
--------
    Soenke J. Peters <peters__perl@opcenter.de>

%prep
%setup -q -n %{tarname}-%{version}

%build
perl Makefile.PL
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%doc %{_mandir}/man?/*
%{perl_vendorarch}/String
%{perl_vendorarch}/auto/String
/var/adm/perl-modules/*

%changelog
* Sun Aug  3 2008 pzb@novell.com
- New package

openSUSE Build Service is sponsored by