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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   25-Nov-2003 17:43:37
  Branch: HEAD                             Handle: 2003112516433205

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

  Log:
    new package: lwc 1.0 (Lightweight C++)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.lwc
    1.1         +13 -0      openpkg-src/lwc/lwc.patch
    1.1         +81 -0      openpkg-src/lwc/lwc.spec
    1.7534      +2  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.lwc
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.lwc
  --- /dev/null 2003-11-25 17:43:33.000000000 +0100
  +++ vc.lwc    2003-11-25 17:43:33.000000000 +0100
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog lwc = {
  +  version   = 1.0
  +  url       = http://students.ceid.upatras.gr/~sxanth/lwc/
  +  regex     = lwc-(__VER__)\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lwc/lwc.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 lwc.patch
  --- /dev/null 2003-11-25 17:43:37.000000000 +0100
  +++ lwc.patch 2003-11-25 17:43:37.000000000 +0100
  @@ -0,0 +1,13 @@
  +Index: global.h
  +--- global.h.orig    2003-11-24 23:50:23.000000000 +0100
  ++++ global.h 2003-11-25 17:38:30.000000000 +0100
  +@@ -7,8 +7,8 @@
  + #include <stdio.h>
  + #include <stdlib.h>
  + #include <string.h>
  +-#include <sys/mman.h>
  + #include <sys/types.h>
  ++#include <sys/mman.h>
  + #include <sys/stat.h>
  + #include <fcntl.h>
  + #include <unistd.h>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/lwc/lwc.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 lwc.spec
  --- /dev/null 2003-11-25 17:43:37.000000000 +0100
  +++ lwc.spec  2003-11-25 17:43:37.000000000 +0100
  @@ -0,0 +1,81 @@
  +##
  +##  lwc.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:         lwc
  +Summary:      Lightweight C++
  +URL:          http://students.ceid.upatras.gr/~sxanth/lwc/
  +Vendor:       Stelios Xanthakis
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Compiler
  +License:      Freeware
  +Version:      1.0
  +Release:      20031125
  +
  +#   list of sources
  +Source0:      http://students.ceid.upatras.gr/~sxanth/lwc/lwc-%{version}.tar.bz2
  +Patch0:       lwc.patch
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, gcc
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Lightweight C++ is a programming language that looks like C++ and
  +    is directly translated to readable C code. It supports function
  +    overloading, member functions, inheritance, polymorphism (virtual
  +    functions), multiple inheritance, virtual inheritance and pure
  +    virtual functions, constructors/destructors, new/delete, and
  +    simplistic templates.
  +
  +%prep
  +    %setup -q
  +    %patch -p0
  +
  +%build
  +    %{l_make} %{l_mflags -O} \
  +        CCC="%{l_cc} %{l_cflags -O}"
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/lwc
  +    %{l_shtool} install -c -s -m 755 \
  +        objdir/lwc $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 \
  +        doc/[0-9A-Z]* $RPM_BUILD_ROOT%{l_prefix}/share/lwc/
  +    %{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.7533 -r1.7534 news.txt
  --- openpkg-web/news.txt      25 Nov 2003 15:58:22 -0000      1.7533
  +++ openpkg-web/news.txt      25 Nov 2003 16:43:33 -0000      1.7534
  @@ -1,3 +1,5 @@
  +25-Nov-2003: New package: P<lwc-1.0-20031125>
  +25-Nov-2003: Upgraded package: P<rt-3.0.7-20031125>
   25-Nov-2003: Upgraded package: P<openssh-3.7.1p2-20031125>
   25-Nov-2003: Upgraded package: P<openldap-2.1.23-20031125>
   25-Nov-2003: Upgraded package: P<apache-1.3.29-20031125>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to