OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   07-Feb-2007 10:02:40
  Branch: HEAD                             Handle: 2007020709023900

  Modified files:
    openpkg-src/dhtml       dhtml.spec dhtml.txt

  Log:
    add the excellent jQuery toolkit and some of its plugins I found most
    interesting

  Summary:
    Revision    Changes     Path
    1.79        +129 -3     openpkg-src/dhtml/dhtml.spec
    1.13        +15 -0      openpkg-src/dhtml/dhtml.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/dhtml/dhtml.spec
  ============================================================================
  $ cvs diff -u -r1.78 -r1.79 dhtml.spec
  --- openpkg-src/dhtml/dhtml.spec      6 Feb 2007 18:51:57 -0000       1.78
  +++ openpkg-src/dhtml/dhtml.spec      7 Feb 2007 09:02:39 -0000       1.79
  @@ -63,6 +63,19 @@
   %define       V_mochikit                 1.3.1
   %define       V_ffjs                     1.1
   %define       V_dwt                      0.2
  +%define       V_jquery                   1.1.1
  +%define       V_jquery_interface         1.1.2
  +%define       V_jquery_form              1.0.3
  +%define       V_jquery_dimensions        20070206
  +%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
   
   #   package information
   Name:         dhtml
  @@ -75,7 +88,7 @@
   Group:        HTML
   License:      Open Source
   Version:      %{V_dhtml}
  -Release:      20070206
  +Release:      20070207
   
   #   list of sources
   Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/prototype-%{V_prototype}.js
  @@ -117,7 +130,20 @@
   Source36:     http://mochikit.com/dist/MochiKit-%{V_mochikit}.zip
   Source37:     http://fforw.de/static/files/ffjs-r%{V_ffjs}.zip
   Source38:     http://switch.dl.sourceforge.net/dwt/dwt-%{V_dwt}.tar.gz
  -Source39:     dhtml.txt
  +Source39:     
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/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:     dhtml.txt
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -328,6 +354,66 @@
           url       = http://prdownloads.sourceforge.net/dwt/
           regex     = dwt-(__VER__)\.tar\.gz
       }
  +    prog dhtml:jquery = {
  +        version   = %{V_jquery}
  +        url       = http://jquery.com/dev/svn/tags/
  +        regex     = tags/(\d+\.\d+\.\d+)
  +    }
  +    prog dhtml:jquery-interface = {
  +        version   = %{V_jquery_interface}
  +        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
  +    }
   
   %prep
       %setup -q -c -T
  @@ -368,6 +454,7 @@
       %{l_prefix}/bin/unzip -q -x %{SOURCE36}
       %{l_prefix}/bin/unzip -q -x %{SOURCE37}
       %setup -q -T -D -a 38
  +    %{l_prefix}/bin/unzip -q -x %{SOURCE40}
   
   %build
   
  @@ -401,7 +488,8 @@
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dojo \
           $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/dwt \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery/plugin
       %{l_shtool} install -c -m 644 \
           %{SOURCE prototype-%{V_prototype}.js} \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
  @@ -520,6 +608,44 @@
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ffjs/
       cp -rp dwt-%{V_dwt}/WebContent/* \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt/
  +    %{l_shtool} install -c -m 644 \
  +        %{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
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/dhtml/dhtml.txt
  ============================================================================
  $ cvs diff -u -r1.12 -r1.13 dhtml.txt
  --- openpkg-src/dhtml/dhtml.txt       6 Feb 2007 18:51:57 -0000       1.12
  +++ openpkg-src/dhtml/dhtml.txt       7 Feb 2007 09:02:39 -0000       1.13
  @@ -127,3 +127,18 @@
        <!-- Inline DHTML Window Toolkit (http://sourceforge.net/projects/dwt/) 
-->
        <script type="text/javascript" src="/dhtml/dwt/dwt.js"></script>
   
  +   - jQuery
  +     <!-- JavaScript Toolkit (http://www.jquery.com/) -->
  +     <script type="text/javascript" src="/jquery/jquery.js"></script>
  +     [<script type="text/javascript" src="/jquery/plugin/form.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/interface.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/dimensions.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/metadata.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/highlightfade.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/shortkeys.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/moreselectors.js"></script>]
  +     [<script type="text/javascript" src="/jquery/plugin/F.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/create.js"></script>]
  +     [<script type="text/javascript" 
src="/jquery/plugin/easing.js"></script>]
  +     [<script type="text/javascript">jQuery.noConflict(); var j$ = 
jQuery;</script>]
  +
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to