فهرست منبع

shrink jQuery stuff (one needs jQuery SVN today for better getting the extensions anyway)

Ralf S. Engelschall 18 سال پیش
والد
کامیت
1db18d0259
2فایلهای تغییر یافته به همراه8 افزوده شده و 122 حذف شده
  1. 7 112
      dhtml/dhtml.spec
  2. 1 10
      dhtml/dhtml.txt

+ 7 - 112
dhtml/dhtml.spec

@@ -64,17 +64,6 @@
 %define       V_dwt                      0.2
 %define       V_jquery                   1.1.4
 %define       V_jquery_interface         1.2
-%define       V_jquery_form              1.0.3
-%define       V_jquery_dimensions        20070228
-%define       V_jquery_metadata          20070206
-%define       V_jquery_highlightfade     0.7
-%define       V_jquery_shortkeys         20070207
-%define       V_jquery_moreselectors     20060906
-%define       V_jquery_F                 20061121
-%define       V_jquery_cookie            20070207
-%define       V_jquery_create            20070207
-%define       V_jquery_array             20070207
-%define       V_jquery_easing            1.1
 %define       V_excanvas                 20070824
 %define       V_oat                      2.6
 
@@ -89,7 +78,7 @@ Class:        BASE
 Group:        HTML
 License:      Open Source
 Version:      0
-Release:      20070824
+Release:      20070907
 
 #   list of sources
 Source0:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/prototype-%{V_prototype}.js
@@ -133,20 +122,9 @@ Source37:     http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip
 Source38:     http://switch.dl.sourceforge.net/dwt/dwt-%{V_dwt}.tar.gz
 Source39:     http://jqueryjs.googlecode.com/files/jquery-%{V_jquery}.pack.js
 Source40:     http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip
-Source41:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-form-%{V_jquery_form}.js
-Source42:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-dimensions-%{V_jquery_dimensions}.js
-Source43:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-metadata-%{V_jquery_metadata}.js
-Source44:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-highlightfade-%{V_jquery_highlightfade}.js
-Source45:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-shortkeys-%{V_jquery_shortkeys}.js
-Source46:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-moreselectors-%{V_jquery_moreselectors}.js
-Source47:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-F-%{V_jquery_F}.js
-Source48:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-cookie-%{V_jquery_cookie}.js
-Source49:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-create-%{V_jquery_create}.js
-Source50:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-array-%{V_jquery_array}.js
-Source51:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/jquery-easing-%{V_jquery_easing}.js
-Source52:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js
-Source53:     http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz
-Source54:     dhtml.txt
+Source41:     ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/excanvas-%{V_excanvas}.js
+Source42:     http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz
+Source43:     dhtml.txt
 
 #   build information
 Prefix:       %{l_prefix}
@@ -367,56 +345,6 @@ AutoReqProv:  no
         url       = http://interface.eyecon.ro/download
         regex     = interface_(__VER__)\.zip
     }
-    prog dhtml:jquery-form = {
-        version   = %{V_jquery_form}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-form-(__VER__)\.js
-    }
-    prog dhtml:jquery-dimensions = {
-        version   = %{V_jquery_dimensions}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-dimensions-(__VER__)\.js
-    }
-    prog dhtml:jquery-metadata = {
-        version   = %{V_jquery_metadata}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-metadata-(__VER__)\.js
-    }
-    prog dhtml:jquery-highlightfade = {
-        version   = %{V_jquery_highlightfade}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-highlightfade-(__VER__)\.js
-    }
-    prog dhtml:jquery-shortkeys = {
-        version   = %{V_jquery_shortkeys}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-shortkeys-(__VER__)\.js
-    }
-    prog dhtml:jquery-moreselectors = {
-        version   = %{V_jquery_moreselectors}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-moreselectors-(__VER__)\.js
-    }
-    prog dhtml:jquery-F = {
-        version   = %{V_jquery_F}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-F-(__VER__)\.js
-    }
-    prog dhtml:jquery-cookie = {
-        version   = %{V_jquery_cookie}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-cookie-(__VER__)\.js
-    }
-    prog dhtml:jquery-create = {
-        version   = %{V_jquery_create}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-create-(__VER__)\.js
-    }
-    prog dhtml:jquery-array = {
-        version   = %{V_jquery_array}
-        url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
-        regex     = jquery-array-(__VER__)\.js
-    }
     prog dhtml:excanvas = {
         version   = %{V_excanvas}
         url       = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/
@@ -465,7 +393,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/unzip -q -x %{SOURCE37}
     %setup -q -T -D -a 38
     %{l_prefix}/bin/unzip -q -x %{SOURCE40}
-    %setup -q -T -D -a 53
+    %setup -q -T -D -a 42
 
 %build
 
@@ -500,7 +428,7 @@ AutoReqProv:  no
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochikit \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin \
+        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat
     %{l_shtool} install -c -m 644 \
@@ -623,40 +551,7 @@ AutoReqProv:  no
         %{SOURCE jquery-%{V_jquery}.pack.js} \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery.js
     cp  "interface %{V_jquery_interface}/interface.js" \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-form-%{V_jquery_form}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/form.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-dimensions-%{V_jquery_dimensions}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/dimensions.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-metadata-%{V_jquery_metadata}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/metadata.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-highlightfade-%{V_jquery_highlightfade}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/highlightfade.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-shortkeys-%{V_jquery_shortkeys}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/shortkeys.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-moreselectors-%{V_jquery_moreselectors}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/moreselectors.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-F-%{V_jquery_F}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/F.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-cookie-%{V_jquery_cookie}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/cookie.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-create-%{V_jquery_create}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/create.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-array-%{V_jquery_array}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/array.js
-    %{l_shtool} install -c -m 644 \
-        %{SOURCE jquery-easing-%{V_jquery_easing}.js} \
-        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin/easing.js
+        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/jquery-interface.js
     %{l_shtool} install -c -m 644 \
         %{SOURCE excanvas-%{V_excanvas}.js} \
         $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js

+ 1 - 10
dhtml/dhtml.txt

@@ -130,16 +130,7 @@ To use these JavaScript libraries...
    - jQuery
      <!-- JavaScript Toolkit (http://www.jquery.com/) -->
      <script type="text/javascript" src="/dhtml/jquery/jquery.js"></script>
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/form.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/interface.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/dimensions.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/metadata.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/highlightfade.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/shortkeys.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/moreselectors.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/F.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/create.js"></script>]
-     [<script type="text/javascript" src="/dhtml/jquery/plugin/easing.js"></script>]
+     [<script type="text/javascript" src="/dhtml/jquery/jquery-interface.js"></script>]
      [<script type="text/javascript">jQuery.noConflict(); var j$ = jQuery;</script>]
 
    - ExplorerCanvas