]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses.spec
added Group(pl) to ext subpackage,
[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:        14
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 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 Group(pl):      Programowanie/Biblioteki
91 Requires:       %{name} = %{version}
92 Requires:       %{name}-ext = %{version}
93
94 %description devel
95 This package includes the header files and libraries necessary to develop
96 applications that use ncurses.
97
98 %description -l pl devel
99 Pakiet ten zawiera pliki nag³ówkowe - niezbêdne do pisania/kompilowania
100 programów z wykorzystaniem bibliotek ncurses.
101
102 %package        static
103 Summary:        Static libraries for ncurses
104 Summary(pl):    Biblioteki statyczne ncurses
105 Group:          Development/Libraries
106 Group(pl):      Programowanie/Biblioteki
107 Requires:       %{name}-devel = %{version}
108
109 %description static
110 This package includes the static libraries necessary to develop
111 applications that use ncurses.
112
113 %description -l pl static
114 Pakiet ten zawiera biblioteki statyczne ncurses.
115
116 %prep
117 %setup  -q
118 sh %{SOURCE1}
119 %patch0 -p1
120 %patch1 -p1
121 %patch2 -p1
122
123 %build
124 CFLAGS="$RPM_OPT_FLAGS -DPURE_TERMINFO" LDFLAGS="-s" \
125 ./configure \
126         --prefix=/usr \
127         --with-install-prefix=$RPM_BUILD_ROOT \
128         --with-normal \
129         --with-shared \
130         --without-cxx \
131         --without-ada \
132         --without-profile \
133         --without-debug
134
135 make
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT/{lib,usr/man/pl/man{1,7}}
140
141 make install INSTALL_PREFIX=$RPM_BUILD_ROOT \
142         includedir=/usr/include/ncurses
143
144 ln -sf ../l/linux $RPM_BUILD_ROOT/usr/share/terminfo/c/console
145
146 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*so.*.*}
147
148 mv $RPM_BUILD_ROOT/usr/lib/libncurses.so.*.* $RPM_BUILD_ROOT/lib
149 ln -sf ../../lib/libncurses.so.4.2 $RPM_BUILD_ROOT/usr/lib/libncurses.so
150
151 install %{SOURCE2} $RPM_BUILD_ROOT/usr/man/pl/man1/captoinfo.1m
152 install %{SOURCE3} $RPM_BUILD_ROOT/usr/man/pl/man1/clear.1
153 install %{SOURCE4} $RPM_BUILD_ROOT/usr/man/pl/man7/term.7
154
155 chmod 755 $RPM_BUILD_ROOT/{lib/lib*.so.*.*,usr/lib/lib*.so.*.*}
156
157 rm -f $RPM_BUILD_ROOT/usr/lib/libncurses.so.4
158
159 gzip -9nf $RPM_BUILD_ROOT/usr/man/pl/man*/*
160 bzip2 -9 README ANNOUNCE 
161
162 %post   -p /sbin/ldconfig
163 %postun -p /sbin/ldconfig
164
165 %post   ext -p /sbin/ldconfig
166 %postun ext -p /sbin/ldconfig
167
168 %clean
169 rm -rf $RPM_BUILD_ROOT
170
171 %files
172 %defattr(644,root,root,755)
173
174 %attr(755,root,root) /lib/libncurses.so.*
175
176 /usr/share/tabset
177
178 %dir /usr/share/terminfo
179 %dir /usr/share/terminfo/l
180 %dir /usr/share/terminfo/v
181 %dir /usr/share/terminfo/x
182
183 /usr/share/terminfo/l/linux*
184 /usr/share/terminfo/v/vt100
185 /usr/share/terminfo/v/vt220
186 /usr/share/terminfo/v/vt220-8
187 /usr/share/terminfo/v/vt52
188 /usr/share/terminfo/x/xterm*
189
190 %attr(755,root,root) /usr/bin/*
191 /usr/man/man[157]/*
192
193 %lang(pl) /usr/man/pl/man[17]/*
194
195 %files ext
196 %attr(755,root,root) /usr/lib/lib*so.*
197
198 %files -n terminfo
199 %defattr(644,root,root,755)
200
201 /usr/share/terminfo/[1-9NPXa-km-uwz]
202 /usr/share/terminfo/l/la120
203 /usr/share/terminfo/l/layer
204 /usr/share/terminfo/l/lisa
205 /usr/share/terminfo/l/lisaterm
206 /usr/share/terminfo/l/lisaterm-w
207 /usr/share/terminfo/l/liswb
208 /usr/share/terminfo/l/ln03
209 /usr/share/terminfo/l/ln03-w
210 /usr/share/terminfo/l/lpr
211 /usr/share/terminfo/l/luna
212 /usr/share/terminfo/l/luna68k
213 /usr/share/terminfo/v/v200-nam
214 /usr/share/terminfo/v/v320n
215 /usr/share/terminfo/v/v3220
216 /usr/share/terminfo/v/v5410
217 /usr/share/terminfo/v/vapple
218 /usr/share/terminfo/v/vc103
219 /usr/share/terminfo/v/vc203
220 /usr/share/terminfo/v/vc303
221 /usr/share/terminfo/v/vc303a
222 /usr/share/terminfo/v/vc403a
223 /usr/share/terminfo/v/vc404
224 /usr/share/terminfo/v/vc404-s
225 /usr/share/terminfo/v/vc414
226 /usr/share/terminfo/v/vc414h
227 /usr/share/terminfo/v/vc415
228 /usr/share/terminfo/v/venix
229 /usr/share/terminfo/v/versaterm
230 /usr/share/terminfo/v/vi200
231 /usr/share/terminfo/v/vi200-f
232 /usr/share/terminfo/v/vi200-rv
233 /usr/share/terminfo/v/vi300
234 /usr/share/terminfo/v/vi300-old
235 /usr/share/terminfo/v/vi50
236 /usr/share/terminfo/v/vi500
237 /usr/share/terminfo/v/vi50adm
238 /usr/share/terminfo/v/vi55
239 /usr/share/terminfo/v/vi550
240 /usr/share/terminfo/v/vi603
241 /usr/share/terminfo/v/viewpoint
242 /usr/share/terminfo/v/viewpoint3a+
243 /usr/share/terminfo/v/viewpoint60
244 /usr/share/terminfo/v/viewpoint90
245 /usr/share/terminfo/v/visa50
246 /usr/share/terminfo/v/visual603
247 /usr/share/terminfo/v/vitty
248 /usr/share/terminfo/v/vk100
249 /usr/share/terminfo/v/vp3a+
250 /usr/share/terminfo/v/vp60
251 /usr/share/terminfo/v/vp90
252 /usr/share/terminfo/v/vremote
253 /usr/share/terminfo/v/vs100
254 /usr/share/terminfo/v/vs100-x10
255 /usr/share/terminfo/v/vsc
256 /usr/share/terminfo/v/vt-61
257 /usr/share/terminfo/v/vt100-am
258 /usr/share/terminfo/v/vt100-bot-s
259 /usr/share/terminfo/v/vt100-nam
260 /usr/share/terminfo/v/vt100-nam-w
261 /usr/share/terminfo/v/vt100-nav
262 /usr/share/terminfo/v/vt100-nav-w
263 /usr/share/terminfo/v/vt100-s
264 /usr/share/terminfo/v/vt100-s-bot
265 /usr/share/terminfo/v/vt100-s-top
266 /usr/share/terminfo/v/vt100-top-s
267 /usr/share/terminfo/v/vt100-w
268 /usr/share/terminfo/v/vt100-w-am
269 /usr/share/terminfo/v/vt100-w-nam
270 /usr/share/terminfo/v/vt100-w-nav
271 /usr/share/terminfo/v/vt100nam
272 /usr/share/terminfo/v/vt102
273 /usr/share/terminfo/v/vt102-nsgr
274 /usr/share/terminfo/v/vt102-w
275 /usr/share/terminfo/v/vt125
276 /usr/share/terminfo/v/vt131
277 /usr/share/terminfo/v/vt132
278 /usr/share/terminfo/v/vt200
279 /usr/share/terminfo/v/vt200-js
280 /usr/share/terminfo/v/vt200-w
281 /usr/share/terminfo/v/vt220-js
282 /usr/share/terminfo/v/vt220-nam
283 /usr/share/terminfo/v/vt220-w
284 /usr/share/terminfo/v/vt220d
285 /usr/share/terminfo/v/vt300
286 /usr/share/terminfo/v/vt300-nam
287 /usr/share/terminfo/v/vt300-w
288 /usr/share/terminfo/v/vt300-w-nam
289 /usr/share/terminfo/v/vt320
290 /usr/share/terminfo/v/vt320-k3
291 /usr/share/terminfo/v/vt320-k311
292 /usr/share/terminfo/v/vt320-nam
293 /usr/share/terminfo/v/vt320-w
294 /usr/share/terminfo/v/vt320-w-nam
295 /usr/share/terminfo/v/vt320nam
296 /usr/share/terminfo/v/vt330
297 /usr/share/terminfo/v/vt340
298 /usr/share/terminfo/v/vt400
299 /usr/share/terminfo/v/vt400-24
300 /usr/share/terminfo/v/vt420
301 /usr/share/terminfo/v/vt420f
302 /usr/share/terminfo/v/vt420pc
303 /usr/share/terminfo/v/vt420pcdos
304 /usr/share/terminfo/v/vt50
305 /usr/share/terminfo/v/vt50h
306 /usr/share/terminfo/v/vt510
307 /usr/share/terminfo/v/vt510pc
308 /usr/share/terminfo/v/vt510pcdos
309 /usr/share/terminfo/v/vt520
310 /usr/share/terminfo/v/vt525
311 /usr/share/terminfo/v/vt61
312 /usr/share/terminfo/v/vt61.5
313 /usr/share/terminfo/x/x10term
314 /usr/share/terminfo/x/x1700
315 /usr/share/terminfo/x/x1700-lm
316 /usr/share/terminfo/x/x1720
317 /usr/share/terminfo/x/x1750
318 /usr/share/terminfo/x/x68k
319 /usr/share/terminfo/x/x68k-ite
320 /usr/share/terminfo/x/x820
321 /usr/share/terminfo/x/xenix
322 /usr/share/terminfo/x/xerox
323 /usr/share/terminfo/x/xerox-lm
324 /usr/share/terminfo/x/xerox1720
325 /usr/share/terminfo/x/xerox820
326 /usr/share/terminfo/x/xl83
327 /usr/share/terminfo/x/xtalk
328 /usr/share/terminfo/x/xwsh
329
330 %files devel
331 %defattr(644,root,root,755)
332 %doc {README,ANNOUNCE}.bz2 
333
334 %attr(755,root,root) /usr/lib/lib*.so
335
336 /usr/include/ncurses
337
338 /usr/man/man3/*
339
340 %files static
341 %attr(644,root,root) /usr/lib/lib*.a
342
343 %changelog
344 * Sun Mar 14 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
345   [4.2-14]
346 - compressed documentation,
347 - added so-links of shared libraries,
348 - added Group(pl) in devel subpackage,
349 - fixed double compressing of man pages,
350 - removed test/* from documentation.
351
352 * Mon Feb 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
353   [4.2-13]
354 - removed man group from man pages.
355
356 * Wed Feb 17 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
357   [4.2-12]
358 - updated to 990213 snapshot,
359 - removed hjl patch (now is in 990213 snap),
360 - added LDFLAGS="-s" to ./configure enviroment,
361 - removed removing linux, linux-m terminfo on sparc,
362 - added terminfo subbackage with full terminfo database (minimal
363   term db is in main package),
364 - added "Conflicts: glibc <= 2.0.7" in main,
365 - added pl man pages for captoinfo(1), clear(1), term(7),
366 - added separated subpackage ext with non base ncurses libraries (separating
367   this allow minimize minimal system size).
368
369 * Wed Nov 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
370   [4.2-4d]
371 - added more patches from rawhide ncurses,
372 - use INSTALL_PREFIX instead prefix on "make install" (without this some
373   binaries like tset have internal paths padded with Buildroot),
374 - shares libncurses moved to /lib,
375 - fixed pl translation.
376
377 * Sat Nov 07 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
378   [4.2-3d]
379 - added some patches .. ;)
380 - fixed ol translation,
381 - full %file description,
382 - fixed files permissions,
383 - minor changes.
384
385 * Tue Sep 09 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
386   [4.2-2d]
387 - translation modified for pl,
388 - build against GNU libc-2.1,
389 - fixed permissions of ELF binaries,
390 - moved Buildroot to /var/tmp/%{name}-%{version}-root
391 - added a static package,
392 - added %defattr support,
393 - build from non root's account, 
394 - start at invalid RH spec file.
This page took 0.102979 seconds and 4 git commands to generate.