64 %define V_jquery_mobile 1.1.1 |
64 %define V_jquery_mobile 1.1.1 |
65 %define V_jquery_interface 1.2 |
65 %define V_jquery_interface 1.2 |
66 %define V_excanvas 20090130 |
66 %define V_excanvas 20090130 |
67 %define V_oat 2.8 |
67 %define V_oat 2.8 |
68 %define V_extjs 4.1.1 |
68 %define V_extjs 4.1.1 |
|
69 %define V_sentch 2.0.1.1 |
69 %define V_raphael 2.1.0 |
70 %define V_raphael 2.1.0 |
70 %define V_svgweb 20110226 |
71 %define V_svgweb 20110226 |
71 %define V_canto 0.15 |
72 %define V_canto 0.15 |
72 %define V_mootools 1.4.5 |
73 %define V_mootools 1.4.5 |
73 %define V_mochaui 0.9.7 |
74 %define V_mochaui 0.9.7 |
134 Source39: http://code.jquery.com/mobile/%{V_jquery_mobile}/jquery.mobile-%{V_jquery_mobile}.zip |
135 Source39: http://code.jquery.com/mobile/%{V_jquery_mobile}/jquery.mobile-%{V_jquery_mobile}.zip |
135 Source40: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip |
136 Source40: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip |
136 Source41: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js |
137 Source41: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js |
137 Source42: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz |
138 Source42: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz |
138 Source43: http://cdn.sencha.com/extjs-%{V_extjs}-gpl.zip |
139 Source43: http://cdn.sencha.com/extjs-%{V_extjs}-gpl.zip |
139 Source44: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js |
140 Source44: http://cdn.sencha.io/touch/sencha-touch-%{V_sentch}-gpl.zip |
140 Source45: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz |
141 Source45: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js |
141 Source46: http://canto-js.googlecode.com/files/canto-%{V_canto}.js |
142 Source46: http://download.openpkg.org/components/versioned/dhtml/svgweb-%{V_svgweb}.tar.gz |
142 Source47: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js |
143 Source47: http://canto-js.googlecode.com/files/canto-%{V_canto}.js |
143 Source48: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip |
144 Source48: http://mootools.net/download/get/mootools-core-%{V_mootools}-full-nocompat-yc.js |
144 Source49: http://download.github.com/pure-pure-%{V_pure}.zip |
145 Source49: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip |
145 Source50: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js |
146 Source50: http://download.github.com/pure-pure-%{V_pure}.zip |
146 Source51: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz |
147 Source51: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js |
147 Source52: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip |
148 Source52: http://ftp.mozilla.org/pub/mozilla.org/labs/bespin/Embedded/BespinEmbedded-%{V_skywriter}.tar.gz |
148 Source53: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip |
149 Source53: http://senchalabs.github.com/philogl/downloads/PhiloGL-%{V_philogl}.zip |
149 Source54: dhtml.txt |
150 Source54: https://download.github.com/mathjax-MathJax-v%{V_mathjax}.zip |
|
151 Source55: dhtml.txt |
150 |
152 |
151 # build information |
153 # build information |
152 BuildPreReq: OpenPKG, openpkg >= 20100101, infozip |
154 BuildPreReq: OpenPKG, openpkg >= 20100101, infozip |
153 PreReq: OpenPKG, openpkg >= 20100101 |
155 PreReq: OpenPKG, openpkg >= 20100101 |
154 |
156 |
375 } |
377 } |
376 prog dhtml:extjs = { |
378 prog dhtml:extjs = { |
377 version = %{V_extjs} |
379 version = %{V_extjs} |
378 url = http://www.sencha.com/products/js/download.php |
380 url = http://www.sencha.com/products/js/download.php |
379 regex = Ext\s+JS\s+(\d+\.\d+\.\d+) |
381 regex = Ext\s+JS\s+(\d+\.\d+\.\d+) |
|
382 } |
|
383 prog dhtml:sentch = { |
|
384 version = %{V_sentch} |
|
385 url = http://cdn.sencha.io/touch/ |
|
386 regex = sencha-touch-(\d+\.\d+\.\d+\.\d+)-gpl\.zip |
380 } |
387 } |
381 prog dhtml:raphael = { |
388 prog dhtml:raphael = { |
382 version = %{V_raphael} |
389 version = %{V_raphael} |
383 url = http://raphaeljs.com/ |
390 url = http://raphaeljs.com/ |
384 regex = Download\s+v\.\ (__VER__) |
391 regex = Download\s+v\.\ (__VER__) |
467 %{l_prefix}/bin/unzip -q -x %{SOURCE37} |
474 %{l_prefix}/bin/unzip -q -x %{SOURCE37} |
468 %{l_prefix}/bin/unzip -q -x %{SOURCE39} |
475 %{l_prefix}/bin/unzip -q -x %{SOURCE39} |
469 %{l_prefix}/bin/unzip -q -x %{SOURCE40} |
476 %{l_prefix}/bin/unzip -q -x %{SOURCE40} |
470 %setup -q -T -D -a 42 |
477 %setup -q -T -D -a 42 |
471 %{l_prefix}/bin/unzip -q -x %{SOURCE43} |
478 %{l_prefix}/bin/unzip -q -x %{SOURCE43} |
|
479 %{l_prefix}/bin/unzip -q -x %{SOURCE44} |
472 chmod -R a+r MochiKit-%{V_mochikit} |
480 chmod -R a+r MochiKit-%{V_mochikit} |
473 %setup -q -T -D -a 45 |
481 %setup -q -T -D -a 46 |
474 %{l_prefix}/bin/unzip -q -x %{SOURCE48} |
|
475 %{l_prefix}/bin/unzip -q -x %{SOURCE49} |
482 %{l_prefix}/bin/unzip -q -x %{SOURCE49} |
476 %setup -q -T -D -a 51 |
483 %{l_prefix}/bin/unzip -q -x %{SOURCE50} |
|
484 %setup -q -T -D -a 52 |
477 mkdir philogl-%{V_philogl} |
485 mkdir philogl-%{V_philogl} |
478 ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE52} ) || exit $? |
486 ( cd philogl-%{V_philogl}; %{l_prefix}/bin/unzip -q -x %{SOURCE53} ) || exit $? |
479 %setup -q -T -D -a 53 |
487 %setup -q -T -D -a 54 |
480 |
488 |
481 %build |
489 %build |
482 |
490 |
483 %install |
491 %install |
484 %{l_shtool} mkdir -f -p -m 755 \ |
492 %{l_shtool} mkdir -f -p -m 755 \ |
512 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \ |
520 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \ |
513 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \ |
521 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \ |
514 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ |
522 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ |
515 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ |
523 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ |
516 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs \ |
524 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs \ |
|
525 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/sentch \ |
517 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ |
526 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ |
518 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \ |
527 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \ |
519 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \ |
528 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \ |
520 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools \ |
529 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools \ |
521 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui \ |
530 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui \ |
684 extjs-%{V_extjs}/build \ |
693 extjs-%{V_extjs}/build \ |
685 extjs-%{V_extjs}/[A-Z]* |
694 extjs-%{V_extjs}/[A-Z]* |
686 find extjs-%{V_extjs} -name "*Copy.gif" -type f -exec rm -f {} \; |
695 find extjs-%{V_extjs} -name "*Copy.gif" -type f -exec rm -f {} \; |
687 cp -rp extjs-%{V_extjs}/* \ |
696 cp -rp extjs-%{V_extjs}/* \ |
688 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs/ |
697 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/extjs/ |
|
698 rm -rf \ |
|
699 sencha-touch-%{V_sentch}/docs \ |
|
700 sencha-touch-%{V_sentch}/src \ |
|
701 sencha-touch-%{V_sentch}/pkgs \ |
|
702 sencha-touch-%{V_sentch}/examples |
|
703 cp -rp sencha-touch-%{V_sentch}/* \ |
|
704 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/sentch/ |
689 cp -rp svgweb/svg* \ |
705 cp -rp svgweb/svg* \ |
690 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/ |
706 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/ |
691 %{l_shtool} install -c -m 644 \ |
707 %{l_shtool} install -c -m 644 \ |
692 %{SOURCE raphael-%{V_raphael}.js} \ |
708 %{SOURCE raphael-%{V_raphael}.js} \ |
693 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js |
709 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js |