1 Summary: curses terminal control library
2 Summary(de): curses-Terminal-Control-Library
3 Summary(fr): La bibliothéque de contrôle de terminal curses.
4 Summary(pl): Biblioteki do kontrolowania terminala
5 Summary(tr): Terminal kontrol kitaplýðý
9 Copyright: distributable
11 Source0: ftp://ftp.clark.net/pub/dickey/ncurses/%{name}-%{version}.tar.gz
12 Patch0: ncurses-4.2-updates-981202.patch.gz
13 Patch1: ncurses-4.2-arm.patch
14 Patch2: ncurses-4.2-hjl.patch
15 Patch3: ncurses-4.2-rh.patch
16 Patch4: ncurses-4.2-setuid2.patch
17 BuildRoot: /tmp/%{name}-%{version}-root
20 The curses library routines give the user a terminal-independent method of
21 updating character screens with reasonable optimization. This
22 implementation is ``new curses'' (ncurses) and is the approved replacement
23 for 4.4BSD classic curses, which is being discontinued.
26 Die curses-Library-Routinen geben dem Benutzer eine Terminal-unabhängige
27 Methode zur optimierten Aktualisierung von zeichenbasierenden
28 Bildschirminhalten an die Hand. Die vorliegende Implementierung ist NEW
29 CURSES (ncurses), die offizielle Nachfolgerversion für 4.4BSC (die
30 klassische curses-Version), welche nicht weitergeführt wird.
33 Les routines de la bibliothèque curses donnent à l'utilisateur une méthode
34 indépendante du terminal pour la mise à jour des écrans en mode texte avec une
35 optimisation correcte. Ceci est l'implantation du « nouveau curses » (ncurses)
36 et est le remplacement du curses 4.4BSD classique qui est abandonné.
39 Biblioteka curses udostêpnia funkcje pozwalaj±ce u¿ytkownikom odwo³ywanie
40 siê do zawarto¶ci terminala niezale¿nie od jego typu. Pakiet tez zawiera
41 implementacjê klasycznej biblioteki curses (z systemu 4.4BSD) o nazwie
42 ncurses (new curses) i jest zarazem jej przysz³ym zamiennikiem.
45 curses kitaplýðý ile kullanýcýya kullanýlan terminal tipinden baðýmsýz olarak
46 karakter tabanlý ekranlara eriþim olanaðý saðlanabilmektedir. Bu uyarlama
47 'new curses' (ncurses), BSD deki klasik curses'in geliþmiþ halidir.
50 Summary: Heade files for develop ncurses based application
51 Summary(pl): Pliki nag³ówkowe dla ncurses
52 Group: Development/Libraries
53 Requires: %{name} = %{version}
56 This package includes the header files and libraries necessary to develop
57 applications that use ncurses.
59 %description -l pl devel
60 Pakiet ten zawiera pliki nag³ówkowe - niezbêdne do pisania/kompilowania
61 programów z wykorzystaniem ncurses.
64 Summary: Static ncurses libraries
65 Summary(pl): Biblioteki statyczne ncurses
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}
70 Static ncurses libraries.
72 %description -l pl static
73 Pakiet ten zawiera biblioteki statyczne dla ncurses.
84 CFLAGS="$RPM_OPT_FLAGS -DPURE_TERMINFO" LDFLAGS="-s" \
87 --with-install-prefix=$RPM_BUILD_ROOT \
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/{lib,usr/include/ncurses}
101 make install INSTALL_PREFIX=$RPM_BUILD_ROOT \
102 includedir=/usr/include/ncurses
103 ln -sf ../l/linux $RPM_BUILD_ROOT/usr/share/terminfo/c/console
104 ln -sf ncurses/curses.h $RPM_BUILD_ROOT/usr/include/ncurses.h
105 for I in curses unctrl eti form menu panel term; do
106 ln -sf ncurses/$I.h $RPM_BUILD_ROOT/usr/include/$I.h
108 # remove the linux terminfo entries
109 # (broken on sparc, see termfiles_sparc pkg)
111 rm -f $RPM_BUILD_ROOT/usr/lib/terminfo/l/linux
112 rm -f $RPM_BUILD_ROOT/usr/lib/terminfo/l/linux-m
115 strip $RPM_BUILD_ROOT/usr/lib/lib*.so.*.* || :
117 mv $RPM_BUILD_ROOT/usr/lib/libncurses.so.*.* $RPM_BUILD_ROOT/lib
118 ln -sf ../../lib/libncurses.so.4.2 $RPM_BUILD_ROOT/usr/lib/libncurses.so
120 for i in $RPM_BUILD_ROOT/usr/man/man1/*m ; do
121 mv $i $RPM_BUILD_ROOT/usr/man/man1/`basename $i m`
123 for i in $RPM_BUILD_ROOT/usr/man/man3/*x ; do
124 mv $i $RPM_BUILD_ROOT/usr/man/man3/`basename $i x`
127 gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,3,5,7}/*
129 %post -p /sbin/ldconfig
130 %postun -p /sbin/ldconfig
133 rm -rf $RPM_BUILD_ROOT
136 %defattr(644, root, root, 755)
137 %attr(755, root, root) /usr/lib/lib*.so.*.*
138 %attr(755, root, root) /lib/lib*.so.*.*
141 %attr(755, root, root) /usr/bin/*
142 %attr(644, root, man) /usr/man/man[157]/*
145 %defattr(644, root, root, 755)
146 %doc README ANNOUNCE c++ test
149 %attr(644, root, man) /usr/man/man3/*
152 %attr(644, root, root) /usr/lib/lib*.a
155 * Fri Dec 6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
157 - added gzipping man pages,
158 - changed man pages permission from 755 to 644,
159 - --with-debug configure parameter changed to --without-debug and
160 --without-profile, --without-cxx, --without-ada,
161 - added LDFLAGS="-s" to ./configure enviroment,
162 - splification in devel %files,
163 - changed sufixes man pages file names to *.1 and *.3.
165 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
167 - added more patches from rawhide ncurses,
168 - use INSTALL_PREFIX instead prefix on "make install" (without this some
169 binaries like tset have internal paths padded with Buildroot),
170 - fixed pl translation.
172 * Tue Sep 9 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
173 - added pl translation.
175 * Thu Sep 8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
177 - added "rm -rf $RPM_BUILD_ROOT" on start %install,
178 - shares libncurses moved to /lib.
180 * Tue Sep 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
182 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
183 - added using %%{name} and %%{version} in Source,
184 - added static subpackage,
185 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
187 - added stripping shared libraries,
188 - added %attr and %defattr macros in %files (allow build package from
191 * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
192 - added lots of patches. This spec file is starting to look ugly
194 * Wed Jul 01 1998 Alan Cox <alan@redhat.com>
195 - Fix setuid trusting. Open termcap/info files as the real user.
197 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
198 - added terminfo entry for the poor guys using lat1 and/or lat-2 on their
199 consoles... Enjoy linux-lat ! Thanks, Erik !
201 * Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
202 - new patch to get xterm-color and nxterm terminfo entries
203 - aliased them to rxvt, as that seems to satisfy everybody
205 * Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
206 - added %clean section
208 * Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
209 - removed /usr/lib/terminfo symlink - we shouldn't need that
211 * Mon Apr 06 1998 Cristian Gafton <gafton@redhat.com>
212 - updated to 4.2 + patches
215 * Sat Apr 04 1998 Cristian Gafton <gafton@redhat.com>
216 - rebuilt with egcs on alpha
218 * Wed Dec 31 1997 Erik Troan <ewt@redhat.com>
219 - version 7 didn't rebuild properly on the Alpha somehow -- no real changes
222 * Tue Dec 09 1997 Erik Troan <ewt@redhat.com>
223 - TIOCGWINSZ wasn't used properly
225 * Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
226 - built against glibc, linked shared libs against -lc