Ralf S. Engelschall 19 lat temu
rodzic
commit
927a7cb988
1 zmienionych plików z 11 dodań i 1 usunięć
  1. 11 1
      perl-crypto/perl-crypto.spec

+ 11 - 1
perl-crypto/perl-crypto.spec

@@ -57,6 +57,7 @@
 %define       V_crypt_rijndael        0.05
 %define       V_crypt_twofish2        1.01
 %define       V_crypt_ciphersaber     1.00
+%define       V_crypt_dh              0.06
 %define       V_digest_crc            0.09
 %define       V_string_crc32          1.3
 %define       V_data_uuid             0.11
@@ -72,7 +73,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20060217
+Release:      20060223
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Digest/Digest-%{V_digest}.tar.gz
@@ -111,6 +112,7 @@ Source32:     http://www.cpan.org/modules/by-module/Digest/Digest-EMAC-%{V_diges
 Source33:     http://www.cpan.org/modules/by-module/Digest/Digest-Whirlpool-%{V_digest_whirlpool}.tar.gz
 Source34:     http://www.cpan.org/modules/by-module/Crypt/Crypt-Twofish2-%{V_crypt_twofish2}.tar.gz
 Source35:     http://www.cpan.org/modules/by-module/Crypt/Crypt-CipherSaber-%{V_crypt_ciphersaber}.tar.gz
+Source36:     http://www.cpan.org/modules/by-module/Crypt/Crypt-DH-%{V_crypt_dh}.tar.gz
 Patch0:       perl-crypto.patch
 
 #   build information
@@ -159,6 +161,7 @@ AutoReqProv:  no
     - Crypt::Rijndael (%{V_crypt_rijndael})
     - Crypt::Twofish2 (%{V_crypt_twofish2})
     - Crypt::CipherSaber (%{V_crypt_ciphersaber})
+    - Crypt::DH (%{V_crypt_dh})
     - String::CRC32 (%{V_string_crc32})
     - Data::UUID (%{V_data_uuid})
 
@@ -343,6 +346,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Crypt/
         regex     = Crypt-CipherSaber-(__VER__)\.tar\.gz
     }
+    prog perl-crypto:Crypt-DH = {
+        version   = %{V_crypt_dh}
+        url       = http://www.cpan.org/modules/by-module/Crypt/
+        regex     = Crypt-DH-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -381,6 +389,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 33
     %setup -q -T -D -a 34
     %setup -q -T -D -a 35
+    %setup -q -T -D -a 36
     %patch -p0
 
 %build
@@ -424,6 +433,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`