Browse Source

add a bunch of additional modules

Ralf S. Engelschall 20 years ago
parent
commit
5e8659dd6f
1 changed files with 55 additions and 5 deletions
  1. 55 5
      perl-crypto/perl-crypto.spec

+ 55 - 5
perl-crypto/perl-crypto.spec

@@ -31,6 +31,8 @@
 %define       V_digest_md4            1.5
 %define       V_digest_md5            2.33
 %define       V_digest_hmac           1.01
+%define       V_digest_emac           1.2
+%define       V_digest_whirlpool      1.0.3
 %define       V_crypt_ripemd160       0.04
 %define       V_crypt_enigma          1.3
 %define       V_crypt_unixcrypt       1.0
@@ -52,8 +54,11 @@
 %define       V_crypt_openssl_rsa     0.21
 %define       V_crypt_openssl_random  0.03
 %define       V_crypt_openssl_x509    0.3.1
-%define       V_data_uuid             0.11
+%define       V_crypt_rijndael        0.05
+%define       V_crypt_twofish2        1.01
+%define       V_digest_crc            0.09
 %define       V_string_crc32          1.2
+%define       V_data_uuid             0.11
 
 #   package information
 Name:         perl-crypto
@@ -66,7 +71,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050216
+Release:      20050330
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Digest/Digest-%{V_digest}.tar.gz
@@ -99,6 +104,11 @@ Source26:     http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-%{V_
 Source27:     http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-X509-%{V_crypt_openssl_x509}.tar.gz
 Source28:     http://www.cpan.org/modules/by-module/Data/Data-UUID-%{V_data_uuid}.tar.gz
 Source29:     http://www.cpan.org/modules/by-module/String/String-CRC32-%{V_string_crc32}.tar.gz
+Source30:     http://www.cpan.org/modules/by-module/Crypt/Crypt-Rijndael-%{V_crypt_rijndael}.tar.gz
+Source31:     http://www.cpan.org/modules/by-module/Digest/Digest-CRC-%{V_digest_crc}.tar.gz
+Source32:     http://www.cpan.org/modules/by-module/Digest/Digest-EMAC-%{V_digest_emac}.tar.gz
+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
 Patch0:       perl-crypto.patch
 
 #   build information
@@ -106,20 +116,23 @@ Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
 PreReq:       OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
-BuildPreReq:  openssl
-PreReq:       openssl
+BuildPreReq:  perl-mail, openssl
+PreReq:       perl-mail, openssl
 AutoReq:      no
 AutoReqProv:  no
 
 %description
     Perl module bundle related to Cryptography.
     - Digest (%{V_digest})
+    - Digest::CRC (%{V_digest_crc})
     - Digest::SHA1 (%{V_digest_sha1})
     - Digest::SHA (%{V_digest_sha})
     - Digest::MD2 (%{V_digest_md2})
     - Digest::MD4 (%{V_digest_md4})
     - Digest::MD5 (%{V_digest_md5})
     - Digest::HMAC (%{V_digest_hmac})
+    - Digest::EMAC (%{V_digest_emac})
+    - Digest::Whirlpool (%{V_digest_whirlpool})
     - Crypt::RIPEMD160 (%{V_crypt_ripemd160})
     - Crypt::Enigma (%{V_crypt_enigma})
     - Crypt::UnixCrypt::%{V_crypt_unixcrypt})
@@ -141,8 +154,10 @@ AutoReqProv:  no
     - Crypt::OpenSSL::RSA (%{V_crypt_openssl_rsa})
     - Crypt::OpenSSL::Random (%{V_crypt_openssl_random})
     - Crypt::OpenSSL::X509 (%{V_crypt_openssl_x509})
-    - Data::UUID (%{V_data_uuid})
+    - Crypt::Rijndael (%{V_crypt_rijndael})
+    - Crypt::Twofish2 (%{V_crypt_twofish2})
     - String::CRC32 (%{V_string_crc32})
+    - Data::UUID (%{V_data_uuid})
 
 %track
     prog perl-crypto:Crypt-Blowfish = {
@@ -295,6 +310,31 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Crypt/
         regex     = Crypt-OpenSSL-X509-(__VER__)\.tar\.gz
     }
+    prog perl-crypto:Crypt-Rijndael = {
+        version   = %{V_crypt_rijndael}
+        url       = http://www.cpan.org/modules/by-module/Crypt/
+        regex     = Crypt-Rijndael-(__VER__)\.tar\.gz
+    }
+    prog perl-crypto:Digest-CRC = {
+        version   = %{V_digest_crc}
+        url       = http://www.cpan.org/modules/by-module/Digest/
+        regex     = Digest-CRC-(__VER__)\.tar\.gz
+    }
+    prog perl-crypto:Digest-EMAC = {
+        version   = %{V_digest_emac}
+        url       = http://www.cpan.org/modules/by-module/Digest/
+        regex     = Digest-EMAC-(__VER__)\.tar\.gz
+    }
+    prog perl-crypto:Digest-Whirlpool = {
+        version   = %{V_digest_whirlpool}
+        url       = http://www.cpan.org/modules/by-module/Digest/
+        regex     = Digest-Whirlpool-(__VER__)\.tar\.gz
+    }
+    prog perl-crypto:Crypt-Twofish2 = {
+        version   = %{V_crypt_twofish2}
+        url       = http://www.cpan.org/modules/by-module/Crypt/
+        regex     = Crypt-Twofish2-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -327,6 +367,11 @@ AutoReqProv:  no
     %setup -q -T -D -a 27
     %setup -q -T -D -a 28
     %setup -q -T -D -a 29
+    %setup -q -T -D -a 30
+    %setup -q -T -D -a 31
+    %setup -q -T -D -a 32
+    %setup -q -T -D -a 33
+    %setup -q -T -D -a 34
     %patch -p0
 
 %build
@@ -364,6 +409,11 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
+    %{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 -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`