perl-crypto.spec 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. ##
  2. ## perl-crypto.spec -- OpenPKG RPM Package Specification
  3. ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
  4. ##
  5. ## Permission to use, copy, modify, and distribute this software for
  6. ## any purpose with or without fee is hereby granted, provided that
  7. ## the above copyright notice and this permission notice appear in all
  8. ## copies.
  9. ##
  10. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  11. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  12. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  13. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  14. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  15. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  16. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  17. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  18. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  19. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  20. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  21. ## SUCH DAMAGE.
  22. ##
  23. # versions of individual parts
  24. %define V_perl 5.10
  25. %define V_digest 1.16
  26. %define V_digest_sha1 2.12
  27. %define V_digest_sha 5.47
  28. %define V_digest_md2 2.03
  29. %define V_digest_md4 1.5
  30. %define V_digest_md5 2.39
  31. %define V_digest_md5_perl 1.8
  32. %define V_digest_hmac 1.01
  33. %define V_digest_emac 1.2
  34. %define V_digest_whirlpool 1.0.6
  35. %define V_crypt_ripemd160 0.04
  36. %define V_crypt_enigma 1.3
  37. %define V_crypt_unixcrypt 1.0
  38. %define V_crypt_passwdmd5 1.3
  39. %define V_crypt_des 2.05
  40. %define V_crypt_des_ede3 0.01
  41. %define V_crypt_rc4 2.02
  42. %define V_crypt_rc5 2.00
  43. %define V_crypt_rc6 1.0
  44. %define V_crypt_gost 1.00
  45. %define V_crypt_blowfish 2.10
  46. %define V_crypt_twofish 2.13
  47. %define V_crypt_rot13 0.6
  48. %define V_crypt_null 1.02
  49. %define V_crypt_ecb 1.45
  50. %define V_crypt_cbc 2.30
  51. %define V_crypt_openssl_bignum 0.04
  52. %define V_crypt_openssl_dsa 0.13
  53. %define V_crypt_openssl_rsa 0.25
  54. %define V_crypt_openssl_random 0.04
  55. %define V_crypt_openssl_x509 0.7
  56. %define V_crypt_rijndael 1.07
  57. %define V_crypt_twofish2 1.01
  58. %define V_crypt_ciphersaber 1.00
  59. %define V_crypt_dh 0.06
  60. %define V_digest_crc 0.14
  61. %define V_string_crc32 1.4
  62. %define V_data_uuid 1.202
  63. %define V_crypt_random 1.25
  64. %define V_crypt_primes 0.50
  65. # package information
  66. Name: perl-crypto
  67. Summary: Perl Modules for use with cryptography
  68. URL: http://www.cpan.org/
  69. Vendor: Perl Community
  70. Packager: OpenPKG Foundation e.V.
  71. Distribution: OpenPKG Community
  72. Class: BASE
  73. Group: Perl
  74. License: GPL/Artistic
  75. Version: %{V_perl}
  76. Release: 20090904
  77. # package options
  78. %option with_pari no
  79. # list of sources
  80. Source0: http://www.cpan.org/modules/by-module/Digest/Digest-%{V_digest}.tar.gz
  81. Source1: http://www.cpan.org/modules/by-module/Digest/Digest-SHA1-%{V_digest_sha1}.tar.gz
  82. Source2: http://www.cpan.org/modules/by-module/Digest/Digest-SHA-%{V_digest_sha}.tar.gz
  83. Source3: http://www.cpan.org/modules/by-module/Digest/Digest-MD2-%{V_digest_md2}.tar.gz
  84. Source4: http://www.cpan.org/modules/by-module/Digest/Digest-MD4-%{V_digest_md4}.tar.gz
  85. Source5: http://www.cpan.org/modules/by-module/Digest/Digest-MD5-%{V_digest_md5}.tar.gz
  86. Source6: http://www.cpan.org/modules/by-module/Digest/Digest-HMAC-%{V_digest_hmac}.tar.gz
  87. Source7: http://www.cpan.org/modules/by-module/Crypt/Crypt-RIPEMD160-%{V_crypt_ripemd160}.tar.gz
  88. Source8: http://www.cpan.org/modules/by-module/Crypt/Crypt-Enigma-%{V_crypt_enigma}.tar.gz
  89. Source9: http://www.cpan.org/modules/by-module/Crypt/Crypt-UnixCrypt-%{V_crypt_unixcrypt}.tar.gz
  90. Source10: http://www.cpan.org/modules/by-module/Crypt/Crypt-PasswdMD5-%{V_crypt_passwdmd5}.tar.gz
  91. Source11: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES-%{V_crypt_des}.tar.gz
  92. Source12: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES_EDE3-%{V_crypt_des_ede3}.tar.gz
  93. Source13: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC4-%{V_crypt_rc4}.tar.gz
  94. Source14: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC5-%{V_crypt_rc5}.tar.gz
  95. Source15: http://www.cpan.org/modules/by-module/Crypt/Crypt-RC6-%{V_crypt_rc6}.tar.gz
  96. Source16: http://www.cpan.org/modules/by-module/Crypt/Crypt-GOST-%{V_crypt_gost}.tar.gz
  97. Source17: http://www.cpan.org/modules/by-module/Crypt/Crypt-Blowfish-%{V_crypt_blowfish}.tar.gz
  98. Source18: http://www.cpan.org/modules/by-module/Crypt/Crypt-Twofish-%{V_crypt_twofish}.tar.gz
  99. Source19: http://www.cpan.org/modules/by-authors/id/A/AY/AYRNIEU/Crypt-Rot13-%{V_crypt_rot13}.tar.gz
  100. Source20: http://www.cpan.org/modules/by-module/Crypt/Crypt-NULL-%{V_crypt_null}.tar.gz
  101. Source21: http://www.cpan.org/modules/by-module/Crypt/Crypt-ECB-%{V_crypt_ecb}.tar.gz
  102. Source22: http://www.cpan.org/modules/by-module/Crypt/Crypt-CBC-%{V_crypt_cbc}.tar.gz
  103. Source23: http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Bignum-%{V_crypt_openssl_bignum}.tar.gz
  104. Source24: http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-%{V_crypt_openssl_random}.tar.gz
  105. Source25: http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-DSA-%{V_crypt_openssl_dsa}.tar.gz
  106. Source26: http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-%{V_crypt_openssl_rsa}.tar.gz
  107. Source27: http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-X509-%{V_crypt_openssl_x509}.tar.gz
  108. Source28: http://www.cpan.org/modules/by-module/Data/Data-UUID-%{V_data_uuid}.tar.gz
  109. Source29: http://www.cpan.org/modules/by-module/String/String-CRC32-%{V_string_crc32}.tar.gz
  110. Source30: http://www.cpan.org/modules/by-module/Crypt/Crypt-Rijndael-%{V_crypt_rijndael}.tar.gz
  111. Source31: http://www.cpan.org/modules/by-module/Digest/Digest-CRC-%{V_digest_crc}.tar.gz
  112. Source32: http://www.cpan.org/modules/by-module/Digest/Digest-EMAC-%{V_digest_emac}.tar.gz
  113. Source33: http://www.cpan.org/modules/by-module/Digest/Digest-Whirlpool-%{V_digest_whirlpool}.tar.gz
  114. Source34: http://www.cpan.org/modules/by-module/Crypt/Crypt-Twofish2-%{V_crypt_twofish2}.tar.gz
  115. Source35: http://www.cpan.org/modules/by-module/Crypt/Crypt-CipherSaber-%{V_crypt_ciphersaber}.tar.gz
  116. Source36: http://www.cpan.org/modules/by-module/Crypt/Crypt-DH-%{V_crypt_dh}.tar.gz
  117. Source37: http://www.cpan.org/modules/by-module/Crypt/Crypt-Random-%{V_crypt_random}.tar.gz
  118. Source38: http://www.cpan.org/modules/by-module/Crypt/Crypt-Primes-%{V_crypt_primes}.tar.gz
  119. Source39: http://www.cpan.org/modules/by-module/Digest/Digest-Perl-MD5-%{V_digest_md5_perl}.tar.gz
  120. Patch0: perl-crypto.patch
  121. # build information
  122. Prefix: %{l_prefix}
  123. BuildRoot: %{l_buildroot}
  124. BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
  125. PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
  126. BuildPreReq: perl-util, perl-mail, openssl
  127. PreReq: perl-util, perl-mail, openssl
  128. %if "%{with_pari}" == "yes"
  129. BuildPreReq: pari, pari::with_perl = yes
  130. PreReq: pari, pari::with_perl = yes
  131. %endif
  132. AutoReq: no
  133. AutoReqProv: no
  134. %description
  135. Perl module bundle related to Cryptography.
  136. - Digest (%{V_digest})
  137. - Digest::CRC (%{V_digest_crc})
  138. - Digest::SHA1 (%{V_digest_sha1})
  139. - Digest::SHA (%{V_digest_sha})
  140. - Digest::MD2 (%{V_digest_md2})
  141. - Digest::MD4 (%{V_digest_md4})
  142. - Digest::MD5 (%{V_digest_md5})
  143. - Digest::Perl::MD5 (%{V_digest_md5_perl})
  144. - Digest::HMAC (%{V_digest_hmac})
  145. - Digest::EMAC (%{V_digest_emac})
  146. - Digest::Whirlpool (%{V_digest_whirlpool})
  147. - Crypt::RIPEMD160 (%{V_crypt_ripemd160})
  148. - Crypt::Enigma (%{V_crypt_enigma})
  149. - Crypt::UnixCrypt::%{V_crypt_unixcrypt})
  150. - Crypt::PasswdMD5 (%{V_crypt_passwdmd5})
  151. - Crypt::DES (%{V_crypt_des})
  152. - Crypt::DES::EDE3 (%{V_crypt_des_ede3})
  153. - Crypt::RC4 (%{V_crypt_rc4})
  154. - Crypt::RC5 (%{V_crypt_rc5})
  155. - Crypt::RC6 (%{V_crypt_rc6})
  156. - Crypt::GOST (%{V_crypt_gost})
  157. - Crypt::Blowfish (%{V_crypt_blowfish})
  158. - Crypt::Twofish (%{V_crypt_twofish})
  159. - Crypt::Rot13 (%{V_crypt_rot13})
  160. - Crypt::NULL (%{V_crypt_null})
  161. - Crypt::ECB (%{V_crypt_ecb})
  162. - Crypt::CBC (%{V_crypt_cbc})
  163. - Crypt::OpenSSL::Bignum (%{V_crypt_openssl_bignum})
  164. - Crypt::OpenSSL::DSA (%{V_crypt_openssl_dsa})
  165. - Crypt::OpenSSL::RSA (%{V_crypt_openssl_rsa})
  166. - Crypt::OpenSSL::Random (%{V_crypt_openssl_random})
  167. - Crypt::OpenSSL::X509 (%{V_crypt_openssl_x509})
  168. - Crypt::Rijndael (%{V_crypt_rijndael})
  169. - Crypt::Twofish2 (%{V_crypt_twofish2})
  170. - Crypt::CipherSaber (%{V_crypt_ciphersaber})
  171. - Crypt::DH (%{V_crypt_dh})
  172. - String::CRC32 (%{V_string_crc32})
  173. - Data::UUID (%{V_data_uuid})
  174. %if "%{with_pari}" == "yes"
  175. - Crypt::Random (%{V_crypt_random})
  176. - Crypt::Primes (%{V_crypt_primes})
  177. %endif
  178. %track
  179. prog perl-crypto:Crypt-Blowfish = {
  180. version = %{V_crypt_blowfish}
  181. url = http://www.cpan.org/modules/by-module/Crypt/
  182. regex = Crypt-Blowfish-(__VER__)\.tar\.gz
  183. }
  184. prog perl-crypto:Crypt-DES = {
  185. version = %{V_crypt_des}
  186. url = http://www.cpan.org/modules/by-module/Crypt/
  187. regex = Crypt-DES-(__VER__)\.tar\.gz
  188. }
  189. prog perl-crypto:Crypt-DES_EDE3 = {
  190. version = %{V_crypt_des_ede3}
  191. url = http://www.cpan.org/modules/by-module/Crypt/
  192. regex = Crypt-DES_EDE3-(__VER__)\.tar\.gz
  193. }
  194. prog perl-crypto:Crypt-Enigma = {
  195. version = %{V_crypt_enigma}
  196. url = http://www.cpan.org/modules/by-module/Crypt/
  197. regex = Crypt-Enigma-(__VER__)\.tar\.gz
  198. }
  199. prog perl-crypto:Crypt-GOST = {
  200. version = %{V_crypt_gost}
  201. url = http://www.cpan.org/modules/by-module/Crypt/
  202. regex = Crypt-GOST-(__VER__)\.tar\.gz
  203. }
  204. prog perl-crypto:Crypt-NULL = {
  205. version = %{V_crypt_null}
  206. url = http://www.cpan.org/modules/by-module/Crypt/
  207. regex = Crypt-NULL-(__VER__)\.tar\.gz
  208. }
  209. prog perl-crypto:Crypt-PasswdMD5 = {
  210. version = %{V_crypt_passwdmd5}
  211. url = http://www.cpan.org/modules/by-module/Crypt/
  212. regex = Crypt-PasswdMD5-(__VER__)\.tar\.gz
  213. }
  214. prog perl-crypto:Crypt-RC4 = {
  215. version = %{V_crypt_rc4}
  216. url = http://www.cpan.org/modules/by-module/Crypt/
  217. regex = Crypt-RC4-(__VER__)\.tar\.gz
  218. }
  219. prog perl-crypto:Crypt-RC5 = {
  220. version = %{V_crypt_rc5}
  221. url = http://www.cpan.org/modules/by-module/Crypt/
  222. regex = Crypt-RC5-(__VER__)\.tar\.gz
  223. }
  224. prog perl-crypto:Crypt-RC6 = {
  225. version = %{V_crypt_rc6}
  226. url = http://www.cpan.org/modules/by-module/Crypt/
  227. regex = Crypt-RC6-(__VER__)\.tar\.gz
  228. }
  229. prog perl-crypto:Crypt-RIPEMD160 = {
  230. version = %{V_crypt_ripemd160}
  231. url = http://www.cpan.org/modules/by-module/Crypt/
  232. regex = Crypt-RIPEMD160-(__VER__)\.tar\.gz
  233. }
  234. prog perl-crypto:Crypt-Rot13 = {
  235. version = %{V_crypt_rot13}
  236. url = http://www.cpan.org/modules/by-authors/id/A/AY/AYRNIEU/
  237. regex = Crypt-Rot13-(__VER__)\.tar\.gz
  238. }
  239. prog perl-crypto:Crypt-Twofish = {
  240. version = %{V_crypt_twofish}
  241. url = http://www.cpan.org/modules/by-module/Crypt/
  242. regex = Crypt-Twofish-(__VER__)\.tar\.gz
  243. }
  244. prog perl-crypto:Crypt-UnixCrypt = {
  245. version = %{V_crypt_unixcrypt}
  246. url = http://www.cpan.org/modules/by-module/Crypt/
  247. regex = Crypt-UnixCrypt-(__VER__)\.tar\.gz
  248. }
  249. prog perl-crypto:Crypt-ECB = {
  250. version = %{V_crypt_ecb}
  251. url = http://www.cpan.org/modules/by-module/Crypt/
  252. regex = Crypt-ECB-(__VER__)\.tar\.gz
  253. }
  254. prog perl-crypto:Crypt-CBC = {
  255. version = %{V_crypt_cbc}
  256. url = http://www.cpan.org/modules/by-module/Crypt/
  257. regex = Crypt-CBC-(__VER__)\.tar\.gz
  258. }
  259. prog perl-crypto:Data-UUID = {
  260. version = %{V_data_uuid}
  261. url = http://www.cpan.org/modules/by-module/Data/
  262. regex = Data-UUID-(__VER__)\.tar\.gz
  263. }
  264. prog perl-crypto:Digest = {
  265. version = %{V_digest}
  266. url = http://www.cpan.org/modules/by-module/Digest/
  267. regex = Digest-(__VER__)\.tar\.gz
  268. }
  269. prog perl-crypto:Digest-HMAC = {
  270. version = %{V_digest_hmac}
  271. url = http://www.cpan.org/modules/by-module/Digest/
  272. regex = Digest-HMAC-(__VER__)\.tar\.gz
  273. }
  274. prog perl-crypto:Digest-MD2 = {
  275. version = %{V_digest_md2}
  276. url = http://www.cpan.org/modules/by-module/Digest/
  277. regex = Digest-MD2-(__VER__)\.tar\.gz
  278. }
  279. prog perl-crypto:Digest-MD4 = {
  280. version = %{V_digest_md4}
  281. url = http://www.cpan.org/modules/by-module/Digest/
  282. regex = Digest-MD4-(__VER__)\.tar\.gz
  283. }
  284. prog perl-crypto:Digest-MD5 = {
  285. version = %{V_digest_md5}
  286. url = http://www.cpan.org/modules/by-module/Digest/
  287. regex = Digest-MD5-(__VER__)\.tar\.gz
  288. }
  289. prog perl-crypto:Digest-Perl-MD5 = {
  290. version = %{V_digest_md5_perl}
  291. url = http://www.cpan.org/modules/by-module/Digest/
  292. regex = Digest-Perl-MD5-(__VER__)\.tar\.gz
  293. }
  294. prog perl-crypto:Digest-SHA = {
  295. version = %{V_digest_sha}
  296. url = http://www.cpan.org/modules/by-module/Digest/
  297. regex = Digest-SHA-(__VER__)\.tar\.gz
  298. }
  299. prog perl-crypto:Digest-SHA1 = {
  300. version = %{V_digest_sha1}
  301. url = http://www.cpan.org/modules/by-module/Digest/
  302. regex = Digest-SHA1-(__VER__)\.tar\.gz
  303. }
  304. prog perl-crypto:String-CRC32 = {
  305. version = %{V_string_crc32}
  306. url = http://www.cpan.org/modules/by-module/String/
  307. regex = String-CRC32-(__VER__)\.tar\.gz
  308. }
  309. prog perl-crypto:Crypt-OpenSSL-Bignum = {
  310. version = %{V_crypt_openssl_bignum}
  311. url = http://www.cpan.org/modules/by-module/Crypt/
  312. regex = Crypt-OpenSSL-Bignum-(__VER__)\.tar\.gz
  313. }
  314. prog perl-crypto:Crypt-OpenSSL-DSA = {
  315. version = %{V_crypt_openssl_dsa}
  316. url = http://www.cpan.org/modules/by-module/Crypt/
  317. regex = Crypt-OpenSSL-DSA-(__VER__)\.tar\.gz
  318. }
  319. prog perl-crypto:Crypt-OpenSSL-RSA = {
  320. version = %{V_crypt_openssl_rsa}
  321. url = http://www.cpan.org/modules/by-module/Crypt/
  322. regex = Crypt-OpenSSL-RSA-(__VER__)\.tar\.gz
  323. }
  324. prog perl-crypto:Crypt-OpenSSL-Random = {
  325. version = %{V_crypt_openssl_random}
  326. url = http://www.cpan.org/modules/by-module/Crypt/
  327. regex = Crypt-OpenSSL-Random-(__VER__)\.tar\.gz
  328. }
  329. prog perl-crypto:Crypt-OpenSSL-X509 = {
  330. version = %{V_crypt_openssl_x509}
  331. url = http://www.cpan.org/modules/by-module/Crypt/
  332. regex = Crypt-OpenSSL-X509-(__VER__)\.tar\.gz
  333. }
  334. prog perl-crypto:Crypt-Rijndael = {
  335. version = %{V_crypt_rijndael}
  336. url = http://www.cpan.org/modules/by-module/Crypt/
  337. regex = Crypt-Rijndael-(__VER__)\.tar\.gz
  338. }
  339. prog perl-crypto:Digest-CRC = {
  340. version = %{V_digest_crc}
  341. url = http://www.cpan.org/modules/by-module/Digest/
  342. regex = Digest-CRC-(__VER__)\.tar\.gz
  343. }
  344. prog perl-crypto:Digest-EMAC = {
  345. version = %{V_digest_emac}
  346. url = http://www.cpan.org/modules/by-module/Digest/
  347. regex = Digest-EMAC-(__VER__)\.tar\.gz
  348. }
  349. prog perl-crypto:Digest-Whirlpool = {
  350. version = %{V_digest_whirlpool}
  351. url = http://www.cpan.org/modules/by-module/Digest/
  352. regex = Digest-Whirlpool-(__VER__)\.tar\.gz
  353. }
  354. prog perl-crypto:Crypt-Twofish2 = {
  355. version = %{V_crypt_twofish2}
  356. url = http://www.cpan.org/modules/by-module/Crypt/
  357. regex = Crypt-Twofish2-(__VER__)\.tar\.gz
  358. }
  359. prog perl-crypto:Crypt-CipherSaber = {
  360. version = %{V_crypt_ciphersaber}
  361. url = http://www.cpan.org/modules/by-module/Crypt/
  362. regex = Crypt-CipherSaber-(__VER__)\.tar\.gz
  363. }
  364. prog perl-crypto:Crypt-DH = {
  365. version = %{V_crypt_dh}
  366. url = http://www.cpan.org/modules/by-module/Crypt/
  367. regex = Crypt-DH-(__VER__)\.tar\.gz
  368. }
  369. prog perl-crypto:Crypt-Random = {
  370. version = %{V_crypt_random}
  371. url = http://www.cpan.org/modules/by-module/Crypt/
  372. regex = Crypt-Random-(__VER__)\.tar\.gz
  373. }
  374. prog perl-crypto:Crypt-Primes = {
  375. version = %{V_crypt_primes}
  376. url = http://www.cpan.org/modules/by-module/Crypt/
  377. regex = Crypt-Primes-(__VER__)\.tar\.gz
  378. }
  379. %prep
  380. %setup -q -c
  381. %setup -q -T -D -a 1
  382. %setup -q -T -D -a 2
  383. %setup -q -T -D -a 3
  384. %setup -q -T -D -a 4
  385. %setup -q -T -D -a 5
  386. %setup -q -T -D -a 6
  387. %setup -q -T -D -a 7
  388. %setup -q -T -D -a 8
  389. %setup -q -T -D -a 9
  390. %setup -q -T -D -a 10
  391. %setup -q -T -D -a 11
  392. %setup -q -T -D -a 12
  393. %setup -q -T -D -a 13
  394. %setup -q -T -D -a 14
  395. %setup -q -T -D -a 15
  396. %setup -q -T -D -a 16
  397. %setup -q -T -D -a 17
  398. %setup -q -T -D -a 18
  399. %setup -q -T -D -a 19
  400. %setup -q -T -D -a 20
  401. %setup -q -T -D -a 21
  402. %setup -q -T -D -a 22
  403. %setup -q -T -D -a 23
  404. %setup -q -T -D -a 24
  405. %setup -q -T -D -a 25
  406. %setup -q -T -D -a 26
  407. %setup -q -T -D -a 27
  408. %setup -q -T -D -a 28
  409. %setup -q -T -D -a 29
  410. %setup -q -T -D -a 30
  411. %setup -q -T -D -a 31
  412. %setup -q -T -D -a 32
  413. %setup -q -T -D -a 33
  414. %setup -q -T -D -a 34
  415. %setup -q -T -D -a 35
  416. %setup -q -T -D -a 36
  417. %if "%{with_pari}" == "yes"
  418. %setup -q -T -D -a 37
  419. %setup -q -T -D -a 38
  420. %endif
  421. %setup -q -T -D -a 39
  422. %patch -p0
  423. %build
  424. %install
  425. rm -rf $RPM_BUILD_ROOT
  426. %{l_prefix}/bin/perl-openpkg prepare
  427. %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
  428. %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
  429. %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
  430. %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
  431. %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
  432. %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
  433. %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
  434. %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
  435. %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
  436. %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
  437. %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
  438. %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
  439. %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
  440. %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
  441. %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
  442. %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
  443. %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
  444. %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
  445. %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
  446. %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
  447. %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
  448. %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
  449. %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
  450. %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  451. %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  452. %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  453. %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  454. %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  455. %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
  456. %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
  457. %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
  458. %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
  459. %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
  460. %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
  461. %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
  462. %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
  463. %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
  464. %if "%{with_pari}" == "yes"
  465. %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
  466. %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
  467. %endif
  468. %{l_prefix}/bin/perl-openpkg -d %{SOURCE39} configure build install
  469. %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
  470. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
  471. %files -f files
  472. %clean
  473. rm -rf $RPM_BUILD_ROOT