dhtml/dhtml.spec

Sun, 02 Sep 2012 18:16:49 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 02 Sep 2012 18:16:49 +0200
changeset 658
d5bf6d998337
parent 538
d512b2ab0257
child 679
714b450dc37c
permissions
-rw-r--r--

Correct detection of SSLeay libcrypt, provided by OpenSSL package.

michael@538 1 ##
michael@538 2 ## dhtml.spec -- OpenPKG RPM Package Specification
michael@538 3 ## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/>
michael@538 4 ##
michael@538 5 ## Permission to use, copy, modify, and distribute this software for
michael@538 6 ## any purpose with or without fee is hereby granted, provided that
michael@538 7 ## the above copyright notice and this permission notice appear in all
michael@538 8 ## copies.
michael@538 9 ##
michael@538 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@538 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@538 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@538 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@538 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@538 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@538 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@538 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@538 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@538 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@538 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@538 21 ## SUCH DAMAGE.
michael@538 22 ##
michael@538 23
michael@538 24 # package version
michael@539 25 %define V_prototype 1.7.1.0
michael@538 26 %define V_rico 1.1.2
michael@538 27 %define V_rico_prototype 1.4
michael@539 28 %define V_scriptaculous 1.9.0
michael@538 29 %define V_mktree 20051017
michael@538 30 %define V_dol 20050215
michael@538 31 %define V_ie7 0_9
michael@538 32 %define V_tinymce 3_3_9
michael@538 33 %define V_os3grid 0.6
michael@538 34 %define V_toolman 0.2
michael@538 35 %define V_behaviour 1.1
michael@538 36 %define V_wikiwyg 0.12
michael@538 37 %define V_jsan 0.10
michael@538 38 %define V_jsan_digestmd5 0.01
michael@538 39 %define V_jsan_listutils 0.03
michael@538 40 %define V_jsan_domevents 0.02
michael@538 41 %define V_jsan_domutils 0.02
michael@538 42 %define V_jsan_domelement 0.02
michael@538 43 %define V_jsan_dominsert 0.02
michael@538 44 %define V_jsan_functionbind 0.02
michael@538 45 %define V_jsan_filebasename 0.03
michael@538 46 %define V_jsan_widgetsortabletable 0.22
michael@538 47 %define V_jsan_widgetselect 0.01
michael@538 48 %define V_jsan_jsmodule 0.11
michael@538 49 %define V_jsan_httprequest 0.03
michael@538 50 %define V_jsan_httppush 0.04
michael@538 51 %define V_jsan_httpcookies 1.11
michael@538 52 %define V_jsan_httpquery 0.03
michael@538 53 %define V_jsan_csschange 0.02
michael@538 54 %define V_jsan_display 0.06
michael@538 55 %define V_jsolait 2006-07-12
michael@538 56 %define V_yui 3.3.0pr3
michael@538 57 %define V_cssquery 2.0.2
michael@538 58 %define V_ajaxslt 0.4
michael@538 59 %define V_spry p1-6-1_022508
michael@539 60 %define V_dojo 1.7.3
michael@538 61 %define V_mochikit 1.4.2
michael@538 62 %define V_ffjs 1.11
michael@538 63 %define V_jquery 1.8.0
michael@539 64 %define V_jquery_mobile 1.1.1
michael@538 65 %define V_jquery_interface 1.2
michael@538 66 %define V_excanvas 20090130
michael@538 67 %define V_oat 2.8
michael@538 68 %define V_extjs 4.1.1
michael@538 69 %define V_raphael 2.1.0
michael@538 70 %define V_svgweb 20110226
michael@538 71 %define V_canto 0.15
michael@538 72 %define V_mootools 1.4.5
michael@538 73 %define V_mochaui 0.9.7
michael@538 74 %define V_pure bc00883
michael@538 75 %define V_ddbelatedpng 0.0.8a
michael@538 76 %define V_skywriter 0.9a2
michael@538 77 %define V_philogl 1.5.1
michael@538 78 %define V_mathjax 1.1-0-g5a7e4d7
michael@538 79
michael@538 80 # package information
michael@538 81 Name: dhtml
michael@538 82 Summary: Dynamic HTML Libraries
michael@538 83 URL: http://www.openpkg.org/
michael@538 84 Vendor: OpenPKG
michael@538 85 Packager: OpenPKG Foundation e.V.
michael@538 86 Distribution: OpenPKG Community
michael@538 87 Class: BASE
michael@538 88 Group: HTML
michael@538 89 License: Open Source
michael@538 90 Version: 0
michael@539 91 Release: 20120800
michael@538 92
michael@538 93 # list of sources
michael@539 94 #Source0: http://download.openpkg.org/components/versioned/dhtml/prototype-%{V_prototype}.js
michael@539 95 Source0: http://ajax.googleapis.com/ajax/libs/prototype/%{V_prototype}/prototype.js
michael@539 96 Source1: http://script.aculo.us/dist/scriptaculous-js-%{V_scriptaculous}.zip
michael@538 97 Source2: http://download.openpkg.org/components/versioned/dhtml/mktree-%{V_mktree}.tar.gz
michael@538 98 Source3: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}.js
michael@538 99 Source4: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}-prototype-%{V_rico_prototype}.js
michael@538 100 Source5: http://download.openpkg.org/components/versioned/dhtml/DynamicOptionList-%{V_dol}.js
michael@538 101 Source6: http://switch.dl.sourceforge.net/ie7/IE7_%{V_ie7}.zip
michael@538 102 Source7: http://switch.dl.sourceforge.net/tinymce/tinymce_%{V_tinymce}.zip
michael@538 103 Source8: http://switch.dl.sourceforge.net/os3grid/os3grid-%{V_os3grid}.tar.bz2
michael@538 104 Source9: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip
michael@538 105 Source10: http://download.openpkg.org/components/versioned/dhtml/behaviour-%{V_behaviour}.js
michael@538 106 Source11: http://openjsan.org/dist/i/in/ingy/Wikiwyg-%{V_wikiwyg}.tar.gz
michael@538 107 Source12: http://openjsan.org/dist/c/cw/cwest/JSAN-%{V_jsan}.tar.gz
michael@538 108 Source13: http://openjsan.org/dist/c/cw/cwest/Digest.MD5-%{V_jsan_digestmd5}.tar.gz
michael@538 109 Source14: http://openjsan.org/dist/p/pr/prefiks/List.Utils-%{V_jsan_listutils}.tar.gz
michael@538 110 Source15: http://openjsan.org/dist/g/go/goflyapig/DOM.Events-%{V_jsan_domevents}.tar.gz
michael@538 111 Source16: http://openjsan.org/dist/r/rk/rkinyon/DOM-Utils-%{V_jsan_domutils}.tar.gz
michael@538 112 Source17: http://openjsan.org/dist/r/rk/rkinyon/DOM-Element-%{V_jsan_domelement}.tar.gz
michael@538 113 Source18: http://openjsan.org/dist/r/rk/rkinyon/DOM-Insert-%{V_jsan_dominsert}.tar.gz
michael@538 114 Source19: http://openjsan.org/dist/r/rk/rkinyon/Function-bind-%{V_jsan_functionbind}.tar.gz
michael@538 115 Source20: http://openjsan.org/dist/l/le/lecar_red/File.Basename-%{V_jsan_filebasename}.tar.gz
michael@538 116 Source21: http://openjsan.org/dist/a/au/autarch/Widget.SortableTable-%{V_jsan_widgetsortabletable}.tar.gz
michael@538 117 Source22: http://openjsan.org/dist/t/th/thilo/Widget.Select-%{V_jsan_widgetselect}.tar.gz
michael@538 118 Source23: http://openjsan.org/dist/a/ad/adurdin/JSModule-%{V_jsan_jsmodule}.tar.gz
michael@538 119 Source24: http://openjsan.org/dist/r/rk/rkinyon/HTTP-Request-%{V_jsan_httprequest}.tar.gz
michael@538 120 Source25: http://openjsan.org/dist/f/fu/fuzzynerd/HTTP.Push-%{V_jsan_httppush}.tar.gz
michael@538 121 Source26: http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcookies}.tar.gz
michael@538 122 Source27: http://openjsan.org/dist/t/th/theory/HTTP.Query-%{V_jsan_httpquery}.tar.gz
michael@538 123 Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschange}.tar.gz
michael@538 124 Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz
michael@538 125 Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip
michael@538 126 Source31: http://yuilibrary.com/downloads/yui3/yui_%{V_yui}.zip
michael@538 127 Source32: http://download.openpkg.org/components/versioned/dhtml/cssQuery-%{V_cssquery}.zip
michael@538 128 Source33: http://switch.dl.sourceforge.net/goog-ajaxslt/ajaxslt-%{V_ajaxslt}.tar.gz
michael@538 129 Source34: http://download.openpkg.org/components/versioned/dhtml/spry_%{V_spry}.zip
michael@538 130 Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-release-%{V_dojo}.tar.gz
michael@538 131 Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip
michael@538 132 Source37: http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip
michael@538 133 Source38: http://code.jquery.com/jquery-%{V_jquery}.min.js
michael@539 134 Source39: http://code.jquery.com/mobile/%{V_jquery_mobile}/jquery.mobile-%{V_jquery_mobile}.zip
michael@539 135 Source40: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip
michael@539 136 Source41: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js
michael@539 137 Source42: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz
michael@539 138 Source43: http://cdn.sencha.com/extjs-%{V_extjs}-gpl.zip
michael@539 139 Source44: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js
michael@539 140 Source45: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz
michael@539 141 Source46: http://canto-js.googlecode.com/files/canto-%{V_canto}.js
michael@539 142 Source47: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js
michael@539 143 Source48: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip
michael@539 144 Source49: http://download.github.com/pure-pure-%{V_pure}.zip
michael@539 145 Source50: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js
michael@539 146 Source51: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz
michael@539 147 Source52: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip
michael@539 148 Source53: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip
michael@539 149 Source54: dhtml.txt
michael@538 150
michael@538 151 # build information
michael@538 152 BuildPreReq: OpenPKG, openpkg >= 20100101, infozip
michael@538 153 PreReq: OpenPKG, openpkg >= 20100101
michael@538 154
michael@538 155 %description
michael@538 156 This is a collection of CSS and JavaScript based DHTML components
michael@538 157 which provide reusable WWW client-side extensions including IE7
michael@538 158 compatibility workarounds, AJAX support, dynamic widgets, etc.
michael@538 159
michael@538 160 %track
michael@538 161 prog dhtml:prototype = {
michael@538 162 version = %{V_prototype}
michael@538 163 url = http://www.prototypejs.org/download
michael@538 164 regex = version&mdash;(\d+\.\d+(?:\.\d+)+)\s+
michael@538 165 }
michael@538 166 prog dhtml:scriptaculous = {
michael@538 167 version = %{V_scriptaculous}
michael@538 168 url = http://script.aculo.us/downloads
michael@539 169 regex = scriptaculous-js-(__VER__)\.zip
michael@538 170 }
michael@538 171 prog dhtml:rico-prototype = {
michael@538 172 version = %{V_rico_prototype}
michael@538 173 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 174 regex = rico-%{V_rico}-prototype-(__VER__)\.js
michael@538 175 }
michael@538 176 prog dhtml:rico = {
michael@538 177 version = %{V_rico}
michael@538 178 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 179 regex = rico-(\d+\.\d+\.\d)\.js
michael@538 180 }
michael@538 181 prog dhtml:mktree = {
michael@538 182 version = %{V_mktree}
michael@538 183 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 184 regex = mktree-(__VER__)\.tar\.gz
michael@538 185 }
michael@538 186 prog dhtml:dol = {
michael@538 187 version = %{V_dol}
michael@538 188 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 189 regex = DynamicOptionList-(__VER__)\.js
michael@538 190 }
michael@538 191 prog dhtml:ie7 = {
michael@538 192 version = %{V_ie7}
michael@538 193 url = http://sourceforge.net/projects/ie7/files/
michael@538 194 regex = IE7_(__VER__)\.zip
michael@538 195 }
michael@538 196 prog dhtml:tinymce = {
michael@538 197 version = %{V_tinymce}
michael@538 198 url = http://sourceforge.net/projects/tinymce/files/
michael@538 199 regex = tinymce_(\d+_\d+_\d+)\.zip
michael@538 200 }
michael@538 201 prog dhtml:os3grid = {
michael@538 202 version = %{V_os3grid}
michael@538 203 url = http://sourceforge.net/projects/os3grid/files/
michael@538 204 regex = os3grid-(__VER__)\.tar\.bz2
michael@538 205 }
michael@538 206 prog dhtml:toolman = {
michael@538 207 version = %{V_toolman}
michael@538 208 url = http://tool-man.org/examples/
michael@538 209 regex = ToolManDHTML-(__VER__)\.zip
michael@538 210 }
michael@538 211 prog dhtml:behaviour = {
michael@538 212 version = %{V_behaviour}
michael@538 213 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 214 regex = behaviour-(__VER__)\.js
michael@538 215 }
michael@538 216 prog dhtml:wikiwyg = {
michael@538 217 version = %{V_wikiwyg}
michael@538 218 url = http://openjsan.org/dist/i/in/ingy/
michael@538 219 regex = Wikiwyg-(__VER__)\.tar\.gz
michael@538 220 }
michael@538 221 prog dhtml:jsan = {
michael@538 222 version = %{V_jsan}
michael@538 223 url = http://openjsan.org/dist/c/cw/cwest/
michael@538 224 regex = JSAN-(__VER__)\.tar\.gz
michael@538 225 }
michael@538 226 prog dhtml:jsan-digestmd5 = {
michael@538 227 version = %{V_jsan_digestmd5}
michael@538 228 url = http://openjsan.org/dist/c/cw/cwest/
michael@538 229 regex = Digest\.MD5-(__VER__)\.tar\.gz
michael@538 230 }
michael@538 231 prog dhtml:jsan-listutils = {
michael@538 232 version = %{V_jsan_listutils}
michael@538 233 url = http://openjsan.org/dist/p/pr/prefiks/
michael@538 234 regex = List\.Utils-(__VER__)\.tar\.gz
michael@538 235 }
michael@538 236 prog dhtml:jsan-domevents = {
michael@538 237 version = %{V_jsan_domevents}
michael@538 238 url = http://openjsan.org/dist/g/go/goflyapig/
michael@538 239 regex = DOM\.Events-(__VER__)\.tar\.gz
michael@538 240 }
michael@538 241 prog dhtml:jsan-domutils = {
michael@538 242 version = %{V_jsan_domutils}
michael@538 243 url = http://openjsan.org/dist/r/rk/rkinyon/
michael@538 244 regex = DOM-Utils-(__VER__)\.tar\.gz
michael@538 245 }
michael@538 246 prog dhtml:jsan-domelement = {
michael@538 247 version = %{V_jsan_domelement}
michael@538 248 url = http://openjsan.org/dist/r/rk/rkinyon/
michael@538 249 regex = DOM-Element-(__VER__)\.tar\.gz
michael@538 250 }
michael@538 251 prog dhtml:jsan-dominsert = {
michael@538 252 version = %{V_jsan_dominsert}
michael@538 253 url = http://openjsan.org/dist/r/rk/rkinyon/
michael@538 254 regex = DOM-Insert-(__VER__)\.tar\.gz
michael@538 255 }
michael@538 256 prog dhtml:jsan-functionbind = {
michael@538 257 version = %{V_jsan_functionbind}
michael@538 258 url = http://openjsan.org/dist/r/rk/rkinyon/
michael@538 259 regex = Function-bind-(__VER__)\.tar\.gz
michael@538 260 }
michael@538 261 prog dhtml:jsan-filebasename = {
michael@538 262 version = %{V_jsan_filebasename}
michael@538 263 url = http://openjsan.org/dist/l/le/lecar_red/
michael@538 264 regex = File\.Basename-(__VER__)\.tar\.gz
michael@538 265 }
michael@538 266 prog dhtml:jsan-widgetsortabletable = {
michael@538 267 version = %{V_jsan_widgetsortabletable}
michael@538 268 url = http://openjsan.org/dist/a/au/autarch/
michael@538 269 regex = Widget\.SortableTable-(__VER__)\.tar\.gz
michael@538 270 }
michael@538 271 prog dhtml:jsan-widgetselect = {
michael@538 272 version = %{V_jsan_widgetselect}
michael@538 273 url = http://openjsan.org/dist/t/th/thilo/
michael@538 274 regex = Widget\.Select-(__VER__)\.tar\.gz
michael@538 275 }
michael@538 276 prog dhtml:jsan-jsmodule = {
michael@538 277 version = %{V_jsan_jsmodule}
michael@538 278 url = http://openjsan.org/dist/a/ad/adurdin/
michael@538 279 regex = JSModule-(__VER__)\.tar\.gz
michael@538 280 }
michael@538 281 prog dhtml:jsan-httprequest = {
michael@538 282 version = %{V_jsan_httprequest}
michael@538 283 url = http://openjsan.org/dist/r/rk/rkinyon/
michael@538 284 regex = HTTP-Request-(__VER__)\.tar\.gz
michael@538 285 }
michael@538 286 prog dhtml:jsan-httppush = {
michael@538 287 version = %{V_jsan_httppush}
michael@538 288 url = http://openjsan.org/dist/f/fu/fuzzynerd/
michael@538 289 regex = HTTP\.Push-(__VER__)\.tar\.gz
michael@538 290 }
michael@538 291 prog dhtml:jsan-httpcookies = {
michael@538 292 version = %{V_jsan_httpcookies}
michael@538 293 url = http://openjsan.org/dist/b/bu/burak/
michael@538 294 regex = HTTP\.Cookies-(__VER__)\.tar\.gz
michael@538 295 }
michael@538 296 prog dhtml:jsan-httpquery = {
michael@538 297 version = %{V_jsan_httpquery}
michael@538 298 url = http://openjsan.org/dist/t/th/theory/
michael@538 299 regex = HTTP\.Query-(__VER__)\.tar\.gz
michael@538 300 }
michael@538 301 prog dhtml:jsan-csschange = {
michael@538 302 version = %{V_jsan_csschange}
michael@538 303 url = http://openjsan.org/dist/t/ty/typester/
michael@538 304 regex = CSS\.Change-(__VER__)\.tar\.gz
michael@538 305 }
michael@538 306 prog dhtml:jsan-display = {
michael@538 307 version = %{V_jsan_display}
michael@538 308 url = http://openjsan.org/dist/a/ad/adamk/
michael@538 309 regex = Display-(__VER__)\.tar\.gz
michael@538 310 }
michael@538 311 prog dhtml:jsolait = {
michael@538 312 version = %{V_jsolait}
michael@538 313 url = http://jsolait.net/download/
michael@538 314 regex = jsolait\.(__VER__)\.small\.zip
michael@538 315 }
michael@538 316 prog dhtml:yui = {
michael@538 317 version = %{V_yui}
michael@538 318 url = http://yuilibrary.com/downloads/
michael@538 319 regex = yui_(\d+\.\d+\.\d+)\.zip
michael@538 320 }
michael@538 321 prog dhtml:cssquery = {
michael@538 322 version = %{V_cssquery}
michael@538 323 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 324 regex = cssQuery-(__VER__)\.zip
michael@538 325 }
michael@538 326 prog dhtml:ajaxslt = {
michael@538 327 version = %{V_ajaxslt}
michael@538 328 url = http://sourceforge.net/projects/goog-ajaxslt/files/
michael@538 329 regex = ajaxslt-(__VER__)\.tar\.gz
michael@538 330 }
michael@538 331 prog dhtml:spry = {
michael@538 332 version = %{V_spry}
michael@538 333 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 334 regex = spry_(__VER__)\.zip
michael@538 335 }
michael@538 336 prog dhtml:dojo = {
michael@538 337 version = %{V_dojo}
michael@538 338 url = http://download.dojotoolkit.org/
michael@538 339 regex = release-(\d+\.\d+\.\d+)/
michael@538 340 }
michael@538 341 prog dhtml:mochikit = {
michael@538 342 version = %{V_mochikit}
michael@538 343 url = http://mochikit.com/download.html
michael@538 344 regex = MochiKit-(__VER__)\.zip
michael@538 345 }
michael@538 346 prog dhtml:ffjs = {
michael@538 347 version = %{V_ffjs}
michael@538 348 url = http://fforw.de/ffjs/
michael@538 349 regex = ffjs-r(__VER__)\.zip
michael@538 350 }
michael@538 351 prog dhtml:jquery = {
michael@538 352 version = %{V_jquery}
michael@538 353 url = http://jquery.com/
michael@538 354 regex = jquery-(\d+\.\d+(\.\d+)?)\.min\.js
michael@538 355 }
michael@539 356 prog dhtml:jquerymobile = {
michael@539 357 version = %{V_jquery_mobile}
michael@539 358 url = http://code.jquery.com/mobile/
michael@539 359 regex = \d+\.\d+(\.\d+)?)/jquery\.mobile-(__VER__)\.zip
michael@539 360 }
michael@538 361 prog dhtml:jquery-interface = {
michael@538 362 version = %{V_jquery_interface}
michael@538 363 url = http://interface.eyecon.ro/download
michael@538 364 regex = interface_(__VER__)\.zip
michael@538 365 }
michael@538 366 prog dhtml:excanvas = {
michael@538 367 version = %{V_excanvas}
michael@538 368 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 369 regex = excanvas-(__VER__)\.js
michael@538 370 }
michael@538 371 prog dhtml:oat = {
michael@538 372 version = %{V_oat}
michael@538 373 url = http://sourceforge.net/projects/oat/files/
michael@538 374 regex = oat-(__VER__)\.tar\.gz
michael@538 375 }
michael@538 376 prog dhtml:extjs = {
michael@538 377 version = %{V_extjs}
michael@538 378 url = http://www.sencha.com/products/js/download.php
michael@538 379 regex = Ext\s+JS\s+(\d+\.\d+\.\d+)
michael@538 380 }
michael@538 381 prog dhtml:raphael = {
michael@538 382 version = %{V_raphael}
michael@538 383 url = http://raphaeljs.com/
michael@538 384 regex = Download\s+v\.\&nbsp;(__VER__)
michael@538 385 }
michael@538 386 prog dhtml:svgweb = {
michael@538 387 version = %{V_svgweb}
michael@538 388 url = http://download.openpkg.org/components/versioned/dhtml/
michael@538 389 regex = svgweb-(\d+)\.tar\.gz
michael@538 390 }
michael@538 391 prog dhtml:canto = {
michael@538 392 version = %{V_canto}
michael@538 393 url = http://code.google.com/p/canto-js/downloads/list
michael@538 394 regex = canto-(__VER__)\.js
michael@538 395 }
michael@538 396 prog dhtml:mootools = {
michael@538 397 version = %{V_mootools}
michael@538 398 url = http://mootools.net/download
michael@538 399 regex = mootools-core-(__VER__)-full-nocompat-yc\.js
michael@538 400 }
michael@538 401 prog dhtml:mochaui = {
michael@538 402 version = %{V_mochaui}
michael@538 403 url = http://github.com/mui/mochaui/downloads
michael@538 404 regex = mochaui-(__VER__)\.zip
michael@538 405 }
michael@538 406 prog dhtml:pure = {
michael@538 407 version = %{V_pure}
michael@538 408 url = http://beebole.com/pure/documentation/pure-with-your-js-library/
michael@538 409 regex = pure-pure-(__VER__)\.zip
michael@538 410 }
michael@538 411 prog dhtml:ddbelatedpng = {
michael@538 412 version = %{V_ddbelatedpng}
michael@538 413 url = http://www.dillerdesign.com/experiment/DD_belatedPNG/
michael@538 414 regex = DD_belartedPNG_(__VER__)\.js
michael@538 415 }
michael@538 416 prog dhtml:skywriter = {
michael@538 417 version = %{V_skywriter}
michael@538 418 url = http://mozillalabs.com/skywriter/
michael@538 419 regex = BespinEmbedded-(__VER__)\.tar\.gz
michael@538 420 }
michael@538 421 prog dhtml:philogl = {
michael@538 422 version = %{V_philogl}
michael@538 423 url = http://senchalabs.github.com/philogl/
michael@538 424 regex = PhiloGL-(__VER__)\.zip
michael@538 425 }
michael@538 426 prog dhtml:mathjax = {
michael@538 427 version = %{V_mathjax}
michael@538 428 url = https://github.com/mathjax/MathJax/archives/master
michael@538 429 regex = mathjax-Mathjax-(__VER__)\.zip
michael@538 430 }
michael@538 431
michael@538 432 %prep
michael@538 433 %setup -q -c -T
michael@538 434 %setup -q -T -D -a 2
michael@538 435 mkdir tinymce-%{V_tinymce}
michael@538 436 ( cd tinymce-%{V_tinymce}; %{l_prefix}/bin/unzip -q -x %{SOURCE7} ) || exit $?
michael@538 437 %setup -q -T -D -a 8
michael@538 438 %setup -q -T -D -a 11
michael@538 439 %setup -q -T -D -a 12
michael@538 440 %setup -q -T -D -a 13
michael@538 441 %setup -q -T -D -a 14
michael@538 442 %setup -q -T -D -a 15
michael@538 443 %setup -q -T -D -a 16
michael@538 444 %setup -q -T -D -a 17
michael@538 445 %setup -q -T -D -a 18
michael@538 446 %setup -q -T -D -a 19
michael@538 447 %setup -q -T -D -a 20
michael@538 448 %setup -q -T -D -a 21
michael@538 449 %setup -q -T -D -a 22
michael@538 450 %setup -q -T -D -a 23
michael@538 451 %setup -q -T -D -a 24
michael@538 452 %setup -q -T -D -a 25
michael@538 453 %setup -q -T -D -a 26
michael@538 454 %setup -q -T -D -a 27
michael@538 455 %setup -q -T -D -a 28
michael@538 456 %setup -q -T -D -a 29
michael@539 457 %{l_prefix}/bin/unzip -q -x %{SOURCE1}
michael@538 458 %{l_prefix}/bin/unzip -q -x %{SOURCE6}
michael@538 459 %{l_prefix}/bin/unzip -q -x %{SOURCE9}
michael@538 460 %{l_prefix}/bin/unzip -q -x %{SOURCE30}
michael@538 461 %{l_prefix}/bin/unzip -q -x %{SOURCE31}
michael@538 462 %{l_prefix}/bin/unzip -q -x %{SOURCE32}
michael@538 463 %setup -q -T -D -a 33
michael@538 464 %{l_prefix}/bin/unzip -q -x %{SOURCE34}
michael@538 465 %setup -q -T -D -a 35
michael@538 466 %{l_prefix}/bin/unzip -q -x %{SOURCE36}
michael@538 467 %{l_prefix}/bin/unzip -q -x %{SOURCE37}
michael@538 468 %{l_prefix}/bin/unzip -q -x %{SOURCE39}
michael@539 469 %{l_prefix}/bin/unzip -q -x %{SOURCE40}
michael@539 470 %setup -q -T -D -a 42
michael@539 471 %{l_prefix}/bin/unzip -q -x %{SOURCE43}
michael@538 472 chmod -R a+r MochiKit-%{V_mochikit}
michael@539 473 %setup -q -T -D -a 45
michael@538 474 %{l_prefix}/bin/unzip -q -x %{SOURCE48}
michael@539 475 %{l_prefix}/bin/unzip -q -x %{SOURCE49}
michael@539 476 %setup -q -T -D -a 51
michael@538 477 mkdir philogl-%{V_philogl}
michael@539 478 ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE52} ) || exit $?
michael@539 479 %setup -q -T -D -a 53
michael@538 480
michael@538 481 %build
michael@538 482
michael@538 483 %install
michael@538 484 %{l_shtool} mkdir -f -p -m 755 \
michael@538 485 $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \
michael@538 486 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype \
michael@538 487 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous \
michael@538 488 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico \
michael@538 489 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree \
michael@538 490 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol \
michael@538 491 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce \
michael@538 492 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid \
michael@538 493 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7 \
michael@538 494 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman \
michael@538 495 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour \
michael@538 496 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg \
michael@538 497 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest \
michael@538 498 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List \
michael@538 499 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM \
michael@538 500 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File \
michael@538 501 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function \
michael@538 502 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP \
michael@538 503 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \
michael@538 504 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS \
michael@538 505 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait \
michael@538 506 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui \
michael@538 507 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery \
michael@538 508 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt \
michael@538 509 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry \
michael@538 510 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \
michael@538 511 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \
michael@538 512 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \
michael@538 513 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \
michael@538 514 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \
michael@538 515 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \
michael@538 516 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs \
michael@538 517 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \
michael@538 518 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \
michael@538 519 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \
michael@538 520 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools \
michael@538 521 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui \
michael@538 522 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure \
michael@538 523 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng \
michael@538 524 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter \
michael@538 525 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/philogl \
michael@538 526 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mathjax
michael@538 527 ( echo "Alias /openpkg-dhtml/ %{l_prefix}/share/dhtml/"
michael@538 528 echo "<Directory %{l_prefix}/share/dhtml/>"
michael@538 529 echo " Options Indexes"
michael@538 530 echo " AllowOverride none"
michael@538 531 echo " Order allow,deny"
michael@538 532 echo " Allow from all"
michael@538 533 echo "</Directory>"
michael@538 534 ) >dhtml.conf
michael@538 535 %{l_shtool} install -c -m 644 \
michael@538 536 dhtml.conf $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
michael@538 537 %{l_shtool} install -c -m 644 \
michael@539 538 %{SOURCE prototype.js} \
michael@538 539 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
michael@538 540 %{l_shtool} install -c -m 644 \
michael@538 541 %{SOURCE rico-%{V_rico}.js} \
michael@538 542 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/rico.js
michael@538 543 %{l_shtool} install -c -m 644 \
michael@538 544 %{SOURCE rico-%{V_rico}-prototype-%{V_rico_prototype}.js} \
michael@538 545 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/prototype.js
michael@538 546 %{l_shtool} install -c -m 644 \
michael@538 547 scriptaculous-js-%{V_scriptaculous}/lib/* \
michael@538 548 scriptaculous-js-%{V_scriptaculous}/src/* \
michael@538 549 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous/
michael@538 550 %{l_shtool} install -c -m 644 \
michael@538 551 IE7_%{V_ie7}/ie7* IE7_%{V_ie7}/blank.gif \
michael@538 552 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7/
michael@538 553 %{l_shtool} install -c -m 644 \
michael@538 554 mktree/* \
michael@538 555 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree/
michael@538 556 %{l_shtool} install -c -m 644 \
michael@538 557 %{SOURCE DynamicOptionList-%{V_dol}.js} \
michael@538 558 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol/dol.js
michael@538 559 cp -r tinymce-*/tinymce/jscripts/tiny_mce/* \
michael@538 560 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce/
michael@538 561 %{l_shtool} install -c -m 644 \
michael@538 562 os3grid/os3grid.css os3grid/os3grid.js \
michael@538 563 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid/
michael@538 564 %{l_shtool} install -c -m 644 \
michael@538 565 tool-man/source/org/tool-man/* \
michael@538 566 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman/
michael@538 567 %{l_shtool} install -c -m 644 \
michael@538 568 %{SOURCE behaviour-%{V_behaviour}.js} \
michael@538 569 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour/behaviour.js
michael@538 570 %{l_shtool} install -c -m 644 \
michael@538 571 %{SOURCE dhtml.txt} \
michael@538 572 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README
michael@538 573 cp -r Wikiwyg-%{V_wikiwyg}/lib/* Wikiwyg-%{V_wikiwyg}/css/* \
michael@538 574 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/
michael@538 575 cp -r Wikiwyg-%{V_wikiwyg}/images \
michael@538 576 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/images
michael@538 577 %{l_shtool} subst \
michael@538 578 -e 's;images/;/dhtml/wikiwyg/images/;g' \
michael@538 579 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/Wikiwyg/Toolbar.js
michael@538 580 %{l_shtool} install -c -m 644 \
michael@538 581 -e "s;lib;/dhtml/jsan;" \
michael@538 582 JSAN-%{V_jsan}/doc/text/JSAN.txt JSAN-%{V_jsan}/lib/JSAN.js \
michael@538 583 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
michael@538 584 %{l_shtool} install -c -m 644 \
michael@538 585 -e 's;\(includePaths = ..\)\(..\);\1/dhtml/jsan\2;' \
michael@538 586 JSModule-%{V_jsan_jsmodule}/doc/JSModule.rst \
michael@538 587 JSModule-%{V_jsan_jsmodule}/src/JSModule.js \
michael@538 588 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
michael@538 589 %{l_shtool} install -c -m 644 \
michael@538 590 Digest.MD5-%{V_jsan_digestmd5}/lib/Digest/MD5.js \
michael@538 591 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest/
michael@538 592 %{l_shtool} install -c -m 644 \
michael@538 593 List.Utils-%{V_jsan_listutils}/lib/List/Utils.js \
michael@538 594 List.Utils-%{V_jsan_listutils}/doc/text/List/Utils.txt \
michael@538 595 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List/
michael@538 596 %{l_shtool} install -c -m 644 \
michael@538 597 DOM.Events-%{V_jsan_domevents}/lib/DOM/Events.js \
michael@538 598 DOM-Utils-%{V_jsan_domutils}/lib/DOM/Utils.js \
michael@538 599 DOM-Utils-%{V_jsan_domutils}/doc/text/DOM/Utils.txt \
michael@538 600 DOM-Element-%{V_jsan_domelement}/lib/DOM/Element.js \
michael@538 601 DOM-Element-%{V_jsan_domelement}/doc/text/DOM/Element.txt \
michael@538 602 DOM-Insert-%{V_jsan_dominsert}/lib/DOM/Insert.js \
michael@538 603 DOM-Insert-%{V_jsan_dominsert}/doc/text/DOM/Insert.txt \
michael@538 604 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM/
michael@538 605 %{l_shtool} install -c -m 644 \
michael@538 606 File.Basename-%{V_jsan_filebasename}/lib/File/Basename.js \
michael@538 607 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File/
michael@538 608 %{l_shtool} install -c -m 644 \
michael@538 609 Function-bind-%{V_jsan_functionbind}/lib/Function/bind*.js \
michael@538 610 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function/
michael@538 611 %{l_shtool} install -c -m 644 \
michael@538 612 HTTP-Request-%{V_jsan_httprequest}/lib/HTTP/*.js \
michael@538 613 HTTP.Push-%{V_jsan_httppush}/lib/HTTP/*.js \
michael@538 614 HTTP.Cookies-%{V_jsan_httpcookies}/lib/HTTP/*.js \
michael@538 615 HTTP.Query-%{V_jsan_httpquery}/lib/HTTP/*.js \
michael@538 616 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP/
michael@538 617 %{l_shtool} install -c -m 644 \
michael@538 618 Widget.SortableTable-%{V_jsan_widgetsortabletable}/lib/Widget/*.js \
michael@538 619 Widget.Select-%{V_jsan_widgetselect}/lib/Widget/*.js \
michael@538 620 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget/
michael@538 621 %{l_shtool} install -c -m 644 \
michael@538 622 CSS.Change-%{V_jsan_csschange}/lib/CSS/*.js \
michael@538 623 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS/
michael@538 624 %{l_shtool} install -c -m 644 \
michael@538 625 Display-%{V_jsan_display}/lib/*.js \
michael@538 626 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
michael@538 627 cp -rp jsolait/* \
michael@538 628 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait/
michael@538 629 cp -rp yui/build/* \
michael@538 630 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui/
michael@538 631 %{l_shtool} install -c -m 644 \
michael@538 632 cssQuery/cssQuery-p.js \
michael@538 633 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery/cssquery.js
michael@538 634 %{l_shtool} install -c -m 644 \
michael@538 635 ajaxslt-%{V_ajaxslt}/dom.js \
michael@538 636 ajaxslt-%{V_ajaxslt}/misc.js \
michael@538 637 ajaxslt-%{V_ajaxslt}/xpath.js \
michael@538 638 ajaxslt-%{V_ajaxslt}/xslt.js \
michael@538 639 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt/
michael@538 640 %{l_shtool} install -c -m 644 \
michael@538 641 Spry_*/includes_packed/*.js \
michael@538 642 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/
michael@538 643 cp -rp dojo-release-%{V_dojo}/dojo/* \
michael@538 644 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo/
michael@538 645 cp -rp MochiKit-%{V_mochikit}/doc \
michael@538 646 MochiKit-%{V_mochikit}/packed/MochiKit/MochiKit.js \
michael@538 647 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit/
michael@538 648 %{l_shtool} install -c -m 644 \
michael@538 649 script/ff.js \
michael@538 650 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/
michael@538 651 %{l_shtool} install -c -m 644 \
michael@538 652 %{SOURCE jquery-%{V_jquery}.min.js} \
michael@538 653 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.js
michael@538 654 cp "interface %{V_jquery_interface}/interface.js" \
michael@538 655 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery-interface.js
michael@538 656 %{l_shtool} install -c -m 644 \
michael@539 657 jquery.mobile-%{V_jquery_mobile}/jquery.mobile-%{V_jquery_mobile}.min.css \
michael@539 658 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.min.css
michael@539 659 %{l_shtool} install -c -m 644 \
michael@539 660 jquery.mobile-%{V_jquery_mobile}/jquery.mobile-%{V_jquery_mobile}.min.js \
michael@539 661 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.min.js
michael@539 662 %{l_shtool} install -c -m 644 \
michael@539 663 jquery.mobile-%{V_jquery_mobile}/jquery.mobile.structure-%{V_jquery_mobile}.min.css \
michael@539 664 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.structure.min.css
michael@539 665 %{l_shtool} install -c -m 644 \
michael@539 666 jquery.mobile-%{V_jquery_mobile}/jquery.mobile.theme-%{V_jquery_mobile}.min.css \
michael@539 667 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.theme.min.css
michael@539 668 %{l_shtool} install -c -m 755 \
michael@539 669 jquery.mobile-%{V_jquery_mobile}/demos \
michael@539 670 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.demos
michael@539 671 %{l_shtool} install -c -m 755 \
michael@539 672 jquery.mobile-%{V_jquery_mobile}/images \
michael@539 673 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.mobile.images
michael@539 674 %{l_shtool} install -c -m 644 \
michael@538 675 %{SOURCE excanvas-%{V_excanvas}.js} \
michael@538 676 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js
michael@538 677 cp -rp oat-%{V_oat}/oat/*.js \
michael@538 678 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat/
michael@538 679 rm -rf \
michael@538 680 extjs-%{V_extjs}/docs \
michael@538 681 extjs-%{V_extjs}/src \
michael@538 682 extjs-%{V_extjs}/pkgs \
michael@538 683 extjs-%{V_extjs}/examples \
michael@538 684 extjs-%{V_extjs}/build \
michael@538 685 extjs-%{V_extjs}/[A-Z]*
michael@538 686 find extjs-%{V_extjs} -name "*Copy.gif" -type f -exec rm -f {} \;
michael@538 687 cp -rp extjs-%{V_extjs}/* \
michael@538 688 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs/
michael@538 689 cp -rp svgweb/svg* \
michael@538 690 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/
michael@538 691 %{l_shtool} install -c -m 644 \
michael@538 692 %{SOURCE raphael-%{V_raphael}.js} \
michael@538 693 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js
michael@538 694 %{l_shtool} install -c -m 644 \
michael@538 695 %{SOURCE canto-%{V_canto}.js} \
michael@538 696 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto/canto.js
michael@538 697 %{l_shtool} install -c -m 644 \
michael@538 698 %{SOURCE mootools-core-%{V_mootools}-full-nocompat-yc.js} \
michael@538 699 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools/
michael@538 700 cp -rp mochaui-%{V_mochaui}/build/* \
michael@538 701 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui/
michael@538 702 %{l_shtool} install -c -m 644 \
michael@538 703 pure-pure-%{V_pure}/libs/pure.js \
michael@538 704 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure/
michael@538 705 %{l_shtool} install -c -m 644 \
michael@538 706 %{SOURCE DD_belatedPNG_%{V_ddbelatedpng}.js} \
michael@538 707 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng/ddbelatedpng.js
michael@538 708 cp -rp BespinEmbedded-%{V_skywriter}/prebuilt/* \
michael@538 709 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter/
michael@538 710 %{l_shtool} install -c -m 644 \
michael@538 711 philogl-%{V_philogl}/build/PhiloGL.js \
michael@538 712 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/philogl/
michael@538 713 ( cd mathjax-MathJax-*
michael@538 714 rm -rf jax docs test unpacked README* LICENSE fonts/HTML-CSS/TeX/png
michael@538 715 cp -rp * $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mathjax/
michael@538 716 ) || exit $?
michael@538 717 rm -f $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter/*uncompressed*
michael@538 718 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
michael@538 719
michael@538 720 %files -f files
michael@538 721
michael@538 722 %clean
michael@539 723 # Hack to avoid reusing old Prototype JS library
michael@539 724 rm %{SOURCE0}
michael@538 725

mercurial