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