[521] | 1 | %define module Crypt-DSA |
---|
| 2 | %define name perl-%{module} |
---|
| 3 | %define version 0.14 |
---|
| 4 | %define release 1%{_dist_release} |
---|
| 5 | |
---|
| 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | Summary: DSA Signatures and Key Generation |
---|
| 10 | Group: Development/Languages |
---|
| 11 | License: GPL or Artistic |
---|
| 12 | Url: http://search.cpan.org/dist/%{module}/ |
---|
| 13 | Source: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/%{module}-%{version}.tar.gz |
---|
| 14 | Requires: perl-Digest-SHA1, perl(Math::BigInt) |
---|
| 15 | Requires: perl-Convert-PEM |
---|
| 16 | Requires: perl-Data-Buffer |
---|
| 17 | |
---|
| 18 | BuildArch: noarch |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version} |
---|
| 20 | BuildRequires: perl-Digest-SHA1, perl(Math::BigInt) |
---|
| 21 | BuildRequires: perl-Convert-PEM |
---|
| 22 | BuildRequires: perl-Data-Buffer |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | Crypt::DSA is an implementation of the DSA (Digital Signature Algorithm) |
---|
| 29 | signature verification system. The implementation itself is pure Perl, |
---|
| 30 | although the heavy-duty mathematics underneath are provided by |
---|
| 31 | the Math::Pari library. |
---|
| 32 | |
---|
| 33 | This package provides DSA signing, signature verification, |
---|
| 34 | and key generation. |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q -n %{module}-%{version} |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 41 | %{__make} |
---|
| 42 | |
---|
| 43 | %check |
---|
| 44 | echo " " |
---|
| 45 | echo "Several Minutes is needed for test. Please wait." |
---|
| 46 | echo " " |
---|
| 47 | %{__make} test |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | rm -rf %{buildroot} |
---|
| 51 | %makeinstall |
---|
| 52 | # rm -f %{buildroot}%{perl_archlib}/perllocal.pod |
---|
| 53 | # rm -rf %{buildroot}%{perl_vendorarch} |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf %{buildroot} |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root) |
---|
| 60 | %doc README Changes |
---|
| 61 | %{_mandir}/man3*/* |
---|
| 62 | %{perl_vendorlib}/Crypt/* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-1vl5 |
---|
| 66 | - rebuild with perl 5.10 |
---|
| 67 | - new versioning policy |
---|
| 68 | |
---|
| 69 | * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-0vl1 |
---|
| 70 | - built for VineSeed |
---|
| 71 | |
---|
| 72 | * Sat Mar 08 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-0vl0.43 |
---|
| 73 | - add Requires: perl-Convert-PEM/perl-Data-Buffer |
---|
| 74 | |
---|
| 75 | * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.14-0vl0.42 |
---|
| 76 | - built for Vine 4.2 (testing) |
---|
| 77 | - 1st build for Vine |
---|
| 78 | |
---|
| 79 | |
---|