b68cd6
Name:           perl-Digest-SHA1
b68cd6
Version:        2.13
b68cd6
Release:        23%{?dist}
b68cd6
Summary:        Digest-SHA1 Perl module
b68cd6
b68cd6
Group:          Development/Libraries
b68cd6
License:        GPL+ or Artistic
b68cd6
URL:            http://search.cpan.org/dist/Digest-SHA1/
b68cd6
Source0:        http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-%{version}.tar.gz
b68cd6
BuildRequires:  findutils
b68cd6
BuildRequires:  gcc
b68cd6
BuildRequires:  glibc-common
b68cd6
BuildRequires:  make
b68cd6
BuildRequires:  perl-interpreter
b68cd6
BuildRequires:  perl-devel
b68cd6
BuildRequires:  perl-generators
b68cd6
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
b68cd6
# Run-time
b68cd6
BuildRequires:  perl(Digest::base)
b68cd6
BuildRequires:  perl(DynaLoader)
b68cd6
BuildRequires:  perl(Exporter)
b68cd6
BuildRequires:  perl(strict)
b68cd6
BuildRequires:  perl(vars)
b68cd6
# Tests
b68cd6
BuildRequires:  perl(Test)
b68cd6
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
b68cd6
Recommends:     perl(Digest::base)
b68cd6
b68cd6
%description
b68cd6
The Digest::SHA1 module allows you to use the NIST SHA-1 message
b68cd6
digest algorithm from within Perl programs. The algorithm takes as
b68cd6
input a message of arbitrary length and produces as output a 160-bit
b68cd6
"fingerprint" or "message digest" of the input.
b68cd6
b68cd6
The Digest::SHA1 module provide a procedural interface for simple use,
b68cd6
as well as an object oriented interface that can handle messages of
b68cd6
arbitrary length and which can read files directly.
b68cd6
b68cd6
A binary digest will be 20 bytes long. A hex digest will be 40
b68cd6
characters long. A base64 digest will be 27 characters long.
b68cd6
b68cd6
b68cd6
%prep
b68cd6
%setup -q -n Digest-SHA1-%{version} 
b68cd6
f=Changes ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
b68cd6
b68cd6
%build
b68cd6
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
b68cd6
make %{?_smp_mflags}
b68cd6
b68cd6
%install
b68cd6
make pure_install DESTDIR=$RPM_BUILD_ROOT
b68cd6
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -delete
b68cd6
chmod -R u+w $RPM_BUILD_ROOT/*
b68cd6
b68cd6
%check
b68cd6
make test
b68cd6
b68cd6
%files
b68cd6
%doc Changes README fip180-1.{gif,html}
b68cd6
%{perl_vendorarch}/Digest/
b68cd6
%{perl_vendorarch}/auto/Digest/
b68cd6
%{_mandir}/man3/*.3*
b68cd6
b68cd6
b68cd6
%changelog
b68cd6
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-23
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b68cd6
b68cd6
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-22
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b68cd6
b68cd6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-21
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b68cd6
b68cd6
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-20
b68cd6
- Perl 5.26 rebuild
b68cd6
b68cd6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-19
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b68cd6
b68cd6
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-18
b68cd6
- Perl 5.24 rebuild
b68cd6
b68cd6
* Wed Feb 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-17
b68cd6
- Package cleanup
b68cd6
b68cd6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-16
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b68cd6
b68cd6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-15
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b68cd6
b68cd6
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-14
b68cd6
- Perl 5.22 rebuild
b68cd6
b68cd6
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-13
b68cd6
- Perl 5.20 rebuild
b68cd6
b68cd6
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-12
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b68cd6
b68cd6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-11
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b68cd6
b68cd6
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-10
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b68cd6
b68cd6
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.13-9
b68cd6
- Perl 5.18 rebuild
b68cd6
b68cd6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-8
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b68cd6
b68cd6
* Thu Nov 15 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.13-7
b68cd6
- Update dependencies
b68cd6
b68cd6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-6
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b68cd6
b68cd6
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 2.13-5
b68cd6
- Perl 5.16 rebuild
b68cd6
b68cd6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-4
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b68cd6
b68cd6
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.13-3
b68cd6
- Perl mass rebuild
b68cd6
b68cd6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b68cd6
b68cd6
* Mon Oct 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.13-1
b68cd6
- update
b68cd6
b68cd6
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-4
b68cd6
- Mass rebuild with perl-5.12.0
b68cd6
b68cd6
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-3
b68cd6
- Mass rebuild with perl-5.12.0
b68cd6
b68cd6
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.12-2
b68cd6
- rebuild against perl 5.10.1
b68cd6
b68cd6
* Mon Oct  5 2009 Stepan Kasal <skasal@redhat.com> - 2.12-1
b68cd6
- new upstream version
b68cd6
b68cd6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-9
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b68cd6
b68cd6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11-8
b68cd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b68cd6
b68cd6
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11-7
b68cd6
- Rebuild for perl 5.10 (again)
b68cd6
b68cd6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.11-6
b68cd6
- Autorebuild for GCC 4.3
b68cd6
b68cd6
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.11-5
b68cd6
- rebuild for new perl
b68cd6
b68cd6
* Wed Aug 29 2007 Robin Norwood <rnorwood@redhat.com> - 2.11-4
b68cd6
- Update license tag.
b68cd6
b68cd6
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.11-3
b68cd6
- Rebuild for selinux ppc32 issue.
b68cd6
b68cd6
* Thu May 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 2.11-2
b68cd6
- Sync with latest rpmdevtools perl spec template.
b68cd6
- BuildRequire perl(ExtUtils::MakeMaker).
b68cd6
- Convert docs to UTF-8.
b68cd6
b68cd6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.11-1.2.1
b68cd6
- rebuild
b68cd6
b68cd6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.11-1.2
b68cd6
- bump again for double-long bug on ppc(64)
b68cd6
b68cd6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.11-1.1
b68cd6
- rebuilt for new gcc4.1 snapshot and glibc changes
b68cd6
b68cd6
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.11-1
b68cd6
- Upgrade to 2.11
b68cd6
- rebuild for new perl-5.8.8
b68cd6
b68cd6
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
b68cd6
- rebuilt for new gcc
b68cd6
b68cd6
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.10-1
b68cd6
- Update to 2.10.
b68cd6
- spec cleanup (#153198)
b68cd6
b68cd6
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b68cd6
- rebuilt
b68cd6
b68cd6
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
b68cd6
- rebuilt
b68cd6
b68cd6
* Thu Feb 19 2004 Chip Turner <cturner@redhat.com> 2.07-2
b68cd6
- rebuild
b68cd6
b68cd6
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 2.07-1
b68cd6
- move to 2.07, remove now-unnecessary utf8 patch
b68cd6
b68cd6
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b68cd6
- rebuilt
b68cd6
b68cd6
* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 2.01-15
b68cd6
- rebuild
b68cd6
b68cd6
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
b68cd6
- version bump and rebuild
b68cd6
b68cd6
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
b68cd6
- automated release bump and build
b68cd6
b68cd6
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
b68cd6
- description update
b68cd6
b68cd6
* Sat Mar 16 2002 cturner@redhat.com
b68cd6
- Specfile autogenerated
b68cd6