|
|
@@ -24,11 +24,7 @@
|
|
|
##
|
|
|
|
|
|
# package versions
|
|
|
-%define V_base 5.3
|
|
|
-%define V_patch0 20040110
|
|
|
-%define V_patch1 20040117
|
|
|
-%define V_patchL %{V_patch1}
|
|
|
-%define V_patches 1
|
|
|
+%define V_base 5.4
|
|
|
|
|
|
# package information
|
|
|
Name: ncurses
|
|
|
@@ -39,13 +35,11 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Terminal
|
|
|
License: GPL
|
|
|
-Version: %{V_base}.%{V_patchL}
|
|
|
-Release: 20040118
|
|
|
+Version: %{V_base}
|
|
|
+Release: 20040125
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://invisible-island.net/ncurses/ncurses-%{V_base}.tar.gz
|
|
|
-Patch0: ftp://invisible-island.net/ncurses/%{V_base}/patch-%{V_base}-%{V_patch0}.sh
|
|
|
-Patch1: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch1}.patch.gz
|
|
|
Patch100: ncurses.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -62,18 +56,6 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n ncurses-%{V_base}
|
|
|
- ( cat %{PATCH0} >patchbase.sh
|
|
|
- %{l_shtool} subst \
|
|
|
- -e 's;gzip -dc;%{l_gzip} -dc;' \
|
|
|
- -e 's;patch -p1;%{l_patch} -p1;' \
|
|
|
- patchbase.sh
|
|
|
- sh patchbase.sh
|
|
|
- ) || exit $?
|
|
|
- for patchfile in \
|
|
|
- %{expand:%(i=1; while [ $i -le %{V_patches} ]; do %{l_shtool} echo -n " %%{PATCH$i}"; i=`expr $i + 1`; done)}
|
|
|
- do
|
|
|
- %{l_gzip} -d -c $patchfile | %{l_patch} -p1 || true
|
|
|
- done
|
|
|
%patch100 -p0
|
|
|
|
|
|
%build
|