Summary: A CRT screen handling and optimization package. Name: ncurses Version: 5.2 %define PATCHDATE 20010623 Release: 11 License: distributable Group: System Environment/Libraries URL: http://dickey.his.com/ncurses/ncurses.html Source0: ftp://dickey.his.com/ncurses/ncurses-5.2-%{PATCHDATE}.tar.bz2 Source2: ncurses-linux Source3: ncurses-linux-m Source4: ncurses-resetall.sh Patch2: ncurses-5.0-setuid2.patch Patch3: ncurses-5.2-%{PATCHDATE}-xtermchanges.patch Patch6: ncurses-5.2-rxvt.patch Patch7: ncurses-5.2-20010407-tput-S.patch BuildRoot: %{_tmppath}/%{name}-root %description The curses library routines are a terminal-independent method of updating character screens with reasonable optimization. The ncurses (new curses) library is a freely distributable replacement for the discontinued 4.4BSD classic curses library. %package devel Summary: The development files for applications which use ncurses. Group: Development/Libraries Requires: ncurses = %{PACKAGE_VERSION} %description devel The header files and libraries for developing applications that use the ncurses CRT screen handling and optimization package. Install the ncurses-devel package if you want to develop applications which will use ncurses. %prep %setup -q %patch2 -p1 -b .setuid %patch3 -p1 -b .xterm %patch6 -p1 -b .rxvt %patch7 -p1 -b .put_S find . -name "*.orig" -exec rm -f {} \; %build CFLAGS="%{optflags} -DPURE_TERMINFO" %define optflags $CFLAGS %configure \ --with-normal --with-shared --without-debug --without-profile \ --without-cxx --without-ada --enable-sigwinch --enable-hard-tabs \ --with-ospeed='unsigned int' make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT includedir=/usr/include/ncurses ln -s ../l/linux $RPM_BUILD_ROOT/usr/share/terminfo/c/console ln -s ncurses/curses.h $RPM_BUILD_ROOT/usr/include/ncurses.h for I in curses unctrl eti form menu panel term; do ln -sf ncurses/$I.h $RPM_BUILD_ROOT/usr/include/$I.h done ln -sf libncurses.a $RPM_BUILD_ROOT/usr/lib/libcurses.a %ifarch sparc install -c -m644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/terminfo/l/linux install -c -m644 %SOURCE3 $RPM_BUILD_ROOT/usr/share/terminfo/l/linux-m %endif strip -R .comment $RPM_BUILD_ROOT/usr/bin/* || : strip -R .comment --strip-unneeded $RPM_BUILD_ROOT/usr/lib/*.so.%{version} make clean -C test # the resetall script install -c -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/bin/resetall %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README ANNOUNCE doc/html/announce.html %attr(755,root,root) /usr/lib/lib*.so.* %{_datadir}/terminfo %{_datadir}/tabset %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man7/* %files devel %defattr(-,root,root) %doc c++ test %doc doc/html/hackguide.html %doc doc/html/ncurses-intro.html %{_libdir}/lib*.so %{_libdir}/lib*.a %{_includedir}/* %{_mandir}/man3/* %clean rm -rf $RPM_BUILD_ROOT %changelog * Sun Jun 24 2001 Bernhard Rosenkraenzer 5.2-11 - Update to patchlevel 20010623, fixes some lynx issues * Mon Jun 18 2001 Helge Deller - fixed tput -S segfaulting bug (#44669) - use _tmppath for BuildRoot: - Copyright -> License * Sun Apr 15 2001 Bernhard Rosenkraenzer - Update to patchlevel 20010407 * Tue Mar 6 2001 Bernhard Rosenkraenzer - Fix up some terminfo entries containing includes to "/var/tmp/ncurses-root/something" (#30771) * Wed Feb 22 2001 Harald Hoyer - fixed rxvt backspace setting * Fri Feb 9 2001 Yukihiro Nakai - Update Japanese kterm patch * Mon Jan 15 2001 Bernhard Rosenkraenzer - Update - Add japanese patch from termcap - Fix ospeed handling * Mon Jan 1 2001 Bernhard Rosenkraenzer - Add libcurses.a -> libncurses.a symlink (RFE #23023) * Tue Dec 12 2000 Bernhard Rosenkraenzer - Use --with-ospeed='unsigned int' * Fri Nov 17 2000 Bernhard Rosenkraenzer - Fix alpha and ia64 - Rebuild with gcc 2.96-64 * Thu Nov 2 2000 Bernhard Rosenkraenzer - 5.2 - Fix typo in man page (Bug #20205) - update the "screen" terminfo entries to the version supplied with screen 3.9.8 * Mon Oct 9 2000 Bernhard Rosenkraenzer - Update (fixes the "make menuconfig" bug introduced by the security fix) * Tue Oct 3 2000 Bernhard Rosenkraenzer - Fix security problem (possible buffer overrun) * Fri Aug 4 2000 Bernhard Rosenkraenzer - Add the bugfix patches from the ncurses maintainer * Thu Jul 13 2000 Bernhard Rosenkraenzer - 5.1 * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 5 2000 Matt Wilson - *don't ship symlinks from lib*.so.5 to lib*.so.4! - use FHS macros * Fri Jun 2 2000 Bernhard Rosenkraenzer - rebuild for 7.0 - /usr/share/man - update URL for patches - misc. fixes to spec file * Mon Mar 20 2000 Bernhard Rosenkraenzer - use the real library version number - update to 20000319 * Tue Mar 7 2000 Jeff Johnson - rebuild for sparc baud rates > 38400. * Fri Feb 18 2000 Preston Brown - xterm terminfo entries from XFree86 3.3.6 - final round of xterm fixes, follow debian policy. * Sat Feb 5 2000 Bernhard Rosenkränzer - strip libraries * Thu Feb 3 2000 Bernhard Rosenkränzer - More xterm fixes (Bug #9087) * Thu Jan 27 2000 Bernhard Rosenkränzer - More xterm fixes from Hans de Goede (Bug #8633) * Sat Jan 15 2000 Bernhard Rosenkränzer - remove some broken symlinks (leftovers from libncurses.so.5) - Use %configure (Bug #8484) * Tue Jan 11 2000 Bernhard Rosenkränzer - Add xterm patch from Hans de Goede - Patch 20000108, this fixes a problem with a header file. * Wed Jan 5 2000 Bernhard Rosenkränzer - Add 20000101 patch, hopefully finally fixing the xterm description * Wed Dec 22 1999 Cristian Gafton - revert to the old major number - because the ABI is not changed (and we should be handling the changes via symbol versioning anyway) * Fri Nov 12 1999 Bernhard Rosenkraenzer - Fix a typo in spec - Add the 19991006 patch, fixing some C++ STL compatibility problems. - get rid of profiling and debugging versions - we need to save space... * Thu Nov 4 1999 Bernhard Rosenkraenzer - 5.0 - some spec cleanups to make updating easier - add links *.so.5 to *.so.4 - they are fully binary compatible. (Why did they change the invocation number???) * Wed Sep 22 1999 Cristian Gafton - make clean in the test dir - don't ship any binaries at all. * Mon Sep 13 1999 Preston Brown - fixed stripping of test programs. * Sun Aug 29 1999 Preston Brown - removed 'flash' capability for xterm; see bug #2820 for details. * Fri Aug 27 1999 Cristian Gafton - add the resetall script from Marc Merlin * Fri Aug 27 1999 Preston Brown - added iris-ansi-net as alias for iris-ansi (bug #2561) * Fri Jul 30 1999 Michael K. Johnson - added ncurses-intro.hmtl and hackguide.html to -devel package [bug #3929] * Tue Apr 06 1999 Preston Brown - make sure ALL binaries are stripped (incl. test binaries) * Thu Mar 25 1999 Preston Brown - made xterm terminfo stuff MUCH better. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 16) * Sat Mar 13 1999 Cristian Gafton - fixed header for C++ compiles * Fri Mar 12 1999 Jeff Johnson - add terminfo entries for linux/linux-m on sparc (obsolete termfile_sparc). * Thu Feb 18 1999 Cristian Gafton - updated patchset from original site * Thu Dec 03 1998 Cristian Gafton - don't build the C++ demo code - update patch set to the current as of today (redid all the individual patches in a single one) * Wed Oct 14 1998 Cristian Gafton - make sure to strip the binaries * Wed Sep 23 1998 Cristian Gafton - added another zillion of patches. The spec file *is* ugly - defattr * Mon Jul 20 1998 Cristian Gafton - added lots of patches. This spec file is starting to look ugly * Wed Jul 01 1998 Alan Cox - Fix setuid trusting. Open termcap/info files as the real user. * Wed May 06 1998 Cristian Gafton - added terminfo entry for the poor guys using lat1 and/or lat-2 on their consoles... Enjoy linux-lat ! Thanks, Erik ! * Tue Apr 21 1998 Cristian Gafton - new patch to get xterm-color and nxterm terminfo entries - aliased them to rxvt, as that seems to satisfy everybody * Sun Apr 12 1998 Cristian Gafton - added %clean section * Tue Apr 07 1998 Cristian Gafton - removed /usr/lib/terminfo symlink - we shouldn't need that * Mon Apr 06 1998 Cristian Gafton - updated to 4.2 + patches - added BuildRoot * Sat Apr 04 1998 Cristian Gafton - rebuilt with egcs on alpha * Wed Dec 31 1997 Erik Troan - version 7 didn't rebuild properly on the Alpha somehow -- no real changes are in this version * Tue Dec 09 1997 Erik Troan - TIOCGWINSZ wasn't used properly * Tue Jul 08 1997 Erik Troan - built against glibc, linked shared libs against -lc