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:   27-Oct-2007 20:18:05
  Branch: HEAD                             Handle: 2007102719180203

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

  Log:
    add ExtJS

  Summary:
    Revision    Changes     Path
    1.110       +21 -3      openpkg-src/dhtml/dhtml.spec
    1.17        +10 -0      openpkg-src/dhtml/dhtml.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/dhtml/dhtml.spec
  ============================================================================
  $ cvs diff -u -r1.109 -r1.110 dhtml.spec
  --- openpkg-src/dhtml/dhtml.spec      20 Sep 2007 07:28:10 -0000      1.109
  +++ openpkg-src/dhtml/dhtml.spec      27 Oct 2007 18:18:02 -0000      1.110
  @@ -66,6 +66,7 @@
   %define       V_jquery_interface         1.2
   %define       V_excanvas                 20070824
   %define       V_oat                      2.6
  +%define       V_extjs                    2.0-beta1
   
   #   package information
   Name:         dhtml
  @@ -78,7 +79,7 @@
   Group:        HTML
   License:      Open Source
   Version:      0
  -Release:      20070920
  +Release:      20071027
   
   #   list of sources
   Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/dhtml/prototype-%{V_prototype}.js
  @@ -124,7 +125,8 @@
   Source40:     
http://interface.eyecon.ro/interface/interface_%{V_jquery_interface}.zip
   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
  +Source43:     http://extjs.com/deploy/ext-%{V_extjs}.zip
  +Source44:     dhtml.txt
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -355,6 +357,11 @@
           url       = http://prdownloads.sourceforge.net/oat/
           regex     = oat-(__VER__)\.tar\.gz
       }
  +    prog dhtml:extjs = {
  +        version   = %{V_extjs}
  +        url       = http://extjs.com/download
  +        regex     = ext-(__VER__)\.zip
  +    }
   
   %prep
       %setup -q -c -T
  @@ -394,6 +401,7 @@
       %setup -q -T -D -a 38
       %{l_prefix}/bin/unzip -q -x %{SOURCE40}
       %setup -q -T -D -a 42
  +    %{l_prefix}/bin/unzip -q -x %{SOURCE43}
   
   %build
   
  @@ -430,7 +438,8 @@
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/dwt \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/jquery \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas \
  -        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat
  +        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ext
       %{l_shtool} install -c -m 644 \
           %{SOURCE prototype-%{V_prototype}.js} \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/prototype/
  @@ -557,6 +566,15 @@
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/excanvas/excanvas.js
       cp -rp oat-%{V_oat}/oat/*.js \
           $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat/
  +    rm -rf \
  +        ext-%{V_extjs}/docs \
  +        ext-%{V_extjs}/source \
  +        ext-%{V_extjs}/package \
  +        ext-%{V_extjs}/examples \
  +        ext-%{V_extjs}/build \
  +        ext-%{V_extjs}/[A-Z]*
  +    cp -rp ext-%{V_extjs}/* \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ext/
       %{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.16 -r1.17 dhtml.txt
  --- openpkg-src/dhtml/dhtml.txt       7 Sep 2007 09:13:41 -0000       1.16
  +++ openpkg-src/dhtml/dhtml.txt       27 Oct 2007 18:18:05 -0000      1.17
  @@ -142,3 +142,13 @@
        <script type="text/javascript">var featureList = 
["grid","pivot",barchart"];<script>
        <script type="text/javascript" src="/dhtml/oat/loader.js"><script>
   
  +   - ExtJS
  +     <!-- ExtJS JavaScript Toolkit (http://extjs.com/) -->
  +     <script type="text/javascript" 
src="/ext/adapter/ext/ext-base.js"><script>
  +     <script type="text/javascript" src="/ext/ext-all.js"><script>
  +     <!-- or via jQuery: -->
  +     <script type="text/javascript" 
src="/ext/adapter/jquery/jquery.js"><script>
  +     <script type="text/javascript" 
src="/ext/adapter/jquery/jquery-plugins.js"><script>
  +     <script type="text/javascript" 
src="/ext/adapter/jquery/ext-jquery-adapter.js"><script>
  +     <script type="text/javascript" src="/ext/ext-all.js"><script>
  +
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to