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

  Server: cvs.openpkg.org                  Name:   Peter Smej
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   18-Feb-2003 15:49:43
  Branch: HEAD                             Handle: 2003021814494200

  Added files:
    openpkg-src/gawk        gawk.spec

  Log:
    Reappending gawk.spec

  Summary:
    Revision    Changes     Path
    1.23        +85 -0      openpkg-src/gawk/gawk.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gawk/gawk.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.23 gawk.spec
  --- /dev/null 2003-02-18 15:49:43.000000000 +0100
  +++ gawk.spec 2003-02-18 15:49:43.000000000 +0100
  @@ -0,0 +1,85 @@
  +##
  +##  gawk.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##
  +##  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:         gawk
  +Summary:      Pattern Scanning and Processing Language
  +URL:          http://www.gnu.org/software/gawk/
  +Vendor:       Free Software Foundation
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [BASE]
  +Group:        Language
  +License:      GPL
  +Version:      3.1.1
  +Release:      20020509
  +
  +#   list of sources
  +Source0:      ftp://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20020206
  +PreReq:       OpenPKG, openpkg >= 20020206
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Gawk is the GNU Project's implementation of the AWK programming
  +    language. It conforms to the definition of the language in the POSIX
  +    1003.2 Command Language And Utilities Standard. This version in turn
  +    is based on the description in The AWK Programming Language, by Aho,
  +    Kernighan, and Weinberger, with the additional features defined in
  +    the System V Release 4 version of UNIX awk. Gawk also provides more
  +    recent Bell Labs awk extensions, and some GNU-specific extensions.
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    CC="%{l_cc}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    ./configure --prefix=$RPM_BUILD_ROOT%{l_prefix}
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/libexec
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share
  +    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/gawk-%{version}
  +    rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
  +    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/awk
  +    ln $RPM_BUILD_ROOT%{l_prefix}/bin/gawk $RPM_BUILD_ROOT%{l_prefix}/bin/awk
  +    ln $RPM_BUILD_ROOT%{l_prefix}/man/man1/gawk.1 
$RPM_BUILD_ROOT%{l_prefix}/man/man1/awk.1
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +  rm -rf $RPM_BUILD_ROOT
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to