|
|
@@ -23,27 +23,36 @@
|
|
|
##
|
|
|
|
|
|
# package version
|
|
|
-%define V_prototype 1.4.0
|
|
|
-%define V_prototype_snap 1.4.20051216
|
|
|
-%define V_scriptaculous 1.5.1
|
|
|
-%define V_rico 1.1.0
|
|
|
-%define V_mktree 20051017
|
|
|
-%define V_dol 20050215
|
|
|
-%define V_ie7 0_9
|
|
|
-%define V_tinymce 2_0_2
|
|
|
-%define V_os3grid 0.6
|
|
|
-%define V_toolman 0.2
|
|
|
-%define V_behaviour 1.1
|
|
|
-%define V_wikiwyg 0.12
|
|
|
-%define V_jsan 0.10
|
|
|
-%define V_jsan_digestmd5 0.01
|
|
|
-%define V_jsan_listutils 0.03
|
|
|
-%define V_jsan_domevents 0.02
|
|
|
-%define V_jsan_domutils 0.02
|
|
|
-%define V_jsan_domelement 0.02
|
|
|
-%define V_jsan_dominsert 0.02
|
|
|
-%define V_jsan_functionbind 0.02
|
|
|
-%define V_jsan_filebasename 0.03
|
|
|
+%define V_prototype 1.4.0
|
|
|
+%define V_prototype_snap 1.4.20051216
|
|
|
+%define V_scriptaculous 1.5.1
|
|
|
+%define V_rico 1.1.0
|
|
|
+%define V_mktree 20051017
|
|
|
+%define V_dol 20050215
|
|
|
+%define V_ie7 0_9
|
|
|
+%define V_tinymce 2_0_2
|
|
|
+%define V_os3grid 0.6
|
|
|
+%define V_toolman 0.2
|
|
|
+%define V_behaviour 1.1
|
|
|
+%define V_wikiwyg 0.12
|
|
|
+%define V_jsan 0.10
|
|
|
+%define V_jsan_digestmd5 0.01
|
|
|
+%define V_jsan_listutils 0.03
|
|
|
+%define V_jsan_domevents 0.02
|
|
|
+%define V_jsan_domutils 0.02
|
|
|
+%define V_jsan_domelement 0.02
|
|
|
+%define V_jsan_dominsert 0.02
|
|
|
+%define V_jsan_functionbind 0.02
|
|
|
+%define V_jsan_filebasename 0.03
|
|
|
+%define V_jsan_widgetsortabletable 0.15
|
|
|
+%define V_jsan_widgetselect 0.01
|
|
|
+%define V_jsan_jsmodule 0.11
|
|
|
+%define V_jsan_httprequest 0.03
|
|
|
+%define V_jsan_httppush 0.04
|
|
|
+%define V_jsan_httpcookies 1.01
|
|
|
+%define V_jsan_httpquery 0.03
|
|
|
+%define V_jsan_csschange 0.02
|
|
|
+%define V_jsan_display 0.06
|
|
|
|
|
|
# package information
|
|
|
Name: dhtml
|
|
|
@@ -55,8 +64,8 @@ Distribution: OpenPKG
|
|
|
Class: EVAL
|
|
|
Group: Web
|
|
|
License: Open Source
|
|
|
-Version: 20060124
|
|
|
-Release: 20060124
|
|
|
+Version: 20060204
|
|
|
+Release: 20060204
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
|
|
|
@@ -80,7 +89,16 @@ Source17: http://openjsan.org/dist/r/rk/rkinyon/DOM-Element-%{V_jsan_domelem
|
|
|
Source18: http://openjsan.org/dist/r/rk/rkinyon/DOM-Insert-%{V_jsan_dominsert}.tar.gz
|
|
|
Source19: http://openjsan.org/dist/r/rk/rkinyon/Function-bind-%{V_jsan_functionbind}.tar.gz
|
|
|
Source20: http://openjsan.org/dist/l/le/lecar_red/File.Basename-%{V_jsan_filebasename}.tar.gz
|
|
|
-Source21: dhtml.txt
|
|
|
+Source21: http://openjsan.org/dist/a/au/autarch/Widget.SortableTable-%{V_jsan_widgetsortabletable}.tar.gz
|
|
|
+Source22: http://openjsan.org/dist/t/th/thilo/Widget.Select-%{V_jsan_widgetselect}.tar.gz
|
|
|
+Source23: http://openjsan.org/dist/a/ad/adurdin/JSModule-%{V_jsan_jsmodule}.tar.gz
|
|
|
+Source24: http://openjsan.org/dist/r/rk/rkinyon/HTTP-Request-%{V_jsan_httprequest}.tar.gz
|
|
|
+Source25: http://openjsan.org/dist/f/fu/fuzzynerd/HTTP.Push-%{V_jsan_httppush}.tar.gz
|
|
|
+Source26: http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcookies}.tar.gz
|
|
|
+Source27: http://openjsan.org/dist/t/th/theory/HTTP.Query-%{V_jsan_httpquery}.tar.gz
|
|
|
+Source28: http://openjsan.org/dist/t/ty/typester/CSS.Change-%{V_jsan_csschange}.tar.gz
|
|
|
+Source29: http://openjsan.org/dist/a/ad/adamk/Display-%{V_jsan_display}.tar.gz
|
|
|
+Source30: dhtml.txt
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -173,23 +191,23 @@ AutoReqProv: no
|
|
|
}
|
|
|
prog dhtml:jsan-domevents = {
|
|
|
version = %{V_jsan_domevents}
|
|
|
- url = http://openjsan.org/dist/p/pr/prefiks/
|
|
|
+ url = http://openjsan.org/dist/g/go/goflyapig/
|
|
|
regex = DOM\.Events-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
prog dhtml:jsan-domutils = {
|
|
|
version = %{V_jsan_domutils}
|
|
|
url = http://openjsan.org/dist/r/rk/rkinyon/
|
|
|
- regex = DOM\.Utils-(__VER__)\.tar\.gz
|
|
|
+ regex = DOM-Utils-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
prog dhtml:jsan-domelement = {
|
|
|
version = %{V_jsan_domelement}
|
|
|
url = http://openjsan.org/dist/r/rk/rkinyon/
|
|
|
- regex = DOM\.Element-(__VER__)\.tar\.gz
|
|
|
+ regex = DOM-Element-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
prog dhtml:jsan-dominsert = {
|
|
|
version = %{V_jsan_dominsert}
|
|
|
url = http://openjsan.org/dist/r/rk/rkinyon/
|
|
|
- regex = DOM\.Insert-(__VER__)\.tar\.gz
|
|
|
+ regex = DOM-Insert-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
prog dhtml:jsan-functionbind = {
|
|
|
version = %{V_jsan_functionbind}
|
|
|
@@ -201,6 +219,51 @@ AutoReqProv: no
|
|
|
url = http://openjsan.org/dist/l/le/lecar_red/
|
|
|
regex = File\.Basename-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog dhtml:jsan-widgetsortabletable = {
|
|
|
+ version = %{V_jsan_widgetsortabletable}
|
|
|
+ url = http://openjsan.org/dist/a/au/autarch/
|
|
|
+ regex = Widget\.SortableTable-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-widgetselect = {
|
|
|
+ version = %{V_jsan_widgetselect}
|
|
|
+ url = http://openjsan.org/dist/t/th/thilo/
|
|
|
+ regex = Widget\.Select-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-jsmodule = {
|
|
|
+ version = %{V_jsan_jsmodule}
|
|
|
+ url = http://openjsan.org/dist/a/ad/adurdin/
|
|
|
+ regex = JSModule-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-httprequest = {
|
|
|
+ version = %{V_jsan_httprequest}
|
|
|
+ url = http://openjsan.org/dist/r/rk/rkinyon/
|
|
|
+ regex = HTTP-Request-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-httppush = {
|
|
|
+ version = %{V_jsan_httppush}
|
|
|
+ url = http://openjsan.org/dist/f/fu/fuzzynerd/
|
|
|
+ regex = HTTP\.Push-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-httpcookies = {
|
|
|
+ version = %{V_jsan_httpcookies}
|
|
|
+ url = http://openjsan.org/dist/b/bu/burak/
|
|
|
+ regex = HTTP\.Cookies-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-httpquery = {
|
|
|
+ version = %{V_jsan_httpquery}
|
|
|
+ url = http://openjsan.org/dist/t/th/theory/
|
|
|
+ regex = HTTP\.Query-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-csschange = {
|
|
|
+ version = %{V_jsan_csschange}
|
|
|
+ url = http://openjsan.org/dist/t/ty/typester/
|
|
|
+ regex = CSS\.Change-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog dhtml:jsan-display = {
|
|
|
+ version = %{V_jsan_display}
|
|
|
+ url = http://openjsan.org/dist/a/ad/adamk/
|
|
|
+ regex = Display-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -218,6 +281,15 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 18
|
|
|
%setup -q -T -D -a 19
|
|
|
%setup -q -T -D -a 20
|
|
|
+ %setup -q -T -D -a 21
|
|
|
+ %setup -q -T -D -a 22
|
|
|
+ %setup -q -T -D -a 23
|
|
|
+ %setup -q -T -D -a 24
|
|
|
+ %setup -q -T -D -a 25
|
|
|
+ %setup -q -T -D -a 26
|
|
|
+ %setup -q -T -D -a 27
|
|
|
+ %setup -q -T -D -a 28
|
|
|
+ %setup -q -T -D -a 29
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE6}
|
|
|
%{l_prefix}/bin/unzip -q -x %{SOURCE9}
|
|
|
|
|
|
@@ -241,7 +313,10 @@ AutoReqProv: no
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/List \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/DOM \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/File \
|
|
|
- $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
prototype-%{V_prototype}/dist/*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
|
|
|
@@ -289,6 +364,11 @@ AutoReqProv: no
|
|
|
-e "s;lib;/dhtml/jsan;" \
|
|
|
JSAN-%{V_jsan}/doc/text/JSAN.txt JSAN-%{V_jsan}/lib/JSAN.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ -e 's;\(includePaths = ..\)\(..\);\1/dhtml/jsan\2;' \
|
|
|
+ JSModule-%{V_jsan_jsmodule}/doc/JSModule.rst \
|
|
|
+ JSModule-%{V_jsan_jsmodule}/src/JSModule.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
Digest.MD5-%{V_jsan_digestmd5}/lib/Digest/MD5.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Digest/
|
|
|
@@ -311,6 +391,22 @@ AutoReqProv: no
|
|
|
%{l_shtool} install -c -m 644 \
|
|
|
Function-bind-%{V_jsan_functionbind}/lib/Function/bind*.js \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Function/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ HTTP-Request-%{V_jsan_httprequest}/lib/HTTP/*.js \
|
|
|
+ HTTP.Push-%{V_jsan_httppush}/lib/HTTP/*.js \
|
|
|
+ HTTP.Cookies-%{V_jsan_httpcookies}/lib/HTTP/*.js \
|
|
|
+ HTTP.Query-%{V_jsan_httpquery}/lib/HTTP/*.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/HTTP/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ Widget.SortableTable-%{V_jsan_widgetsortabletable}/lib/Widget/*.js \
|
|
|
+ Widget.Select-%{V_jsan_widgetselect}/lib/Widget/*.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/Widget/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ CSS.Change-%{V_jsan_csschange}/lib/CSS/*.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS/
|
|
|
+ %{l_shtool} install -c -m 644 \
|
|
|
+ Display-%{V_jsan_display}/lib/*.js \
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
%files -f files
|