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