]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses.spec
- revision up to 12,
[packages/compat-ncurses5.git] / ncurses.spec
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ýðý
6 Name:           ncurses
7 Version:        4.2
8 Release:        12
9 Copyright:      distributable
10 Group:          Libraries
11 Group(pl):      Biblioteki
12 Source0:        ftp://ftp.clark.net/pub/dickey/ncurses/%{name}-%{version}.tar.gz
13 Source1:        ftp://ftp.clark.net/pub/dickey/ncurses/4.2/patch-4.2-990213.sh
14 Patch0:         ncurses-rh.patch
15 Patch1:         ncurses-setuid.patch
16 Patch1:         ncurses-arm.patch
17 BuildRoot:      /tmp/%{name}-%{version}-root
18 Conflicts:      glibc <= 2.0.7
19
20 %description
21 The curses library routines give the user a terminal-independent method of
22 updating character screens with reasonable optimization. This
23 implementation is ``new curses'' (ncurses) and is the approved replacement
24 for 4.4BSD classic curses, which is being discontinued. 
25
26 %description -l de
27 Die curses-Library-Routinen geben dem Benutzer eine Terminal-unabhängige 
28 Methode zur optimierten Aktualisierung von zeichenbasierenden 
29 Bildschirminhalten an die Hand. Die vorliegende Implementierung ist NEW 
30 CURSES (ncurses), die offizielle Nachfolgerversion für 4.4BSC (die 
31 klassische curses-Version), welche nicht weitergeführt wird. 
32
33 %description -l fr
34 Les routines de la bibliothèque curses donnent à l'utilisateur une méthode
35 indépendante du terminal pour la mise à jour des écrans en mode texte avec une
36 optimisation correcte. Ceci est l'implantation du « nouveau curses » (ncurses)
37 et est le remplacement du curses 4.4BSD classique qui est abandonné.
38
39 %description -l pl
40 Biblioteka curses udostêpnia funkcje pozwalaj±ce u¿ytkownikom odwo³ywanie
41 siê do zawarto¶ci terminala niezale¿nie od jego typu. Pakiet tez zawiera
42 implementacjê klasycznej biblioteki curses (z systemu 4.4BSD) o nazwie
43 ncurses (new curses) i jest zarazem jej przysz³ym zamiennikiem.
44
45 %description -l tr
46 curses kitaplýðý ile kullanýcýya kullanýlan terminal tipinden baðýmsýz olarak
47 karakter tabanlý ekranlara eriþim olanaðý saðlanabilmektedir. Bu uyarlama
48 'new curses' (ncurses), BSD deki klasik curses'in geliþmiþ halidir.
49
50 %package ext
51 Summary:        Additionan ncurses libraries
52 Summary(pl):    Dodatkowe biblioteki ncurses
53 Group:          Libraries
54 Group(pl):      Biblioteki
55 Requires:       %{name} = %{version}
56
57 %description ext
58 This package contain addidion ncurses libraries like libforms, libmenu and
59 libpanel for easy making full screen curse application.
60
61 %description -l pl ext
62 Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel s³u¿±ce
63 do ³atwego robienia plikacji pe³noekranowych korzystaj±cych z ncurses.
64
65 %package -n terminfo
66 Summary:        Complete terminfo database
67 Summary(pl):    Kompletna baza terminfo 
68 Group:          Libraries
69 Group(pl):      Biblioteki
70 Requires:       %{name} = %{version}
71
72 %description -n terminfo
73 This package contain cmplet terminfo database. If you just use the Linux
74 console, xterm and VT100, you probably will not need this this - a
75 minimal /usr/lib/terminfo tree for these terminal is already included in the
76 ncurses package.
77
78 %description -l pl -n terminfo
79 Pakiet ten zconsoleawiera kompletn± bazê terminfo. Ke¿eli u¿ywasz terminali
80 linux, console, xterm, vt100 prawdopodobnie nie bedziesz potrzebowa³ tego
81 pakietu gdy¿ definicje tych terminali s± w³±czone w pakiet ncurses.
82
83 %package devel
84 Summary:        Header files for develop ncurses based application
85 Summary(pl):    Pliki nag³ówkowe do bibliotek ncurses
86 Group:          Development/Libraries
87 Requires:       %{name} = %{version}
88 Requires:       %{name}-ext = %{version}
89
90 %description devel
91 This package includes the header files and libraries necessary to develop
92 applications that use ncurses.
93
94 %description -l pl devel
95 Pakiet ten zawiera pliki nag³ówkowe - niezbêdne do pisania/kompilowania
96 programów z wykorzystaniem bibliotek ncurses.
97
98 %package static
99 Summary:        Static libraries for ncurses
100 Summary(pl):    Biblioteki statyczne ncurses
101 Group:          Development/Libraries
102 Group(pl):      Programowanie/Biblioteki
103 Requires:       %{name}-devel = %{version}
104
105 %description static
106 This package includes the static libraries necessary to develop
107 applications that use ncurses.
108
109 %description -l pl static
110 Pakiet ten zawiera biblioteki statyczne ncurses.
111
112 %prep
113 %setup  -q
114 sh %{SOURCE1}
115 %patch0 -p1
116 %patch1 -p1 
117
118 %build
119 CFLAGS="$RPM_OPT_FLAGS -DPURE_TERMINFO" LDFLAGS="-s" \
120 ./configure \
121         --prefix=/usr \
122         --with-install-prefix=$RPM_BUILD_ROOT \
123         --with-normal \
124         --with-shared \
125         --without-cxx \
126         --without-ada \
127         --without-profile \
128         --without-debug
129
130 make
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134 install -d $RPM_BUILD_ROOT/{lib,usr/include/ncurses}
135
136 make install INSTALL_PREFIX=$RPM_BUILD_ROOT \
137         includedir=/usr/include/ncurses
138
139 ln -sf ../l/linux $RPM_BUILD_ROOT/usr/share/terminfo/c/console
140
141 ln -sf ncurses/curses.h $RPM_BUILD_ROOT/usr/include/ncurses.h
142
143 for I in curses unctrl eti form menu panel term; do
144         ln -sf ncurses/$I.h $RPM_BUILD_ROOT/usr/include/$I.h
145 done
146
147 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*so.*.*}
148
149 mv $RPM_BUILD_ROOT/usr/lib/libncurses.so.*.* $RPM_BUILD_ROOT/lib
150 ln -sf ../../usr/lib/libncurses.so.4.2 $RPM_BUILD_ROOT/usr/lib/libncurses.so
151
152 gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/*
153
154 %post   -p /sbin/ldconfig
155 %postun -p /sbin/ldconfig
156
157 %post   ext -p /sbin/ldconfig
158 %postun ext -p /sbin/ldconfig
159
160 %files
161 %defattr(644,root,root,755)
162 %attr(755,root,root) /lib/libncurses.so.*.*
163
164 /usr/share/tabset
165 %dir /usr/share/terminfo
166 %dir /usr/share/terminfo/l
167 %dir /usr/share/terminfo/v
168 %dir /usr/share/terminfo/x
169 /usr/share/terminfo/l/linux*
170 /usr/share/terminfo/v/vt100
171 /usr/share/terminfo/v/vt220
172 /usr/share/terminfo/v/vt220-8
173 /usr/share/terminfo/v/vt52
174 /usr/share/terminfo/x/xterm*
175
176 %attr(755,root,root) /usr/bin/*
177 %attr(644,root, man) /usr/man/man[157]/*
178
179 %files ext
180 %attr(755,root,root) /usr/lib/lib*so.*.*
181
182 %files -n terminfo
183 %defattr(644,root,root,755)
184 /usr/share/terminfo/[1-9NPXa-km-uwz]
185 /usr/share/terminfo/l/la120
186 /usr/share/terminfo/l/layer
187 /usr/share/terminfo/l/lisa
188 /usr/share/terminfo/l/lisaterm
189 /usr/share/terminfo/l/lisaterm-w
190 /usr/share/terminfo/l/liswb
191 /usr/share/terminfo/l/ln03
192 /usr/share/terminfo/l/ln03-w
193 /usr/share/terminfo/l/lpr
194 /usr/share/terminfo/l/luna
195 /usr/share/terminfo/l/luna68k
196 /usr/share/terminfo/v/v200-nam
197 /usr/share/terminfo/v/v320n
198 /usr/share/terminfo/v/v3220
199 /usr/share/terminfo/v/v5410
200 /usr/share/terminfo/v/vapple
201 /usr/share/terminfo/v/vc103
202 /usr/share/terminfo/v/vc203
203 /usr/share/terminfo/v/vc303
204 /usr/share/terminfo/v/vc303a
205 /usr/share/terminfo/v/vc403a
206 /usr/share/terminfo/v/vc404
207 /usr/share/terminfo/v/vc404-s
208 /usr/share/terminfo/v/vc414
209 /usr/share/terminfo/v/vc414h
210 /usr/share/terminfo/v/vc415
211 /usr/share/terminfo/v/venix
212 /usr/share/terminfo/v/versaterm
213 /usr/share/terminfo/v/vi200
214 /usr/share/terminfo/v/vi200-f
215 /usr/share/terminfo/v/vi200-rv
216 /usr/share/terminfo/v/vi300
217 /usr/share/terminfo/v/vi300-old
218 /usr/share/terminfo/v/vi50
219 /usr/share/terminfo/v/vi500
220 /usr/share/terminfo/v/vi50adm
221 /usr/share/terminfo/v/vi55
222 /usr/share/terminfo/v/vi550
223 /usr/share/terminfo/v/vi603
224 /usr/share/terminfo/v/viewpoint
225 /usr/share/terminfo/v/viewpoint3a+
226 /usr/share/terminfo/v/viewpoint60
227 /usr/share/terminfo/v/viewpoint90
228 /usr/share/terminfo/v/visa50
229 /usr/share/terminfo/v/visual603
230 /usr/share/terminfo/v/vitty
231 /usr/share/terminfo/v/vk100
232 /usr/share/terminfo/v/vp3a+
233 /usr/share/terminfo/v/vp60
234 /usr/share/terminfo/v/vp90
235 /usr/share/terminfo/v/vremote
236 /usr/share/terminfo/v/vs100
237 /usr/share/terminfo/v/vs100-x10
238 /usr/share/terminfo/v/vsc
239 /usr/share/terminfo/v/vt-61
240 /usr/share/terminfo/v/vt100-am
241 /usr/share/terminfo/v/vt100-bot-s
242 /usr/share/terminfo/v/vt100-nam
243 /usr/share/terminfo/v/vt100-nam-w
244 /usr/share/terminfo/v/vt100-nav
245 /usr/share/terminfo/v/vt100-nav-w
246 /usr/share/terminfo/v/vt100-s
247 /usr/share/terminfo/v/vt100-s-bot
248 /usr/share/terminfo/v/vt100-s-top
249 /usr/share/terminfo/v/vt100-top-s
250 /usr/share/terminfo/v/vt100-w
251 /usr/share/terminfo/v/vt100-w-am
252 /usr/share/terminfo/v/vt100-w-nam
253 /usr/share/terminfo/v/vt100-w-nav
254 /usr/share/terminfo/v/vt100nam
255 /usr/share/terminfo/v/vt102
256 /usr/share/terminfo/v/vt102-nsgr
257 /usr/share/terminfo/v/vt102-w
258 /usr/share/terminfo/v/vt125
259 /usr/share/terminfo/v/vt131
260 /usr/share/terminfo/v/vt132
261 /usr/share/terminfo/v/vt200
262 /usr/share/terminfo/v/vt200-js
263 /usr/share/terminfo/v/vt200-w
264 /usr/share/terminfo/v/vt220-js
265 /usr/share/terminfo/v/vt220-nam
266 /usr/share/terminfo/v/vt220-w
267 /usr/share/terminfo/v/vt220d
268 /usr/share/terminfo/v/vt300
269 /usr/share/terminfo/v/vt300-nam
270 /usr/share/terminfo/v/vt300-w
271 /usr/share/terminfo/v/vt300-w-nam
272 /usr/share/terminfo/v/vt320
273 /usr/share/terminfo/v/vt320-k3
274 /usr/share/terminfo/v/vt320-k311
275 /usr/share/terminfo/v/vt320-nam
276 /usr/share/terminfo/v/vt320-w
277 /usr/share/terminfo/v/vt320-w-nam
278 /usr/share/terminfo/v/vt320nam
279 /usr/share/terminfo/v/vt330
280 /usr/share/terminfo/v/vt340
281 /usr/share/terminfo/v/vt400
282 /usr/share/terminfo/v/vt400-24
283 /usr/share/terminfo/v/vt420
284 /usr/share/terminfo/v/vt420f
285 /usr/share/terminfo/v/vt420pc
286 /usr/share/terminfo/v/vt420pcdos
287 /usr/share/terminfo/v/vt50
288 /usr/share/terminfo/v/vt50h
289 /usr/share/terminfo/v/vt510
290 /usr/share/terminfo/v/vt510pc
291 /usr/share/terminfo/v/vt510pcdos
292 /usr/share/terminfo/v/vt520
293 /usr/share/terminfo/v/vt525
294 /usr/share/terminfo/v/vt61
295 /usr/share/terminfo/v/vt61.5
296 /usr/share/terminfo/x/x10term
297 /usr/share/terminfo/x/x1700
298 /usr/share/terminfo/x/x1700-lm
299 /usr/share/terminfo/x/x1720
300 /usr/share/terminfo/x/x1750
301 /usr/share/terminfo/x/x68k
302 /usr/share/terminfo/x/x68k-ite
303 /usr/share/terminfo/x/x820
304 /usr/share/terminfo/x/xenix
305 /usr/share/terminfo/x/xerox
306 /usr/share/terminfo/x/xerox-lm
307 /usr/share/terminfo/x/xerox1720
308 /usr/share/terminfo/x/xerox820
309 /usr/share/terminfo/x/xl83
310 /usr/share/terminfo/x/xtalk
311 /usr/share/terminfo/x/xwsh
312
313 %files devel
314 %defattr(644,root,root,755)
315 %doc README ANNOUNCE test
316 %attr(755,root,root) /usr/lib/lib*.so
317
318 /usr/include/ncurses
319
320 %attr(644,root, man) /usr/man/man3/*
321
322 %files static
323 %attr(644,root,root) /usr/lib/lib*.a
324
325 %clean
326 rm -rf $RPM_BUILD_ROOT
327
328 %changelog
329 * Wed Feb 17 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
330   [4.2-12]
331 - updated to 990213 snapshot,
332 - removed hjl patch (now is in 990213 snap),
333 - added LDFLAGS="-s" to ./configure enviroment,
334 - removed removing linux, linux-m terminfo on sparc,
335 - added terminfo subbackage with full terminfo database (minimal
336   term db is in main package),
337 - added "Conflicts: glibc <= 2.0.7" in main,
338 - added separated subpackage ext with non base ncurses libraries
339   (separating this allow minimize minimal system size).
340
341 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
342   [4.2-4d]
343 - added more patches from rawhide ncurses,
344 - use INSTALL_PREFIX instead prefix on "make install" (without this some
345   binaries like tset have internal paths padded with Buildroot),
346 - shares libncurses moved to /lib,
347 - fixed pl translation.
348
349 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
350   [4.2-3d]
351 - added some patches .. ;)
352 - fixed ol translation,
353 - full %file description,
354 - fixed permissions,
355 - minor changes.
356
357 * Tue Sep 09 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
358   [4.2-2d]
359 - translation modified for pl,
360 - build against glibc-2.1,
361 - fixed permissions of ELF binaries,
362 - moved Buildroot to /var/tmp/%{name}-%{version}-%{release}-root
363 - added a static package,
364 - added %defattr support,
365 - build from non root's account. 
366
367 * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
368 - added lots of patches. This spec file is starting to look ugly
369
370 * Wed Jul 01 1998 Alan Cox <alan@redhat.com>
371 - Fix setuid trusting. Open termcap/info files as the real user.
372
373 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
374 - added terminfo entry for the poor guys using lat1 and/or lat-2 on their
375   consoles... Enjoy linux-lat ! Thanks, Erik !
376
377 * Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
378 - new patch to get xterm-color and nxterm terminfo entries
379 - aliased them to rxvt, as that seems to satisfy everybody
380
381 * Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
382 - added %clean section
383
384 * Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
385 - removed /usr/lib/terminfo symlink - we shouldn't need that
386
387 * Mon Apr 06 1998 Cristian Gafton <gafton@redhat.com>
388 - updated to 4.2 + patches
389 - added BuildRoot
390
391 * Sat Apr 04 1998 Cristian Gafton <gafton@redhat.com>
392 - rebuilt with egcs on alpha
393
394 * Wed Dec 31 1997 Erik Troan <ewt@redhat.com>
395 - version 7 didn't rebuild properly on the Alpha somehow -- no real changes
396   are in this version
397
398 * Tue Dec 09 1997 Erik Troan <ewt@redhat.com>
399 - TIOCGWINSZ wasn't used properly
400
401 * Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
402 - built against glibc, linked shared libs against -lc
This page took 0.195768 seconds and 4 git commands to generate.