Sophie

Sophie

distrib > Mandriva > 10.0-com > x86_64 > by-pkgid > 955ab75131cc0fef1bb8671bf77c2023 > files > 2

perl-Crypt-DSA-0.12-2mdk.src.rpm

Name:           perl-Crypt-DSA
Version:        0.12
Release:        2mdk
License:        GPL or Artistic

%define realname        Crypt-DSA
Group:          Development/Perl
Summary:        DSA Signatures and Key Generation
Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/%{realname}-%{version}.tar.bz2
Url:            http://www.cpan.org
Prefix:         %{_prefix}
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:  perl-devel
BuildRequires:  perl-Convert-PEM
BuildRequires:  perl-Data-Buffer
BuildRequires:  perl-Digest-SHA1
BuildRequires:  perl-Crypt-Random
BuildRequires:  perl-Crypt-DES_EDE3
Requires:       perl
BuildArch:      noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%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 %{realname}-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" echo | %{__perl} Makefile.PL INSTALLDIRS=vendor
%make
make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root)
%doc README
%{perl_vendorlib}/*
%{_mandir}/*/*

%changelog

* Tue Nov 11 2003 Michael Scherer <scherer.michael@free.fr> 0.12-2mdk 
- BuildRequires ( perl-Crypt-Random, perl-Digest-SHA1 )

* Thu Nov  6 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.12-1mdk
- New package