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