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