]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses.spec
- added %changelog entry about adding pl man pages.
[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 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 %files
162 %defattr(644,root,root,755)
163 %attr(755,root,root) /lib/libncurses.so.*.*
164
165 /usr/share/tabset
166 %dir /usr/share/terminfo
167 %dir /usr/share/terminfo/l
168 %dir /usr/share/terminfo/v
169 %dir /usr/share/terminfo/x
170 /usr/share/terminfo/l/linux*
171 /usr/share/terminfo/v/vt100
172 /usr/share/terminfo/v/vt220
173 /usr/share/terminfo/v/vt220-8
174 /usr/share/terminfo/v/vt52
175 /usr/share/terminfo/x/xterm*
176
177 %attr(755,root,root) /usr/bin/*
178 %attr(644,root, man) /usr/man/man[157]/*
179 %attr(644,root, man) %lang(pl) /usr/man/pl/man[17]/*
180
181 %files ext
182 %attr(755,root,root) /usr/lib/lib*so.*.*
183
184 %files -n terminfo
185 %defattr(644,root,root,755)
186 /usr/share/terminfo/[1-9NPXa-km-uwz]
187 /usr/share/terminfo/l/la120
188 /usr/share/terminfo/l/layer
189 /usr/share/terminfo/l/lisa
190 /usr/share/terminfo/l/lisaterm
191 /usr/share/terminfo/l/lisaterm-w
192 /usr/share/terminfo/l/liswb
193 /usr/share/terminfo/l/ln03
194 /usr/share/terminfo/l/ln03-w
195 /usr/share/terminfo/l/lpr
196 /usr/share/terminfo/l/luna
197 /usr/share/terminfo/l/luna68k
198 /usr/share/terminfo/v/v200-nam
199 /usr/share/terminfo/v/v320n
200 /usr/share/terminfo/v/v3220
201 /usr/share/terminfo/v/v5410
202 /usr/share/terminfo/v/vapple
203 /usr/share/terminfo/v/vc103
204 /usr/share/terminfo/v/vc203
205 /usr/share/terminfo/v/vc303
206 /usr/share/terminfo/v/vc303a
207 /usr/share/terminfo/v/vc403a
208 /usr/share/terminfo/v/vc404
209 /usr/share/terminfo/v/vc404-s
210 /usr/share/terminfo/v/vc414
211 /usr/share/terminfo/v/vc414h
212 /usr/share/terminfo/v/vc415
213 /usr/share/terminfo/v/venix
214 /usr/share/terminfo/v/versaterm
215 /usr/share/terminfo/v/vi200
216 /usr/share/terminfo/v/vi200-f
217 /usr/share/terminfo/v/vi200-rv
218 /usr/share/terminfo/v/vi300
219 /usr/share/terminfo/v/vi300-old
220 /usr/share/terminfo/v/vi50
221 /usr/share/terminfo/v/vi500
222 /usr/share/terminfo/v/vi50adm
223 /usr/share/terminfo/v/vi55
224 /usr/share/terminfo/v/vi550
225 /usr/share/terminfo/v/vi603
226 /usr/share/terminfo/v/viewpoint
227 /usr/share/terminfo/v/viewpoint3a+
228 /usr/share/terminfo/v/viewpoint60
229 /usr/share/terminfo/v/viewpoint90
230 /usr/share/terminfo/v/visa50
231 /usr/share/terminfo/v/visual603
232 /usr/share/terminfo/v/vitty
233 /usr/share/terminfo/v/vk100
234 /usr/share/terminfo/v/vp3a+
235 /usr/share/terminfo/v/vp60
236 /usr/share/terminfo/v/vp90
237 /usr/share/terminfo/v/vremote
238 /usr/share/terminfo/v/vs100
239 /usr/share/terminfo/v/vs100-x10
240 /usr/share/terminfo/v/vsc
241 /usr/share/terminfo/v/vt-61
242 /usr/share/terminfo/v/vt100-am
243 /usr/share/terminfo/v/vt100-bot-s
244 /usr/share/terminfo/v/vt100-nam
245 /usr/share/terminfo/v/vt100-nam-w
246 /usr/share/terminfo/v/vt100-nav
247 /usr/share/terminfo/v/vt100-nav-w
248 /usr/share/terminfo/v/vt100-s
249 /usr/share/terminfo/v/vt100-s-bot
250 /usr/share/terminfo/v/vt100-s-top
251 /usr/share/terminfo/v/vt100-top-s
252 /usr/share/terminfo/v/vt100-w
253 /usr/share/terminfo/v/vt100-w-am
254 /usr/share/terminfo/v/vt100-w-nam
255 /usr/share/terminfo/v/vt100-w-nav
256 /usr/share/terminfo/v/vt100nam
257 /usr/share/terminfo/v/vt102
258 /usr/share/terminfo/v/vt102-nsgr
259 /usr/share/terminfo/v/vt102-w
260 /usr/share/terminfo/v/vt125
261 /usr/share/terminfo/v/vt131
262 /usr/share/terminfo/v/vt132
263 /usr/share/terminfo/v/vt200
264 /usr/share/terminfo/v/vt200-js
265 /usr/share/terminfo/v/vt200-w
266 /usr/share/terminfo/v/vt220-js
267 /usr/share/terminfo/v/vt220-nam
268 /usr/share/terminfo/v/vt220-w
269 /usr/share/terminfo/v/vt220d
270 /usr/share/terminfo/v/vt300
271 /usr/share/terminfo/v/vt300-nam
272 /usr/share/terminfo/v/vt300-w
273 /usr/share/terminfo/v/vt300-w-nam
274 /usr/share/terminfo/v/vt320
275 /usr/share/terminfo/v/vt320-k3
276 /usr/share/terminfo/v/vt320-k311
277 /usr/share/terminfo/v/vt320-nam
278 /usr/share/terminfo/v/vt320-w
279 /usr/share/terminfo/v/vt320-w-nam
280 /usr/share/terminfo/v/vt320nam
281 /usr/share/terminfo/v/vt330
282 /usr/share/terminfo/v/vt340
283 /usr/share/terminfo/v/vt400
284 /usr/share/terminfo/v/vt400-24
285 /usr/share/terminfo/v/vt420
286 /usr/share/terminfo/v/vt420f
287 /usr/share/terminfo/v/vt420pc
288 /usr/share/terminfo/v/vt420pcdos
289 /usr/share/terminfo/v/vt50
290 /usr/share/terminfo/v/vt50h
291 /usr/share/terminfo/v/vt510
292 /usr/share/terminfo/v/vt510pc
293 /usr/share/terminfo/v/vt510pcdos
294 /usr/share/terminfo/v/vt520
295 /usr/share/terminfo/v/vt525
296 /usr/share/terminfo/v/vt61
297 /usr/share/terminfo/v/vt61.5
298 /usr/share/terminfo/x/x10term
299 /usr/share/terminfo/x/x1700
300 /usr/share/terminfo/x/x1700-lm
301 /usr/share/terminfo/x/x1720
302 /usr/share/terminfo/x/x1750
303 /usr/share/terminfo/x/x68k
304 /usr/share/terminfo/x/x68k-ite
305 /usr/share/terminfo/x/x820
306 /usr/share/terminfo/x/xenix
307 /usr/share/terminfo/x/xerox
308 /usr/share/terminfo/x/xerox-lm
309 /usr/share/terminfo/x/xerox1720
310 /usr/share/terminfo/x/xerox820
311 /usr/share/terminfo/x/xl83
312 /usr/share/terminfo/x/xtalk
313 /usr/share/terminfo/x/xwsh
314
315 %files devel
316 %defattr(644,root,root,755)
317 %doc README ANNOUNCE test
318 %attr(755,root,root) /usr/lib/lib*.so
319
320 /usr/include/ncurses
321
322 %attr(644,root, man) /usr/man/man3/*
323
324 %files static
325 %attr(644,root,root) /usr/lib/lib*.a
326
327 %clean
328 rm -rf $RPM_BUILD_ROOT
329
330 %changelog
331 * Wed Feb 17 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
332   [4.2-12]
333 - updated to 990213 snapshot,
334 - removed hjl patch (now is in 990213 snap),
335 - added LDFLAGS="-s" to ./configure enviroment,
336 - removed removing linux, linux-m terminfo on sparc,
337 - added terminfo subbackage with full terminfo database (minimal
338   term db is in main package),
339 - added "Conflicts: glibc <= 2.0.7" in main,
340 - added pl man pages for captoinfo(1), clear(1), term(7),
341 - added separated subpackage ext with non base ncurses libraries
342   (separating this allow minimize minimal system size).
343
344 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
345   [4.2-4d]
346 - added more patches from rawhide ncurses,
347 - use INSTALL_PREFIX instead prefix on "make install" (without this some
348   binaries like tset have internal paths padded with Buildroot),
349 - shares libncurses moved to /lib,
350 - fixed pl translation.
351
352 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
353   [4.2-3d]
354 - added some patches .. ;)
355 - fixed ol translation,
356 - full %file description,
357 - fixed permissions,
358 - minor changes.
359
360 * Tue Sep 09 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
361   [4.2-2d]
362 - translation modified for pl,
363 - build against glibc-2.1,
364 - fixed permissions of ELF binaries,
365 - moved Buildroot to /var/tmp/%{name}-%{version}-%{release}-root
366 - added a static package,
367 - added %defattr support,
368 - build from non root's account. 
369
370 * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
371 - added lots of patches. This spec file is starting to look ugly
372
373 * Wed Jul 01 1998 Alan Cox <alan@redhat.com>
374 - Fix setuid trusting. Open termcap/info files as the real user.
375
376 * Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
377 - added terminfo entry for the poor guys using lat1 and/or lat-2 on their
378   consoles... Enjoy linux-lat ! Thanks, Erik !
379
380 * Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
381 - new patch to get xterm-color and nxterm terminfo entries
382 - aliased them to rxvt, as that seems to satisfy everybody
383
384 * Sun Apr 12 1998 Cristian Gafton <gafton@redhat.com>
385 - added %clean section
386
387 * Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
388 - removed /usr/lib/terminfo symlink - we shouldn't need that
389
390 * Mon Apr 06 1998 Cristian Gafton <gafton@redhat.com>
391 - updated to 4.2 + patches
392 - added BuildRoot
393
394 * Sat Apr 04 1998 Cristian Gafton <gafton@redhat.com>
395 - rebuilt with egcs on alpha
396
397 * Wed Dec 31 1997 Erik Troan <ewt@redhat.com>
398 - version 7 didn't rebuild properly on the Alpha somehow -- no real changes
399   are in this version
400
401 * Tue Dec 09 1997 Erik Troan <ewt@redhat.com>
402 - TIOCGWINSZ wasn't used properly
403
404 * Tue Jul 08 1997 Erik Troan <ewt@redhat.com>
405 - built against glibc, linked shared libs against -lc
This page took 0.053779 seconds and 4 git commands to generate.