Browse Source

add Google Explorer CANVAS emulation

master
parent
commit
5a162f8bc9
  1. 15
      dhtml/dhtml.spec
  2. 26
      dhtml/dhtml.txt

15
dhtml/dhtml.spec

@ -76,6 +76,7 @@
%define V_jquery_create 20070207
%define V_jquery_array 20070207
%define V_jquery_easing 1.1
%define V_excanvas 20070207
# package information
Name: dhtml
@ -143,7 +144,8 @@ Source48: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-cookie-%{
Source49: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-create-%{V_jquery_create}.js
Source50: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-array-%{V_jquery_array}.js
Source51: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-easing-%{V_jquery_easing}.js
Source52: dhtml.txt
Source52: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js
Source53: dhtml.txt
# build information
Prefix: %{l_prefix}
@ -414,6 +416,11 @@ AutoReqProv: no
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
regex = jquery-array-(__VER__)\.js
}
prog dhtml:excanvas = {
version = %{V_excanvas}
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
regex = excanvas-(__VER__)\.js
}
%prep
%setup -q -c -T
@ -489,7 +496,8 @@ AutoReqProv: no
$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/plugin
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin \
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas
%{l_shtool} install -c -m 644 \
%{SOURCE prototype-%{V_prototype}.js} \
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
@ -646,6 +654,9 @@ AutoReqProv: no
%{l_shtool} install -c -m 644 \
%{SOURCE jquery-easing-%{V_jquery_easing}.js} \
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/easing.js
%{l_shtool} install -c -m 644 \
%{SOURCE excanvas-%{V_excanvas}.js} \
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files

26
dhtml/dhtml.txt

@ -129,16 +129,20 @@ To use these JavaScript libraries...
- jQuery
<!-- JavaScript Toolkit (http://www.jquery.com/) -->
<script type="text/javascript" src="/jquery/jquery.js"></script>
[<script type="text/javascript" src="/jquery/plugin/form.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/interface.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/dimensions.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/metadata.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/highlightfade.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/shortkeys.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/moreselectors.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/F.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/create.js"></script>]
[<script type="text/javascript" src="/jquery/plugin/easing.js"></script>]
<script type="text/javascript" src="/dhtml/jquery/jquery.js"></script>
[<script type="text/javascript" src="/dhtml/jquery/plugin/form.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/interface.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/dimensions.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/metadata.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/highlightfade.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/shortkeys.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/moreselectors.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/F.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/create.js"></script>]
[<script type="text/javascript" src="/dhtml/jquery/plugin/easing.js"></script>]
[<script type="text/javascript">jQuery.noConflict(); var j$ = jQuery;</script>]
- ExplorerCanvas
<!-- Google <CANVAS> Emulation for Internet Explorer (http://excanvas.sourceforge.net/) -->
<script type="text/javascript" src="/dhtml/excanvas/excanvas.js"></script>

Loading…
Cancel
Save