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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   12-Nov-2003 11:46:15
  Branch: HEAD                             Handle: 2003111210461302

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

  Log:
    new package: ucblogo 5.3 (Berkeley Logo interpreter)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.ucblogo
    1.1         +94 -0      openpkg-src/ucblogo/ucblogo.spec
    1.7373      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.ucblogo
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.ucblogo
  --- /dev/null 2003-11-12 11:46:13.000000000 +0100
  +++ vc.ucblogo        2003-11-12 11:46:13.000000000 +0100
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog ucblogo = {
  +  version   = 5.3
  +  url       = ftp://anarres.cs.berkeley.edu/pub/ucblogo/
  +  regex     = ucblogo-(__VER__)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ucblogo/ucblogo.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 ucblogo.spec
  --- /dev/null 2003-11-12 11:46:15.000000000 +0100
  +++ ucblogo.spec      2003-11-12 11:46:15.000000000 +0100
  @@ -0,0 +1,94 @@
  +##
  +##  ucblogo.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/>
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package information
  +Name:         ucblogo
  +Summary:      Berkeley Logo interpreter
  +URL:          http://www.cs.berkeley.edu/~bh/
  +Vendor:       Brian Harvey
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Interpreter
  +License:      GPL
  +Version:      5.3
  +Release:      20031112
  +
  +#   list of sources
  +Source0:      ftp://anarres.cs.berkeley.edu/pub/ucblogo/ucblogo-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030909, emacs, x11, make
  +PreReq:       OpenPKG, openpkg >= 20030909, emacs, x11
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Berkely Logo (ucblogo) is an interpreter for the Logo programming
  +    language. Logo is a computer programming language designed for use
  +    by learners, including children. This dialect of Logo features
  +    random-access arrays, variable number of inputs to user-defined
  +    procedures, various error handling improvements, comments and
  +    continuation lines, first-class instruction and expression
  +    templates, and macros.
  +
  +%prep
  +    %setup -q
  +    %{l_shtool} subst \
  +        -e 's;/logolib;/ucblogo;' \
  +        -e 's;/helpfiles;/share/ucblogo;' \
  +        makefile.in
  +
  +%build
  +    #   configure the package
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --with-x
  +
  +    %{l_shtool} subst -e "s;^LIBLOC.*=.*$;LIBLOC=%{l_prefix}/lib/;" makefile
  +    %{l_make} %{l_mflags} logo
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +
  +    %{l_shtool} subst -e "s;^prefix.*=.*$;prefix=$RPM_BUILD_ROOT%{l_prefix};" 
makefile
  +    %{l_shtool} subst -e "s;^LIBLOC.*=.*$;LIBLOC=$RPM_BUILD_ROOT%{l_prefix}/lib;" 
makefile
  +    %{l_make} install
  +
  +    #   FIXME these files are a chellenge for "rpmtool files"
  +    rm $RPM_BUILD_ROOT%{l_prefix}/lib/ucblogo/file\?
  +    rm $RPM_BUILD_ROOT%{l_prefix}/lib/ucblogo/\?rest
  +
  +    #   determine installation file list
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.7372 -r1.7373 news.txt
  --- openpkg-web/news.txt      12 Nov 2003 10:36:56 -0000      1.7372
  +++ openpkg-web/news.txt      12 Nov 2003 10:46:14 -0000      1.7373
  @@ -1,3 +1,4 @@
  +12-Nov-2003: New package: P<ucblogo-5.3-20031112>
   12-Nov-2003: Upgraded package: P<powerdns-2.9.12-20031112>
   11-Nov-2003: Upgraded package: P<xpdf-2.03-20031111>
   11-Nov-2003: Upgraded package: P<inn-2.4.0-20031111>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to