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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   24-Oct-2003 16:29:29
  Branch: HEAD                             Handle: 2003102415292602

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

  Log:
    new package: nedit 5.3 (Nirvana Text Editor)

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-re/vcheck/vc.nedit
    1.1         +122 -0     openpkg-src/nedit/nedit.spec
    1.7155      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.nedit
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.nedit
  --- /dev/null 2003-10-24 16:29:26.000000000 +0200
  +++ vc.nedit  2003-10-24 16:29:26.000000000 +0200
  @@ -0,0 +1,11 @@
  +config = {
  +}
  +
  +prog nedit = {
  +  version   = 5.3
  +  url       = ftp://ftp.nedit.org/pub/
  +  regex     = (v\d+_\d+(_\d+)*)
  +  url       = ftp://ftp.nedit.org/pub/__NEWVER__/
  +  regex     = nedit-(__VER__)-source\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/nedit/nedit.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 nedit.spec
  --- /dev/null 2003-10-24 16:29:28.000000000 +0200
  +++ nedit.spec        2003-10-24 16:29:28.000000000 +0200
  @@ -0,0 +1,122 @@
  +##
  +##  nedit.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:         nedit
  +Summary:      Nirvana Text Editor
  +URL:          http://www.nedit.org/
  +Vendor:       Mark Edel, et al.
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [JUNK]
  +Group:        Editor
  +License:      GPL
  +Version:      5.3
  +Release:      20031024
  +
  +#   list of sources
  +Source0:      ftp://ftp.nedit.org/pub/v5_3/nedit-%{version}-source.tar.bz2
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, openmotif, make, gcc
  +PreReq:       OpenPKG, openpkg >= 20030103, X11, openmotif
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    NEdit is a multi-purpose text editor for the X Window System, which
  +    combines a standard, easy to use, graphical user interface with the
  +    thorough functionality and stability required by users who edit text
  +    eight hours a day. It provides intensive support for development in
  +    a wide variety of languages, text processors, and other tools, but
  +    at the same time can be used productively by just about anyone who
  +    needs to edit text.
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    CC="%{l_cc}"
  +    AR="ar"
  +    ARFLAGS="-urs"
  +    CFLAGS="%{l_cppflags} %{l_cflags} -I`%{l_prefix}/etc/rc --query x11_incdir`"
  +    LIBS="%{l_ldflags} -L`%{l_prefix}/etc/rc --query x11_libdir`"
  +    LIBS="$LIBS -Wl,-Bstatic -lXm"
  +    LIBS="$LIBS -Wl,-Bdynamic -lXmu -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm"
  +
  +    case "%{l_platform -t}" in
  +        *-freebsd* )
  +            CFLAGS="$CFLAGS -DUSE_DIRENT -DUSE_LPR_PRINT_CMD"
  +            ;;
  +        *-linux* )
  +            CFLAGS="$CFLAGS -DUSE_DIRENT -DUSE_LPR_PRINT_CMD"
  +            ;;
  +        *-sunos5.* )
  +            CFLAGS="$CFLAGS -DUSE_DIRENT"
  +            LIBS="$LIBS -lsocket -lnsl"
  +            ;;
  +        *)
  +            echo "Sorry, unsupported architecture '%{l_platform -t}'" |\
  +                %{l_rpmtool} msg -b -t error 1>&2
  +            exit 1
  +            ;;
  +    esac
  +
  +    MAKEFILE="makefiles/Makefile.openpkg"
  +    rm -f $MAKEFILE 2>/dev/null || true
  +    for i in CC AR ARFLAGS CFLAGS LIBS; do
  +        echo "$i=${!i}" >>$MAKEFILE
  +    done
  +    echo "include Makefile.common" >>$MAKEFILE
  +
  +    %{l_make} %{l_mflags -O} openpkg
  +
  +%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 \
  +        source/nc \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/neditc
  +    %{l_shtool} install -c -s -m 755 \
  +        source/nedit \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/
  +    %{l_shtool} install -c -m 644 \
  +        doc/nc.man \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1/neditc.1
  +    %{l_shtool} install -c -m 644 \
  +        doc/nedit.man \
  +        $RPM_BUILD_ROOT%{l_prefix}/man/man1/nedit.1
  +
  +    %{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.7154 -r1.7155 news.txt
  --- openpkg-web/news.txt      24 Oct 2003 13:15:45 -0000      1.7154
  +++ openpkg-web/news.txt      24 Oct 2003 14:29:27 -0000      1.7155
  @@ -1,3 +1,4 @@
  +24-Oct-2003: New package: P<nedit-5.3-20031024>
   24-Oct-2003: New package: P<ecartis-1.0.0.20030814-20031024>
   24-Oct-2003: New package: P<openmotif-2.2.2-20031024>
   24-Oct-2003: Upgraded package: P<orbit2-2.9.0-20031024>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to