1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dhtml/dhtml.spec Tue Aug 28 18:30:20 2012 +0200 1.3 @@ -0,0 +1,696 @@ 1.4 +## 1.5 +## dhtml.spec -- OpenPKG RPM Package Specification 1.6 +## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/> 1.7 +## 1.8 +## Permission to use, copy, modify, and distribute this software for 1.9 +## any purpose with or without fee is hereby granted, provided that 1.10 +## the above copyright notice and this permission notice appear in all 1.11 +## copies. 1.12 +## 1.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 1.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 1.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 1.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 1.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 1.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 1.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 1.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1.24 +## SUCH DAMAGE. 1.25 +## 1.26 + 1.27 +# package version 1.28 +%define V_prototype 1.7.0.0 1.29 +%define V_rico 1.1.2 1.30 +%define V_rico_prototype 1.4 1.31 +%define V_scriptaculous 1.8.3 1.32 +%define V_mktree 20051017 1.33 +%define V_dol 20050215 1.34 +%define V_ie7 0_9 1.35 +%define V_tinymce 3_3_9 1.36 +%define V_os3grid 0.6 1.37 +%define V_toolman 0.2 1.38 +%define V_behaviour 1.1 1.39 +%define V_wikiwyg 0.12 1.40 +%define V_jsan 0.10 1.41 +%define V_jsan_digestmd5 0.01 1.42 +%define V_jsan_listutils 0.03 1.43 +%define V_jsan_domevents 0.02 1.44 +%define V_jsan_domutils 0.02 1.45 +%define V_jsan_domelement 0.02 1.46 +%define V_jsan_dominsert 0.02 1.47 +%define V_jsan_functionbind 0.02 1.48 +%define V_jsan_filebasename 0.03 1.49 +%define V_jsan_widgetsortabletable 0.22 1.50 +%define V_jsan_widgetselect 0.01 1.51 +%define V_jsan_jsmodule 0.11 1.52 +%define V_jsan_httprequest 0.03 1.53 +%define V_jsan_httppush 0.04 1.54 +%define V_jsan_httpcookies 1.11 1.55 +%define V_jsan_httpquery 0.03 1.56 +%define V_jsan_csschange 0.02 1.57 +%define V_jsan_display 0.06 1.58 +%define V_jsolait 2006-07-12 1.59 +%define V_yui 3.3.0pr3 1.60 +%define V_cssquery 2.0.2 1.61 +%define V_ajaxslt 0.4 1.62 +%define V_spry p1-6-1_022508 1.63 +%define V_dojo 1.8.0 1.64 +%define V_mochikit 1.4.2 1.65 +%define V_ffjs 1.11 1.66 +%define V_jquery 1.8.0 1.67 +%define V_jquery_interface 1.2 1.68 +%define V_excanvas 20090130 1.69 +%define V_oat 2.8 1.70 +%define V_extjs 4.1.1 1.71 +%define V_raphael 2.1.0 1.72 +%define V_svgweb 20110226 1.73 +%define V_canto 0.15 1.74 +%define V_mootools 1.4.5 1.75 +%define V_mochaui 0.9.7 1.76 +%define V_pure bc00883 1.77 +%define V_ddbelatedpng 0.0.8a 1.78 +%define V_skywriter 0.9a2 1.79 +%define V_philogl 1.5.1 1.80 +%define V_mathjax 1.1-0-g5a7e4d7 1.81 + 1.82 +# package information 1.83 +Name: dhtml 1.84 +Summary: Dynamic HTML Libraries 1.85 +URL: http://www.openpkg.org/ 1.86 +Vendor: OpenPKG 1.87 +Packager: OpenPKG Foundation e.V. 1.88 +Distribution: OpenPKG Community 1.89 +Class: BASE 1.90 +Group: HTML 1.91 +License: Open Source 1.92 +Version: 0 1.93 +Release: 20120824 1.94 + 1.95 +# list of sources 1.96 +Source0: http://download.openpkg.org/components/versioned/dhtml/prototype-%{V_prototype}.js 1.97 +Source1: http://script.aculo.us/dist/scriptaculous-js-%{V_scriptaculous}.tar.gz 1.98 +Source2: http://download.openpkg.org/components/versioned/dhtml/mktree-%{V_mktree}.tar.gz 1.99 +Source3: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}.js 1.100 +Source4: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}-prototype-%{V_rico_prototype}.js 1.101 +Source5: http://download.openpkg.org/components/versioned/dhtml/DynamicOptionList-%{V_dol}.js 1.102 +Source6: http://switch.dl.sourceforge.net/ie7/IE7_%{V_ie7}.zip 1.103 +Source7: http://switch.dl.sourceforge.net/tinymce/tinymce_%{V_tinymce}.zip 1.104 +Source8: http://switch.dl.sourceforge.net/os3grid/os3grid-%{V_os3grid}.tar.bz2 1.105 +Source9: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip 1.106 +Source10: http://download.openpkg.org/components/versioned/dhtml/behaviour-%{V_behaviour}.js 1.107 +Source11: http://openjsan.org/dist/i/in/ingy/Wikiwyg-%{V_wikiwyg}.tar.gz 1.108 +Source12: http://openjsan.org/dist/c/cw/cwest/JSAN-%{V_jsan}.tar.gz 1.109 +Source13: http://openjsan.org/dist/c/cw/cwest/Digest.MD5-%{V_jsan_digestmd5}.tar.gz 1.110 +Source14: http://openjsan.org/dist/p/pr/prefiks/List.Utils-%{V_jsan_listutils}.tar.gz 1.111 +Source15: http://openjsan.org/dist/g/go/goflyapig/DOM.Events-%{V_jsan_domevents}.tar.gz 1.112 +Source16: http://openjsan.org/dist/r/rk/rkinyon/DOM-Utils-%{V_jsan_domutils}.tar.gz 1.113 +Source17: http://openjsan.org/dist/r/rk/rkinyon/DOM-Element-%{V_jsan_domelement}.tar.gz 1.114 +Source18: http://openjsan.org/dist/r/rk/rkinyon/DOM-Insert-%{V_jsan_dominsert}.tar.gz 1.115 +Source19: http://openjsan.org/dist/r/rk/rkinyon/Function-bind-%{V_jsan_functionbind}.tar.gz 1.116 +Source20: http://openjsan.org/dist/l/le/lecar_red/File.Basename-%{V_jsan_filebasename}.tar.gz 1.117 +Source21: http://openjsan.org/dist/a/au/autarch/Widget.SortableTable-%{V_jsan_widgetsortabletable}.tar.gz 1.118 +Source22: http://openjsan.org/dist/t/th/thilo/Widget.Select-%{V_jsan_widgetselect}.tar.gz 1.119 +Source23: http://openjsan.org/dist/a/ad/adurdin/JSModule-%{V_jsan_jsmodule}.tar.gz 1.120 +Source24: http://openjsan.org/dist/r/rk/rkinyon/HTTP-Request-%{V_jsan_httprequest}.tar.gz 1.121 +Source25: http://openjsan.org/dist/f/fu/fuzzynerd/HTTP.Push-%{V_jsan_httppush}.tar.gz 1.122 +Source26: http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcookies}.tar.gz 1.123 +Source27: http://openjsan.org/dist/t/th/theory/HTTP.Query-%{V_jsan_httpquery}.tar.gz 1.124 +Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschange}.tar.gz 1.125 +Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz 1.126 +Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip 1.127 +Source31: http://yuilibrary.com/downloads/yui3/yui_%{V_yui}.zip 1.128 +Source32: http://download.openpkg.org/components/versioned/dhtml/cssQuery-%{V_cssquery}.zip 1.129 +Source33: http://switch.dl.sourceforge.net/goog-ajaxslt/ajaxslt-%{V_ajaxslt}.tar.gz 1.130 +Source34: http://download.openpkg.org/components/versioned/dhtml/spry_%{V_spry}.zip 1.131 +Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-release-%{V_dojo}.tar.gz 1.132 +Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip 1.133 +Source37: http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip 1.134 +Source38: http://code.jquery.com/jquery-%{V_jquery}.min.js 1.135 +Source39: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip 1.136 +Source40: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js 1.137 +Source41: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz 1.138 +Source42: http://cdn.sencha.com/extjs-%{V_extjs}-gpl.zip 1.139 +Source43: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js 1.140 +Source44: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz 1.141 +Source45: http://canto-js.googlecode.com/files/canto-%{V_canto}.js 1.142 +Source46: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js 1.143 +Source47: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip 1.144 +Source48: http://download.github.com/pure-pure-%{V_pure}.zip 1.145 +Source49: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js 1.146 +Source50: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz 1.147 +Source51: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip 1.148 +Source52: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip 1.149 +Source53: dhtml.txt 1.150 + 1.151 +# build information 1.152 +BuildPreReq: OpenPKG, openpkg >= 20100101, infozip 1.153 +PreReq: OpenPKG, openpkg >= 20100101 1.154 + 1.155 +%description 1.156 + This is a collection of CSS and JavaScript based DHTML components 1.157 + which provide reusable WWW client-side extensions including IE7 1.158 + compatibility workarounds, AJAX support, dynamic widgets, etc. 1.159 + 1.160 +%track 1.161 + prog dhtml:prototype = { 1.162 + version = %{V_prototype} 1.163 + url = http://www.prototypejs.org/download 1.164 + regex = version—(\d+\.\d+(?:\.\d+)+)\s+ 1.165 + } 1.166 + prog dhtml:scriptaculous = { 1.167 + version = %{V_scriptaculous} 1.168 + url = http://script.aculo.us/downloads 1.169 + regex = scriptaculous-js-(__VER__)\.tar\.gz 1.170 + } 1.171 + prog dhtml:rico-prototype = { 1.172 + version = %{V_rico_prototype} 1.173 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.174 + regex = rico-%{V_rico}-prototype-(__VER__)\.js 1.175 + } 1.176 + prog dhtml:rico = { 1.177 + version = %{V_rico} 1.178 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.179 + regex = rico-(\d+\.\d+\.\d)\.js 1.180 + } 1.181 + prog dhtml:mktree = { 1.182 + version = %{V_mktree} 1.183 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.184 + regex = mktree-(__VER__)\.tar\.gz 1.185 + } 1.186 + prog dhtml:dol = { 1.187 + version = %{V_dol} 1.188 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.189 + regex = DynamicOptionList-(__VER__)\.js 1.190 + } 1.191 + prog dhtml:ie7 = { 1.192 + version = %{V_ie7} 1.193 + url = http://sourceforge.net/projects/ie7/files/ 1.194 + regex = IE7_(__VER__)\.zip 1.195 + } 1.196 + prog dhtml:tinymce = { 1.197 + version = %{V_tinymce} 1.198 + url = http://sourceforge.net/projects/tinymce/files/ 1.199 + regex = tinymce_(\d+_\d+_\d+)\.zip 1.200 + } 1.201 + prog dhtml:os3grid = { 1.202 + version = %{V_os3grid} 1.203 + url = http://sourceforge.net/projects/os3grid/files/ 1.204 + regex = os3grid-(__VER__)\.tar\.bz2 1.205 + } 1.206 + prog dhtml:toolman = { 1.207 + version = %{V_toolman} 1.208 + url = http://tool-man.org/examples/ 1.209 + regex = ToolManDHTML-(__VER__)\.zip 1.210 + } 1.211 + prog dhtml:behaviour = { 1.212 + version = %{V_behaviour} 1.213 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.214 + regex = behaviour-(__VER__)\.js 1.215 + } 1.216 + prog dhtml:wikiwyg = { 1.217 + version = %{V_wikiwyg} 1.218 + url = http://openjsan.org/dist/i/in/ingy/ 1.219 + regex = Wikiwyg-(__VER__)\.tar\.gz 1.220 + } 1.221 + prog dhtml:jsan = { 1.222 + version = %{V_jsan} 1.223 + url = http://openjsan.org/dist/c/cw/cwest/ 1.224 + regex = JSAN-(__VER__)\.tar\.gz 1.225 + } 1.226 + prog dhtml:jsan-digestmd5 = { 1.227 + version = %{V_jsan_digestmd5} 1.228 + url = http://openjsan.org/dist/c/cw/cwest/ 1.229 + regex = Digest\.MD5-(__VER__)\.tar\.gz 1.230 + } 1.231 + prog dhtml:jsan-listutils = { 1.232 + version = %{V_jsan_listutils} 1.233 + url = http://openjsan.org/dist/p/pr/prefiks/ 1.234 + regex = List\.Utils-(__VER__)\.tar\.gz 1.235 + } 1.236 + prog dhtml:jsan-domevents = { 1.237 + version = %{V_jsan_domevents} 1.238 + url = http://openjsan.org/dist/g/go/goflyapig/ 1.239 + regex = DOM\.Events-(__VER__)\.tar\.gz 1.240 + } 1.241 + prog dhtml:jsan-domutils = { 1.242 + version = %{V_jsan_domutils} 1.243 + url = http://openjsan.org/dist/r/rk/rkinyon/ 1.244 + regex = DOM-Utils-(__VER__)\.tar\.gz 1.245 + } 1.246 + prog dhtml:jsan-domelement = { 1.247 + version = %{V_jsan_domelement} 1.248 + url = http://openjsan.org/dist/r/rk/rkinyon/ 1.249 + regex = DOM-Element-(__VER__)\.tar\.gz 1.250 + } 1.251 + prog dhtml:jsan-dominsert = { 1.252 + version = %{V_jsan_dominsert} 1.253 + url = http://openjsan.org/dist/r/rk/rkinyon/ 1.254 + regex = DOM-Insert-(__VER__)\.tar\.gz 1.255 + } 1.256 + prog dhtml:jsan-functionbind = { 1.257 + version = %{V_jsan_functionbind} 1.258 + url = http://openjsan.org/dist/r/rk/rkinyon/ 1.259 + regex = Function-bind-(__VER__)\.tar\.gz 1.260 + } 1.261 + prog dhtml:jsan-filebasename = { 1.262 + version = %{V_jsan_filebasename} 1.263 + url = http://openjsan.org/dist/l/le/lecar_red/ 1.264 + regex = File\.Basename-(__VER__)\.tar\.gz 1.265 + } 1.266 + prog dhtml:jsan-widgetsortabletable = { 1.267 + version = %{V_jsan_widgetsortabletable} 1.268 + url = http://openjsan.org/dist/a/au/autarch/ 1.269 + regex = Widget\.SortableTable-(__VER__)\.tar\.gz 1.270 + } 1.271 + prog dhtml:jsan-widgetselect = { 1.272 + version = %{V_jsan_widgetselect} 1.273 + url = http://openjsan.org/dist/t/th/thilo/ 1.274 + regex = Widget\.Select-(__VER__)\.tar\.gz 1.275 + } 1.276 + prog dhtml:jsan-jsmodule = { 1.277 + version = %{V_jsan_jsmodule} 1.278 + url = http://openjsan.org/dist/a/ad/adurdin/ 1.279 + regex = JSModule-(__VER__)\.tar\.gz 1.280 + } 1.281 + prog dhtml:jsan-httprequest = { 1.282 + version = %{V_jsan_httprequest} 1.283 + url = http://openjsan.org/dist/r/rk/rkinyon/ 1.284 + regex = HTTP-Request-(__VER__)\.tar\.gz 1.285 + } 1.286 + prog dhtml:jsan-httppush = { 1.287 + version = %{V_jsan_httppush} 1.288 + url = http://openjsan.org/dist/f/fu/fuzzynerd/ 1.289 + regex = HTTP\.Push-(__VER__)\.tar\.gz 1.290 + } 1.291 + prog dhtml:jsan-httpcookies = { 1.292 + version = %{V_jsan_httpcookies} 1.293 + url = http://openjsan.org/dist/b/bu/burak/ 1.294 + regex = HTTP\.Cookies-(__VER__)\.tar\.gz 1.295 + } 1.296 + prog dhtml:jsan-httpquery = { 1.297 + version = %{V_jsan_httpquery} 1.298 + url = http://openjsan.org/dist/t/th/theory/ 1.299 + regex = HTTP\.Query-(__VER__)\.tar\.gz 1.300 + } 1.301 + prog dhtml:jsan-csschange = { 1.302 + version = %{V_jsan_csschange} 1.303 + url = http://openjsan.org/dist/t/ty/typester/ 1.304 + regex = CSS\.Change-(__VER__)\.tar\.gz 1.305 + } 1.306 + prog dhtml:jsan-display = { 1.307 + version = %{V_jsan_display} 1.308 + url = http://openjsan.org/dist/a/ad/adamk/ 1.309 + regex = Display-(__VER__)\.tar\.gz 1.310 + } 1.311 + prog dhtml:jsolait = { 1.312 + version = %{V_jsolait} 1.313 + url = http://jsolait.net/download/ 1.314 + regex = jsolait\.(__VER__)\.small\.zip 1.315 + } 1.316 + prog dhtml:yui = { 1.317 + version = %{V_yui} 1.318 + url = http://yuilibrary.com/downloads/ 1.319 + regex = yui_(\d+\.\d+\.\d+)\.zip 1.320 + } 1.321 + prog dhtml:cssquery = { 1.322 + version = %{V_cssquery} 1.323 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.324 + regex = cssQuery-(__VER__)\.zip 1.325 + } 1.326 + prog dhtml:ajaxslt = { 1.327 + version = %{V_ajaxslt} 1.328 + url = http://sourceforge.net/projects/goog-ajaxslt/files/ 1.329 + regex = ajaxslt-(__VER__)\.tar\.gz 1.330 + } 1.331 + prog dhtml:spry = { 1.332 + version = %{V_spry} 1.333 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.334 + regex = spry_(__VER__)\.zip 1.335 + } 1.336 + prog dhtml:dojo = { 1.337 + version = %{V_dojo} 1.338 + url = http://download.dojotoolkit.org/ 1.339 + regex = release-(\d+\.\d+\.\d+)/ 1.340 + } 1.341 + prog dhtml:mochikit = { 1.342 + version = %{V_mochikit} 1.343 + url = http://mochikit.com/download.html 1.344 + regex = MochiKit-(__VER__)\.zip 1.345 + } 1.346 + prog dhtml:ffjs = { 1.347 + version = %{V_ffjs} 1.348 + url = http://fforw.de/ffjs/ 1.349 + regex = ffjs-r(__VER__)\.zip 1.350 + } 1.351 + prog dhtml:jquery = { 1.352 + version = %{V_jquery} 1.353 + url = http://jquery.com/ 1.354 + regex = jquery-(\d+\.\d+(\.\d+)?)\.min\.js 1.355 + } 1.356 + prog dhtml:jquery-interface = { 1.357 + version = %{V_jquery_interface} 1.358 + url = http://interface.eyecon.ro/download 1.359 + regex = interface_(__VER__)\.zip 1.360 + } 1.361 + prog dhtml:excanvas = { 1.362 + version = %{V_excanvas} 1.363 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.364 + regex = excanvas-(__VER__)\.js 1.365 + } 1.366 + prog dhtml:oat = { 1.367 + version = %{V_oat} 1.368 + url = http://sourceforge.net/projects/oat/files/ 1.369 + regex = oat-(__VER__)\.tar\.gz 1.370 + } 1.371 + prog dhtml:extjs = { 1.372 + version = %{V_extjs} 1.373 + url = http://www.sencha.com/products/js/download.php 1.374 + regex = Ext\s+JS\s+(\d+\.\d+\.\d+) 1.375 + } 1.376 + prog dhtml:raphael = { 1.377 + version = %{V_raphael} 1.378 + url = http://raphaeljs.com/ 1.379 + regex = Download\s+v\.\ (__VER__) 1.380 + } 1.381 + prog dhtml:svgweb = { 1.382 + version = %{V_svgweb} 1.383 + url = http://download.openpkg.org/components/versioned/dhtml/ 1.384 + regex = svgweb-(\d+)\.tar\.gz 1.385 + } 1.386 + prog dhtml:canto = { 1.387 + version = %{V_canto} 1.388 + url = http://code.google.com/p/canto-js/downloads/list 1.389 + regex = canto-(__VER__)\.js 1.390 + } 1.391 + prog dhtml:mootools = { 1.392 + version = %{V_mootools} 1.393 + url = http://mootools.net/download 1.394 + regex = mootools-core-(__VER__)-full-nocompat-yc\.js 1.395 + } 1.396 + prog dhtml:mochaui = { 1.397 + version = %{V_mochaui} 1.398 + url = http://github.com/mui/mochaui/downloads 1.399 + regex = mochaui-(__VER__)\.zip 1.400 + } 1.401 + prog dhtml:pure = { 1.402 + version = %{V_pure} 1.403 + url = http://beebole.com/pure/documentation/pure-with-your-js-library/ 1.404 + regex = pure-pure-(__VER__)\.zip 1.405 + } 1.406 + prog dhtml:ddbelatedpng = { 1.407 + version = %{V_ddbelatedpng} 1.408 + url = http://www.dillerdesign.com/experiment/DD_belatedPNG/ 1.409 + regex = DD_belartedPNG_(__VER__)\.js 1.410 + } 1.411 + prog dhtml:skywriter = { 1.412 + version = %{V_skywriter} 1.413 + url = http://mozillalabs.com/skywriter/ 1.414 + regex = BespinEmbedded-(__VER__)\.tar\.gz 1.415 + } 1.416 + prog dhtml:philogl = { 1.417 + version = %{V_philogl} 1.418 + url = http://senchalabs.github.com/philogl/ 1.419 + regex = PhiloGL-(__VER__)\.zip 1.420 + } 1.421 + prog dhtml:mathjax = { 1.422 + version = %{V_mathjax} 1.423 + url = https://github.com/mathjax/MathJax/archives/master 1.424 + regex = mathjax-Mathjax-(__VER__)\.zip 1.425 + } 1.426 + 1.427 +%prep 1.428 + %setup -q -c -T 1.429 + %setup -q -T -D -a 1 1.430 + %setup -q -T -D -a 2 1.431 + mkdir tinymce-%{V_tinymce} 1.432 + ( cd tinymce-%{V_tinymce}; %{l_prefix}/bin/unzip -q -x %{SOURCE7} ) || exit $? 1.433 + %setup -q -T -D -a 8 1.434 + %setup -q -T -D -a 11 1.435 + %setup -q -T -D -a 12 1.436 + %setup -q -T -D -a 13 1.437 + %setup -q -T -D -a 14 1.438 + %setup -q -T -D -a 15 1.439 + %setup -q -T -D -a 16 1.440 + %setup -q -T -D -a 17 1.441 + %setup -q -T -D -a 18 1.442 + %setup -q -T -D -a 19 1.443 + %setup -q -T -D -a 20 1.444 + %setup -q -T -D -a 21 1.445 + %setup -q -T -D -a 22 1.446 + %setup -q -T -D -a 23 1.447 + %setup -q -T -D -a 24 1.448 + %setup -q -T -D -a 25 1.449 + %setup -q -T -D -a 26 1.450 + %setup -q -T -D -a 27 1.451 + %setup -q -T -D -a 28 1.452 + %setup -q -T -D -a 29 1.453 + %{l_prefix}/bin/unzip -q -x %{SOURCE6} 1.454 + %{l_prefix}/bin/unzip -q -x %{SOURCE9} 1.455 + %{l_prefix}/bin/unzip -q -x %{SOURCE30} 1.456 + %{l_prefix}/bin/unzip -q -x %{SOURCE31} 1.457 + %{l_prefix}/bin/unzip -q -x %{SOURCE32} 1.458 + %setup -q -T -D -a 33 1.459 + %{l_prefix}/bin/unzip -q -x %{SOURCE34} 1.460 + %setup -q -T -D -a 35 1.461 + %{l_prefix}/bin/unzip -q -x %{SOURCE36} 1.462 + %{l_prefix}/bin/unzip -q -x %{SOURCE37} 1.463 + %{l_prefix}/bin/unzip -q -x %{SOURCE39} 1.464 + %setup -q -T -D -a 41 1.465 + %{l_prefix}/bin/unzip -q -x %{SOURCE42} 1.466 + chmod -R a+r MochiKit-%{V_mochikit} 1.467 + %setup -q -T -D -a 44 1.468 + %{l_prefix}/bin/unzip -q -x %{SOURCE47} 1.469 + %{l_prefix}/bin/unzip -q -x %{SOURCE48} 1.470 + %setup -q -T -D -a 50 1.471 + mkdir philogl-%{V_philogl} 1.472 + ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE51} ) || exit $? 1.473 + %setup -q -T -D -a 52 1.474 + 1.475 +%build 1.476 + 1.477 +%install 1.478 + %{l_shtool} mkdir -f -p -m 755 \ 1.479 + $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \ 1.480 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype \ 1.481 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous \ 1.482 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico \ 1.483 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree \ 1.484 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol \ 1.485 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce \ 1.486 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid \ 1.487 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7 \ 1.488 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman \ 1.489 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour \ 1.490 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg \ 1.491 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest \ 1.492 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List \ 1.493 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM \ 1.494 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File \ 1.495 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function \ 1.496 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP \ 1.497 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \ 1.498 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS \ 1.499 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait \ 1.500 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui \ 1.501 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery \ 1.502 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt \ 1.503 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry \ 1.504 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \ 1.505 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \ 1.506 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \ 1.507 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \ 1.508 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ 1.509 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ 1.510 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs \ 1.511 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ 1.512 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \ 1.513 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \ 1.514 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools \ 1.515 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui \ 1.516 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure \ 1.517 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng \ 1.518 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter \ 1.519 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/philogl \ 1.520 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mathjax 1.521 + ( echo "Alias /openpkg-dhtml/ %{l_prefix}/share/dhtml/" 1.522 + echo "<Directory %{l_prefix}/share/dhtml/>" 1.523 + echo " Options Indexes" 1.524 + echo " AllowOverride none" 1.525 + echo " Order allow,deny" 1.526 + echo " Allow from all" 1.527 + echo "</Directory>" 1.528 + ) >dhtml.conf 1.529 + %{l_shtool} install -c -m 644 \ 1.530 + dhtml.conf $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/ 1.531 + %{l_shtool} install -c -m 644 \ 1.532 + %{SOURCE prototype-%{V_prototype}.js} \ 1.533 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ 1.534 + %{l_shtool} install -c -m 644 \ 1.535 + %{SOURCE rico-%{V_rico}.js} \ 1.536 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/rico.js 1.537 + %{l_shtool} install -c -m 644 \ 1.538 + %{SOURCE rico-%{V_rico}-prototype-%{V_rico_prototype}.js} \ 1.539 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/prototype.js 1.540 + %{l_shtool} install -c -m 644 \ 1.541 + scriptaculous-js-%{V_scriptaculous}/lib/* \ 1.542 + scriptaculous-js-%{V_scriptaculous}/src/* \ 1.543 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous/ 1.544 + %{l_shtool} install -c -m 644 \ 1.545 + IE7_%{V_ie7}/ie7* IE7_%{V_ie7}/blank.gif \ 1.546 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7/ 1.547 + %{l_shtool} install -c -m 644 \ 1.548 + mktree/* \ 1.549 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree/ 1.550 + %{l_shtool} install -c -m 644 \ 1.551 + %{SOURCE DynamicOptionList-%{V_dol}.js} \ 1.552 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol/dol.js 1.553 + cp -r tinymce-*/tinymce/jscripts/tiny_mce/* \ 1.554 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce/ 1.555 + %{l_shtool} install -c -m 644 \ 1.556 + os3grid/os3grid.css os3grid/os3grid.js \ 1.557 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid/ 1.558 + %{l_shtool} install -c -m 644 \ 1.559 + tool-man/source/org/tool-man/* \ 1.560 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman/ 1.561 + %{l_shtool} install -c -m 644 \ 1.562 + %{SOURCE behaviour-%{V_behaviour}.js} \ 1.563 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour/behaviour.js 1.564 + %{l_shtool} install -c -m 644 \ 1.565 + %{SOURCE dhtml.txt} \ 1.566 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README 1.567 + cp -r Wikiwyg-%{V_wikiwyg}/lib/* Wikiwyg-%{V_wikiwyg}/css/* \ 1.568 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/ 1.569 + cp -r Wikiwyg-%{V_wikiwyg}/images \ 1.570 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/images 1.571 + %{l_shtool} subst \ 1.572 + -e 's;images/;/dhtml/wikiwyg/images/;g' \ 1.573 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/Wikiwyg/Toolbar.js 1.574 + %{l_shtool} install -c -m 644 \ 1.575 + -e "s;lib;/dhtml/jsan;" \ 1.576 + JSAN-%{V_jsan}/doc/text/JSAN.txt JSAN-%{V_jsan}/lib/JSAN.js \ 1.577 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ 1.578 + %{l_shtool} install -c -m 644 \ 1.579 + -e 's;\(includePaths = ..\)\(..\);\1/dhtml/jsan\2;' \ 1.580 + JSModule-%{V_jsan_jsmodule}/doc/JSModule.rst \ 1.581 + JSModule-%{V_jsan_jsmodule}/src/JSModule.js \ 1.582 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ 1.583 + %{l_shtool} install -c -m 644 \ 1.584 + Digest.MD5-%{V_jsan_digestmd5}/lib/Digest/MD5.js \ 1.585 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest/ 1.586 + %{l_shtool} install -c -m 644 \ 1.587 + List.Utils-%{V_jsan_listutils}/lib/List/Utils.js \ 1.588 + List.Utils-%{V_jsan_listutils}/doc/text/List/Utils.txt \ 1.589 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List/ 1.590 + %{l_shtool} install -c -m 644 \ 1.591 + DOM.Events-%{V_jsan_domevents}/lib/DOM/Events.js \ 1.592 + DOM-Utils-%{V_jsan_domutils}/lib/DOM/Utils.js \ 1.593 + DOM-Utils-%{V_jsan_domutils}/doc/text/DOM/Utils.txt \ 1.594 + DOM-Element-%{V_jsan_domelement}/lib/DOM/Element.js \ 1.595 + DOM-Element-%{V_jsan_domelement}/doc/text/DOM/Element.txt \ 1.596 + DOM-Insert-%{V_jsan_dominsert}/lib/DOM/Insert.js \ 1.597 + DOM-Insert-%{V_jsan_dominsert}/doc/text/DOM/Insert.txt \ 1.598 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM/ 1.599 + %{l_shtool} install -c -m 644 \ 1.600 + File.Basename-%{V_jsan_filebasename}/lib/File/Basename.js \ 1.601 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File/ 1.602 + %{l_shtool} install -c -m 644 \ 1.603 + Function-bind-%{V_jsan_functionbind}/lib/Function/bind*.js \ 1.604 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function/ 1.605 + %{l_shtool} install -c -m 644 \ 1.606 + HTTP-Request-%{V_jsan_httprequest}/lib/HTTP/*.js \ 1.607 + HTTP.Push-%{V_jsan_httppush}/lib/HTTP/*.js \ 1.608 + HTTP.Cookies-%{V_jsan_httpcookies}/lib/HTTP/*.js \ 1.609 + HTTP.Query-%{V_jsan_httpquery}/lib/HTTP/*.js \ 1.610 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP/ 1.611 + %{l_shtool} install -c -m 644 \ 1.612 + Widget.SortableTable-%{V_jsan_widgetsortabletable}/lib/Widget/*.js \ 1.613 + Widget.Select-%{V_jsan_widgetselect}/lib/Widget/*.js \ 1.614 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget/ 1.615 + %{l_shtool} install -c -m 644 \ 1.616 + CSS.Change-%{V_jsan_csschange}/lib/CSS/*.js \ 1.617 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS/ 1.618 + %{l_shtool} install -c -m 644 \ 1.619 + Display-%{V_jsan_display}/lib/*.js \ 1.620 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ 1.621 + cp -rp jsolait/* \ 1.622 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait/ 1.623 + cp -rp yui/build/* \ 1.624 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui/ 1.625 + %{l_shtool} install -c -m 644 \ 1.626 + cssQuery/cssQuery-p.js \ 1.627 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery/cssquery.js 1.628 + %{l_shtool} install -c -m 644 \ 1.629 + ajaxslt-%{V_ajaxslt}/dom.js \ 1.630 + ajaxslt-%{V_ajaxslt}/misc.js \ 1.631 + ajaxslt-%{V_ajaxslt}/xpath.js \ 1.632 + ajaxslt-%{V_ajaxslt}/xslt.js \ 1.633 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt/ 1.634 + %{l_shtool} install -c -m 644 \ 1.635 + Spry_*/includes_packed/*.js \ 1.636 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/ 1.637 + cp -rp dojo-release-%{V_dojo}/dojo/* \ 1.638 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo/ 1.639 + cp -rp MochiKit-%{V_mochikit}/doc \ 1.640 + MochiKit-%{V_mochikit}/packed/MochiKit/MochiKit.js \ 1.641 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit/ 1.642 + %{l_shtool} install -c -m 644 \ 1.643 + script/ff.js \ 1.644 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/ 1.645 + %{l_shtool} install -c -m 644 \ 1.646 + %{SOURCE jquery-%{V_jquery}.min.js} \ 1.647 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.js 1.648 + cp "interface %{V_jquery_interface}/interface.js" \ 1.649 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery-interface.js 1.650 + %{l_shtool} install -c -m 644 \ 1.651 + %{SOURCE excanvas-%{V_excanvas}.js} \ 1.652 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js 1.653 + cp -rp oat-%{V_oat}/oat/*.js \ 1.654 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat/ 1.655 + rm -rf \ 1.656 + extjs-%{V_extjs}/docs \ 1.657 + extjs-%{V_extjs}/src \ 1.658 + extjs-%{V_extjs}/pkgs \ 1.659 + extjs-%{V_extjs}/examples \ 1.660 + extjs-%{V_extjs}/build \ 1.661 + extjs-%{V_extjs}/[A-Z]* 1.662 + find extjs-%{V_extjs} -name "*Copy.gif" -type f -exec rm -f {} \; 1.663 + cp -rp extjs-%{V_extjs}/* \ 1.664 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs/ 1.665 + cp -rp svgweb/svg* \ 1.666 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/ 1.667 + %{l_shtool} install -c -m 644 \ 1.668 + %{SOURCE raphael-%{V_raphael}.js} \ 1.669 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js 1.670 + %{l_shtool} install -c -m 644 \ 1.671 + %{SOURCE canto-%{V_canto}.js} \ 1.672 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto/canto.js 1.673 + %{l_shtool} install -c -m 644 \ 1.674 + %{SOURCE mootools-core-%{V_mootools}-full-nocompat-yc.js} \ 1.675 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools/ 1.676 + cp -rp mochaui-%{V_mochaui}/build/* \ 1.677 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui/ 1.678 + %{l_shtool} install -c -m 644 \ 1.679 + pure-pure-%{V_pure}/libs/pure.js \ 1.680 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure/ 1.681 + %{l_shtool} install -c -m 644 \ 1.682 + %{SOURCE DD_belatedPNG_%{V_ddbelatedpng}.js} \ 1.683 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng/ddbelatedpng.js 1.684 + cp -rp BespinEmbedded-%{V_skywriter}/prebuilt/* \ 1.685 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter/ 1.686 + %{l_shtool} install -c -m 644 \ 1.687 + philogl-%{V_philogl}/build/PhiloGL.js \ 1.688 + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/philogl/ 1.689 + ( cd mathjax-MathJax-* 1.690 + rm -rf jax docs test unpacked README* LICENSE fonts/HTML-CSS/TeX/png 1.691 + cp -rp * $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mathjax/ 1.692 + ) || exit $? 1.693 + rm -f $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/skywriter/*uncompressed* 1.694 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 1.695 + 1.696 +%files -f files 1.697 + 1.698 +%clean 1.699 +