|
|
@@ -62,6 +62,7 @@
|
|
|
%define V_dojo 0.3.1
|
|
|
%define V_mochikit 1.3.1
|
|
|
%define V_ffjs 1.1
|
|
|
+%define V_dwt 0.2
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -74,7 +75,7 @@ Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
Version: %{V_dhtml}
|
|
|
-Release: 20060816
|
|
|
+Release: 20060820
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -115,7 +116,8 @@ Source34: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/Spry_%{V_spry}.z
|
|
|
Source35: http://download.dojotoolkit.org/release-%{V_dojo}/dojo-%{V_dojo}-ajax.tar.gz
|
|
|
Source36: http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip
|
|
|
Source37: http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip
|
|
|
-Source38: dhtml.txt
|
|
|
+Source38: http://switch.dl.sourceforge.net/dwt/dwt-%{V_dwt}.tar.gz
|
|
|
+Source39: dhtml.txt
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -321,6 +323,11 @@ AutoReqProv: no
|
|
|
url = http://fforw.de/post/ff_javascript_library/
|
|
|
regex = ffjs-r(__VER__)\.zip
|
|
|
}
|
|
|
+ prog dhtml:dwt = {
|
|
|
+ version = %{V_dwt}
|
|
|
+ url = http://prdownloads.sourceforge.net/dwt/
|
|
|
+ regex = dwt-(__VER__)\.tar\.bz2
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -357,6 +364,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 35
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE36}
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE37}
|
|
|
+ %setup -q -T -D -a 38
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -389,7 +397,8 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/spry \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -506,6 +515,8 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
script/ff.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/
|
|
|
+ cp -rp dwt-%{V_dwt}/WebContent/* \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|