You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
619 lines
26 KiB
619 lines
26 KiB
## |
|
## dhtml.spec -- OpenPKG RPM Package Specification |
|
## Copyright (c) 2000-2010 OpenPKG Foundation e.V. <http://openpkg.net/> |
|
## |
|
## Permission to use, copy, modify, and distribute this software for |
|
## any purpose with or without fee is hereby granted, provided that |
|
## the above copyright notice and this permission notice appear in all |
|
## copies. |
|
## |
|
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
|
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR |
|
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
|
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
|
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
|
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
## SUCH DAMAGE. |
|
## |
|
|
|
# package version |
|
%define V_prototype 1.6.1 |
|
%define V_rico 1.1.2 |
|
%define V_rico_prototype 1.4 |
|
%define V_scriptaculous 1.8.3 |
|
%define V_mktree 20051017 |
|
%define V_dol 20050215 |
|
%define V_ie7 0_9 |
|
%define V_tinymce 3_2_7 |
|
%define V_os3grid 0.6 |
|
%define V_toolman 0.2 |
|
%define V_behaviour 1.1 |
|
%define V_wikiwyg 0.12 |
|
%define V_jsan 0.10 |
|
%define V_jsan_digestmd5 0.01 |
|
%define V_jsan_listutils 0.03 |
|
%define V_jsan_domevents 0.02 |
|
%define V_jsan_domutils 0.02 |
|
%define V_jsan_domelement 0.02 |
|
%define V_jsan_dominsert 0.02 |
|
%define V_jsan_functionbind 0.02 |
|
%define V_jsan_filebasename 0.03 |
|
%define V_jsan_widgetsortabletable 0.22 |
|
%define V_jsan_widgetselect 0.01 |
|
%define V_jsan_jsmodule 0.11 |
|
%define V_jsan_httprequest 0.03 |
|
%define V_jsan_httppush 0.04 |
|
%define V_jsan_httpcookies 1.11 |
|
%define V_jsan_httpquery 0.03 |
|
%define V_jsan_csschange 0.02 |
|
%define V_jsan_display 0.06 |
|
%define V_jsolait 2006-07-12 |
|
%define V_yui 3.0.0 |
|
%define V_cssquery 2.0.2 |
|
%define V_ajaxslt 0.4 |
|
%define V_spry p1-6-1_022508 |
|
%define V_dojo 1.4.0 |
|
%define V_mochikit 1.4.2 |
|
%define V_ffjs 1.11 |
|
%define V_dwt 0.2 |
|
%define V_jquery 1.3.2 |
|
%define V_jquery_interface 1.2 |
|
%define V_excanvas 20090130 |
|
%define V_oat 2.8 |
|
%define V_extjs 3.1.0 |
|
%define V_raphael 1.3.0 |
|
%define V_svgweb 2009-11-23-Gelatinous-Cube |
|
|
|
# package information |
|
Name: dhtml |
|
Summary: Dynamic HTML Libraries |
|
URL: http://www.openpkg.org/ |
|
Vendor: OpenPKG |
|
Packager: OpenPKG Foundation e.V. |
|
Distribution: OpenPKG Community |
|
Class: BASE |
|
Group: HTML |
|
License: Open Source |
|
Version: 0 |
|
Release: 20100110 |
|
|
|
# list of sources |
|
Source0: http://download.openpkg.org/components/versioned/dhtml/prototype-%{V_prototype}.js |
|
Source1: http://script.aculo.us/dist/scriptaculous-js-%{V_scriptaculous}.tar.gz |
|
Source2: http://download.openpkg.org/components/versioned/dhtml/mktree-%{V_mktree}.tar.gz |
|
Source3: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}.js |
|
Source4: http://download.openpkg.org/components/versioned/dhtml/rico-%{V_rico}-prototype-%{V_rico_prototype}.js |
|
Source5: http://download.openpkg.org/components/versioned/dhtml/DynamicOptionList-%{V_dol}.js |
|
Source6: http://switch.dl.sourceforge.net/ie7/IE7_%{V_ie7}.zip |
|
Source7: http://switch.dl.sourceforge.net/tinymce/tinymce_%{V_tinymce}.zip |
|
Source8: http://switch.dl.sourceforge.net/os3grid/os3grid-%{V_os3grid}.tar.bz2 |
|
Source9: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip |
|
Source10: http://download.openpkg.org/components/versioned/dhtml/behaviour-%{V_behaviour}.js |
|
Source11: http://openjsan.org/dist/i/in/ingy/Wikiwyg-%{V_wikiwyg}.tar.gz |
|
Source12: http://openjsan.org/dist/c/cw/cwest/JSAN-%{V_jsan}.tar.gz |
|
Source13: http://openjsan.org/dist/c/cw/cwest/Digest.MD5-%{V_jsan_digestmd5}.tar.gz |
|
Source14: http://openjsan.org/dist/p/pr/prefiks/List.Utils-%{V_jsan_listutils}.tar.gz |
|
Source15: http://openjsan.org/dist/g/go/goflyapig/DOM.Events-%{V_jsan_domevents}.tar.gz |
|
Source16: http://openjsan.org/dist/r/rk/rkinyon/DOM-Utils-%{V_jsan_domutils}.tar.gz |
|
Source17: http://openjsan.org/dist/r/rk/rkinyon/DOM-Element-%{V_jsan_domelement}.tar.gz |
|
Source18: http://openjsan.org/dist/r/rk/rkinyon/DOM-Insert-%{V_jsan_dominsert}.tar.gz |
|
Source19: http://openjsan.org/dist/r/rk/rkinyon/Function-bind-%{V_jsan_functionbind}.tar.gz |
|
Source20: http://openjsan.org/dist/l/le/lecar_red/File.Basename-%{V_jsan_filebasename}.tar.gz |
|
Source21: http://openjsan.org/dist/a/au/autarch/Widget.SortableTable-%{V_jsan_widgetsortabletable}.tar.gz |
|
Source22: http://openjsan.org/dist/t/th/thilo/Widget.Select-%{V_jsan_widgetselect}.tar.gz |
|
Source23: http://openjsan.org/dist/a/ad/adurdin/JSModule-%{V_jsan_jsmodule}.tar.gz |
|
Source24: http://openjsan.org/dist/r/rk/rkinyon/HTTP-Request-%{V_jsan_httprequest}.tar.gz |
|
Source25: http://openjsan.org/dist/f/fu/fuzzynerd/HTTP.Push-%{V_jsan_httppush}.tar.gz |
|
Source26: http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcookies}.tar.gz |
|
Source27: http://openjsan.org/dist/t/th/theory/HTTP.Query-%{V_jsan_httpquery}.tar.gz |
|
Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschange}.tar.gz |
|
Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz |
|
Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip |
|
Source31: http://yuilibrary.com/downloads/yui3/yui_%{V_yui}.zip |
|
Source32: http://download.openpkg.org/components/versioned/dhtml/cssQuery-%{V_cssquery}.zip |
|
Source33: http://switch.dl.sourceforge.net/goog-ajaxslt/ajaxslt-%{V_ajaxslt}.tar.gz |
|
Source34: http://download.openpkg.org/components/versioned/dhtml/spry_%{V_spry}.zip |
|
Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-release-%{V_dojo}.tar.gz |
|
Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip |
|
Source37: http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip |
|
Source38: http://switch.dl.sourceforge.net/dwt/dwt-%{V_dwt}.tar.gz |
|
Source39: http://jqueryjs.googlecode.com/files/jquery-%{V_jquery}.min.js |
|
Source40: http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip |
|
Source41: http://download.openpkg.org/components/versioned/dhtml/excanvas-%{V_excanvas}.js |
|
Source42: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz |
|
Source43: http://extjs.com/deploy/ext-%{V_extjs}.zip |
|
Source44: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js |
|
Source45: http://svgweb.googlecode.com/files/svgweb-%{V_svgweb}.zip |
|
Source46: dhtml.txt |
|
|
|
# build information |
|
Prefix: %{l_prefix} |
|
BuildRoot: %{l_buildroot} |
|
BuildPreReq: OpenPKG, openpkg >= 20040130, infozip |
|
PreReq: OpenPKG, openpkg >= 20040130 |
|
AutoReq: no |
|
AutoReqProv: no |
|
|
|
%description |
|
This is a collection of CSS and JavaScript based DHTML components |
|
which provide reusable WWW client-side extensions including IE7 |
|
compatibility workarounds, AJAX support, dynamic widgets, etc. |
|
|
|
%track |
|
prog dhtml:prototype = { |
|
version = %{V_prototype} |
|
url = http://www.prototypejs.org/download |
|
regex = version—(\d+\.\d+(?:\.\d+)+)\s+ |
|
} |
|
prog dhtml:scriptaculous = { |
|
version = %{V_scriptaculous} |
|
url = http://script.aculo.us/downloads |
|
regex = scriptaculous-js-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:rico-prototype = { |
|
version = %{V_rico_prototype} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = rico-%{V_rico}-prototype-(__VER__)\.js |
|
} |
|
prog dhtml:rico = { |
|
version = %{V_rico} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = rico-(\d+\.\d+\.\d)\.js |
|
} |
|
prog dhtml:mktree = { |
|
version = %{V_mktree} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = mktree-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:dol = { |
|
version = %{V_dol} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = DynamicOptionList-(__VER__)\.js |
|
} |
|
prog dhtml:ie7 = { |
|
version = %{V_ie7} |
|
url = http://sourceforge.net/projects/ie7/files/ |
|
regex = IE7_(__VER__)\.zip |
|
} |
|
prog dhtml:tinymce = { |
|
version = %{V_tinymce} |
|
url = http://sourceforge.net/projects/tinymce/files/ |
|
regex = tinymce_(__VER__)\.zip |
|
} |
|
prog dhtml:os3grid = { |
|
version = %{V_os3grid} |
|
url = http://sourceforge.net/projects/os3grid/files/ |
|
regex = os3grid-(__VER__)\.tar\.bz2 |
|
} |
|
prog dhtml:toolman = { |
|
version = %{V_toolman} |
|
url = http://tool-man.org/examples/ |
|
regex = ToolManDHTML-(__VER__)\.zip |
|
} |
|
prog dhtml:behaviour = { |
|
version = %{V_behaviour} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = behaviour-(__VER__)\.js |
|
} |
|
prog dhtml:wikiwyg = { |
|
version = %{V_wikiwyg} |
|
url = http://openjsan.org/dist/i/in/ingy/ |
|
regex = Wikiwyg-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan = { |
|
version = %{V_jsan} |
|
url = http://openjsan.org/dist/c/cw/cwest/ |
|
regex = JSAN-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-digestmd5 = { |
|
version = %{V_jsan_digestmd5} |
|
url = http://openjsan.org/dist/c/cw/cwest/ |
|
regex = Digest\.MD5-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-listutils = { |
|
version = %{V_jsan_listutils} |
|
url = http://openjsan.org/dist/p/pr/prefiks/ |
|
regex = List\.Utils-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-domevents = { |
|
version = %{V_jsan_domevents} |
|
url = http://openjsan.org/dist/g/go/goflyapig/ |
|
regex = DOM\.Events-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-domutils = { |
|
version = %{V_jsan_domutils} |
|
url = http://openjsan.org/dist/r/rk/rkinyon/ |
|
regex = DOM-Utils-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-domelement = { |
|
version = %{V_jsan_domelement} |
|
url = http://openjsan.org/dist/r/rk/rkinyon/ |
|
regex = DOM-Element-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-dominsert = { |
|
version = %{V_jsan_dominsert} |
|
url = http://openjsan.org/dist/r/rk/rkinyon/ |
|
regex = DOM-Insert-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-functionbind = { |
|
version = %{V_jsan_functionbind} |
|
url = http://openjsan.org/dist/r/rk/rkinyon/ |
|
regex = Function-bind-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-filebasename = { |
|
version = %{V_jsan_filebasename} |
|
url = http://openjsan.org/dist/l/le/lecar_red/ |
|
regex = File\.Basename-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-widgetsortabletable = { |
|
version = %{V_jsan_widgetsortabletable} |
|
url = http://openjsan.org/dist/a/au/autarch/ |
|
regex = Widget\.SortableTable-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-widgetselect = { |
|
version = %{V_jsan_widgetselect} |
|
url = http://openjsan.org/dist/t/th/thilo/ |
|
regex = Widget\.Select-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-jsmodule = { |
|
version = %{V_jsan_jsmodule} |
|
url = http://openjsan.org/dist/a/ad/adurdin/ |
|
regex = JSModule-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-httprequest = { |
|
version = %{V_jsan_httprequest} |
|
url = http://openjsan.org/dist/r/rk/rkinyon/ |
|
regex = HTTP-Request-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-httppush = { |
|
version = %{V_jsan_httppush} |
|
url = http://openjsan.org/dist/f/fu/fuzzynerd/ |
|
regex = HTTP\.Push-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-httpcookies = { |
|
version = %{V_jsan_httpcookies} |
|
url = http://openjsan.org/dist/b/bu/burak/ |
|
regex = HTTP\.Cookies-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-httpquery = { |
|
version = %{V_jsan_httpquery} |
|
url = http://openjsan.org/dist/t/th/theory/ |
|
regex = HTTP\.Query-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-csschange = { |
|
version = %{V_jsan_csschange} |
|
url = http://openjsan.org/dist/t/ty/typester/ |
|
regex = CSS\.Change-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsan-display = { |
|
version = %{V_jsan_display} |
|
url = http://openjsan.org/dist/a/ad/adamk/ |
|
regex = Display-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jsolait = { |
|
version = %{V_jsolait} |
|
url = http://jsolait.net/download/ |
|
regex = jsolait\.(__VER__)\.small\.zip |
|
} |
|
prog dhtml:yui = { |
|
version = %{V_yui} |
|
url = http://yuilibrary.com/downloads/ |
|
regex = yui_(\d+\.\d+\.\d+)\.zip |
|
} |
|
prog dhtml:cssquery = { |
|
version = %{V_cssquery} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = cssQuery-(__VER__)\.zip |
|
} |
|
prog dhtml:ajaxslt = { |
|
version = %{V_ajaxslt} |
|
url = http://sourceforge.net/projects/goog-ajaxslt/files/ |
|
regex = ajaxslt-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:spry = { |
|
version = %{V_spry} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = spry_(__VER__)\.zip |
|
} |
|
prog dhtml:dojo = { |
|
version = %{V_dojo} |
|
url = http://download.dojotoolkit.org/ |
|
regex = release-(\d+\.\d+\.\d+)/ |
|
} |
|
prog dhtml:mochikit = { |
|
version = %{V_mochikit} |
|
url = http://mochikit.com/download.html |
|
regex = MochiKit-(__VER__)\.zip |
|
} |
|
prog dhtml:ffjs = { |
|
version = %{V_ffjs} |
|
url = http://fforw.de/post/ff_javascript_library/ |
|
regex = ffjs-r(__VER__)\.zip |
|
} |
|
prog dhtml:dwt = { |
|
version = %{V_dwt} |
|
url = http://sourceforge.net/projects/dwt/files/ |
|
regex = dwt-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:jquery = { |
|
version = %{V_jquery} |
|
url = http://jquery.com/ |
|
regex = jquery-(\d+\.\d+(\.\d+)?)\.min\.js |
|
} |
|
prog dhtml:jquery-interface = { |
|
version = %{V_jquery_interface} |
|
url = http://interface.eyecon.ro/download |
|
regex = interface_(__VER__)\.zip |
|
} |
|
prog dhtml:excanvas = { |
|
version = %{V_excanvas} |
|
url = http://download.openpkg.org/components/versioned/dhtml/ |
|
regex = excanvas-(__VER__)\.js |
|
} |
|
prog dhtml:oat = { |
|
version = %{V_oat} |
|
url = http://sourceforge.net/projects/oat/files/ |
|
regex = oat-(__VER__)\.tar\.gz |
|
} |
|
prog dhtml:extjs = { |
|
version = %{V_extjs} |
|
url = http://www.extjs.com/products/extjs/download.php |
|
regex = ext-(__VER__)\.zip |
|
} |
|
prog dhtml:raphael = { |
|
version = %{V_raphael} |
|
url = http://raphaeljs.com/ |
|
regex = Download\s+v\.\ (__VER__) |
|
} |
|
prog dhtml:svgweb = { |
|
version = %{V_svgweb} |
|
url = http://code.google.com/p/svgweb/downloads/list |
|
regex = svgweb-(.*?)\.zip |
|
} |
|
|
|
%prep |
|
%setup -q -c -T |
|
%setup -q -T -D -a 1 |
|
%setup -q -T -D -a 2 |
|
mkdir tinymce-%{V_tinymce} |
|
( cd tinymce-%{V_tinymce}; %{l_prefix}/bin/unzip -q -x %{SOURCE7} ) || exit $? |
|
%setup -q -T -D -a 8 |
|
%setup -q -T -D -a 11 |
|
%setup -q -T -D -a 12 |
|
%setup -q -T -D -a 13 |
|
%setup -q -T -D -a 14 |
|
%setup -q -T -D -a 15 |
|
%setup -q -T -D -a 16 |
|
%setup -q -T -D -a 17 |
|
%setup -q -T -D -a 18 |
|
%setup -q -T -D -a 19 |
|
%setup -q -T -D -a 20 |
|
%setup -q -T -D -a 21 |
|
%setup -q -T -D -a 22 |
|
%setup -q -T -D -a 23 |
|
%setup -q -T -D -a 24 |
|
%setup -q -T -D -a 25 |
|
%setup -q -T -D -a 26 |
|
%setup -q -T -D -a 27 |
|
%setup -q -T -D -a 28 |
|
%setup -q -T -D -a 29 |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE6} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE9} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE30} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE31} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE32} |
|
%setup -q -T -D -a 33 |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE34} |
|
%setup -q -T -D -a 35 |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE36} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE37} |
|
%setup -q -T -D -a 38 |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE40} |
|
%setup -q -T -D -a 42 |
|
mkdir ext-%{V_extjs} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE43} |
|
chmod -R a+r MochiKit-%{V_mochikit} |
|
%{l_prefix}/bin/unzip -q -x %{SOURCE45} |
|
|
|
%build |
|
|
|
%install |
|
rm -rf $RPM_BUILD_ROOT |
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
$RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7 \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ext \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb |
|
( echo "Alias /openpkg-dhtml/ %{l_prefix}/share/dhtml/" |
|
echo "<Directory %{l_prefix}/share/dhtml/>" |
|
echo " Options Indexes" |
|
echo " AllowOverride none" |
|
echo " Order allow,deny" |
|
echo " Allow from all" |
|
echo "</Directory>" |
|
) >dhtml.conf |
|
%{l_shtool} install -c -m 644 \ |
|
dhtml.conf $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE prototype-%{V_prototype}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE rico-%{V_rico}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/rico.js |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE rico-%{V_rico}-prototype-%{V_rico_prototype}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/rico/prototype.js |
|
%{l_shtool} install -c -m 644 \ |
|
scriptaculous-js-%{V_scriptaculous}/lib/* \ |
|
scriptaculous-js-%{V_scriptaculous}/src/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/scriptaculous/ |
|
%{l_shtool} install -c -m 644 \ |
|
IE7_%{V_ie7}/ie7* IE7_%{V_ie7}/blank.gif \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7/ |
|
%{l_shtool} install -c -m 644 \ |
|
mktree/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mktree/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE DynamicOptionList-%{V_dol}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol/dol.js |
|
cp -r tinymce-*/tinymce/jscripts/tiny_mce/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce/ |
|
%{l_shtool} install -c -m 644 \ |
|
os3grid/os3grid.css os3grid/os3grid.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid/ |
|
%{l_shtool} install -c -m 644 \ |
|
tool-man/source/org/tool-man/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE behaviour-%{V_behaviour}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour/behaviour.js |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE dhtml.txt} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README |
|
cp -r Wikiwyg-%{V_wikiwyg}/lib/* Wikiwyg-%{V_wikiwyg}/css/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/ |
|
cp -r Wikiwyg-%{V_wikiwyg}/images \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/images |
|
%{l_shtool} subst \ |
|
-e 's;images/;/dhtml/wikiwyg/images/;g' \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/wikiwyg/Wikiwyg/Toolbar.js |
|
%{l_shtool} install -c -m 644 \ |
|
-e "s;lib;/dhtml/jsan;" \ |
|
JSAN-%{V_jsan}/doc/text/JSAN.txt JSAN-%{V_jsan}/lib/JSAN.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ |
|
%{l_shtool} install -c -m 644 \ |
|
-e 's;\(includePaths = ..\)\(..\);\1/dhtml/jsan\2;' \ |
|
JSModule-%{V_jsan_jsmodule}/doc/JSModule.rst \ |
|
JSModule-%{V_jsan_jsmodule}/src/JSModule.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ |
|
%{l_shtool} install -c -m 644 \ |
|
Digest.MD5-%{V_jsan_digestmd5}/lib/Digest/MD5.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest/ |
|
%{l_shtool} install -c -m 644 \ |
|
List.Utils-%{V_jsan_listutils}/lib/List/Utils.js \ |
|
List.Utils-%{V_jsan_listutils}/doc/text/List/Utils.txt \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List/ |
|
%{l_shtool} install -c -m 644 \ |
|
DOM.Events-%{V_jsan_domevents}/lib/DOM/Events.js \ |
|
DOM-Utils-%{V_jsan_domutils}/lib/DOM/Utils.js \ |
|
DOM-Utils-%{V_jsan_domutils}/doc/text/DOM/Utils.txt \ |
|
DOM-Element-%{V_jsan_domelement}/lib/DOM/Element.js \ |
|
DOM-Element-%{V_jsan_domelement}/doc/text/DOM/Element.txt \ |
|
DOM-Insert-%{V_jsan_dominsert}/lib/DOM/Insert.js \ |
|
DOM-Insert-%{V_jsan_dominsert}/doc/text/DOM/Insert.txt \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM/ |
|
%{l_shtool} install -c -m 644 \ |
|
File.Basename-%{V_jsan_filebasename}/lib/File/Basename.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File/ |
|
%{l_shtool} install -c -m 644 \ |
|
Function-bind-%{V_jsan_functionbind}/lib/Function/bind*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function/ |
|
%{l_shtool} install -c -m 644 \ |
|
HTTP-Request-%{V_jsan_httprequest}/lib/HTTP/*.js \ |
|
HTTP.Push-%{V_jsan_httppush}/lib/HTTP/*.js \ |
|
HTTP.Cookies-%{V_jsan_httpcookies}/lib/HTTP/*.js \ |
|
HTTP.Query-%{V_jsan_httpquery}/lib/HTTP/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP/ |
|
%{l_shtool} install -c -m 644 \ |
|
Widget.SortableTable-%{V_jsan_widgetsortabletable}/lib/Widget/*.js \ |
|
Widget.Select-%{V_jsan_widgetselect}/lib/Widget/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget/ |
|
%{l_shtool} install -c -m 644 \ |
|
CSS.Change-%{V_jsan_csschange}/lib/CSS/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS/ |
|
%{l_shtool} install -c -m 644 \ |
|
Display-%{V_jsan_display}/lib/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/ |
|
cp -rp jsolait/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait/ |
|
cp -rp yui/build/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui/ |
|
%{l_shtool} install -c -m 644 \ |
|
cssQuery/cssQuery-p.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery/cssquery.js |
|
%{l_shtool} install -c -m 644 \ |
|
ajaxslt-%{V_ajaxslt}/dom.js \ |
|
ajaxslt-%{V_ajaxslt}/misc.js \ |
|
ajaxslt-%{V_ajaxslt}/xpath.js \ |
|
ajaxslt-%{V_ajaxslt}/xslt.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt/ |
|
%{l_shtool} install -c -m 644 \ |
|
Spry_*/includes_packed/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/ |
|
cp -rp dojo-release-%{V_dojo}/dojo/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo/ |
|
cp -rp MochiKit-%{V_mochikit}/doc \ |
|
MochiKit-%{V_mochikit}/packed/MochiKit/MochiKit.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit/ |
|
%{l_shtool} install -c -m 644 \ |
|
script/ff.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/ |
|
cp -rp dwt-%{V_dwt}/WebContent/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE jquery-%{V_jquery}.min.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.js |
|
cp "interface %{V_jquery_interface}/interface.js" \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery-interface.js |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE excanvas-%{V_excanvas}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js |
|
cp -rp oat-%{V_oat}/oat/*.js \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat/ |
|
rm -rf \ |
|
ext-%{V_extjs}/docs \ |
|
ext-%{V_extjs}/src \ |
|
ext-%{V_extjs}/pkgs \ |
|
ext-%{V_extjs}/examples \ |
|
ext-%{V_extjs}/build \ |
|
ext-%{V_extjs}/[A-Z]* |
|
cp -rp ext-%{V_extjs}/* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ext/ |
|
cp -rp svgweb/src/svg* \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb/ |
|
%{l_shtool} install -c -m 644 \ |
|
%{SOURCE raphael-%{V_raphael}.js} \ |
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js |
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
%files -f files |
|
|
|
%clean |
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|