- update to 5.6, patch 20070106

This commit is contained in:
Miroslav Lichvar 2007-01-10 16:13:34 +00:00
parent c27798dfe4
commit b8d7fc0cb2
3 changed files with 27 additions and 19 deletions

View File

@ -1,3 +1,2 @@
ncurses-5.5.tar.gz
ncurses-5.5-20060909-patch.sh.bz2
ncurses-5.5-20060909-20061209.patch.bz2
ncurses-5.6.tar.gz
ncurses-5.6-20061223-20070106.patch.bz2

View File

@ -1,18 +1,17 @@
Summary: A terminal handling library
Name: ncurses
Version: 5.5
Release: 27.20061209%{?dist}
Version: 5.6
Release: 1.20070106%{?dist}
License: distributable
Group: System Environment/Libraries
URL: http://invisible-island.net/ncurses/ncurses.html
Source0: ftp://invisible-island.net/ncurses/ncurses-%{version}.tar.gz
Source3: ncurses-resetall.sh
Patch1: ftp://invisible-island.net/ncurses/5.5/ncurses-5.5-20060909-patch.sh.bz2
Patch2: ncurses-5.5-20060909-20061209.patch.bz2
Patch1: ncurses-5.6-20061223-20070106.patch.bz2
Patch6: ncurses-5.5-20061209-tgetent.patch
Patch7: ncurses-5.5-20061209-largetables.patch
Patch7: ncurses-5.6-20070106-staticprogs.patch
Patch8: ncurses-5.5-20061209-config.patch
Patch9: ncurses-5.5-liblinks.patch
Patch10: ncurses-5.5-20061209-xterm.patch
@ -50,10 +49,9 @@ Use the following compiler flags to build against the ncurses library:
%setup -q
%patch1 -p1
%patch2 -p1
%patch6 -p1 -b .tgetent
%patch7 -p1 -b .largetables
%patch7 -p1 -b .staticprogs
%patch8 -p1 -b .config
%patch9 -p1 -b .liblinks
%patch10 -p1 -b .xterm
@ -67,26 +65,35 @@ Use the following compiler flags to build against the ncurses library:
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo:%{rootdatadir}/terminfo \\\
--includedir=%{_includedir}/ncursesw \\\
--enable-overwrite \\\
--without-progs \\\
--with-chtype=long
mkdir narrowc widec
mkdir narrowc widec staticprogs
cd narrowc
ln -s ../configure .
%configure %{ncurses_options}
make %{?_smp_mflags}
make %{?_smp_mflags} libs
cd ../widec
ln -s ../configure .
%configure %{ncurses_options} --enable-widec
make %{?_smp_mflags}
make %{?_smp_mflags} libs
cd ../staticprogs
ln -s ../configure .
%configure %{ncurses_options} --with-progs
make %{?_smp_mflags} libs
cp -a ../narrowc/lib/libncurses.so* lib
make %{?_smp_mflags} -C progs
make %{?_smp_mflags} -C tack
cd ..
%install
rm -rf ${RPM_BUILD_ROOT}
make -C narrowc install
make -C widec install
make -C narrowc install.progs
make -C narrowc install.libs
make -C widec install.{libs,includes,man}
make -C staticprogs install.{progs,tack,data}
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*.*
chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/lib*.a
@ -180,6 +187,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Wed Jan 10 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.6-1.20070106
- update to 5.6, patch 20070106
* Mon Dec 11 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.5-27.20061209
- update to patch 20061209
- strip large tables from shared libraries, reduce number of relocations

View File

@ -1,3 +1,2 @@
e73c1ac10b4bfc46db43b2ddfd6244ef ncurses-5.5.tar.gz
65f5eec1980ece6ae8accfc6c9c527ac ncurses-5.5-20060909-patch.sh.bz2
3c54db0ba78467953bffa7cfc1f506e4 ncurses-5.5-20060909-20061209.patch.bz2
b6593abe1089d6aab1551c105c9300e3 ncurses-5.6.tar.gz
70d86f1dddf76c6f7cc8421c232cfa5f ncurses-5.6-20061223-20070106.patch.bz2