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: 25-Jan-2003 13:56:20
Branch: HEAD Handle: 2003012512561702
Added files:
openpkg-re/vcheck vc.lha
openpkg-src/lha lha.1 lha.spec
Modified files:
openpkg-web news.txt
Log:
new package: lha 1.14i (Archiver using LZW Compression)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.lha
1.1 +137 -0 openpkg-src/lha/lha.1
1.1 +85 -0 openpkg-src/lha/lha.spec
1.3039 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.lha
============================================================================
$ cvs diff -u -r0 -r1.1 vc.lha
--- /dev/null 2003-01-25 13:56:18.000000000 +0100
+++ vc.lha 2003-01-25 13:56:18.000000000 +0100
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog lha = {
+ version = 114i
+ url = http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
+ regex = lha-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lha/lha.1
============================================================================
$ cvs diff -u -r0 -r1.1 lha.1
--- /dev/null 2003-01-25 13:56:19.000000000 +0100
+++ lha.1 2003-01-25 13:56:19.000000000 +0100
@@ -0,0 +1,137 @@
+.\" lha - LZH un-archiver
+.\" Copyright (c) 1996 Martin Schulze <[EMAIL PROTECTED]>
+.\"
+.\" This manual page is free software; you can redistribute it and/or modify
+.\" it under the terms of the GNU General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or
+.\" (at your option) any later version.
+.\"
+.\" This program is distributed in the hope that it will be useful,
+.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+.\" GNU General Public License for more details.
+.\"
+.\" You should have received a copy of the GNU General Public License
+.\" along with this program; if not, write to the Free Software
+.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+.\"
+.\" This manpage is written especially for Debian GNU/Linux.
+.\"
+.\" LHarc for UNIX V 1.02 Copyright(C) 1989 Y.Tagawa
+.\" LHx for MSDOS V C2.01 Copyright(C) 1990 H.Yoshizaki
+.\" LHx(arc) for OSK V 2.01 Modified 1990 Momozou
+.\" LHa for UNIX V 1.00 Copyright(C) 1992 Masaru Oki
+.\"
+.\" Additions by Joerg Boehnke <[EMAIL PROTECTED]>
+.\"
+.TH LHA 1 "22 Sept, 1998" "Debian GNU/Linux" "Archiver"
+.SH NAME
+LHa \- LZH un-archiver
+.SH SYNOPSIS
+.B lha
+.B key
+[
+.B -
+]
+.B {axelvudmcp}
+[
+.B qvnfodizg012
+]
+[
+.B w=<dir>
+]
+.I archive_file
+[
+.I flie
+\&.\|.\|. ]
+.br
+.B lha
+.I archive_file
+.SH DESCRIPTION
+The
+.B lha
+program displays or extracts the contents of a LZH archive.
+
+For a list of commands, please refer to the executable. It will
+display a list of valid commands and modifiers if you omit any
+parameter.
+
+.TP
+commands:
+
+.B a
+Add(or replace) to archive
+
+.B x,e
+EXtract from archive
+
+.B l,v
+List / Verbose List
+
+.B u
+Update newer files to archive
+
+.B d
+Delete from archive
+
+.B m
+Move to archive (means 'ad')
+
+.B c
+re-Construct new archive
+
+.B p
+Print to STDOUT from archive
+
+.B t
+Test file CRC in archive
+
+.TP
+options:
+
+.B q
+quiet
+
+.B v
+verbose
+
+.B n
+not execute
+
+.B f
+force (over write at extract)
+
+.B t
+FILES are TEXT file
+
+.B o
+use LHarc compatible method (a/u)
+
+.B w=<dir>
+specify extract directory (x/e)
+
+.B d
+delete FILES after (a/u/c)
+
+.B i
+ignore directory path (x/e)
+
+.B z
+files not compress (a/u)
+
+.B g
+[Generic] format (for compatibility)
+
+.B 0/1/2
+header level (a/u)
+
+.B e
+TEXT code convert from/to EUC
+
+
+.SH BUGS
+
+This manpage is poor, it really should be improved, but the original
+is in Japanese.
+
+Try lha without any command line arguments to get help
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lha/lha.spec
============================================================================
$ cvs diff -u -r0 -r1.1 lha.spec
--- /dev/null 2003-01-25 13:56:19.000000000 +0100
+++ lha.spec 2003-01-25 13:56:19.000000000 +0100
@@ -0,0 +1,85 @@
+##
+## lha.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 version
+%define V_major 1
+%define V_minor 14i
+
+# package information
+Name: lha
+Summary: Archiver using LZW Compression
+URL: http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
+Vendor: Nobutaka Watazaki
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Archiver
+License: PD
+Version: %{V_major}.%{V_minor}
+Release: 20030125
+
+# list of sources
+Source0:
http://www2m.biglobe.ne.jp/~dolphin/lha/prog/lha-%{V_major}%{V_minor}.tar.gz
+Source1: lha.1
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ LHA is an archiver using LZW compression. It became popular in the
+ Amiga area. This unofficial version of LHA is based on the original
+ version 1.00. This version supports extraction & archiving using
+ -lh5- & -lh6- as well as extraction using -lh7- algorithm.
+
+%prep
+ %setup -q -n lha-%{V_major}%{V_minor}
+
+%build
+ CC="%{l_cc}"
+ OPTIMIZE="%{l_cflags -O} -DSUPPORT_LH7 -DMKSTEMP"
+ MACHINE="-DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME"
+ %{l_make} %{l_mflags} \
+ CC="$CC" OPTIMIZE="$OPTIMIZE" MACHINE="$MACHINE"
+
+%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 \
+ src/lha $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ %{SOURCE lha.1} $RPM_BUILD_ROOT%{l_prefix}/man/man1/lha.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.3038 -r1.3039 news.txt
--- openpkg-web/news.txt 24 Jan 2003 20:09:19 -0000 1.3038
+++ openpkg-web/news.txt 25 Jan 2003 12:56:18 -0000 1.3039
@@ -1,3 +1,4 @@
+25-Jan-2003: New package: P<lha-1.14i-20030125>
24-Jan-2003: Upgraded package: P<as-gui-0.6.01-20030124>
24-Jan-2003: Upgraded package: P<unixodbc-2.2.4-20030124>
24-Jan-2003: Upgraded package: P<postfix-2.0.3-20030124>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]