perl-crypto.spec 21 KB

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