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