|
|
@@ -31,6 +31,7 @@
|
|
|
%define V_ie7 0_9
|
|
|
%define V_tinymce 2_0RC4
|
|
|
%define V_os3grid 0.6
|
|
|
+%define V_toolman 0.2
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -42,8 +43,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
-Version: 20051031
|
|
|
-Release: 20051031
|
|
|
+Version: 20051110
|
|
|
+Release: 20051110
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -54,7 +55,8 @@ Source4: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/DynamicOptionLis
|
|
|
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: dhtml.txt
|
|
|
+Source8: http://tool-man.org/examples/ToolManDHTML-%{V_toolman}.zip
|
|
|
+Source9: dhtml.txt
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -110,6 +112,11 @@ AutoReqProv: no
|
|
|
url = http://prdownloads.sourceforge.net/os3grid/
|
|
|
regex = os3grid-(__VER__)\.tar\.bz2
|
|
|
}
|
|
|
+ prog dhtml:toolman = {
|
|
|
+ version = %{V_toolman}
|
|
|
+ url = http://tool-man.org/examples/
|
|
|
+ regex = ToolManDHTML-(__VER__)\.zip
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -118,6 +125,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 6
|
|
|
%setup -q -T -D -a 7
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE5}
|
|
|
+ %{l_prefix}/bin/unzip -q -x %{SOURCE8}
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -131,7 +139,8 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dol \
|
|
|
$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/ie7 \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/toolman
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -156,6 +165,9 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
os3grid/os3grid.css os3grid/os3grid.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/os3grid/
|
|
|
+ %{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 dhtml.txt} \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/README
|