Browse Source

add one additional cool JavaScript library

Ralf S. Engelschall 20 years ago
parent
commit
0fdd6939f4
1 changed files with 14 additions and 3 deletions
  1. 14 3
      dhtml/dhtml.spec

+ 14 - 3
dhtml/dhtml.spec

@@ -53,6 +53,7 @@
 %define       V_jsan_httpquery           0.03
 %define       V_jsan_csschange           0.02
 %define       V_jsan_display             0.06
+%define       V_jsolait                  2006-01-09
 
 #   package information
 Name:         dhtml
@@ -65,7 +66,7 @@ Class:        EVAL
 Group:        Web
 License:      Open Source
 Version:      20060204
-Release:      20060204
+Release:      20060207
 
 #   list of sources
 Source0:      http://prototype.conio.net/dist/prototype-%{V_prototype}.tar.gz
@@ -98,7 +99,8 @@ Source26:     http://openjsan.org/dist/b/bu/burak/HTTP.Cookies-%{V_jsan_httpcook
 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
+Source30:     http://jsolait.net/download/jsolait.%{V_jsolait}.small.zip
+Source31:     dhtml.txt
 
 #   build information
 Prefix:       %{l_prefix}
@@ -264,6 +266,11 @@ AutoReqProv:  no
         url       = http://openjsan.org/dist/a/ad/adamk/
         regex     = Display-(__VER__)\.tar\.gz
     }
+    prog dhtml:jsolait = {
+        version   = %{V_jsolait}
+        url       = http://jsolait.net/download/
+        regex     = jsolait\.(__VER__)\.small\.zip
+    }
 
 %prep
     %setup -q -c
@@ -292,6 +299,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 29
     %{l_prefix}/bin/unzip -q -x %{SOURCE6}
     %{l_prefix}/bin/unzip -q -x %{SOURCE9}
+    %{l_prefix}/bin/unzip -q -x %{SOURCE30}
 
 %build
 
@@ -316,7 +324,8 @@ AutoReqProv:  no
         $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
+        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/CSS \
+        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait
     %{l_shtool} install -c -m 644 \
         prototype-%{V_prototype}/dist/*.js \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
@@ -407,6 +416,8 @@ AutoReqProv:  no
     %{l_shtool} install -c -m 644 \
         Display-%{V_jsan_display}/lib/*.js \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsan/
+    cp -rp jsolait/* \
+        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jsolait/
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files