|
|
@@ -56,6 +56,8 @@
|
|
|
%define V_jsolait 2006-03-16
|
|
|
%define V_yui 20060214
|
|
|
%define V_cssquery 2.0.2
|
|
|
+%define V_ajaxslt 0.4
|
|
|
+%define V_spry P1_05-11
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -67,8 +69,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
-Version: 20060505
|
|
|
-Release: 20060505
|
|
|
+Version: 20060514
|
|
|
+Release: 20060514
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -104,7 +106,9 @@ Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.
|
|
|
Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip
|
|
|
Source31: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/yui-%{V_yui}.zip
|
|
|
Source32: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/cssQuery-%{V_cssquery}.zip
|
|
|
-Source33: dhtml.txt
|
|
|
+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
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -285,6 +289,16 @@ AutoReqProv: no
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
|
|
|
regex = cssQuery-(__VER__)\.zip
|
|
|
}
|
|
|
+ prog dhtml:ajaxslt = {
|
|
|
+ version = %{V_ajaxslt}
|
|
|
+ url = http://prdownloads.sourceforge.net/goog-ajaxslt/
|
|
|
+ regex = ajaxslt-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:spry = {
|
|
|
+ version = %{V_spry}
|
|
|
+ url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
|
|
|
+ regex = Spry-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -318,6 +332,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE31}
|
|
|
) || exit $?
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE32}
|
|
|
+ %setup -q -T -D -a 33
|
|
|
+ %{l_prefix}/bin/unzip -q -x %{SOURCE34}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -345,7 +361,9 @@ AutoReqProv: no
|
|
|
$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/cssquery \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ajaxslt \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -444,6 +462,15 @@ AutoReqProv: no
|
|
|
%{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_%{V_spry}/includes/*.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|