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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   02-Apr-2003 18:22:38
  Branch: HEAD                             Handle: 2003040217223602

  Modified files:
    openpkg-re/vcheck       vc.xemacs
    openpkg-src/xemacs      xemacs.spec
    openpkg-web             news.txt

  Log:
    modifying package: xemacs-21.4.12 20030126 -> 20030402

  Summary:
    Revision    Changes     Path
    1.2         +5  -0      openpkg-re/vcheck/vc.xemacs
    1.3         +32 -5      openpkg-src/xemacs/xemacs.spec
    1.3930      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.xemacs
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 vc.xemacs
  --- openpkg-re/vcheck/vc.xemacs       26 Jan 2003 12:04:59 -0000      1.1
  +++ openpkg-re/vcheck/vc.xemacs       2 Apr 2003 16:22:36 -0000       1.2
  @@ -6,4 +6,9 @@
     url       = ftp://ftp.xemacs.org/pub/xemacs/stable/
     regex     = xemacs-(__VER__)\.tar\.gz
   }
  +prog xemacs:sumo = {
  +  version   = 2003-02-05
  +  url       = ftp://ftp.xemacs.org/pub/xemacs/packages/
  +  regex     = xemacs-sumo-([\d-]+)\.tar\.bz2
  +}
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/xemacs/xemacs.spec
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 xemacs.spec
  --- openpkg-src/xemacs/xemacs.spec    31 Jan 2003 12:26:26 -0000      1.2
  +++ openpkg-src/xemacs/xemacs.spec    2 Apr 2003 16:22:38 -0000       1.3
  @@ -23,6 +23,10 @@
   ##  SUCH DAMAGE.
   ##
   
  +#   package versions
  +%define       V_xemacs          21.4.12
  +%define       V_sumo            2003-02-05
  +
   #   package information
   Name:         xemacs
   Summary:      The GNU EMACS Text Editor (X11/Lucid Version)
  @@ -32,16 +36,20 @@
   Distribution: OpenPKG [EVAL]
   Group:        Editor
   License:      GPL
  -Version:      21.4.12
  -Release:      20030126
  +Version:      %{V_xemacs}
  +Release:      20030402
  +
  +#   package options
  +%option       with_sumo     yes
   
   #   list of sources
  -Source0:      ftp://ftp.xemacs.org/pub/xemacs/stable/xemacs-%{version}.tar.gz
  +Source0:      ftp://ftp.xemacs.org/pub/xemacs/stable/xemacs-%{V_xemacs}.tar.gz
  +Source1:      ftp://ftp.xemacs.org/pub/xemacs/packages/xemacs-sumo-%{V_sumo}.tar.bz2
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, ncurses, gtk, jpeg, png, zlib, 
tiff, db, xpm, make
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, ncurses, gtk, jpeg, png, zlib, 
tiff, db, xpm, make, tar, bzip2
   PreReq:       OpenPKG, openpkg >= 20030103, X11, ncurses
   AutoReq:      no
   AutoReqProv:  no
  @@ -50,9 +58,13 @@
       The popular GNU EMACS text editor (X11/Lucid Version).
   
   %prep
  -    %setup -q
  +    %setup0 -q
   
   %build
  +    PACKAGE_PATH=""
  +    for i in xemacs mule site; do
  +        PACKAGE_PATH="${PACKAGE_PATH}::%{l_prefix}/lib/xemacs/${i}-packages"
  +    done
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       CPPFLAGS="%{l_cppflags tiff}" \
  @@ -63,6 +75,7 @@
           --with-x \
           --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
           --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
  +        --package-path="$PACKAGE_PATH" \
           --site-includes=%{l_prefix}/include \
           --site-libraries=%{l_prefix}/lib \
           --with-site-lisp \
  @@ -86,6 +99,20 @@
          $RPM_BUILD_ROOT%{l_prefix}/bin/xemacs
       mv $RPM_BUILD_ROOT%{l_prefix}/lib/xemacs-%{version}/info \
          $RPM_BUILD_ROOT%{l_prefix}/info
  +
  +    #   create directories for additional packages
  +    for i in xemacs mule site; do
  +        %{l_shtool} mkdir -f -p -m 755 \
  +            $RPM_BUILD_ROOT/%{l_prefix}/lib/xemacs/${i}-packages
  +    done
  +
  +%if "%{with_sumo}" == "yes"
  +    #   install optional sumo package cluster
  +    ( cd $RPM_BUILD_ROOT/%{l_prefix}/lib/xemacs
  +      %{l_bzip2} -dc %{SOURCE xemacs-sumo-%{V_sumo}.tar.bz2} | %{l_tar} -xvf -
  +    )
  +%endif
  +
       rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3929 -r1.3930 news.txt
  --- openpkg-web/news.txt      2 Apr 2003 15:59:58 -0000       1.3929
  +++ openpkg-web/news.txt      2 Apr 2003 16:22:37 -0000       1.3930
  @@ -1,3 +1,4 @@
  +02-Apr-2003: Upgraded package: P<xemacs-21.4.12-20030402>
   02-Apr-2003: Upgraded package: P<postfix-2.0.7-20030402>
   02-Apr-2003: Upgraded package: P<ksh-20021221-20030117>
   02-Apr-2003: Upgraded package: P<rt-3.0.0-20030402>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to