dhtml.spec 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. ##
  2. ## dhtml.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. # package version
  25. %define V_prototype 1.5.0
  26. %define V_rico 1.1.2
  27. %define V_rico_prototype 1.4
  28. %define V_scriptaculous 1.7.0
  29. %define V_mktree 20051017
  30. %define V_dol 20050215
  31. %define V_ie7 0_9
  32. %define V_tinymce 2_1_0
  33. %define V_os3grid 0.6
  34. %define V_toolman 0.2
  35. %define V_behaviour 1.1
  36. %define V_wikiwyg 0.12
  37. %define V_jsan 0.10
  38. %define V_jsan_digestmd5 0.01
  39. %define V_jsan_listutils 0.03
  40. %define V_jsan_domevents 0.02
  41. %define V_jsan_domutils 0.02
  42. %define V_jsan_domelement 0.02
  43. %define V_jsan_dominsert 0.02
  44. %define V_jsan_functionbind 0.02
  45. %define V_jsan_filebasename 0.03
  46. %define V_jsan_widgetsortabletable 0.21
  47. %define V_jsan_widgetselect 0.01
  48. %define V_jsan_jsmodule 0.11
  49. %define V_jsan_httprequest 0.03
  50. %define V_jsan_httppush 0.04
  51. %define V_jsan_httpcookies 1.11
  52. %define V_jsan_httpquery 0.03
  53. %define V_jsan_csschange 0.02
  54. %define V_jsan_display 0.06
  55. %define V_jsolait 2006-07-12
  56. %define V_yui 2.2.1
  57. %define V_cssquery 2.0.2
  58. %define V_ajaxslt 0.4
  59. %define V_spry P1_4_12-14
  60. %define V_dojo 0.4.2
  61. %define V_mochikit 1.3.1
  62. %define V_ffjs 1.11
  63. %define V_dwt 0.2
  64. %define V_jquery 1.1.2
  65. %define V_jquery_interface 1.2
  66. %define V_jquery_form 1.0.3
  67. %define V_jquery_dimensions 20070228
  68. %define V_jquery_metadata 20070206
  69. %define V_jquery_highlightfade 0.7
  70. %define V_jquery_shortkeys 20070207
  71. %define V_jquery_moreselectors 20060906
  72. %define V_jquery_F 20061121
  73. %define V_jquery_cookie 20070207
  74. %define V_jquery_create 20070207
  75. %define V_jquery_array 20070207
  76. %define V_jquery_easing 1.1
  77. %define V_excanvas 20070207
  78. %define V_oat 2.3
  79. # package information
  80. Name: dhtml
  81. Summary: Dynamic HTML Libraries
  82. URL: http://www.openpkg.org/
  83. Vendor: OpenPKG
  84. Packager: OpenPKG Foundation e.V.
  85. Distribution: OpenPKG Community
  86. Class: BASE
  87. Group: HTML
  88. License: Open Source
  89. Version: 0
  90. Release: 20070410
  91. # list of sources
  92. Source0: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/prototype-%{V_prototype}.js
  93. Source1: http://script.aculo.us/dist/scriptaculous-js-%{V_scriptaculous}.tar.gz
  94. Source2: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/mktree-%{V_mktree}.tar.gz
  95. Source3: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/rico-%{V_rico}.js
  96. Source4: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/rico-%{V_rico}-prototype-%{V_rico_prototype}.js
  97. Source5: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/DynamicOptionList-%{V_dol}.js
  98. Source6: http://switch.dl.sourceforge.net/ie7/IE7_%{V_ie7}.zip
  99. Source7: http://switch.dl.sourceforge.net/tinymce/tinymce_%{V_tinymce}.tgz
  100. Source8: http://switch.dl.sourceforge.net/os3grid/os3grid-%{V_os3grid}.tar.bz2
  101. Source9: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip
  102. Source10: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/behaviour-%{V_behaviour}.js
  103. Source11: http://openjsan.org/dist/i/in/ingy/Wikiwyg-%{V_wikiwyg}.tar.gz
  104. Source12: http://openjsan.org/dist/c/cw/cwest/JSAN-%{V_jsan}.tar.gz
  105. Source13: http://openjsan.org/dist/c/cw/cwest/Digest.MD5-%{V_jsan_digestmd5}.tar.gz
  106. Source14: http://openjsan.org/dist/p/pr/prefiks/List.Utils-%{V_jsan_listutils}.tar.gz
  107. Source15: http://openjsan.org/dist/g/go/goflyapig/DOM.Events-%{V_jsan_domevents}.tar.gz
  108. Source16: http://openjsan.org/dist/r/rk/rkinyon/DOM-Utils-%{V_jsan_domutils}.tar.gz
  109. Source17: http://openjsan.org/dist/r/rk/rkinyon/DOM-Element-%{V_jsan_domelement}.tar.gz
  110. Source18: http://openjsan.org/dist/r/rk/rkinyon/DOM-Insert-%{V_jsan_dominsert}.tar.gz
  111. Source19: http://openjsan.org/dist/r/rk/rkinyon/Function-bind-%{V_jsan_functionbind}.tar.gz
  112. Source20: http://openjsan.org/dist/l/le/lecar_red/File.Basename-%{V_jsan_filebasename}.tar.gz
  113. Source21: http://openjsan.org/dist/a/au/autarch/Widget.SortableTable-%{V_jsan_widgetsortabletable}.tar.gz
  114. Source22: http://openjsan.org/dist/t/th/thilo/Widget.Select-%{V_jsan_widgetselect}.tar.gz
  115. Source23: http://openjsan.org/dist/a/ad/adurdin/JSModule-%{V_jsan_jsmodule}.tar.gz
  116. Source24: http://openjsan.org/dist/r/rk/rkinyon/HTTP-Request-%{V_jsan_httprequest}.tar.gz
  117. Source25: http://openjsan.org/dist/f/fu/fuzzynerd/HTTP.Push-%{V_jsan_httppush}.tar.gz
  118. Source26: http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcookies}.tar.gz
  119. Source27: http://openjsan.org/dist/t/th/theory/HTTP.Query-%{V_jsan_httpquery}.tar.gz
  120. Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschange}.tar.gz
  121. Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz
  122. Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip
  123. Source31: http://switch.dl.sourceforge.net/sourceforge/yui/yui_%{V_yui}.zip
  124. Source32: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/cssQuery-%{V_cssquery}.zip
  125. Source33: http://switch.dl.sourceforge.net/goog-ajaxslt/ajaxslt-%{V_ajaxslt}.tar.gz
  126. Source34: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/Spry_%{V_spry}.zip
  127. Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-%{V_dojo}-ajax.tar.gz
  128. Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip
  129. Source37: http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip
  130. Source38: http://switch.dl.sourceforge.net/dwt/dwt-%{V_dwt}.tar.gz
  131. Source39: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-%{V_jquery}.pack.js
  132. Source40: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip
  133. Source41: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-form-%{V_jquery_form}.js
  134. Source42: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-dimensions-%{V_jquery_dimensions}.js
  135. Source43: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-metadata-%{V_jquery_metadata}.js
  136. Source44: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-highlightfade-%{V_jquery_highlightfade}.js
  137. Source45: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-shortkeys-%{V_jquery_shortkeys}.js
  138. Source46: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-moreselectors-%{V_jquery_moreselectors}.js
  139. Source47: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-F-%{V_jquery_F}.js
  140. Source48: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-cookie-%{V_jquery_cookie}.js
  141. Source49: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-create-%{V_jquery_create}.js
  142. Source50: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-array-%{V_jquery_array}.js
  143. Source51: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-easing-%{V_jquery_easing}.js
  144. Source52: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js
  145. Source53: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz
  146. Source54: dhtml.txt
  147. # build information
  148. Prefix: %{l_prefix}
  149. BuildRoot: %{l_buildroot}
  150. BuildPreReq: OpenPKG, openpkg >= 20040130, infozip
  151. PreReq: OpenPKG, openpkg >= 20040130
  152. AutoReq: no
  153. AutoReqProv: no
  154. %description
  155. This is a collection of CSS and JavaScript based DHTML components
  156. which provide reusable WWW client-side extensions including IE7
  157. compatibility workarounds, AJAX support, dynamic widgets, etc.
  158. %track
  159. prog dhtml:prototype = {
  160. version = %{V_prototype}
  161. url = http://www.prototypejs.org/download
  162. regex = version&mdash;(__VER__)
  163. }
  164. prog dhtml:scriptaculous = {
  165. version = %{V_scriptaculous}
  166. url = http://script.aculo.us/downloads
  167. regex = scriptaculous-js-(__VER__)\.tar\.gz
  168. }
  169. prog dhtml:rico-prototype = {
  170. version = %{V_rico_prototype}
  171. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  172. regex = rico-%{V_rico}-prototype-(__VER__)\.js
  173. }
  174. prog dhtml:rico = {
  175. version = %{V_rico}
  176. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  177. regex = rico-(\d+\.\d+\.\d)\.js
  178. }
  179. prog dhtml:mktree = {
  180. version = %{V_mktree}
  181. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  182. regex = mktree-(__VER__)\.tar\.gz
  183. }
  184. prog dhtml:dol = {
  185. version = %{V_dol}
  186. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  187. regex = DynamicOptionList-(__VER__)\.js
  188. }
  189. prog dhtml:ie7 = {
  190. version = %{V_ie7}
  191. url = http://prdownloads.sourceforge.net/ie7/
  192. regex = IE7_(__VER__)\.zip
  193. }
  194. prog dhtml:tinymce = {
  195. version = %{V_tinymce}
  196. url = http://prdownloads.sourceforge.net/tinymce/
  197. regex = tinymce_(__VER__)\.tgz
  198. }
  199. prog dhtml:os3grid = {
  200. version = %{V_os3grid}
  201. url = http://prdownloads.sourceforge.net/os3grid/
  202. regex = os3grid-(__VER__)\.tar\.bz2
  203. }
  204. prog dhtml:toolman = {
  205. version = %{V_toolman}
  206. url = http://tool-man.org/examples/
  207. regex = ToolManDHTML-(__VER__)\.zip
  208. }
  209. prog dhtml:behaviour = {
  210. version = %{V_behaviour}
  211. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  212. regex = behaviour-(__VER__)\.js
  213. }
  214. prog dhtml:wikiwyg = {
  215. version = %{V_wikiwyg}
  216. url = http://openjsan.org/dist/i/in/ingy/
  217. regex = Wikiwyg-(__VER__)\.tar\.gz
  218. }
  219. prog dhtml:jsan = {
  220. version = %{V_jsan}
  221. url = http://openjsan.org/dist/c/cw/cwest/
  222. regex = JSAN-(__VER__)\.tar\.gz
  223. }
  224. prog dhtml:jsan-digestmd5 = {
  225. version = %{V_jsan_digestmd5}
  226. url = http://openjsan.org/dist/c/cw/cwest/
  227. regex = Digest\.MD5-(__VER__)\.tar\.gz
  228. }
  229. prog dhtml:jsan-listutils = {
  230. version = %{V_jsan_listutils}
  231. url = http://openjsan.org/dist/p/pr/prefiks/
  232. regex = List\.Utils-(__VER__)\.tar\.gz
  233. }
  234. prog dhtml:jsan-domevents = {
  235. version = %{V_jsan_domevents}
  236. url = http://openjsan.org/dist/g/go/goflyapig/
  237. regex = DOM\.Events-(__VER__)\.tar\.gz
  238. }
  239. prog dhtml:jsan-domutils = {
  240. version = %{V_jsan_domutils}
  241. url = http://openjsan.org/dist/r/rk/rkinyon/
  242. regex = DOM-Utils-(__VER__)\.tar\.gz
  243. }
  244. prog dhtml:jsan-domelement = {
  245. version = %{V_jsan_domelement}
  246. url = http://openjsan.org/dist/r/rk/rkinyon/
  247. regex = DOM-Element-(__VER__)\.tar\.gz
  248. }
  249. prog dhtml:jsan-dominsert = {
  250. version = %{V_jsan_dominsert}
  251. url = http://openjsan.org/dist/r/rk/rkinyon/
  252. regex = DOM-Insert-(__VER__)\.tar\.gz
  253. }
  254. prog dhtml:jsan-functionbind = {
  255. version = %{V_jsan_functionbind}
  256. url = http://openjsan.org/dist/r/rk/rkinyon/
  257. regex = Function-bind-(__VER__)\.tar\.gz
  258. }
  259. prog dhtml:jsan-filebasename = {
  260. version = %{V_jsan_filebasename}
  261. url = http://openjsan.org/dist/l/le/lecar_red/
  262. regex = File\.Basename-(__VER__)\.tar\.gz
  263. }
  264. prog dhtml:jsan-widgetsortabletable = {
  265. version = %{V_jsan_widgetsortabletable}
  266. url = http://openjsan.org/dist/a/au/autarch/
  267. regex = Widget\.SortableTable-(__VER__)\.tar\.gz
  268. }
  269. prog dhtml:jsan-widgetselect = {
  270. version = %{V_jsan_widgetselect}
  271. url = http://openjsan.org/dist/t/th/thilo/
  272. regex = Widget\.Select-(__VER__)\.tar\.gz
  273. }
  274. prog dhtml:jsan-jsmodule = {
  275. version = %{V_jsan_jsmodule}
  276. url = http://openjsan.org/dist/a/ad/adurdin/
  277. regex = JSModule-(__VER__)\.tar\.gz
  278. }
  279. prog dhtml:jsan-httprequest = {
  280. version = %{V_jsan_httprequest}
  281. url = http://openjsan.org/dist/r/rk/rkinyon/
  282. regex = HTTP-Request-(__VER__)\.tar\.gz
  283. }
  284. prog dhtml:jsan-httppush = {
  285. version = %{V_jsan_httppush}
  286. url = http://openjsan.org/dist/f/fu/fuzzynerd/
  287. regex = HTTP\.Push-(__VER__)\.tar\.gz
  288. }
  289. prog dhtml:jsan-httpcookies = {
  290. version = %{V_jsan_httpcookies}
  291. url = http://openjsan.org/dist/b/bu/burak/
  292. regex = HTTP\.Cookies-(__VER__)\.tar\.gz
  293. }
  294. prog dhtml:jsan-httpquery = {
  295. version = %{V_jsan_httpquery}
  296. url = http://openjsan.org/dist/t/th/theory/
  297. regex = HTTP\.Query-(__VER__)\.tar\.gz
  298. }
  299. prog dhtml:jsan-csschange = {
  300. version = %{V_jsan_csschange}
  301. url = http://openjsan.org/dist/t/ty/typester/
  302. regex = CSS\.Change-(__VER__)\.tar\.gz
  303. }
  304. prog dhtml:jsan-display = {
  305. version = %{V_jsan_display}
  306. url = http://openjsan.org/dist/a/ad/adamk/
  307. regex = Display-(__VER__)\.tar\.gz
  308. }
  309. prog dhtml:jsolait = {
  310. version = %{V_jsolait}
  311. url = http://jsolait.net/download/
  312. regex = jsolait\.(__VER__)\.small\.zip
  313. }
  314. prog dhtml:yui = {
  315. version = %{V_yui}
  316. url = http://prdownloads.sourceforge.net/yui/
  317. regex = yui_(__VER__)\.zip
  318. }
  319. prog dhtml:cssquery = {
  320. version = %{V_cssquery}
  321. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  322. regex = cssQuery-(__VER__)\.zip
  323. }
  324. prog dhtml:ajaxslt = {
  325. version = %{V_ajaxslt}
  326. url = http://prdownloads.sourceforge.net/goog-ajaxslt/
  327. regex = ajaxslt-(__VER__)\.tar\.gz
  328. }
  329. prog dhtml:spry = {
  330. version = %{V_spry}
  331. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  332. regex = Spry_(__VER__)\.zip
  333. }
  334. prog dhtml:dojo = {
  335. version = %{V_dojo}
  336. url = http://download.dojotoolkit.org/
  337. regex = release-(\d+\.\d+\.\d+)/
  338. }
  339. prog dhtml:mochikit = {
  340. version = %{V_mochikit}
  341. url = http://mochikit.com/download.html
  342. regex = MochiKit-(__VER__)\.zip
  343. }
  344. prog dhtml:ffjs = {
  345. version = %{V_ffjs}
  346. url = http://fforw.de/post/ff_javascript_library/
  347. regex = ffjs-r(__VER__)\.zip
  348. }
  349. prog dhtml:dwt = {
  350. version = %{V_dwt}
  351. url = http://prdownloads.sourceforge.net/dwt/
  352. regex = dwt-(__VER__)\.tar\.gz
  353. }
  354. prog dhtml:jquery = {
  355. version = %{V_jquery}
  356. url = http://jquery.com/dev/svn/tags/
  357. regex = tags/(\d+\.\d+\.\d+)
  358. }
  359. prog dhtml:jquery-interface = {
  360. version = %{V_jquery_interface}
  361. url = http://interface.eyecon.ro/download
  362. regex = interface_(__VER__)\.zip
  363. }
  364. prog dhtml:jquery-form = {
  365. version = %{V_jquery_form}
  366. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  367. regex = jquery-form-(__VER__)\.js
  368. }
  369. prog dhtml:jquery-dimensions = {
  370. version = %{V_jquery_dimensions}
  371. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  372. regex = jquery-dimensions-(__VER__)\.js
  373. }
  374. prog dhtml:jquery-metadata = {
  375. version = %{V_jquery_metadata}
  376. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  377. regex = jquery-metadata-(__VER__)\.js
  378. }
  379. prog dhtml:jquery-highlightfade = {
  380. version = %{V_jquery_highlightfade}
  381. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  382. regex = jquery-highlightfade-(__VER__)\.js
  383. }
  384. prog dhtml:jquery-shortkeys = {
  385. version = %{V_jquery_shortkeys}
  386. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  387. regex = jquery-shortkeys-(__VER__)\.js
  388. }
  389. prog dhtml:jquery-moreselectors = {
  390. version = %{V_jquery_moreselectors}
  391. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  392. regex = jquery-moreselectors-(__VER__)\.js
  393. }
  394. prog dhtml:jquery-F = {
  395. version = %{V_jquery_F}
  396. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  397. regex = jquery-F-(__VER__)\.js
  398. }
  399. prog dhtml:jquery-cookie = {
  400. version = %{V_jquery_cookie}
  401. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  402. regex = jquery-cookie-(__VER__)\.js
  403. }
  404. prog dhtml:jquery-create = {
  405. version = %{V_jquery_create}
  406. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  407. regex = jquery-create-(__VER__)\.js
  408. }
  409. prog dhtml:jquery-array = {
  410. version = %{V_jquery_array}
  411. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  412. regex = jquery-array-(__VER__)\.js
  413. }
  414. prog dhtml:excanvas = {
  415. version = %{V_excanvas}
  416. url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
  417. regex = excanvas-(__VER__)\.js
  418. }
  419. prog dhtml:oat = {
  420. version = %{V_oat}
  421. url = http://prdownloads.sourceforge.net/oat/
  422. regex = oat-(__VER__)\.tar\.gz
  423. }
  424. %prep
  425. %setup -q -c -T
  426. %setup -q -T -D -a 1
  427. %setup -q -T -D -a 2
  428. %setup -q -T -D -a 7
  429. %setup -q -T -D -a 8
  430. %setup -q -T -D -a 11
  431. %setup -q -T -D -a 12
  432. %setup -q -T -D -a 13
  433. %setup -q -T -D -a 14
  434. %setup -q -T -D -a 15
  435. %setup -q -T -D -a 16
  436. %setup -q -T -D -a 17
  437. %setup -q -T -D -a 18
  438. %setup -q -T -D -a 19
  439. %setup -q -T -D -a 20
  440. %setup -q -T -D -a 21
  441. %setup -q -T -D -a 22
  442. %setup -q -T -D -a 23
  443. %setup -q -T -D -a 24
  444. %setup -q -T -D -a 25
  445. %setup -q -T -D -a 26
  446. %setup -q -T -D -a 27
  447. %setup -q -T -D -a 28
  448. %setup -q -T -D -a 29
  449. %{l_prefix}/bin/unzip -q -x %{SOURCE6}
  450. %{l_prefix}/bin/unzip -q -x %{SOURCE9}
  451. %{l_prefix}/bin/unzip -q -x %{SOURCE30}
  452. %{l_prefix}/bin/unzip -q -x %{SOURCE31}
  453. %{l_prefix}/bin/unzip -q -x %{SOURCE32}
  454. %setup -q -T -D -a 33
  455. %{l_prefix}/bin/unzip -q -x %{SOURCE34}
  456. %setup -q -T -D -a 35
  457. %{l_prefix}/bin/unzip -q -x %{SOURCE36}
  458. %{l_prefix}/bin/unzip -q -x %{SOURCE37}
  459. %setup -q -T -D -a 38
  460. %{l_prefix}/bin/unzip -q -x %{SOURCE40}
  461. %setup -q -T -D -a 53
  462. %build
  463. %install
  464. rm -rf $RPM_BUILD_ROOT
  465. %{l_shtool} mkdir -f -p -m 755 \
  466. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype \
  467. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous \
  468. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico \
  469. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree \
  470. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol \
  471. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce \
  472. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid \
  473. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7 \
  474. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman \
  475. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour \
  476. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg \
  477. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest \
  478. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List \
  479. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM \
  480. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File \
  481. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function \
  482. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP \
  483. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \
  484. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS \
  485. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait \
  486. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui \
  487. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery \
  488. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt \
  489. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry \
  490. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \
  491. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \
  492. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \
  493. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt \
  494. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin \
  495. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \
  496. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat
  497. %{l_shtool} install -c -m 644 \
  498. %{SOURCE prototype-%{V_prototype}.js} \
  499. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
  500. %{l_shtool} install -c -m 644 \
  501. %{SOURCE rico-%{V_rico}.js} \
  502. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/rico.js
  503. %{l_shtool} install -c -m 644 \
  504. %{SOURCE rico-%{V_rico}-prototype-%{V_rico_prototype}.js} \
  505. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/prototype.js
  506. %{l_shtool} install -c -m 644 \
  507. scriptaculous-js-%{V_scriptaculous}/lib/* \
  508. scriptaculous-js-%{V_scriptaculous}/src/* \
  509. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous/
  510. %{l_shtool} install -c -m 644 \
  511. IE7_%{V_ie7}/ie7* IE7_%{V_ie7}/blank.gif \
  512. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7/
  513. %{l_shtool} install -c -m 644 \
  514. mktree/* \
  515. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree/
  516. %{l_shtool} install -c -m 644 \
  517. %{SOURCE DynamicOptionList-%{V_dol}.js} \
  518. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol/dol.js
  519. cp -r tinymce/jscripts/tiny_mce/* \
  520. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce/
  521. %{l_shtool} install -c -m 644 \
  522. os3grid/os3grid.css os3grid/os3grid.js \
  523. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid/
  524. %{l_shtool} install -c -m 644 \
  525. tool-man/source/org/tool-man/* \
  526. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman/
  527. %{l_shtool} install -c -m 644 \
  528. %{SOURCE behaviour-%{V_behaviour}.js} \
  529. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour/behaviour.js
  530. %{l_shtool} install -c -m 644 \
  531. %{SOURCE dhtml.txt} \
  532. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README
  533. cp -r Wikiwyg-%{V_wikiwyg}/lib/* Wikiwyg-%{V_wikiwyg}/css/* \
  534. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/
  535. cp -r Wikiwyg-%{V_wikiwyg}/images \
  536. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/images
  537. %{l_shtool} subst \
  538. -e 's;images/;/dhtml/wikiwyg/images/;g' \
  539. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/Wikiwyg/Toolbar.js
  540. %{l_shtool} install -c -m 644 \
  541. -e "s;lib;/dhtml/jsan;" \
  542. JSAN-%{V_jsan}/doc/text/JSAN.txt JSAN-%{V_jsan}/lib/JSAN.js \
  543. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
  544. %{l_shtool} install -c -m 644 \
  545. -e 's;\(includePaths = ..\)\(..\);\1/dhtml/jsan\2;' \
  546. JSModule-%{V_jsan_jsmodule}/doc/JSModule.rst \
  547. JSModule-%{V_jsan_jsmodule}/src/JSModule.js \
  548. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
  549. %{l_shtool} install -c -m 644 \
  550. Digest.MD5-%{V_jsan_digestmd5}/lib/Digest/MD5.js \
  551. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest/
  552. %{l_shtool} install -c -m 644 \
  553. List.Utils-%{V_jsan_listutils}/lib/List/Utils.js \
  554. List.Utils-%{V_jsan_listutils}/doc/text/List/Utils.txt \
  555. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List/
  556. %{l_shtool} install -c -m 644 \
  557. DOM.Events-%{V_jsan_domevents}/lib/DOM/Events.js \
  558. DOM-Utils-%{V_jsan_domutils}/lib/DOM/Utils.js \
  559. DOM-Utils-%{V_jsan_domutils}/doc/text/DOM/Utils.txt \
  560. DOM-Element-%{V_jsan_domelement}/lib/DOM/Element.js \
  561. DOM-Element-%{V_jsan_domelement}/doc/text/DOM/Element.txt \
  562. DOM-Insert-%{V_jsan_dominsert}/lib/DOM/Insert.js \
  563. DOM-Insert-%{V_jsan_dominsert}/doc/text/DOM/Insert.txt \
  564. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM/
  565. %{l_shtool} install -c -m 644 \
  566. File.Basename-%{V_jsan_filebasename}/lib/File/Basename.js \
  567. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File/
  568. %{l_shtool} install -c -m 644 \
  569. Function-bind-%{V_jsan_functionbind}/lib/Function/bind*.js \
  570. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function/
  571. %{l_shtool} install -c -m 644 \
  572. HTTP-Request-%{V_jsan_httprequest}/lib/HTTP/*.js \
  573. HTTP.Push-%{V_jsan_httppush}/lib/HTTP/*.js \
  574. HTTP.Cookies-%{V_jsan_httpcookies}/lib/HTTP/*.js \
  575. HTTP.Query-%{V_jsan_httpquery}/lib/HTTP/*.js \
  576. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP/
  577. %{l_shtool} install -c -m 644 \
  578. Widget.SortableTable-%{V_jsan_widgetsortabletable}/lib/Widget/*.js \
  579. Widget.Select-%{V_jsan_widgetselect}/lib/Widget/*.js \
  580. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget/
  581. %{l_shtool} install -c -m 644 \
  582. CSS.Change-%{V_jsan_csschange}/lib/CSS/*.js \
  583. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS/
  584. %{l_shtool} install -c -m 644 \
  585. Display-%{V_jsan_display}/lib/*.js \
  586. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
  587. cp -rp jsolait/* \
  588. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait/
  589. cp -rp yui/build/* \
  590. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui/
  591. %{l_shtool} install -c -m 644 \
  592. cssQuery/cssQuery-p.js \
  593. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery/cssquery.js
  594. %{l_shtool} install -c -m 644 \
  595. ajaxslt-%{V_ajaxslt}/dom.js \
  596. ajaxslt-%{V_ajaxslt}/misc.js \
  597. ajaxslt-%{V_ajaxslt}/xpath.js \
  598. ajaxslt-%{V_ajaxslt}/xslt.js \
  599. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt/
  600. %{l_shtool} install -c -m 644 \
  601. Spry_*/includes/*.js \
  602. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/
  603. cp -rp dojo-%{V_dojo}-ajax/src \
  604. dojo-%{V_dojo}-ajax/dojo.js \
  605. dojo-%{V_dojo}-ajax/iframe_history.html \
  606. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo/
  607. cp -rp MochiKit-%{V_mochikit}/doc \
  608. MochiKit-%{V_mochikit}/packed/MochiKit/MochiKit.js \
  609. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit/
  610. %{l_shtool} install -c -m 644 \
  611. script/ff.js \
  612. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/
  613. cp -rp dwt-%{V_dwt}/WebContent/* \
  614. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt/
  615. %{l_shtool} install -c -m 644 \
  616. %{SOURCE jquery-%{V_jquery}.pack.js} \
  617. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.js
  618. cp "interface %{V_jquery_interface}/interface.js" \
  619. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/
  620. %{l_shtool} install -c -m 644 \
  621. %{SOURCE jquery-form-%{V_jquery_form}.js} \
  622. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/form.js
  623. %{l_shtool} install -c -m 644 \
  624. %{SOURCE jquery-dimensions-%{V_jquery_dimensions}.js} \
  625. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/dimensions.js
  626. %{l_shtool} install -c -m 644 \
  627. %{SOURCE jquery-metadata-%{V_jquery_metadata}.js} \
  628. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/metadata.js
  629. %{l_shtool} install -c -m 644 \
  630. %{SOURCE jquery-highlightfade-%{V_jquery_highlightfade}.js} \
  631. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/highlightfade.js
  632. %{l_shtool} install -c -m 644 \
  633. %{SOURCE jquery-shortkeys-%{V_jquery_shortkeys}.js} \
  634. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/shortkeys.js
  635. %{l_shtool} install -c -m 644 \
  636. %{SOURCE jquery-moreselectors-%{V_jquery_moreselectors}.js} \
  637. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/moreselectors.js
  638. %{l_shtool} install -c -m 644 \
  639. %{SOURCE jquery-F-%{V_jquery_F}.js} \
  640. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/F.js
  641. %{l_shtool} install -c -m 644 \
  642. %{SOURCE jquery-cookie-%{V_jquery_cookie}.js} \
  643. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/cookie.js
  644. %{l_shtool} install -c -m 644 \
  645. %{SOURCE jquery-create-%{V_jquery_create}.js} \
  646. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/create.js
  647. %{l_shtool} install -c -m 644 \
  648. %{SOURCE jquery-array-%{V_jquery_array}.js} \
  649. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/array.js
  650. %{l_shtool} install -c -m 644 \
  651. %{SOURCE jquery-easing-%{V_jquery_easing}.js} \
  652. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/easing.js
  653. %{l_shtool} install -c -m 644 \
  654. %{SOURCE excanvas-%{V_excanvas}.js} \
  655. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js
  656. cp -rp oat-%{V_oat}/oat/*.js \
  657. $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat/
  658. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  659. %files -f files
  660. %clean
  661. rm -rf $RPM_BUILD_ROOT