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                      Date:   16-Jan-2005 11:33:19
  Branch: HEAD                             Handle: 2005011610331900

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

  Log:
    new package: arj 3.10.21 (Archiver for ARJ Format Files)

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

  patch -p0 <<'@@ .'
  Index: openpkg-src/arj/arj.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.1 arj.patch
  --- /dev/null 2005-01-16 11:33:19 +0100
  +++ arj.patch 2005-01-16 11:33:19 +0100
  @@ -0,0 +1,24 @@
  +Index: fardata.c
  +--- fardata.c.orig   2004-04-17 13:39:42 +0200
  ++++ fardata.c        2005-01-16 11:30:57 +0100
  +@@ -655,7 +655,7 @@
  +     num=va_arg(args, unsigned long);
  +    else if(qualifier=='h')
  +    {
  +-#ifdef __linux__
  ++#if 1
  +     if (flags&SIGN)
  +      num=va_arg(args, int);             /* num=va_arg(args, short);      */
  +     else
  +Index: integr.c
  +--- integr.c.orig    2002-03-28 01:03:00 +0100
  ++++ integr.c 2005-01-16 11:29:53 +0100
  +@@ -5,7 +5,7 @@
  +  *
  +  */
  + 
  +-static char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
  ++char intergrity_identifier[]={0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
  +                                      0xB0, 0x04, 0xB0, 0x05,
  +                                      0x90, 0x90, 0x90, 0x90,
  +                                      0x90, 0x90, 0x90, 0x90,
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/arj/arj.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 arj.spec
  --- /dev/null 2005-01-16 11:33:19 +0100
  +++ arj.spec  2005-01-16 11:33:19 +0100
  @@ -0,0 +1,88 @@
  +##
  +##  arj.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2005 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2005 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##  Copyright (c) 2000-2005 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:         arj
  +Summary:      Archiver for ARJ Format Files
  +URL:          http://arj.sourceforge.net/
  +Vendor:       ARJ Software
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG
  +Class:        EVAL
  +Group:        Archiver
  +License:      Open Source
  +Version:      3.10.21
  +Release:      20050116
  +
  +#   list of sources
  +Source0:      http://testcase.newmail.ru/files/arj-%{version}.tar.gz
  +Patch0:       arj.patch
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, make
  +PreReq:       OpenPKG, openpkg >= 20040130
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    This is the official packing tool for ARJ format files.
  +
  +%track
  +    prog arj = {
  +        version   = %{version}
  +        url       = http://arj.sourceforge.net/
  +        regex     = arj-(__VER__)\.tar\.gz
  +    }
  +
  +%prep
  +    %setup -q
  +    %patch -p0
  +
  +%build
  +    ( cd gnu
  +      %{l_prefix}/bin/autoconf
  +      CC="%{l_cc}" \
  +      CFLAGS="%{l_cflags -O}" \
  +      CPPFLAGS="%{l_cppflags}" \
  +      LDFLAGS="%{l_ldflags}" \
  +      ./configure \
  +          --prefix=%{l_prefix}
  +    ) || exit $?
  +    %{l_make} %{l_mflags} prepare
  +    %{l_make} %{l_mflags}
  +
  +%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
  +    %{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