This commit is contained in:
committed by
Git OBS Bridge
parent
4acdb4a3dc
commit
e6d54b5891
63
perl-Crypt-DSA.spec
Normal file
63
perl-Crypt-DSA.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
%define modname Crypt-DSA
|
||||
Name: perl-%{modname}
|
||||
Version: 0.14
|
||||
Release: 1
|
||||
Summary: DSA Signatures and Key Generation
|
||||
Requires: perl = %{perl_version} perl-Convert-PEM perl-Data-Buffer perl-Math-Pari
|
||||
BuildRequires: perl perl-Convert-PEM perl-Data-Buffer perl-Math-Pari
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-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.
|
||||
|
||||
This package provides DSA signing, signature verification, and key generation.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Benjamin Trott <ben@sixapart.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
set -x
|
||||
echo Hello Jim
|
||||
echo this does currently cause an endless loop asking for CPAN when running inside the BS
|
||||
echo Not all of our build hosts have an overload protection yet, so that kills these hosts
|
||||
echo I let this one failing for now
|
||||
echo
|
||||
echo Admin user / adrian@suse.de
|
||||
|
||||
exit -1
|
||||
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
# Hangs
|
||||
#make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Crypt/DSA
|
||||
%{perl_vendorlib}/Crypt/DSA.pm
|
||||
%{perl_vendorarch}/auto/Crypt/DSA
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
||||
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.14-1
|
||||
- Initial release
|
Reference in New Issue
Block a user