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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   02-Apr-2006 13:28:35
  Branch: HEAD                             Handle: 2006040212283500

  Added files:
    openpkg-src/the         the.patch the.spec

  Log:
    new package: the 3.2 (The Hessling Editor (THE))

  Summary:
    Revision    Changes     Path
    1.1         +64 -0      openpkg-src/the/the.patch
    1.1         +98 -0      openpkg-src/the/the.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/the/the.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 the.patch
  --- /dev/null 2006-04-02 13:25:49 +0200
  +++ the.patch 2006-04-02 13:28:35 +0200
  @@ -0,0 +1,64 @@
  +Index: Makefile.in
  +--- Makefile.in.orig 2006-01-30 09:08:34 +0100
  ++++ Makefile.in      2006-04-02 13:22:20 +0200
  +@@ -43,7 +43,8 @@
  + THETYPE = @THETYPE@
  + 
  + INCDIR              = $(srcdir)
  +-CPPFLAGS    = -I. -I$(INCDIR) @DEFS@ @SYS_DEFS@ 
-DTHE_HOME_DIRECTORY=\"$(datadir)/THE/\"
  ++THEHOME             = $(prefix)/share/the
  ++CPPFLAGS    = -I. -I$(INCDIR) @DEFS@ @SYS_DEFS@ 
-DTHE_HOME_DIRECTORY=\"$(THEHOME)/\"
  + 
  + CCFLAGS             = -c $(CFLAGS) $(CPPFLAGS) @REXX_INCLUDES@ 
@MH_CURSES_INC@
  + 
  +@@ -278,30 +279,30 @@
  + installbase: $(THEBIN) the.man THE_Help.txt
  +     $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
  +     $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
  +-    $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/THE
  ++    $(INSTALL) -m 755 -d $(DESTDIR)$(THEHOME)
  +     $(INSTALL) -m 755 -c ./$(THEBIN)            
$(DESTDIR)$(bindir)/$(THEBIN)
  +     $(INSTALL) -m 644 -c $(srcdir)/the.1        
$(DESTDIR)$(mandir)/man1/the.1
  +-    $(INSTALL) -m 644 -c ./THE_Help.txt         
$(DESTDIR)$(datadir)/THE/THE_Help.txt
  +-    $(INSTALL) -m 644 -c $(srcdir)/append.the   
$(DESTDIR)$(datadir)/THE/append.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/comm.the     
$(DESTDIR)$(datadir)/THE/comm.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/build.the    
$(DESTDIR)$(datadir)/THE/build.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/uncomm.the   
$(DESTDIR)$(datadir)/THE/uncomm.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/total.the    
$(DESTDIR)$(datadir)/THE/total.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/match.the    
$(DESTDIR)$(datadir)/THE/match.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/rm.the       
$(DESTDIR)$(datadir)/THE/rm.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/nl.the       
$(DESTDIR)$(datadir)/THE/nl.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/words.the    
$(DESTDIR)$(datadir)/THE/words.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/l.the        
$(DESTDIR)$(datadir)/THE/l.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/compile.the  
$(DESTDIR)$(datadir)/THE/compile.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/spell.the    
$(DESTDIR)$(datadir)/THE/spell.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/demo.the     
$(DESTDIR)$(datadir)/THE/demo.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/cua.the      
$(DESTDIR)$(datadir)/THE/cua.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/config.the   
$(DESTDIR)$(datadir)/THE/config.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/tags.the     
$(DESTDIR)$(datadir)/THE/tags.the
  +-    $(INSTALL) -m 644 -c $(srcdir)/codecomp.the 
$(DESTDIR)$(datadir)/THE/codecomp.the
  ++    $(INSTALL) -m 644 -c ./THE_Help.txt         
$(DESTDIR)$(THEHOME)/THE_Help.txt
  ++    $(INSTALL) -m 644 -c $(srcdir)/append.the   
$(DESTDIR)$(THEHOME)/append.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/comm.the     
$(DESTDIR)$(THEHOME)/comm.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/build.the    
$(DESTDIR)$(THEHOME)/build.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/uncomm.the   
$(DESTDIR)$(THEHOME)/uncomm.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/total.the    
$(DESTDIR)$(THEHOME)/total.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/match.the    
$(DESTDIR)$(THEHOME)/match.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/rm.the       $(DESTDIR)$(THEHOME)/rm.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/nl.the       $(DESTDIR)$(THEHOME)/nl.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/words.the    
$(DESTDIR)$(THEHOME)/words.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/l.the        $(DESTDIR)$(THEHOME)/l.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/compile.the  
$(DESTDIR)$(THEHOME)/compile.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/spell.the    
$(DESTDIR)$(THEHOME)/spell.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/demo.the     
$(DESTDIR)$(THEHOME)/demo.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/cua.the      $(DESTDIR)$(THEHOME)/cua.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/config.the   
$(DESTDIR)$(THEHOME)/config.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/tags.the     
$(DESTDIR)$(THEHOME)/tags.the
  ++    $(INSTALL) -m 644 -c $(srcdir)/codecomp.the 
$(DESTDIR)$(THEHOME)/codecomp.the
  +     for a in $(srcdir)/*.tld; do \
  +             bn=`basename $$a`; \
  +-            $(INSTALL) -m 644 -c $$a $(DESTDIR)$(datadir)/THE/$$bn; \
  ++            $(INSTALL) -m 644 -c $$a $(DESTDIR)$(THEHOME)/$$bn; \
  +     done;
  + 
  + binary: $(BASE_BINARY)
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/the/the.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 the.spec
  --- /dev/null 2006-04-02 13:25:49 +0200
  +++ the.spec  2006-04-02 13:28:35 +0200
  @@ -0,0 +1,98 @@
  +##
  +##  the.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2006 OpenPKG Foundation e.V. <http://openpkg.net/>
  +##  Copyright (c) 2000-2006 Ralf S. Engelschall <http://engelschall.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:         the
  +Summary:      The Hessling Editor (THE)
  +URL:          http://hessling-editor.sourceforge.net/
  +Vendor:       Hessling
  +Packager:     OpenPKG
  +Distribution: OpenPKG
  +Class:        EVAL
  +Group:        Editor
  +License:      GPL
  +Version:      3.2
  +Release:      20060402
  +
  +#   list of sources
  +Source0:      
http://osdn.dl.sourceforge.net/hessling-editor/THE-%{version}.tar.gz
  +Patch0:       the.patch
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20040130
  +PreReq:       OpenPKG, openpkg >= 20040130
  +BuildPreReq:  regina
  +PreReq:       regina
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    The Hassling Editort (THE) is a powerful text editor modelled on
  +    the VM/CMS text editor XEDIT with the best features of Mansfield
  +    Software's Kedit. Like its relatives, THE uses Rexx as its
  +    macro language, which means that THE is a highly configurable
  +    and versatile editor. THE also has user-configurable syntax
  +    highlighting.
  +
  +%track
  +    prog the = {
  +        version   = %{version}
  +        url       = http://prdownloads.sourceforge.net/hessling-editor/
  +        regex     = THE-(\d+\.\d+(\.\d+)*)\.tar\.gz
  +    }
  +
  +%prep
  +    %setup -q -n THE-%{version}
  +    %patch -p0
  +
  +%build
  +    CC="%{l_cc}" \
  +    CXX="%{l_cxx}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CXXFLAGS="%{l_cxxflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --with-ncurses \
  +        --with-curseslibdir=%{l_prefix}/lib \
  +        --with-rexxlibdir=%{l_prefix}/lib \
  +        --with-rexx=regina
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +    ln  $RPM_BUILD_ROOT%{l_prefix}/bin/nthe \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/the
  +    %{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