Upgrade to ncurses 5.5
This commit is contained in:
parent
80af675271
commit
c43d812571
51
ncurses.spec
51
ncurses.spec
@ -1,26 +1,19 @@
|
|||||||
Summary: A CRT screen handling and optimization package.
|
Summary: A CRT screen handling and optimization package.
|
||||||
Name: ncurses
|
Name: ncurses
|
||||||
Version: 5.4
|
Version: 5.5
|
||||||
%define includedirw %{_includedir}/ncursesw
|
%define includedirw %{_includedir}/ncursesw
|
||||||
Release: 23.1
|
Release: 1
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://dickey.his.com/ncurses/ncurses.html
|
URL: http://dickey.his.com/ncurses/ncurses.html
|
||||||
Source0: ftp://dickey.his.com/ncurses/ncurses-%{version}.tar.bz2
|
Source0: ftp://dickey.his.com/ncurses/ncurses-%{version}.tar.bz2
|
||||||
Source1: patch-5.4-20041211.sh
|
Source1: ncurses-linux
|
||||||
Source2: ncurses-linux
|
Source2: ncurses-linux-m
|
||||||
Source3: ncurses-linux-m
|
Source3: ncurses-resetall.sh
|
||||||
Source4: ncurses-resetall.sh
|
|
||||||
#Source5: term.sh
|
#Source5: term.sh
|
||||||
Patch1: ncurses-5.4-20041218.patch
|
Patch1: ncurses-5.4-xterm-kbs.patch
|
||||||
Patch2: ncurses-5.4-20041225.patch
|
Patch2: ncurses-5.4-filter.patch
|
||||||
Patch3: ncurses-5.4-20050101.patch
|
Patch3: ncurses-5.4-endwinfilter.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
|
|
||||||
BuildRequires: sharutils
|
BuildRequires: sharutils
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
|
||||||
@ -54,17 +47,10 @@ Use the following compiler flags to build against the ncurses library:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
/bin/bash %{SOURCE1}
|
|
||||||
|
|
||||||
%patch1 -p1 -b .20041218
|
%patch1 -p1 -b .xterm-kbs
|
||||||
%patch2 -p1 -b .20041225
|
%patch2 -p1 -b .filter
|
||||||
%patch3 -p1 -b .20050101
|
%patch3 -p1 -b .endwinfilter
|
||||||
%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
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -DPURE_TERMINFO -DSVR4_CURSES"
|
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
|
ln -sf libncursesw.a ${RPM_BUILD_ROOT}%{_libdir}/libcursesw.a
|
||||||
|
|
||||||
%ifarch sparc
|
%ifarch sparc
|
||||||
install -c -m644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux
|
install -c -m644 %SOURCE1 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux
|
||||||
install -c -m644 %SOURCE3 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux-m
|
install -c -m644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/terminfo/l/linux-m
|
||||||
%endif
|
%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 -d ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d
|
||||||
#install -c -m 755 %{SOURCE5} ${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/key_defined.3x.20030517*
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/panel.3x.20030517*
|
#rm -f ${RPM_BUILD_ROOT}%{_datadir}/man/man2/panel.3x.20030517*
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
rm -Rf ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -171,6 +157,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt for new gcj
|
- rebuilt for new gcj
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user