|
|
@@ -32,6 +32,7 @@
|
|
|
%define V_tinymce 2_0RC4
|
|
|
%define V_os3grid 0.6
|
|
|
%define V_toolman 0.2
|
|
|
+%define V_behaviour 1.1
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -43,8 +44,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
-Version: 20051120
|
|
|
-Release: 20051120
|
|
|
+Version: 20051201
|
|
|
+Release: 20051201
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -56,7 +57,8 @@ Source5: http://osdn.dl.sourceforge.net/ie7/IE7_%{V_ie7}.zip
|
|
|
Source6: http://osdn.dl.sourceforge.net/tinymce/tinymce_%{V_tinymce}.tgz
|
|
|
Source7: http://osdn.dl.sourceforge.net/os3grid/os3grid-%{V_os3grid}.tar.bz2
|
|
|
Source8: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip
|
|
|
-Source9: dhtml.txt
|
|
|
+Source9: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/behaviour-%{V_behaviour}.js
|
|
|
+Source10: dhtml.txt
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -117,6 +119,11 @@ AutoReqProv: no
|
|
|
url = http://tool-man.org/examples/
|
|
|
regex = ToolManDHTML-(__VER__)\.zip
|
|
|
}
|
|
|
+ prog dhtml:behaviour = {
|
|
|
+ version = %{V_behaviour}
|
|
|
+ url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
|
|
|
+ regex = behaviour-(__VER__)\.js
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -140,7 +147,8 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/tinymce \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ie7 \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -168,6 +176,9 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
tool-man/source/org/tool-man/* \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ %{SOURCE behaviour-%{V_behaviour}.js} \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/behaviour/behaviour.js
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
%{SOURCE dhtml.txt} \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README
|