|
|
@@ -24,14 +24,8 @@
|
|
|
##
|
|
|
|
|
|
%define V_base 5.2
|
|
|
-%define V_patch0 20020427
|
|
|
-%define V_patch1 20020429
|
|
|
-%define V_patch2 20020511
|
|
|
-%define V_patch3 20020518
|
|
|
-%define V_patch4 20020525
|
|
|
-%define V_patch5 20020601
|
|
|
-%define V_patch6 20020615
|
|
|
-%define V_patchL %{V_patch6}
|
|
|
+%define V_patch0 20020622
|
|
|
+%define V_patchL %{V_patch0}
|
|
|
|
|
|
# package information
|
|
|
Name: ncurses
|
|
|
@@ -43,17 +37,12 @@ Distribution: OpenPKG [REL]
|
|
|
Group: Terminal
|
|
|
License: GPL
|
|
|
Version: %{V_base}.%{V_patchL}
|
|
|
-Release: 20020616
|
|
|
+Release: 20020624
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://dickey.his.com/ncurses/ncurses-%{V_base}.tar.gz
|
|
|
Patch0: ftp://dickey.his.com/ncurses/%{V_base}/patch-%{V_base}-%{V_patch0}.sh.gz
|
|
|
-Patch1: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch1}.patch.gz
|
|
|
-Patch2: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch2}.patch.gz
|
|
|
-Patch3: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch3}.patch.gz
|
|
|
-Patch4: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch4}.patch.gz
|
|
|
-Patch5: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch5}.patch.gz
|
|
|
-Patch6: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch6}.patch.gz
|
|
|
+#Patch1: ftp://dickey.his.com/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch1}.patch.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -71,9 +60,9 @@ AutoReqProv: no
|
|
|
%setup -q -n ncurses-%{V_base}
|
|
|
( PATH="%{l_prefix}/bin:$PATH"; export PATH;
|
|
|
%{l_gzip} -d -c %{PATCH0} | sh - )
|
|
|
- for patch in %{PATCH1} %{PATCH2} %{PATCH3} %{PATCH4} %{PATCH5} %{PATCH6}; do
|
|
|
- %{l_gzip} -d -c $patch | %{l_patch} -p1
|
|
|
- done
|
|
|
+ #for patch in %{PATCH1}; do
|
|
|
+ # %{l_gzip} -d -c $patch | %{l_patch} -p1
|
|
|
+ #done
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|