|
|
@@ -55,6 +55,7 @@
|
|
|
%define V_jsan_display 0.06
|
|
|
%define V_jsolait 2006-01-09
|
|
|
%define V_yui 20060214
|
|
|
+%define V_cssquery 2.0.2
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -66,8 +67,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
-Version: 20060225
|
|
|
-Release: 20060225
|
|
|
+Version: 20060309
|
|
|
+Release: 20060309
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -102,7 +103,8 @@ Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschan
|
|
|
Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz
|
|
|
Source30: http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip
|
|
|
Source31: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/yui-%{V_yui}.zip
|
|
|
-Source32: dhtml.txt
|
|
|
+Source32: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/cssQuery-%{V_cssquery}.zip
|
|
|
+Source33: dhtml.txt
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -278,6 +280,11 @@ AutoReqProv: no
|
|
|
url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
|
|
|
regex = yui-(__VER__)\.zip
|
|
|
}
|
|
|
+ prog dhtml:cssquery = {
|
|
|
+ version = %{V_cssquery}
|
|
|
+ url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
|
|
|
+ regex = cssQuery-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -310,6 +317,7 @@ AutoReqProv: no
|
|
|
( mkdir yui && cd yui
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE31}
|
|
|
) || exit $?
|
|
|
+ %{l_prefix}/bin/unzip -q -x %{SOURCE32}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -336,7 +344,8 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \
|
|
|
$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/yui \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -432,6 +441,9 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
yui/*/build/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/yui/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ cssQuery/cssQuery-p.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/cssquery/cssquery.js
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|