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