perl-crypto.spec 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. ##
  2. ## perl-crypto.spec -- OpenPKG RPM Package Specification
  3. ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. <http://openpkg.net/>
  4. ## Copyright (c) 2000-2007 Ralf S. Engelschall <http://engelschall.com/>
  5. ##
  6. ## Permission to use, copy, modify, and distribute this software for
  7. ## any purpose with or without fee is hereby granted, provided that
  8. ## the above copyright notice and this permission notice appear in all
  9. ## copies.
  10. ##
  11. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  12. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  13. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  14. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  15. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  16. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  17. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  18. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  19. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  20. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  21. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  22. ## SUCH DAMAGE.
  23. ##
  24. # versions of individual parts
  25. %define V_perl 5.8.8
  26. %define V_digest 1.15
  27. %define V_digest_sha1 2.11
  28. %define V_digest_sha 5.45
  29. %define V_digest_md2 2.03
  30. %define V_digest_md4 1.5
  31. %define V_digest_md5 2.36
  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.12
  47. %define V_crypt_rot13 0.6
  48. %define V_crypt_null 1.02
  49. %define V_crypt_ecb 1.40
  50. %define V_crypt_cbc 2.24
  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.4
  56. %define V_crypt_rijndael 1.04
  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.13
  61. %define V_string_crc32 1.4
  62. %define V_data_uuid 1.148
  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: 20071104
  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: ftp://ftp.openpkg.org/sources/CPY/perl-crypto/Crypt-ECB-%{V_crypt_ecb}-FIXED.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. Patch0: perl-crypto.patch
  120. # build information
  121. Prefix: %{l_prefix}
  122. BuildRoot: %{l_buildroot}
  123. BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
  124. PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
  125. BuildPreReq: perl-util, perl-mail, openssl
  126. PreReq: perl-util, perl-mail, openssl
  127. %if "%{with_pari}" == "yes"
  128. BuildPreReq: pari, pari::with_perl = yes
  129. PreReq: pari, pari::with_perl = yes
  130. %endif
  131. AutoReq: no
  132. AutoReqProv: no
  133. %description
  134. Perl module bundle related to Cryptography.
  135. - Digest (%{V_digest})
  136. - Digest::CRC (%{V_digest_crc})
  137. - Digest::SHA1 (%{V_digest_sha1})
  138. - Digest::SHA (%{V_digest_sha})
  139. - Digest::MD2 (%{V_digest_md2})
  140. - Digest::MD4 (%{V_digest_md4})
  141. - Digest::MD5 (%{V_digest_md5})
  142. - Digest::HMAC (%{V_digest_hmac})
  143. - Digest::EMAC (%{V_digest_emac})
  144. - Digest::Whirlpool (%{V_digest_whirlpool})
  145. - Crypt::RIPEMD160 (%{V_crypt_ripemd160})
  146. - Crypt::Enigma (%{V_crypt_enigma})
  147. - Crypt::UnixCrypt::%{V_crypt_unixcrypt})
  148. - Crypt::PasswdMD5 (%{V_crypt_passwdmd5})
  149. - Crypt::DES (%{V_crypt_des})
  150. - Crypt::DES::EDE3 (%{V_crypt_des_ede3})
  151. - Crypt::RC4 (%{V_crypt_rc4})
  152. - Crypt::RC5 (%{V_crypt_rc5})
  153. - Crypt::RC6 (%{V_crypt_rc6})
  154. - Crypt::GOST (%{V_crypt_gost})
  155. - Crypt::Blowfish (%{V_crypt_blowfish})
  156. - Crypt::Twofish (%{V_crypt_twofish})
  157. - Crypt::Rot13 (%{V_crypt_rot13})
  158. - Crypt::NULL (%{V_crypt_null})
  159. - Crypt::ECB (%{V_crypt_ecb})
  160. - Crypt::CBC (%{V_crypt_cbc})
  161. - Crypt::OpenSSL::Bignum (%{V_crypt_openssl_bignum})
  162. - Crypt::OpenSSL::DSA (%{V_crypt_openssl_dsa})
  163. - Crypt::OpenSSL::RSA (%{V_crypt_openssl_rsa})
  164. - Crypt::OpenSSL::Random (%{V_crypt_openssl_random})
  165. - Crypt::OpenSSL::X509 (%{V_crypt_openssl_x509})
  166. - Crypt::Rijndael (%{V_crypt_rijndael})
  167. - Crypt::Twofish2 (%{V_crypt_twofish2})
  168. - Crypt::CipherSaber (%{V_crypt_ciphersaber})
  169. - Crypt::DH (%{V_crypt_dh})
  170. - String::CRC32 (%{V_string_crc32})
  171. - Data::UUID (%{V_data_uuid})
  172. %if "%{with_pari}" == "yes"
  173. - Crypt::Random (%{V_crypt_random})
  174. - Crypt::Primes (%{V_crypt_primes})
  175. %endif
  176. %track
  177. prog perl-crypto:Crypt-Blowfish = {
  178. version = %{V_crypt_blowfish}
  179. url = http://www.cpan.org/modules/by-module/Crypt/
  180. regex = Crypt-Blowfish-(__VER__)\.tar\.gz
  181. }
  182. prog perl-crypto:Crypt-DES = {
  183. version = %{V_crypt_des}
  184. url = http://www.cpan.org/modules/by-module/Crypt/
  185. regex = Crypt-DES-(__VER__)\.tar\.gz
  186. }
  187. prog perl-crypto:Crypt-DES_EDE3 = {
  188. version = %{V_crypt_des_ede3}
  189. url = http://www.cpan.org/modules/by-module/Crypt/
  190. regex = Crypt-DES_EDE3-(__VER__)\.tar\.gz
  191. }
  192. prog perl-crypto:Crypt-Enigma = {
  193. version = %{V_crypt_enigma}
  194. url = http://www.cpan.org/modules/by-module/Crypt/
  195. regex = Crypt-Enigma-(__VER__)\.tar\.gz
  196. }
  197. prog perl-crypto:Crypt-GOST = {
  198. version = %{V_crypt_gost}
  199. url = http://www.cpan.org/modules/by-module/Crypt/
  200. regex = Crypt-GOST-(__VER__)\.tar\.gz
  201. }
  202. prog perl-crypto:Crypt-NULL = {
  203. version = %{V_crypt_null}
  204. url = http://www.cpan.org/modules/by-module/Crypt/
  205. regex = Crypt-NULL-(__VER__)\.tar\.gz
  206. }
  207. prog perl-crypto:Crypt-PasswdMD5 = {
  208. version = %{V_crypt_passwdmd5}
  209. url = http://www.cpan.org/modules/by-module/Crypt/
  210. regex = Crypt-PasswdMD5-(__VER__)\.tar\.gz
  211. }
  212. prog perl-crypto:Crypt-RC4 = {
  213. version = %{V_crypt_rc4}
  214. url = http://www.cpan.org/modules/by-module/Crypt/
  215. regex = Crypt-RC4-(__VER__)\.tar\.gz
  216. }
  217. prog perl-crypto:Crypt-RC5 = {
  218. version = %{V_crypt_rc5}
  219. url = http://www.cpan.org/modules/by-module/Crypt/
  220. regex = Crypt-RC5-(__VER__)\.tar\.gz
  221. }
  222. prog perl-crypto:Crypt-RC6 = {
  223. version = %{V_crypt_rc6}
  224. url = http://www.cpan.org/modules/by-module/Crypt/
  225. regex = Crypt-RC6-(__VER__)\.tar\.gz
  226. }
  227. prog perl-crypto:Crypt-RIPEMD160 = {
  228. version = %{V_crypt_ripemd160}
  229. url = http://www.cpan.org/modules/by-module/Crypt/
  230. regex = Crypt-RIPEMD160-(__VER__)\.tar\.gz
  231. }
  232. prog perl-crypto:Crypt-Rot13 = {
  233. version = %{V_crypt_rot13}
  234. url = http://www.cpan.org/modules/by-authors/id/A/AY/AYRNIEU/
  235. regex = Crypt-Rot13-(__VER__)\.tar\.gz
  236. }
  237. prog perl-crypto:Crypt-Twofish = {
  238. version = %{V_crypt_twofish}
  239. url = http://www.cpan.org/modules/by-module/Crypt/
  240. regex = Crypt-Twofish-(__VER__)\.tar\.gz
  241. }
  242. prog perl-crypto:Crypt-UnixCrypt = {
  243. version = %{V_crypt_unixcrypt}
  244. url = http://www.cpan.org/modules/by-module/Crypt/
  245. regex = Crypt-UnixCrypt-(__VER__)\.tar\.gz
  246. }
  247. prog perl-crypto:Crypt-ECB = {
  248. version = %{V_crypt_ecb}
  249. url = http://www.cpan.org/modules/by-module/Crypt/
  250. regex = Crypt-ECB-(__VER__)\.tar\.gz
  251. }
  252. prog perl-crypto:Crypt-CBC = {
  253. version = %{V_crypt_cbc}
  254. url = http://www.cpan.org/modules/by-module/Crypt/
  255. regex = Crypt-CBC-(__VER__)\.tar\.gz
  256. }
  257. prog perl-crypto:Data-UUID = {
  258. version = %{V_data_uuid}
  259. url = http://www.cpan.org/modules/by-module/Data/
  260. regex = Data-UUID-(__VER__)\.tar\.gz
  261. }
  262. prog perl-crypto:Digest = {
  263. version = %{V_digest}
  264. url = http://www.cpan.org/modules/by-module/Digest/
  265. regex = Digest-(__VER__)\.tar\.gz
  266. }
  267. prog perl-crypto:Digest-HMAC = {
  268. version = %{V_digest_hmac}
  269. url = http://www.cpan.org/modules/by-module/Digest/
  270. regex = Digest-HMAC-(__VER__)\.tar\.gz
  271. }
  272. prog perl-crypto:Digest-MD2 = {
  273. version = %{V_digest_md2}
  274. url = http://www.cpan.org/modules/by-module/Digest/
  275. regex = Digest-MD2-(__VER__)\.tar\.gz
  276. }
  277. prog perl-crypto:Digest-MD4 = {
  278. version = %{V_digest_md4}
  279. url = http://www.cpan.org/modules/by-module/Digest/
  280. regex = Digest-MD4-(__VER__)\.tar\.gz
  281. }
  282. prog perl-crypto:Digest-MD5 = {
  283. version = %{V_digest_md5}
  284. url = http://www.cpan.org/modules/by-module/Digest/
  285. regex = Digest-MD5-(__VER__)\.tar\.gz
  286. }
  287. prog perl-crypto:Digest-SHA = {
  288. version = %{V_digest_sha}
  289. url = http://www.cpan.org/modules/by-module/Digest/
  290. regex = Digest-SHA-(__VER__)\.tar\.gz
  291. }
  292. prog perl-crypto:Digest-SHA1 = {
  293. version = %{V_digest_sha1}
  294. url = http://www.cpan.org/modules/by-module/Digest/
  295. regex = Digest-SHA1-(__VER__)\.tar\.gz
  296. }
  297. prog perl-crypto:String-CRC32 = {
  298. version = %{V_string_crc32}
  299. url = http://www.cpan.org/modules/by-module/String/
  300. regex = String-CRC32-(__VER__)\.tar\.gz
  301. }
  302. prog perl-crypto:Crypt-OpenSSL-Bignum = {
  303. version = %{V_crypt_openssl_bignum}
  304. url = http://www.cpan.org/modules/by-module/Crypt/
  305. regex = Crypt-OpenSSL-Bignum-(__VER__)\.tar\.gz
  306. }
  307. prog perl-crypto:Crypt-OpenSSL-DSA = {
  308. version = %{V_crypt_openssl_dsa}
  309. url = http://www.cpan.org/modules/by-module/Crypt/
  310. regex = Crypt-OpenSSL-DSA-(__VER__)\.tar\.gz
  311. }
  312. prog perl-crypto:Crypt-OpenSSL-RSA = {
  313. version = %{V_crypt_openssl_rsa}
  314. url = http://www.cpan.org/modules/by-module/Crypt/
  315. regex = Crypt-OpenSSL-RSA-(__VER__)\.tar\.gz
  316. }
  317. prog perl-crypto:Crypt-OpenSSL-Random = {
  318. version = %{V_crypt_openssl_random}
  319. url = http://www.cpan.org/modules/by-module/Crypt/
  320. regex = Crypt-OpenSSL-Random-(__VER__)\.tar\.gz
  321. }
  322. prog perl-crypto:Crypt-OpenSSL-X509 = {
  323. version = %{V_crypt_openssl_x509}
  324. url = http://www.cpan.org/modules/by-module/Crypt/
  325. regex = Crypt-OpenSSL-X509-(__VER__)\.tar\.gz
  326. }
  327. prog perl-crypto:Crypt-Rijndael = {
  328. version = %{V_crypt_rijndael}
  329. url = http://www.cpan.org/modules/by-module/Crypt/
  330. regex = Crypt-Rijndael-(__VER__)\.tar\.gz
  331. }
  332. prog perl-crypto:Digest-CRC = {
  333. version = %{V_digest_crc}
  334. url = http://www.cpan.org/modules/by-module/Digest/
  335. regex = Digest-CRC-(__VER__)\.tar\.gz
  336. }
  337. prog perl-crypto:Digest-EMAC = {
  338. version = %{V_digest_emac}
  339. url = http://www.cpan.org/modules/by-module/Digest/
  340. regex = Digest-EMAC-(__VER__)\.tar\.gz
  341. }
  342. prog perl-crypto:Digest-Whirlpool = {
  343. version = %{V_digest_whirlpool}
  344. url = http://www.cpan.org/modules/by-module/Digest/
  345. regex = Digest-Whirlpool-(__VER__)\.tar\.gz
  346. }
  347. prog perl-crypto:Crypt-Twofish2 = {
  348. version = %{V_crypt_twofish2}
  349. url = http://www.cpan.org/modules/by-module/Crypt/
  350. regex = Crypt-Twofish2-(__VER__)\.tar\.gz
  351. }
  352. prog perl-crypto:Crypt-CipherSaber = {
  353. version = %{V_crypt_ciphersaber}
  354. url = http://www.cpan.org/modules/by-module/Crypt/
  355. regex = Crypt-CipherSaber-(__VER__)\.tar\.gz
  356. }
  357. prog perl-crypto:Crypt-DH = {
  358. version = %{V_crypt_dh}
  359. url = http://www.cpan.org/modules/by-module/Crypt/
  360. regex = Crypt-DH-(__VER__)\.tar\.gz
  361. }
  362. prog perl-crypto:Crypt-Random = {
  363. version = %{V_crypt_random}
  364. url = http://www.cpan.org/modules/by-module/Crypt/
  365. regex = Crypt-Random-(__VER__)\.tar\.gz
  366. }
  367. prog perl-crypto:Crypt-Primes = {
  368. version = %{V_crypt_primes}
  369. url = http://www.cpan.org/modules/by-module/Crypt/
  370. regex = Crypt-Primes-(__VER__)\.tar\.gz
  371. }
  372. %prep
  373. %setup -q -c
  374. %setup -q -T -D -a 1
  375. %setup -q -T -D -a 2
  376. %setup -q -T -D -a 3
  377. %setup -q -T -D -a 4
  378. %setup -q -T -D -a 5
  379. %setup -q -T -D -a 6
  380. %setup -q -T -D -a 7
  381. %setup -q -T -D -a 8
  382. %setup -q -T -D -a 9
  383. %setup -q -T -D -a 10
  384. %setup -q -T -D -a 11
  385. %setup -q -T -D -a 12
  386. %setup -q -T -D -a 13
  387. %setup -q -T -D -a 14
  388. %setup -q -T -D -a 15
  389. %setup -q -T -D -a 16
  390. %setup -q -T -D -a 17
  391. %setup -q -T -D -a 18
  392. %setup -q -T -D -a 19
  393. %setup -q -T -D -a 20
  394. %setup -q -T -D -a 21
  395. %setup -q -T -D -a 22
  396. %setup -q -T -D -a 23
  397. %setup -q -T -D -a 24
  398. %setup -q -T -D -a 25
  399. %setup -q -T -D -a 26
  400. %setup -q -T -D -a 27
  401. %setup -q -T -D -a 28
  402. %setup -q -T -D -a 29
  403. %setup -q -T -D -a 30
  404. %setup -q -T -D -a 31
  405. %setup -q -T -D -a 32
  406. %setup -q -T -D -a 33
  407. %setup -q -T -D -a 34
  408. %setup -q -T -D -a 35
  409. %setup -q -T -D -a 36
  410. %if "%{with_pari}" == "yes"
  411. %setup -q -T -D -a 37
  412. %setup -q -T -D -a 38
  413. %endif
  414. %patch -p0
  415. %build
  416. %install
  417. rm -rf $RPM_BUILD_ROOT
  418. %{l_prefix}/bin/perl-openpkg prepare
  419. %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
  420. %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
  421. %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
  422. %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
  423. %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
  424. %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
  425. %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
  426. %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
  427. %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
  428. %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
  429. %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
  430. %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
  431. %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
  432. %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
  433. %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
  434. %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
  435. %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
  436. %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
  437. %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
  438. %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
  439. %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
  440. %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
  441. %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
  442. %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  443. %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  444. %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  445. %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  446. %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} -A "INC='%{l_cflags}'" -A "LIBS='%{l_ldflags} -lssl -lcrypto'" configure build install
  447. %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
  448. %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
  449. %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
  450. %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
  451. %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
  452. %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
  453. %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
  454. %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
  455. %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
  456. %if "%{with_pari}" == "yes"
  457. %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
  458. %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
  459. %endif
  460. %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
  461. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
  462. %files -f files
  463. %clean
  464. rm -rf $RPM_BUILD_ROOT