|
|
@@ -23,6 +23,11 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+%define V_zip_here 2.3
|
|
|
+%define V_zip_real 23
|
|
|
+%define V_unzip_here 5.50
|
|
|
+%define V_unzip_real 550
|
|
|
+
|
|
|
# package information
|
|
|
Name: infozip
|
|
|
Summary: Un-/Packing Tools for [PK]ZIP Files
|
|
|
@@ -32,12 +37,12 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [REL]
|
|
|
Group: Archiver
|
|
|
License: BSD
|
|
|
-Version: 2.3
|
|
|
-Release: 20020315
|
|
|
+Version: 20020419
|
|
|
+Release: 20020419
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: ftp://ftp.info-zip.org/pub/infozip/src/zip23.tar.gz
|
|
|
-Source1: ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz
|
|
|
+Source0: ftp://ftp.info-zip.org/pub/infozip/src/zip%{V_zip_real}.tar.gz
|
|
|
+Source1: ftp://ftp.info-zip.org/pub/infozip/src/unzip%{V_unzip_real}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -57,10 +62,10 @@ AutoReqProv: no
|
|
|
%setup1 -q -T -D -a 1
|
|
|
|
|
|
%build
|
|
|
- ( cd zip-2.3
|
|
|
+ ( cd zip-%{V_zip_here}
|
|
|
%{l_make} %{l_mflags} -f unix/Makefile generic
|
|
|
)
|
|
|
- ( cd unzip-5.42
|
|
|
+ ( cd unzip-%{V_unzip_here}
|
|
|
os=generic
|
|
|
case "%{l_target}" in
|
|
|
*-linux* ) os=linux_noasm ;;
|
|
|
@@ -73,12 +78,12 @@ AutoReqProv: no
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}
|
|
|
- ( cd zip-2.3
|
|
|
+ ( cd zip-%{V_zip_here}
|
|
|
%{l_make} %{l_mflags} -f unix/Makefile install \
|
|
|
prefix=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
INSTALL_D="%{l_shtool} mkdir -f -p -m 755"
|
|
|
)
|
|
|
- ( cd unzip-5.42
|
|
|
+ ( cd unzip-%{V_unzip_here}
|
|
|
%{l_make} %{l_mflags} -f unix/Makefile install \
|
|
|
prefix=$RPM_BUILD_ROOT%{l_prefix} \
|
|
|
INSTALL_D="%{l_shtool} mkdir -f -p -m 755"
|