xulchris 350afd9
Name:           perl-Digest-CRC
8724b71
Version:        0.16
4db489f
Release:        2%{?dist}
xulchris 350afd9
Summary:        Generic CRC functions
xulchris 350afd9
Group:          Development/Libraries
xulchris 350afd9
License:        Public Domain
xulchris c92cd9c
URL:            http://search.cpan.org/dist/Digest-CRC
xulchris 350afd9
Source0:        http://search.cpan.org/CPAN/authors/id/O/OL/OLIMAUL/Digest-CRC-%{version}.tar.gz
xulchris 350afd9
BuildRequires:  perl(ExtUtils::MakeMaker)
8724b71
BuildRequires:  perl(Fcntl)
8724b71
BuildRequires:  perl(Exporter)
8724b71
BuildRequires:  perl(DynaLoader)
8724b71
BuildRequires:  perl(vars)
8724b71
Requires:       perl(Exporter)
8724b71
Requires:       perl(DynaLoader)
8724b71
Requires:       perl(vars)
8724b71
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
xulchris 350afd9
xulchris 350afd9
%description
xulchris 350afd9
The Digest::CRC module calculates CRC sums of all sorts. It contains wrapper
xulchris 350afd9
functions with the correct parameters for CRC-CCITT, CRC-16 and CRC-32.
xulchris 350afd9
xulchris 350afd9
%prep
xulchris 350afd9
%setup -qn Digest-CRC-%{version}
xulchris 350afd9
xulchris 350afd9
%build
8724b71
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
xulchris 350afd9
make %{?_smp_mflags}
xulchris 350afd9
xulchris 350afd9
%install
8724b71
make pure_install PERL_INSTALL_ROOT=%{buildroot}
8724b71
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
8724b71
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
8724b71
chmod -R u+w %{buildroot}/*
8724b71
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
xulchris 350afd9
xulchris 350afd9
%check
xulchris 350afd9
make test
xulchris 350afd9
xulchris 350afd9
%files
xulchris 350afd9
%defattr(-,root,root,-)
xulchris 350afd9
%doc Changes META.yml README t
xulchris 350afd9
%{perl_vendorarch}/auto/*
xulchris 350afd9
%{perl_vendorarch}/Digest
xulchris 350afd9
%{_mandir}/man3/*.3*
xulchris 350afd9
xulchris 350afd9
%changelog
4db489f
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-2
4db489f
- Perl mass rebuild
4db489f
8724b71
* Tue Apr 26 2011 Petr Sabata <psabata@redhat.com> - 0.16-1
8724b71
- 0.16 bump
8724b71
- Buildroot removed, general cleanup
8724b71
- Fixing [B]Requires...
8724b71
f513d4b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-8
f513d4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f513d4b
0bb4377
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-7
0bb4377
- 661697 rebuild for fixing problems with vendorach/lib
0bb4377
029b8d6
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-6
029b8d6
- Mass rebuild with perl-5.12.0
029b8d6
4c8cb10
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.14-5
4c8cb10
- Mass rebuild with perl-5.12.0
4c8cb10
0882bbf
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.14-4
0882bbf
- rebuild against perl 5.10.1
0882bbf
8cc9b84
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
8cc9b84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8cc9b84
6db4649
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
6db4649
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6db4649
xulchris c92cd9c
* Thu May 22 2008 Christopher Stone <chris.stone@gmail.com> 0.14-1
xulchris c92cd9c
- Upstream sync
477536e
xulchris c92cd9c
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-4
xulchris c92cd9c
- Rebuild for new perl
xulchris c92cd9c
xulchris c92cd9c
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> 0.10-3
813df82
- Autorebuild for GCC 4.3
813df82
xulchris 350afd9
* Tue Oct 16 2007 Christopher Stone <chris.stone@gmail.com> 0.10-2
xulchris 350afd9
- Remove zero length files.
xulchris 350afd9
xulchris 350afd9
* Tue Oct 16 2007 Christopher Stone <chris.stone@gmail.com> 0.10-1
xulchris 350afd9
- Initial Release.