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 openpkg-web openpkg$ Date:   13-Jan-2003 09:36:11
  Branch: HEAD                             Handle: 2003011308360901

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

  Log:
    upgrade to new unrar 3.1.3

  Summary:
    Revision    Changes     Path
    1.2         +3  -3      openpkg-re/vcheck/vc.unrar
    1.10        +20 -23     openpkg-src/unrar/unrar.spec
    1.2680      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.unrar
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 vc.unrar
  --- openpkg-re/vcheck/vc.unrar        21 Mar 2002 10:48:17 -0000      1.1
  +++ openpkg-re/vcheck/vc.unrar        13 Jan 2003 08:36:09 -0000      1.2
  @@ -2,8 +2,8 @@
   }
   
   prog unrar = {
  -  version   = 250
  -  url       = ftp://ftp.elf.stuba.sk/pub/pc/pack/
  -  regex     = unrar(__VER__)\.zip
  +  version   = 3.1.3
  +  url       = http://www.rarlab.com/rar_add.htm
  +  regex     = unrarsrc-(__VER__)\.tar\.gz
   }
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/unrar/unrar.spec
  ============================================================================
  $ cvs diff -u -r1.9 -r1.10 unrar.spec
  --- openpkg-src/unrar/unrar.spec      3 Jan 2003 10:55:29 -0000       1.9
  +++ openpkg-src/unrar/unrar.spec      13 Jan 2003 08:36:10 -0000      1.10
  @@ -23,28 +23,25 @@
   ##  SUCH DAMAGE.
   ##
   
  -%define       V_real  2.50
  -%define       V_src   250
  -
   #   package information
   Name:         unrar
   Summary:      Extracting Tool for RAR Format Files
  -URL:          ftp://ftp.elf.stuba.sk/pub/pc/pack/
  +URL:          http://www.rarlab.com/
   Vendor:       Eugene Roshal
   Packager:     The OpenPKG Project
   Distribution: OpenPKG [PLUS]
   Group:        Archiver
   License:      freely distributable
  -Version:      %{V_real}
  -Release:      20020321
  +Version:      3.1.3
  +Release:      20030113
   
   #   list of sources
  -Source0:      ftp://ftp.elf.stuba.sk/pub/pc/pack/unrar%{V_src}.zip
  +Source0:      http://files10.rarlab.com/rar/unrarsrc-%{version}.tar.gz
   
   #   build information
   Prefix:       %{l_prefix}
   BuildRoot:    %{l_buildroot}
  -BuildPreReq:  OpenPKG, openpkg >= 20020206, infozip
  +BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc
   PreReq:       OpenPKG, openpkg >= 20020206
   AutoReq:      no
   AutoReqProv:  no
  @@ -55,26 +52,26 @@
       above.
   
   %prep
  -    (   cd $RPM_BUILD_DIR
  -        rm -rf %{name}-%{version}
  -        %{l_prefix}/bin/unzip -q %{SOURCE0}
  -    )
  +    %setup -q -n unrar
   
   %build
  -    (   cd $RPM_BUILD_DIR/%{name}-%{version}/src
  -        cflags=""
  -        case "%{l_target}" in
  -            sparc*-* ) cflags="$cflags -DNON_INTEL_BYTE_ORDER" ;;
  -        esac
  -        %{l_cc} %{l_cflags -O} $cflags -o unrar unrar.c
  -    )
  +    cxxflags="-O2"
  +    defines="-DUNRAR"
  +    case "%{l_target}" in
  +        *86*-*   ) defines="$defines -DLITTLE_ENDIAN" ;;
  +        sparc*-* ) defines="$defines -DBIG_ENDIAN" ;;
  +    esac
  +    %{l_make} %{l_mflags -O} -f makefile.unix \
  +        CXX="%{l_prefix}/bin/g++" \
  +        CXXFLAGS="$cxxflags" \
  +        DEFINES="$defines"
   
   %install
       rm -rf $RPM_BUILD_ROOT
  -    (   cd $RPM_BUILD_DIR/%{name}-%{version}/src
  -        %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin
  -        %{l_shtool} install -c -s -m 755 unrar $RPM_BUILD_ROOT%{l_prefix}/bin/
  -    )
  +    %{l_shtool} mkdir -f -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin
  +    %{l_shtool} install -c -s -m 755 \
  +        unrar $RPM_BUILD_ROOT%{l_prefix}/bin/
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.2679 -r1.2680 news.txt
  --- openpkg-web/news.txt      13 Jan 2003 08:27:47 -0000      1.2679
  +++ openpkg-web/news.txt      13 Jan 2003 08:36:09 -0000      1.2680
  @@ -1,3 +1,4 @@
  +13-Jan-2003: Upgraded package: P<unrar-3.1.3-20030113>
   13-Jan-2003: Upgraded package: P<vim-6.1.288-20030113>
   13-Jan-2003: Upgraded package: P<docbook-4.2-20030113>
   13-Jan-2003: Upgraded package: P<sdl-1.2.5-20030113>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to