|
|
@@ -23,17 +23,14 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+# FIXME: before 2.0 release, remove crap
|
|
|
+
|
|
|
# package versions
|
|
|
-%define V_base 5.3
|
|
|
-%define V_temp 5.4
|
|
|
+%define V_base 5.4
|
|
|
%define V_patch0 20040110
|
|
|
-%define V_patch1 20040117
|
|
|
-%define V_patch2 20040124
|
|
|
-%define V_patch3 20040125
|
|
|
-%define V_patch4 20040131
|
|
|
-%define V_patch5 20040207
|
|
|
-%define V_patchL %{V_patch5}
|
|
|
-%define V_patches 5
|
|
|
+%define V_patch1 20040207
|
|
|
+%define V_patchL %{V_patch1}
|
|
|
+%define V_patches 1
|
|
|
|
|
|
# package information
|
|
|
Name: ncurses
|
|
|
@@ -45,17 +42,14 @@ Distribution: OpenPKG
|
|
|
Class: BASE
|
|
|
Group: Terminal
|
|
|
License: GPL
|
|
|
-Version: %{V_base}.%{V_patchL}
|
|
|
-Release: 20040208
|
|
|
+# Version: %{V_base}.%{V_patchL}
|
|
|
+Version: %{V_base}
|
|
|
+Release: 20040212
|
|
|
|
|
|
# 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
|
|
|
-Patch2: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_temp}-%{V_patch2}.patch.gz
|
|
|
-Patch3: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch3}.patch.gz
|
|
|
-Patch4: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch4}.patch.gz
|
|
|
-Patch5: ftp://invisible-island.net/ncurses/%{V_base}/ncurses-%{V_base}-%{V_patch5}.patch.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
|
|
|
@@ -93,6 +87,7 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n ncurses-%{V_base}
|
|
|
+%if 0
|
|
|
( cat %{PATCH0} >patchbase.sh
|
|
|
%{l_shtool} subst \
|
|
|
-e 's;gzip -dc;%{l_gzip} -dc;' \
|
|
|
@@ -105,6 +100,7 @@ AutoReqProv: no
|
|
|
do
|
|
|
%{l_gzip} -d -c $patchfile | %{l_patch} -p1 || true
|
|
|
done
|
|
|
+%endif
|
|
|
%patch -p0 -P 100
|
|
|
|
|
|
%build
|