Upgrade to ncurses 5.5

This commit is contained in:
praszyk 2005-12-21 12:12:25 +00:00
parent 80af675271
commit c43d812571

View File

@ -1,26 +1,19 @@
Summary: A CRT screen handling and optimization package.
Name: ncurses
Version: 5.4
Version: 5.5
%define includedirw %{_includedir}/ncursesw
Release: 23.1
Release: 1
License: distributable
Group: System Environment/Libraries
URL: http://dickey.his.com/ncurses/ncurses.html
Source0: ftp://dickey.his.com/ncurses/ncurses-%{version}.tar.bz2
Source1: patch-5.4-20041211.sh
Source2: ncurses-linux
Source3: ncurses-linux-m
Source4: ncurses-resetall.sh
Source1: ncurses-linux
Source2: ncurses-linux-m
Source3: ncurses-resetall.sh
#Source5: term.sh
Patch1: ncurses-5.4-20041218.patch
Patch2: ncurses-5.4-20041225.patch
Patch3: ncurses-5.4-20050101.patch
Patch4: ncurses-5.4-20050108.patch
Patch5: ncurses-5.4-20050115.patch
Patch6: ncurses-5.4-20050122.patch
Patch7: ncurses-5.4-xterm-kbs.patch
Patch8: ncurses-5.4-filter.patch
Patch9: ncurses-5.4-endwinfilter.patch
Patch1: ncurses-5.4-xterm-kbs.patch
Patch2: ncurses-5.4-filter.patch
Patch3: ncurses-5.4-endwinfilter.patch
BuildRequires: sharutils
BuildRoot: %{_tmppath}/%{name}-root
@ -54,17 +47,10 @@ Use the following compiler flags to build against the ncurses library:
%prep
%setup -q
/bin/bash %{SOURCE1}
%patch1 -p1 -b .20041218
%patch2 -p1 -b .20041225
%patch3 -p1 -b .20050101
%patch4 -p1 -b .20050108
%patch5 -p1 -b .20050115
%patch6 -p1 -b .20050122
%patch7 -p1 -b .xterm-kbs
%patch8 -p1 -b .filter
%patch9 -p1 -b .endwinfilter
%patch1 -p1 -b .xterm-kbs
%patch2 -p1 -b .filter
%patch3 -p1 -b .endwinfilter
%build
CFLAGS="%{optflags} -DPURE_TERMINFO -DSVR4_CURSES"
@ -115,17 +101,17 @@ ln -sf libncurses.a ${RPM_BUILD_ROOT}%{_libdir}/libcurses.a
ln -sf libncursesw.a ${RPM_BUILD_ROOT}%{_libdir}/libcursesw.a
%ifarch sparc
install -c -m644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux
install -c -m644 %SOURCE3 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux-m
install -c -m644 %SOURCE1 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux
install -c -m644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux-m
%endif
install -c -m 755 %{SOURCE4} ${RPM_BUILD_ROOT}%{_bindir}/resetall
install -c -m 755 %{SOURCE3} ${RPM_BUILD_ROOT}%{_bindir}/resetall
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d
#install -c -m 755 %{SOURCE5} ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d
rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/key_defined.3x.20030517*
rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/panel.3x.20030517*
rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
#rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/key_defined.3x.20030517*
#rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/panel.3x.20030517*
rm -Rf ${RPM_BUILD_ROOT}%{_libdir}/terminfo
%post -p /sbin/ldconfig
@ -171,6 +157,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
rm -rf ${RPM_BUILD_ROOT}
%changelog
* Wed Dec 21 2005 Petr Raszyk <praszyk@redhat.com> 5.5-1
- Upgrade to ncurses 5.5
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcj