%define upstream_name Crypt-DSA %define upstream_version 1.17 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: DSA Signatures and Key Generation License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%upstream_name/ Source0: http://www.cpan.org/modules/by-module/Cryp:/%{upstream_name}-%{upstream_version}.tar.gz # https://rt.cpan.org/Ticket/Display.html?id=49668 BuildRequires: perl(Data::Buffer) >= 0.10.0 BuildRequires: perl(Digest::SHA1) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Which) >= 0.50.0 BuildRequires: perl(IPC::Open3) BuildRequires: perl(MIME::Base64) BuildRequires: perl(Math::BigInt) >= 1.780.0 BuildRequires: perl(Test::More) >= 0.420.0 BuildArch: noarch %description Crypt::DSA is an implementation of the DSA (Digital Signature Algorithm) signature verification system. The implementation itself is pure Perl, although the heavy-duty mathematics underneath are provided by the Math::Pari library. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes LICENSE META.yml README %{perl_vendorlib}/Crypt %{_mandir}/*/* %changelog * Tue Jun 21 2011 jquelin <jquelin> 1.170.0-1.mga2 + Revision: 111640 - update to 1.17 * Tue Jan 25 2011 jquelin <jquelin> 1.160.0-1.mga1 + Revision: 38538 - fix build error, due to openssl dsaparam output format change (upstream#49668) - mageia rebuild - imported package perl-Crypt-DSA * Mon Sep 14 2009 Jérôme Quelin <jquelin@mandriva.org> 1.160.0-1mdv2010.0 + Revision: 439607 - adding missing buildrequires: - update to 1.16 * Sat Aug 01 2009 Jérôme Quelin <jquelin@mandriva.org> 0.140.0-1mdv2010.0 + Revision: 406925 - rebuild using %%perl_convert_version * Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.14-5mdv2009.0 + Revision: 256260 - rebuild * Wed Dec 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.14-3mdv2008.1 + Revision: 138076 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Jun 07 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.14-2mdv2007.0 - fix source URL * Tue May 30 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.14-1mdv2007.0 - New release 0.14 - spec cleanup - fix directory ownership * Tue Jun 28 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.13-1mdk - 0.13. Slow to test, but works. * Tue Jun 28 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.12-4mdk - spec cleanup (not ready for 0.13 yet) * Wed Feb 09 2005 Sylvie Terjan <erinmargault@mandrake.org> 0.12-3mdk - rebuild for new perl * Tue Nov 11 2003 Michael Scherer <scherer.michael@free.fr> 0.12-2mdk - BuildRequires ( perl-Crypt-Random, perl-Digest-SHA1 ) * Thu Nov 06 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.12-1mdk - New package