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          Date:   28-Jul-2003 14:08:47
  Branch: OPENPKG_1_STABLE HEAD            Handle: 2003072813084501

  Added files:              (Branch: OPENPKG_1_STABLE)
    openpkg-src/gpp         gpp.spec
  Modified files:
    openpkg-web             news.txt

  Log:
    MFC: gpp package

  Summary:
    Revision    Changes     Path
    1.2.2.1     +85 -0      openpkg-src/gpp/gpp.spec
    1.5862      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gpp/gpp.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.2.2.1 gpp.spec
  --- /dev/null 2003-07-28 14:08:47.000000000 +0200
  +++ gpp.spec  2003-07-28 14:08:47.000000000 +0200
  @@ -0,0 +1,85 @@
  +##
  +##  gpp.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:         gpp
  +Summary:      Generic Preprocessor
  +URL:          http://www.math.polytechnique.fr/cmat/auroux/prog/gpp.html
  +Vendor:       Denis Auroux
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [PLUS]
  +Group:        Text
  +License:      GPL
  +Version:      2.1
  +Release:      1.20030728
  +
  +#   list of sources
  +Source0:      
http://www.math.polytechnique.fr/cmat/auroux/prog/gpp-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    gpp is a general-purpose preprocessor with customizable syntax,
  +    suitable for a wide range of preprocessing tasks. Its independence
  +    on any programming language makes it much more versatile than cpp,
  +    while its syntax is lighter and more flexible than that of m4. gpp
  +    is targeted at all common preprocessing tasks where cpp is not
  +    suitable and where no very sophisticated features are needed. In
  +    order to be able to process equally efficiently text files or source
  +    code in a variety of languages, the syntax used by gpp is fully
  +    customizable. The handling of comments and strings is especially
  +    advanced.
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    %{l_shtool} subst \
  +        -e 's;gcc -O2 -Wall;%{l_cc} %{l_cppflags} %{l_cflags -O};' \
  +        Makefile
  +    %{l_make} %{l_mflags}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1
  +    %{l_shtool} install -c -s -m 755 \
  +        gpp $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 \
  +        gpp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
  +    %{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.5861 -r1.5862 news.txt
  --- openpkg-web/news.txt      28 Jul 2003 12:01:48 -0000      1.5861
  +++ openpkg-web/news.txt      28 Jul 2003 12:08:45 -0000      1.5862
  @@ -1,3 +1,4 @@
  +28-Jul-2003: New package: P<gpp-2.1-1.20030728>
   28-Jul-2003: Upgraded package: P<gpp-2.1-20030728>
   28-Jul-2003: New package: P<whoson-2.02a-1.20030728>
   28-Jul-2003: Upgraded package: P<whoson-2.02a-20030728>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to