|
|
|
|
@ -58,6 +58,7 @@
|
|
|
|
|
%define V_cssquery 2.0.2 |
|
|
|
|
%define V_ajaxslt 0.4 |
|
|
|
|
%define V_spry P1_05-11 |
|
|
|
|
%define V_dojo 0.3.1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: dhtml |
|
|
|
|
@ -69,8 +70,8 @@ Distribution: OpenPKG
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Web |
|
|
|
|
License: Open Source |
|
|
|
|
Version: 20060614 |
|
|
|
|
Release: 20060614 |
|
|
|
|
Version: 20060626 |
|
|
|
|
Release: 20060626 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz |
|
|
|
|
@ -108,7 +109,8 @@ Source31: http://switch.dl.sourceforge.net/sourceforge/yui/yui_%{V_yui}.zip
|
|
|
|
|
Source32: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/cssQuery-%{V_cssquery}.zip |
|
|
|
|
Source33: http://switch.dl.sourceforge.net/goog-ajaxslt/ajaxslt-%{V_ajaxslt}.tar.gz |
|
|
|
|
Source34: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/Spry_%{V_spry}.zip |
|
|
|
|
Source35: dhtml.txt |
|
|
|
|
Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-%{V_dojo}-ajax.tar.gz |
|
|
|
|
Source36: dhtml.txt |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
@ -299,6 +301,11 @@ AutoReqProv: no
|
|
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/ |
|
|
|
|
regex = Spry_(__VER__)\.zip |
|
|
|
|
} |
|
|
|
|
prog dhtml:dojo = { |
|
|
|
|
version = %{V_dojo} |
|
|
|
|
url = http://download.dojotoolkit.org/ |
|
|
|
|
regex = release-(\d+\.\d+\.\d+) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -c |
|
|
|
|
@ -332,6 +339,7 @@ AutoReqProv: no
|
|
|
|
|
%{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 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
@ -361,7 +369,8 @@ AutoReqProv: no
|
|
|
|
|
$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/spry \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
prototype-%{V_prototype}/dist/*.js \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ |
|
|
|
|
@ -468,6 +477,10 @@ AutoReqProv: no
|
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
Spry_%{V_spry}/includes/*.js \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/ |
|
|
|
|
cp -rp dojo-%{V_dojo}-ajax/src \ |
|
|
|
|
dojo-%{V_dojo}-ajax/dojo.js \ |
|
|
|
|
dojo-%{V_dojo}-ajax/iframe_history.html \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|