perl-sys.spec 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  1. ##
  2. ## perl-sys.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.0
  25. %define V_unix_syslog 1.1
  26. %define V_archive_tar 1.52
  27. %define V_archive_zip 1.30
  28. %define V_archive_cpio 0.07
  29. %define V_expect 1.21
  30. %define V_storable 2.21
  31. %define V_ipc_sharelite 0.17
  32. %define V_ipc_shareable 0.60
  33. %define V_ipc_sharedcache 1.3
  34. %define V_ipc_run 0.84
  35. %define V_ipc_run3 0.043
  36. %define V_ipc_signal 1.00
  37. %define V_ipc_filter 0.002
  38. %define V_file_tail 0.99.3
  39. %define V_file_temp 0.22
  40. %define V_file_remove 1.42
  41. %define V_file_rename 0.05
  42. %define V_freezethaw 0.45
  43. %define V_authen_sasl 2.12
  44. %define V_authen_pam 0.16
  45. %define V_weakref 0.01
  46. %define V_filehandle_deluxe 0.92
  47. %define V_filehandle_rollback 1.06
  48. %define V_filehandle_unget 0.1622
  49. %define V_spiffy 0.30
  50. %define V_io 1.2301
  51. %define V_io_all 0.39
  52. %define V_io_multiplex 1.10
  53. %define V_io_interface 1.05
  54. %define V_io_util 1.5
  55. %define V_io_mux 0.08
  56. %define V_boulder 1.30
  57. %define V_error 0.17015
  58. %define V_file_fnmatch 0.02
  59. %define V_user 1.8
  60. %define V_file_rsync 0.43
  61. %define V_storable_amf 0.63
  62. # package information
  63. Name: perl-sys
  64. Summary: Perl Modules for use with the system
  65. URL: http://www.cpan.org/
  66. Vendor: Perl Community
  67. Packager: OpenPKG Foundation e.V.
  68. Distribution: OpenPKG Community
  69. Class: BASE
  70. Group: Perl
  71. License: GPL/Artistic
  72. Version: %{V_perl}
  73. Release: 20090823
  74. # package options
  75. %option with_pam no
  76. # list of sources
  77. Source0: http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
  78. Source1: http://www.cpan.org/modules/by-module/Archive/Archive-Tar-%{V_archive_tar}.tar.gz
  79. Source2: http://www.cpan.org/modules/by-module/Archive/Archive-Zip-%{V_archive_zip}.tar.gz
  80. Source3: http://www.cpan.org/modules/by-module/Expect/Expect-%{V_expect}.tar.gz
  81. Source4: http://www.cpan.org/modules/by-module/Storable/Storable-%{V_storable}.tar.gz
  82. Source5: http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_shareable}.tar.gz
  83. Source6: http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
  84. Source7: http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
  85. Source8: http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
  86. Source9: http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
  87. Source10: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
  88. Source11: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
  89. Source12: http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
  90. Source13: http://www.cpan.org/modules/by-module/IPC/IPC-ShareLite-%{V_ipc_sharelite}.tar.gz
  91. Source14: http://www.cpan.org/modules/by-module/IPC/IPC-SharedCache-%{V_ipc_sharedcache}.tar.gz
  92. Source15: http://www.cpan.org/modules/by-module/IPC/IPC-Run-%{V_ipc_run}.tar.gz
  93. Source16: http://www.cpan.org/modules/by-module/IPC/IPC-Signal-%{V_ipc_signal}.tar.gz
  94. Source17: http://www.cpan.org/modules/by-module/IPC/IPC-Filter-%{V_ipc_filter}.tar.gz
  95. Source18: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{V_spiffy}.tar.gz
  96. Source19: http://www.cpan.org/modules/by-module/IO/IO-%{V_io}.tar.gz
  97. Source20: http://www.cpan.org/modules/by-module/IO/IO-All-%{V_io_all}.tar.gz
  98. Source21: http://www.cpan.org/modules/by-module/IO/IO-Multiplex-%{V_io_multiplex}.tar.gz
  99. Source22: http://www.cpan.org/modules/by-module/IO/IO-Interface-%{V_io_interface}.tar.gz
  100. Source23: http://www.cpan.org/modules/by-module/IO/IO-Util-%{V_io_util}.tar.gz
  101. Source24: http://www.cpan.org/modules/by-module/Boulder/Boulder-%{V_boulder}.tar.gz
  102. Source25: http://www.cpan.org/modules/by-module/Error/Error-%{V_error}.tar.gz
  103. Source26: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{V_ipc_run3}.tar.gz
  104. Source27: http://www.cpan.org/modules/by-module/IO/IO-Mux-%{V_io_mux}.tar.gz
  105. Source28: http://www.cpan.org/modules/by-module/File/File-FnMatch-%{V_file_fnmatch}.tar.gz
  106. Source29: http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{V_authen_pam}.tar.gz
  107. Source30: http://www.cpan.org/modules/by-module/Archive/Archive-Cpio-%{V_archive_cpio}.tar.gz
  108. Source31: http://www.cpan.org/authors/id/T/TB/TBONE/User-%{V_user}.tar.gz
  109. Source32: http://www.cpan.org/modules/by-module/File/File-Temp-%{V_file_temp}.tar.gz
  110. Source33: http://www.cpan.org/modules/by-module/File/File-Remove-%{V_file_remove}.tar.gz
  111. Source34: http://www.cpan.org/modules/by-module/File/File-Rename-%{V_file_rename}.tar.gz
  112. Source35: http://www.cpan.org/modules/by-module/File/File-Rsync-%{V_file_rsync}.tar.gz
  113. Source36: http://www.cpan.org/modules/by-module/Storable/Storable-AMF-%{V_storable_amf}.tar.gz
  114. Patch0: perl-sys.patch
  115. # build information
  116. Prefix: %{l_prefix}
  117. BuildRoot: %{l_buildroot}
  118. BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
  119. PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
  120. BuildPreReq: perl-util, perl-time, perl-term
  121. PreReq: perl-util, perl-time, perl-term
  122. %if "%{with_pam}" == "yes"
  123. BuildPreReq: PAM
  124. PreReq: PAM
  125. %endif
  126. AutoReq: no
  127. AutoReqProv: no
  128. %description
  129. Perl modules for use with the system:
  130. - Unix::Syslog (%{V_unix_syslog})
  131. - Archive::Tar (%{V_archive_tar})
  132. - Expect (%{V_expect})
  133. - Storable (%{V_storable})
  134. - IPC::ShareLite (%{V_ipc_sharelite})
  135. - IPC::Shareable (%{V_ipc_shareable})
  136. - IPC::SharedCache (%{V_ipc_sharedcache})
  137. - IPC::Run (%{V_ipc_run})
  138. - IPC::Run3 (%{V_ipc_run3})
  139. - IPC::Signal (%{V_ipc_signal})
  140. - IPC::Filter (%{V_ipc_filter})
  141. - File::Tail (%{V_file_tail})
  142. - FreezeThaw (%{V_freezethaw})
  143. - Authen::SASL (%{V_authen_sasl})
  144. - Authen::PAM (%{V_authen_pam}) [with_pam=yes]
  145. - Archive::Zip (%{V_archive_zip})
  146. - WeakRef (%{V_weakref})
  147. - FileHandle::Deluxe (%{V_filehandle_deluxe})
  148. - FileHandle::Rollback (%{V_filehandle_rollback})
  149. - FileHandle::Unget (%{V_filehandle_unget})
  150. - Spiffy (%{V_spiffy})
  151. - IO (%{V_io})
  152. - IO::All (%{V_io_all})
  153. - IO::Multiplex (%{V_io_multiplex})
  154. - IO::Interface (%{V_io_interface})
  155. - IO::Util (%{V_io_util})
  156. - IO::Mux (%{V_io_mux})
  157. - Boulder (%{V_boulder})
  158. - Error (%{V_error})
  159. - File::FnMatch (%{V_file_fnmatch})
  160. - Archive::Cpio (%{V_archive_cpio})
  161. - User (%{V_user})
  162. - File::Temp (%{V_file_temp})
  163. - File::Remove (%{V_file_remove})
  164. - File::Rename (%{V_file_rename})
  165. - File::Rsync (%{V_file_rsync})
  166. - Storable::AMF (%{V_storable_amf})
  167. %track
  168. prog perl-sys:Archive-Tar = {
  169. version = %{V_archive_tar}
  170. url = http://www.cpan.org/modules/by-module/Archive/
  171. regex = Archive-Tar-(__VER__)\.tar\.gz
  172. }
  173. prog perl-sys:Archive-Zip = {
  174. version = %{V_archive_zip}
  175. url = http://www.cpan.org/modules/by-module/Archive/
  176. regex = Archive-Zip-(__VER__)\.tar\.gz
  177. }
  178. prog perl-sys:Authen-SASL = {
  179. version = %{V_authen_sasl}
  180. url = http://www.cpan.org/modules/by-module/Authen/
  181. regex = Authen-SASL-(__VER__)\.tar\.gz
  182. }
  183. prog perl-sys:Expect = {
  184. version = %{V_expect}
  185. url = http://www.cpan.org/modules/by-module/Expect/
  186. regex = Expect-(__VER__)\.tar\.gz
  187. }
  188. prog perl-sys:File-Tail = {
  189. version = %{V_file_tail}
  190. url = http://www.cpan.org/modules/by-module/File/
  191. regex = File-Tail-(__VER__)\.tar\.gz
  192. }
  193. prog perl-sys:FileHandle-Deluxe = {
  194. version = %{V_filehandle_deluxe}
  195. url = http://www.cpan.org/modules/by-module/FileHandle/
  196. regex = FileHandle-Deluxe-(__VER__)\.tar\.gz
  197. }
  198. prog perl-sys:FileHandle-Rollback = {
  199. version = %{V_filehandle_rollback}
  200. url = http://www.cpan.org/modules/by-module/FileHandle/
  201. regex = FileHandle-Rollback-(__VER__)\.tar\.gz
  202. }
  203. prog perl-sys:FileHandle-Unget = {
  204. version = %{V_filehandle_unget}
  205. url = http://www.cpan.org/modules/by-module/FileHandle/
  206. regex = FileHandle-Unget-(__VER__)\.tar\.gz
  207. }
  208. prog perl-sys:FreezeThaw = {
  209. version = %{V_freezethaw}
  210. url = http://www.cpan.org/modules/by-module/FreezeThaw/
  211. regex = FreezeThaw-(__VER__)\.tar\.gz
  212. }
  213. prog perl-sys:IPC-Shareable = {
  214. version = %{V_ipc_shareable}
  215. url = http://www.cpan.org/modules/by-module/IPC/
  216. regex = IPC-Shareable-(__VER__)\.tar\.gz
  217. }
  218. prog perl-sys:IPC-ShareLite = {
  219. version = %{V_ipc_sharelite}
  220. url = http://www.cpan.org/modules/by-module/IPC/
  221. regex = IPC-ShareLite-(__VER__)\.tar\.gz
  222. }
  223. prog perl-sys:IPC-SharedCache = {
  224. version = %{V_ipc_sharedcache}
  225. url = http://www.cpan.org/modules/by-module/IPC/
  226. regex = IPC-SharedCache-(__VER__)\.tar\.gz
  227. }
  228. prog perl-sys:IPC-Run = {
  229. version = %{V_ipc_run}
  230. url = http://www.cpan.org/modules/by-module/IPC/
  231. regex = IPC-Run-(__VER__)\.tar\.gz
  232. }
  233. prog perl-sys:IPC-Run3 = {
  234. version = %{V_ipc_run3}
  235. url = http://www.cpan.org/modules/by-module/IPC/
  236. regex = IPC-Run3-(__VER__)\.tar\.gz
  237. }
  238. prog perl-sys:IPC-Signal = {
  239. version = %{V_ipc_signal}
  240. url = http://www.cpan.org/modules/by-module/IPC/
  241. regex = IPC-Signal-(__VER__)\.tar\.gz
  242. }
  243. prog perl-sys:IPC-Filter = {
  244. version = %{V_ipc_filter}
  245. url = http://www.cpan.org/modules/by-module/IPC/
  246. regex = IPC-Filter-(__VER__)\.tar\.gz
  247. }
  248. prog perl-sys:Storable = {
  249. version = %{V_storable}
  250. url = http://www.cpan.org/modules/by-module/Storable/
  251. regex = Storable-(__VER__)\.tar\.gz
  252. }
  253. prog perl-sys:Unix-Syslog = {
  254. version = %{V_unix_syslog}
  255. url = http://www.cpan.org/modules/by-module/Unix/
  256. regex = Unix-Syslog-(__VER__)\.tar\.gz
  257. }
  258. prog perl-sys:WeakRef = {
  259. version = %{V_weakref}
  260. url = http://www.cpan.org/authors/id/L/LU/LUKKA/
  261. regex = WeakRef-(__VER__)\.tar\.gz
  262. }
  263. prog perl-sys:Spiffy = {
  264. version = %{V_spiffy}
  265. url = http://www.cpan.org/authors/id/I/IN/INGY/
  266. regex = Spiffy-(__VER__)\.tar\.gz
  267. }
  268. prog perl-sys:IO = {
  269. version = %{V_io}
  270. url = http://www.cpan.org/modules/by-module/IO/
  271. regex = \bIO-(__VER__)\.tar\.gz
  272. }
  273. prog perl-sys:IO-All = {
  274. version = %{V_io_all}
  275. url = http://www.cpan.org/modules/by-module/IO/
  276. regex = IO-All-(__VER__)\.tar\.gz
  277. }
  278. prog perl-sys:IO-Multiplex = {
  279. version = %{V_io_multiplex}
  280. url = http://www.cpan.org/modules/by-module/IO/
  281. regex = IO-Multiplex-(__VER__)\.tar\.gz
  282. }
  283. prog perl-sys:IO-Interface = {
  284. version = %{V_io_interface}
  285. url = http://www.cpan.org/modules/by-module/IO/
  286. regex = IO-Interface-(__VER__)\.tar\.gz
  287. }
  288. prog perl-sys:IO-Util = {
  289. version = %{V_io_util}
  290. url = http://www.cpan.org/modules/by-module/IO/
  291. regex = IO-Util-(__VER__)\.tar\.gz
  292. }
  293. prog perl-sys:IO-Mux = {
  294. version = %{V_io_mux}
  295. url = http://www.cpan.org/modules/by-module/IO/
  296. regex = IO-Mux-(__VER__)\.tar\.gz
  297. }
  298. prog perl-sys:Boulder = {
  299. version = %{V_boulder}
  300. url = http://www.cpan.org/modules/by-module/Boulder/
  301. regex = Boulder-(__VER__)\.tar\.gz
  302. }
  303. prog perl-sys:Error = {
  304. version = %{V_error}
  305. url = http://www.cpan.org/modules/by-module/Error/
  306. regex = Error-(__VER__)\.tar\.gz
  307. }
  308. prog perl-sys:File-FnMatch = {
  309. version = %{V_file_fnmatch}
  310. url = http://www.cpan.org/modules/by-module/File/
  311. regex = File-FnMatch-(__VER__)\.tar\.gz
  312. }
  313. prog perl-sys:Authen-PAM = {
  314. version = %{V_authen_pam}
  315. url = http://www.cpan.org/modules/by-module/Authen/
  316. regex = Authen-PAM-(__VER__)\.tar\.gz
  317. }
  318. prog perl-sys:Archive-Cpio = {
  319. version = %{V_archive_cpio}
  320. url = http://www.cpan.org/modules/by-module/Archive/
  321. regex = Archive-Cpio-(__VER__)\.tar\.gz
  322. }
  323. prog perl-sys:User = {
  324. version = %{V_user}
  325. url = http://www.cpan.org/authors/id/T/TB/TBONE/
  326. regex = User-(__VER__)\.tar\.gz
  327. }
  328. prog perl-sys:File-Temp = {
  329. version = %{V_file_temp}
  330. url = http://www.cpan.org/modules/by-module/File/
  331. regex = File-Temp-(__VER__)\.tar\.gz
  332. }
  333. prog perl-sys:File-Remove = {
  334. version = %{V_file_remove}
  335. url = http://www.cpan.org/modules/by-module/File/
  336. regex = File-Remove-(__VER__)\.tar\.gz
  337. }
  338. prog perl-sys:File-Rename = {
  339. version = %{V_file_rename}
  340. url = http://www.cpan.org/modules/by-module/File/
  341. regex = File-Rename-(__VER__)\.tar\.gz
  342. }
  343. prog perl-sys:File-Rsync = {
  344. version = %{V_file_rsync}
  345. url = http://www.cpan.org/modules/by-module/File/
  346. regex = File-Rsync-(__VER__)\.tar\.gz
  347. }
  348. prog perl-sys:Storable-AMF = {
  349. version = %{V_storable_amf}
  350. url = http://www.cpan.org/modules/by-module/Storable/
  351. regex = Storable-AMF-(__VER__)\.tar\.gz
  352. }
  353. %prep
  354. %setup -q -c
  355. %setup -q -T -D -a 1
  356. %setup -q -T -D -a 2
  357. %setup -q -T -D -a 3
  358. %setup -q -T -D -a 4
  359. %setup -q -T -D -a 5
  360. %setup -q -T -D -a 6
  361. %setup -q -T -D -a 7
  362. %setup -q -T -D -a 8
  363. %setup -q -T -D -a 9
  364. %setup -q -T -D -a 10
  365. %setup -q -T -D -a 11
  366. %setup -q -T -D -a 12
  367. %setup -q -T -D -a 13
  368. %setup -q -T -D -a 14
  369. %setup -q -T -D -a 15
  370. %setup -q -T -D -a 16
  371. %setup -q -T -D -a 17
  372. %setup -q -T -D -a 18
  373. %setup -q -T -D -a 19
  374. %setup -q -T -D -a 20
  375. %setup -q -T -D -a 21
  376. %setup -q -T -D -a 22
  377. %setup -q -T -D -a 23
  378. %setup -q -T -D -a 24
  379. %setup -q -T -D -a 25
  380. %setup -q -T -D -a 26
  381. %setup -q -T -D -a 27
  382. %setup -q -T -D -a 28
  383. %setup -q -T -D -a 29
  384. %setup -q -T -D -a 30
  385. %setup -q -T -D -a 31
  386. %setup -q -T -D -a 32
  387. %setup -q -T -D -a 33
  388. %setup -q -T -D -a 34
  389. %setup -q -T -D -a 35
  390. %setup -q -T -D -a 36
  391. %patch -p0
  392. %build
  393. %{l_shtool} subst \
  394. -e 's;/usr/local/bin/rsync;%{l_prefix}/bin/rsync;' \
  395. -e 's;<STDIN>;"";' \
  396. File-Rsync-*/makepm.PL
  397. %install
  398. rm -rf $RPM_BUILD_ROOT
  399. %{l_prefix}/bin/perl-openpkg prepare
  400. %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
  401. %{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
  402. %{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
  403. %{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
  404. %{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
  405. %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
  406. %{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
  407. %{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
  408. %{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
  409. %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
  410. %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
  411. %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
  412. %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
  413. %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
  414. %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
  415. %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
  416. %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
  417. %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
  418. %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
  419. %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
  420. %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
  421. %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
  422. %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
  423. %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
  424. %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
  425. %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
  426. %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
  427. %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
  428. %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
  429. %if "%{with_pam}" == "yes"
  430. export CC="%{l_cc}"
  431. export CFLAGS="%{l_cflags} -I`%{l_rc} --query pam_incdir`"
  432. export CPPFLAGS="%{l_cppflags} -I`%{l_rc} --query pam_incdir`"
  433. export LDFLAGS="%{l_ldflags} -L`%{l_rc} --query pam_libdir`"
  434. %{l_prefix}/bin/perl-openpkg -d %{SOURCE29} configure build install
  435. %endif
  436. %{l_prefix}/bin/perl-openpkg -d %{SOURCE30} configure build install
  437. %{l_prefix}/bin/perl-openpkg -d %{SOURCE31} configure build install
  438. %{l_prefix}/bin/perl-openpkg -d %{SOURCE32} configure build install
  439. %{l_prefix}/bin/perl-openpkg -d %{SOURCE33} configure build install
  440. %{l_prefix}/bin/perl-openpkg -d %{SOURCE34} configure build install
  441. %{l_prefix}/bin/perl-openpkg -d %{SOURCE35} configure build install
  442. %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
  443. %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
  444. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
  445. %files -f files
  446. %clean
  447. rm -rf $RPM_BUILD_ROOT