%define module Crypt-OpenSSL-DSA %define name perl-%{module} %define version 0.13 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Digital Signature Algorithm using OpenSSL License: GPL or Artistic Group: Development/Perl Source0: http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildRequires: perl-devel BuildRequires: openssl-devel BuildRoot: %{_tmppath}/%{name}-%{version} %description Crypt::OpenSSL::DSA implements the DSA (Digital Signature Algorithm) signature verification system. It is a thin XS wrapper to the DSA functions contained in the OpenSSL crypto library, located at http://www.openssl.org %prep %setup -q -n %{module}-%{version} # perl path hack find . -type f | xargs %{__perl} -p -i -e "s|^#\!/usr/local/bin/perl|#\!/usr/bin/perl|g" %build %{__perl} Makefile.PL INSTALLDIRS=vendor </dev/null %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorarch}/auto/Crypt %{perl_vendorarch}/Crypt %{_mandir}/*/* %changelog * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.13-2mdv2007.0 - Rebuild * Mon Nov 28 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.13-1mdk - New release 0.13 - fix sources URL - spec cleanup * Tue Jun 07 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.12-2mdk - Fix Url according to Perl policy( thanks guillomovitch ) * Tue Jun 07 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.12-1mdk - 0.12 - Fix Description - Fix Source url - Fix Url - %%mkrel * Mon Nov 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.11-6mdk - Rebuild for new perl * Thu Apr 01 2004 Michael Scherer <misc@mandrake.org> 0.11-5mdk - do not own standard dir - [DIRM] * Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.11-4mdk - rebuild for new perl - don't use PREFIX - use %%makeinstall_std macro * Fri Jul 18 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.11-3mdk - don't require perl, rpm will figure it out by itself - buildrequires * Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.11-2mdk - rebuild for new auto{prov,req} * Fri Jan 17 2003 François Pons <fpons@mandrakesoft.com> 0.11-1mdk - 0.11. * Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.10-2mdk - build release * Wed Nov 13 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.10-1mdk - initial cooker contrib.