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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   21-Jan-2003 13:53:08
  Branch: HEAD                             Handle: 2003012112530800

  Added files:
    openpkg-src/joe         joe.spec

  Log:
    New package: joe

  Summary:
    Revision    Changes     Path
    1.1         +88 -0      openpkg-src/joe/joe.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/joe/joe.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 joe.spec
  --- /dev/null 2003-01-21 13:53:08.000000000 +0100
  +++ joe.spec  2003-01-21 13:53:08.000000000 +0100
  @@ -0,0 +1,88 @@
  +##
  +##  joe.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 versions
  +%define       V_vp  2.9.8pre1
  +%define       V_vv  2.9.8-pre1
  +
  +#   package information
  +Name:         joe
  +Summary:      Joe's Own Editor
  +URL:          http://sourceforge.net/projects/joe-editor/
  +Vendor:       Joseph H. Allen & Marek 'Marx' Grac
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [JUNK]
  +Group:        Editor
  +License:      GPL
  +Version:      %{V_vp}
  +Release:      20030121
  +
  +#   list of sources
  +Source0:      http://osdn.dl.sourceforge.net/sourceforge/joe-editor/joe-%{V_vv}.tgz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, make, ncurses
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Joe is a professional freeware ASCII text screen editor for Unix. It
  +    makes full use of the power and versatility of UNIX, but lacks the steep
  +    learning curve and basic nonsense you have to deal with in every other
  +    Unix editor. Joe has the feel of most IBM PC text editors: The key-
  +    sequences are reminiscent of WordStar and Turbo-C. Joe is much more
  +    powerful than those editors, however. Joe has all of the features a Unix
  +    user should expect: full use of termcap/terminfo, excellent screen update
  +    optimizations (Joe is fully useable at 2400 baud) and all of the Unix-
  +    integration features of vi.
  +
  +%prep
  +    %setup -q -n joe-%{V_vv}
  +
  +%build
  +    CC="%{l_cc}" \
  +    CPPFLAGS="-I%{l_prefix}/include" \
  +    CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
  +    LDFLAGS="-L%{l_prefix}/lib" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --sysconfdir=%{l_prefix}/etc/joe
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
  +        '%config %{l_prefix}/etc/joe/*'
  +
  +%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