|
|
|
|
@ -59,6 +59,7 @@
|
|
|
|
|
%define V_ajaxslt 0.4 |
|
|
|
|
%define V_spry P1_05-11 |
|
|
|
|
%define V_dojo 0.3.1 |
|
|
|
|
%define V_mochikit 1.3.1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: dhtml |
|
|
|
|
@ -70,8 +71,8 @@ Distribution: OpenPKG
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Web |
|
|
|
|
License: Open Source |
|
|
|
|
Version: 20060725 |
|
|
|
|
Release: 20060725 |
|
|
|
|
Version: 20060729 |
|
|
|
|
Release: 20060729 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz |
|
|
|
|
@ -110,7 +111,8 @@ Source32: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/cssQuery-%{V_css
|
|
|
|
|
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: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-%{V_dojo}-ajax.tar.gz |
|
|
|
|
Source36: dhtml.txt |
|
|
|
|
Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip |
|
|
|
|
Source37: dhtml.txt |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
@ -306,6 +308,11 @@ AutoReqProv: no
|
|
|
|
|
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 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -c |
|
|
|
|
@ -340,6 +347,7 @@ AutoReqProv: no
|
|
|
|
|
%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} |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
|
|
|
|
|
@ -370,7 +378,8 @@ AutoReqProv: no
|
|
|
|
|
$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/dojo \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
prototype-%{V_prototype}/dist/*.js \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/ |
|
|
|
|
@ -481,6 +490,9 @@ AutoReqProv: no
|
|
|
|
|
dojo-%{V_dojo}-ajax/dojo.js \ |
|
|
|
|
dojo-%{V_dojo}-ajax/iframe_history.html \ |
|
|
|
|
$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_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|