|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_dhtml 20070125 |
|
|
|
|
%define V_dhtml 20070207 |
|
|
|
|
%define V_prototype 1.5.0 |
|
|
|
|
%define V_rico 1.1.2 |
|
|
|
|
%define V_rico_prototype 1.4 |
|
|
|
|
@ -77,6 +77,7 @@
|
|
|
|
|
%define V_jquery_array 20070207 |
|
|
|
|
%define V_jquery_easing 1.1 |
|
|
|
|
%define V_excanvas 20070207 |
|
|
|
|
%define V_oat 2.1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: dhtml |
|
|
|
|
@ -145,7 +146,8 @@ Source49: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-create-%{
|
|
|
|
|
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: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js |
|
|
|
|
Source53: dhtml.txt |
|
|
|
|
Source53: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz |
|
|
|
|
Source54: dhtml.txt |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
@ -421,6 +423,11 @@ AutoReqProv: no
|
|
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/ |
|
|
|
|
regex = excanvas-(__VER__)\.js |
|
|
|
|
} |
|
|
|
|
prog dhtml:oat = { |
|
|
|
|
version = %{V_oat} |
|
|
|
|
url = http://prdownloads.sourceforge.net/oat/ |
|
|
|
|
regex = oat-(__VER__)\.tar\.gz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -c -T |
|
|
|
|
@ -462,6 +469,7 @@ AutoReqProv: no
|
|
|
|
|
%{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 53 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
@ -497,7 +505,8 @@ AutoReqProv: no
|
|
|
|
|
$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/excanvas |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
%{SOURCE prototype-%{V_prototype}.js} \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ |
|
|
|
|
@ -657,6 +666,8 @@ AutoReqProv: no
|
|
|
|
|
%{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/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|