]> git.pld-linux.org Git - packages/compat-ncurses5.git/blob - ncurses.spec
- release 2 (by relup.sh)
[packages/compat-ncurses5.git] / ncurses.spec
1 #
2 # Conditional build:
3 %bcond_without  ada             # do not build Ada95 bindings
4 %bcond_without  cxx             # do not build C++ ncurses bindings and demo programs
5 #                               # (this is neccessary to build ncurses linked with uClibc).
6 %bcond_without  gpm             # build without (dynamically loadable) libgpm support
7
8 %ifarch sparc64
9 %undefine with_ada
10 %endif
11
12 %define basever 5.9
13 %define patchlevel      20140329
14 Summary:        curses terminal control library
15 Summary(de.UTF-8):      curses-Terminal-Control-Library
16 Summary(es.UTF-8):      Biblioteca de control de terminal curses
17 Summary(fr.UTF-8):      La bibliothéque de contrôle de terminal curses
18 Summary(pl.UTF-8):      Biblioteki do kontrolowania terminala
19 Summary(pt_BR.UTF-8):   Biblioteca de controle de terminal curses
20 Summary(ru.UTF-8):      ncurses - новая библиотека управления терминалами
21 Summary(tr.UTF-8):      Terminal kontrol kitaplığı
22 Summary(uk.UTF-8):      ncurses - нова бібліотека керування терміналами
23 Name:           ncurses
24 Version:        %{basever}.%{patchlevel}
25 Release:        2
26 License:        distributable
27 Group:          Libraries
28 Source0:        ftp://dickey.his.com/ncurses/%{name}-%{basever}.tar.gz
29 # Source0-md5:  8cb9c412e5f2d96bc6f459aa8c6282a1
30 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
31 # Source1-md5:  3b05ee835dc20c306e9af2a9d3fbf1f1
32 # source: ftp://dickey.his.com/ncurses/5.9/
33 Patch0:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130504-patch.sh.bz2
34 # Patch0-md5:   328966f1daa16c045b16a22d1b0020ec
35 Patch1:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130511.patch.gz
36 # Patch1-md5:   090c30bb83e286e9cea22ad62c6136ff
37 Patch2:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130518.patch.gz
38 # Patch2-md5:   3300610567774c441bd4a014db76db11
39 Patch3:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130525.patch.gz
40 # Patch3-md5:   c35aa6d8d6dc3a0620904045b5a8f6bc
41 Patch4:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130608.patch.gz
42 # Patch4-md5:   7d05e562085055466e4b25c7098c5242
43 Patch5:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130615.patch.gz
44 # Patch5-md5:   a9c7114a801a5176c64941da4bee2e4d
45 Patch6:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130622.patch.gz
46 # Patch6-md5:   ce16d6b9d41749a368fa5ddc237ad93a
47 Patch7:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130706.patch.gz
48 # Patch7-md5:   906c7aeb4c60fdcb0426d5d86937735f
49 Patch8:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130713.patch.gz
50 # Patch8-md5:   0e542db5a3b6d832203d350ec273aaef
51 Patch9:         ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130720.patch.gz
52 # Patch9-md5:   3a6be27672d10ddf29e12483ea83f846
53 Patch10:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130727.patch.gz
54 # Patch10-md5:  a6a72d5b6b74ad92ac351df981fed46b
55 Patch11:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130805.patch.gz
56 # Patch11-md5:  b26c73ec2465e0bddf0a57d9ce3ffb88
57 Patch12:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130816.patch.gz
58 # Patch12-md5:  a281c29f4f4a468aa06f627f4e81a6ba
59 Patch13:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130824.patch.gz
60 # Patch13-md5:  a97a0becc40a207fcdf1b26136173ae1
61 Patch14:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130831.patch.gz
62 # Patch14-md5:  220acd1ec0a5f20b4e81d115f6eef4cb
63 Patch15:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130907.patch.gz
64 # Patch15-md5:  673e77a50186c440a58f51447ae6de22
65 Patch16:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130921.patch.gz
66 # Patch16-md5:  3fde14466b29297ebc9e31d2125e9ce1
67 Patch17:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20130928.patch.gz
68 # Patch17-md5:  cc16893f35aae9ad7e1d91a6752f574b
69 Patch18:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131005.patch.gz
70 # Patch18-md5:  c5207136cee214a229eda295286f81c7
71 Patch19:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131012.patch.gz
72 # Patch19-md5:  d2287af475e753da549940dbfedff36c
73 Patch20:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131014.patch.gz
74 # Patch20-md5:  8f9cfcf4827fd10f68b4d58018c239b3
75 Patch21:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131019.patch.gz
76 # Patch21-md5:  02a29abd02555d1e87244f2562cf49fa
77 Patch22:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131027.patch.gz
78 # Patch22-md5:  07e984c5ac8ff1354966ba04b758428d
79 Patch23:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131102.patch.gz
80 # Patch23-md5:  363605be63ee516c90a182cb66ad69e9
81 Patch24:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131110.patch.gz
82 # Patch24-md5:  ee3c82536ebe83549146ab9e5106b8e0
83 Patch25:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131116.patch.gz
84 # Patch25-md5:  e28805d20eb6853d27118cf5d8765783
85 Patch26:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131123.patch.gz
86 # Patch26-md5:  49608076e697412dd8b6adddef869a94
87 Patch27:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131207.patch.gz
88 # Patch27-md5:  24b581aac7ec6b543fe34d5e55609069
89 Patch28:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131214.patch.gz
90 # Patch28-md5:  923cf2fa12ac93b58aaa984f2a4da7da
91 Patch29:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20131221.patch.gz
92 # Patch29-md5:  89c9ba403d85457b841d2f141da29ef3
93 Patch30:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140118.patch.gz
94 # Patch30-md5:  03ecd1abcf9444ef5b645f6ddc36c97d
95 Patch31:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140125.patch.gz
96 # Patch31-md5:  62286302a64dbad3ab40c02f7e317ab8
97 Patch32:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140201.patch.gz
98 # Patch32-md5:  6e4a4244881812ae1ae10cb9c8f22aaa
99 Patch33:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140209.patch.gz
100 # Patch33-md5:  1434aa15b368854bca845e0fc0975bb8
101 Patch34:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140215.patch.gz
102 # Patch34-md5:  0f4fda90aa8cba80a0ce5690a3f6202b
103 Patch35:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140222.patch.gz
104 # Patch35-md5:  3d7c0755b91f3d459b4d3ee166e04b38
105 Patch36:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140301.patch.gz
106 # Patch36-md5:  780780cdebc25b7eeaccd05ca75406cf
107 Patch37:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140308.patch.gz
108 # Patch37-md5:  845b17958a5a9a1b079ca79cf86d6acc
109 Patch38:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140315.patch.gz
110 # Patch38-md5:  1ddb1fbc5b301506e0522cc1364579b7
111 Patch39:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140322.patch.gz
112 # Patch39-md5:  e8af8722ca80e2c7693d07a1cb475235
113 Patch40:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140323.patch.gz
114 # Patch40-md5:  24fbdef991dd67b2557177e453efd572
115 Patch41:        ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140329.patch.gz
116 # Patch41-md5:  e7a772214088ca55185cd2230df2e9ee
117
118 Patch100:       %{name}-screen_hpa_fix.patch
119 Patch101:       %{name}-xterm_hpa_fix.patch
120 Patch102:       %{name}-meta.patch
121 Patch103:       %{name}-xterm-home-end.patch
122 Patch104:       %{name}-mouse_trafo-warning.patch
123 Patch105:       %{name}-gnome-terminal.patch
124 # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
125 Patch107:       %{name}-no-rain-demo.patch
126 Patch108:       %{name}-fix-nonunicode-breakage.patch
127 URL:            http://dickey.his.com/ncurses/ncurses.html
128 BuildRequires:  automake
129 %if %{with ada}
130 BuildRequires:  gcc-ada
131 # gnat bug: https://bugzilla.redhat.com/show_bug.cgi?id=613407
132 # gcc patch: https://bugzilla.redhat.com/attachment.cgi?id=435931
133 # seems worker around when using gcc 4.6.2? --q
134 #BuildRequires: libgnat-static
135 %endif
136 %{?with_gpm:BuildRequires:      gpm-devel}
137 %{?with_cxx:BuildRequires:      libstdc++-devel}
138 %{?with_ada:BuildRequires:      m4}
139 BuildRequires:  pkgconfig
140 BuildRequires:  sharutils
141 # for compatibility with old PLD packages
142 %ifarch %{x8664} ppc64 sparc64 s390x
143 Provides:       libtinfo.so.5()(64bit)
144 Provides:       libtinfow.so.5()(64bit)
145 Provides:       libtinfow.so.6()(64bit)
146 %else
147 Provides:       libtinfo.so.5
148 Provides:       libtinfow.so.5
149 Provides:       libtinfow.so.6
150 %endif
151 Obsoletes:      libncurses5
152 Conflicts:      terminfo < 5.4-0.6
153 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
154
155 %description
156 The curses library routines give the user a terminal-independent
157 method of updating character screens with reasonable optimization.
158 This implementation is ``new curses'' (ncurses) and is the approved
159 replacement for 4.4BSD classic curses, which is being discontinued.
160
161 %description -l de.UTF-8
162 Die curses-Library-Routinen geben dem Benutzer eine
163 Terminal-unabhängige Methode zur optimierten Aktualisierung von
164 zeichenbasierenden Bildschirminhalten an die Hand. Die vorliegende
165 Implementierung ist NEW CURSES (ncurses), die offizielle
166 Nachfolgerversion für 4.4BSC (die klassische curses-Version), welche
167 nicht weitergeführt wird.
168
169 %description -l es.UTF-8
170 Las rutinas de la biblioteca curses ofrecen al usuario un método
171 independiente de terminal para actualización de las pantallas de
172 caracteres con optimización razonable. Este soporte es "nuevo curses"
173 (ncurses) y es el substituto aprobado para los clásicos curses 4.4BSD,
174 que se quedaban desfasados.
175
176 %description -l fr.UTF-8
177 Les routines de la bibliothèque curses donnent à l'utilisateur une
178 méthode indépendante du terminal pour la mise à jour des écrans en
179 mode texte avec une optimisation correcte. Ceci est l'implantation du
180 « nouveau curses » (ncurses) et est le remplacement du curses 4.4BSD
181 classique qui est abandonné.
182
183 %description -l pl.UTF-8
184 Biblioteka curses udostępnia funkcje pozwalające użytkownikom na
185 odwoływanie się do zawartości terminala niezależnie od jego typu.
186 Pakiet ten zawiera implementację klasycznej biblioteki curses (z
187 systemu 4.4BSD) o nazwie ncurses (new curses) i jest zarazem jej
188 przyszłym zamiennikiem.
189
190 %description -l pt_BR.UTF-8
191 As rotinas da biblioteca curses fornecem ao usuário um método
192 independente de terminal para atualização das telas de caracteres com
193 otimização razoável. Essa implementação é "novo curses" (ncurses) e é
194 o substituto aprovado para os clássicos curses 4.4BSD, que estão se
195 tornando obsoletos.
196
197 %description -l ru.UTF-8
198 Программы библиотеки curses предоставляют пользователям возможность
199 терминально-независимого обновления символьных экранов с достаточной
200 оптимизацией. Эта реализация - "новые curses" (ncurses), которая
201 является одобренной заменой классической библиотеки curses из 4.4BSD,
202 в настоящее время "снятой с производства". В PLD Linux ncurses
203 является жизненно необходимой, без нее не будут функционировать многие
204 программы, составляющие базовую систему. Практически все программы,
205 которые выводят что-либо на терминал, используют ncurses. В PLD Linux
206 ни библиотека termcap, ни традиционный файл /etc/termcap, не
207 используются...
208
209 %description -l tr.UTF-8
210 curses kitaplığı ile kullanıcıya kullanılan terminal tipinden bağımsız
211 olarak karakter tabanlı ekranlara erişim olanağı sağlanabilmektedir.
212 Bu uyarlama 'new curses' (ncurses), BSD deki klasik curses'in gelişmiş
213 halidir.
214
215 %description -l uk.UTF-8
216 Програми бібліотеки curses дають користувачам можливість
217 термінально-незалежного поновлення символьних екранів з достатньою
218 оптимізацією. Ця реалізація - "нові curses" (ncurses), котра є
219 схваленою заміною класичної бібліотеки curses з 4.4BSD, яка наразі
220 "знята з виробництва". В PLD Linux ncurses є життєво необхідною, без
221 неї не буде працювати більшость програм, що складають базову систему.
222 Практично всі програми, котрі виводять щось на термінал,
223 використовують ncurses. В PLD Linux ані бібліотека termcap, ані
224 традиційний файл /etc/termcap не використовуються...
225
226 %package -n terminfo
227 Summary:        Complete terminfo database
228 Summary(es.UTF-8):      Banco de datos terminfo para terminales extras (menos usados)
229 Summary(pl.UTF-8):      Kompletna baza terminfo
230 Summary(pt_BR.UTF-8):   Base de dados terminfo para terminais adicionais (menos usados)
231 Group:          Applications/Terminal
232 Requires:       %{name} = %{version}-%{release}
233 Obsoletes:      ncurses-extraterms
234 %if "%{_rpmversion}" >= "5"
235 BuildArch:      noarch
236 %endif
237
238 %description -n terminfo
239 This package contains complete terminfo database. If you just use the
240 Linux console, xterm and VT100, you probably will not need this this -
241 a minimal %{_datadir}/terminfo tree for these terminal is already
242 included in the ncurses package.
243
244 %description -n terminfo -l es.UTF-8
245 Banco de datos terminfo para terminales extras. Las capacidades de los
246 terminales más usados ya están en el paquete principal ncurses.
247
248 %description -n terminfo -l pl.UTF-8
249 Pakiet ten zawiera kompletną bazę terminfo. Jeżeli używasz terminali
250 linux, console, xterm, vt100, vt102 prawdopodobnie nie bedziesz
251 potrzebował tego pakietu gdyż definicje tych terminali są włączone w
252 pakiet ncurses.
253
254 %description -n terminfo -l pt_BR.UTF-8
255 Base de dados terminfo para terminais extras. As definições dos
256 terminais mais usados já estão no pacote principal ncurses.
257
258 %package devel
259 Summary:        Header files for develop ncurses based application
260 Summary(es.UTF-8):      Bibliotecas de desarrollo para ncurses
261 Summary(pl.UTF-8):      Pliki nagłówkowe do bibliotek ncurses
262 Summary(pt_BR.UTF-8):   Bibliotecas de desenvolvimento para ncurses
263 Summary(ru.UTF-8):      Хедеры и библиотеки для разработки программ с ncurses
264 Summary(uk.UTF-8):      Хедери та бібліотеки для розробки програм з ncurses
265 Group:          Development/Libraries
266 Requires:       %{name} = %{version}-%{release}
267 Obsoletes:      libncurses5-devel
268 Obsoletes:      libtermcap-devel
269
270 %description devel
271 This package includes the header files and libraries necessary to
272 develop applications that use ncurses.
273
274 %description devel -l es.UTF-8
275 Este paquete incluye las bibliotecas y archivos de inclusión
276 necesarios al desarrollo de aplicaciones que usan ncurses.
277
278 %description devel -l pl.UTF-8
279 Pakiet ten zawiera pliki nagłówkowe niezbędne do pisania/kompilowania
280 programów z wykorzystaniem bibliotek ncurses.
281
282 %description devel -l pt_BR.UTF-8
283 Este pacote inclui as bibliotecas e arquivos de inclusão necessários
284 ao desenvolvimento de aplicações que usam ncurses.
285
286 %description devel -l ru.UTF-8
287 Этот пакет содержит хедеры и библиотеки, необходимые для разработки
288 программ, использующих ncurses.
289
290 %description devel -l uk.UTF-8
291 Цей пакет містить хедери та бібліотеки, необхідні для розробки
292 програм, що використовують ncurses.
293
294 %package static
295 Summary:        Static libraries for ncurses
296 Summary(es.UTF-8):      Static libraries for ncurses development
297 Summary(pl.UTF-8):      Biblioteki statyczne ncurses
298 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento com ncurses
299 Summary(ru.UTF-8):      Статические библиотеки для разработки программ с ncurses
300 Summary(uk.UTF-8):      Статичні бібліотеки для розробки програм з ncurses
301 Group:          Development/Libraries
302 Requires:       %{name}-devel = %{version}-%{release}
303
304 %description static
305 This package includes the static libraries necessary to develop
306 applications that use ncurses.
307
308 %description static -l es.UTF-8
309 Static libraries for ncurses development.
310
311 %description static -l pl.UTF-8
312 Pakiet ten zawiera biblioteki statyczne ncurses.
313
314 %description static -l pt_BR.UTF-8
315 Bibliotecas estáticas para desenvolvimento com ncurses.
316
317 %description static -l ru.UTF-8
318 Этот пакет содержит статические библиотеки, необходимые для разработки
319 программ, использующих ncurses.
320
321 %description static -l uk.UTF-8
322 Цей пакет містить статичні бібліотеки, необхідні для розробки програм,
323 що використовують ncurses.
324
325 %package ext
326 Summary:        Additional ncurses libraries
327 Summary(pl.UTF-8):      Dodatkowe biblioteki ncurses
328 Group:          Libraries
329 Requires:       %{name} = %{version}-%{release}
330
331 %description ext
332 This package contains addidion ncurses libraries like libforms,
333 libmenu and libpanel for easy making full screen curse application.
334
335 %description ext -l pl.UTF-8
336 Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel
337 służące do łatwego tworzenia aplikacji pełnoekranowych korzystających
338 z ncurses.
339
340 %package ext-devel
341 Summary:        Header files for additional ncurses libraries
342 Summary(pl.UTF-8):      Pliki nagłówkowe dodatkowych bibliotek ncurses
343 Group:          Development/Libraries
344 Requires:       %{name}-devel = %{version}-%{release}
345 Requires:       %{name}-ext = %{version}-%{release}
346
347 %description ext-devel
348 Header files for additional ncurses libraries (form, menu, panel).
349
350 %description ext-devel -l pl.UTF-8
351 Pliki nagłówkowe dodatkowych bibliotek ncurses (form, menu, panel).
352
353 %package ext-static
354 Summary:        Static versions of additional ncurses libraries
355 Summary(pl.UTF-8):      Statyczne wersje dodatkowych bibliotek ncurses
356 Group:          Development/Libraries
357 Requires:       %{name}-ext-devel = %{version}-%{release}
358
359 %description ext-static
360 Static versions of additional ncurses libraries (form, menu, panel).
361
362 %description ext-static -l pl.UTF-8
363 Statyczne wersje dodatkowych bibliotek ncurses (form, menu, panel).
364
365 %package c++-devel
366 Summary:        Header files for develop C++ ncurses based application
367 Summary(pl.UTF-8):      Pliki nagłówkowe do biblioteki C++ ncurses
368 Group:          Development/Libraries
369 Requires:       %{name}-devel = %{version}-%{release}
370
371 %description c++-devel
372 This package includes the header files and libraries necessary to
373 develop applications that use C++ ncurses.
374
375 %description c++-devel -l pl.UTF-8
376 Pakiet ten zawiera pliki nagłówkowe niezbędne do kompilacji programów
377 z wykorzystaniem biblioteki c++-ncurses.
378
379 %package c++-static
380 Summary:        Static libraries for C++ ncurses
381 Summary(pl.UTF-8):      Biblioteki statyczne C++ ncurses
382 Group:          Development/Libraries
383 Requires:       %{name}-c++-devel = %{version}-%{release}
384
385 %description c++-static
386 This package includes the static libraries necessary to develop
387 applications that use C++ ncurses.
388
389 %description c++-static -l pl.UTF-8
390 Pakiet ten zawiera biblioteki statyczne C++ ncurses.
391
392 %package ada-devel
393 Summary:        Header files for develop Ada95 ncurses based application
394 Summary(pl.UTF-8):      Pliki nagłówkowe do biblioteki Ada95 ncurses
395 Group:          Development/Libraries
396 Requires:       %{name}-devel = %{version}-%{release}
397 %{?with_ada:%requires_eq        gcc-ada}
398
399 %description ada-devel
400 This package includes the header files and libraries necessary to
401 develop applications that use Ada95 ncurses.
402
403 %description ada-devel -l pl.UTF-8
404 Ten pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do
405 tworzenia aplikacji używających ncurses w języku Ada95.
406
407 %prep
408 %setup -qc
409 mv %{name}-%{basever}/* .
410 %patch0 -p1
411 %patch1 -p1
412 %patch2 -p1
413 %patch3 -p1
414 %patch4 -p1
415 %patch5 -p1
416 %patch6 -p1
417 %patch7 -p1
418 %patch8 -p1
419 %patch9 -p1
420 %patch10 -p1
421 %patch11 -p1
422 %patch12 -p1
423 %patch13 -p1
424 %patch14 -p1
425 %patch15 -p1
426 %patch16 -p1
427 %patch17 -p1
428 %patch18 -p1
429 %patch19 -p1
430 %patch20 -p1
431 %patch21 -p1
432 %patch22 -p1
433 %patch23 -p1
434 %patch24 -p1
435 %patch25 -p1
436 %patch26 -p1
437 %patch27 -p1
438 %patch28 -p1
439 %patch29 -p1
440 %patch30 -p1
441 %patch31 -p1
442 %patch32 -p1
443 %patch33 -p1
444 %patch34 -p1
445 %patch35 -p1
446 %patch36 -p1
447 %patch37 -p1
448 %patch38 -p1
449 %patch39 -p1
450 %patch40 -p1
451 %patch41 -p1
452
453 %patch100 -p1
454 %patch101 -p1
455 %patch102 -p1
456 %patch103 -p1
457 %patch104 -p1
458 %patch105 -p1
459 %patch107 -p1
460 %patch108 -p1
461
462 %build
463 unset TERMINFO || :
464 gcc_target=$(gcc -dumpmachine)
465 gcc_version=%{cc_version}
466 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
467 cp -f /usr/share/automake/config.sub .
468
469 for t in narrowc wideclowcolor widec; do
470 install -d obj-$t
471 cd obj-$t
472 ../%configure \
473         --with-install-prefix=$RPM_BUILD_ROOT \
474         --with-normal \
475         --with-shared \
476         --with%{!?with_ada:out}-ada \
477         --with%{!?with_cxx:out}-cxx \
478         --with%{!?with_cxx:out}-cxx-binding \
479         --with%{!?debug:out}-debug \
480         --with%{!?with_gpm:out}-gpm \
481         --without-profile \
482         --with-largefile \
483         --with-ospeed=unsigned \
484         --disable-lp64 \
485         --enable-hard-tabs \
486         --enable-xmc-glitch \
487         --enable-pc-files \
488         --with-pkg-config-libdir=%{_pkgconfigdir} \
489         --enable-colorfgbg \
490         --with-chtype='long' \
491         --with-mmask-t='long' \
492         --with-manpage-aliases \
493         --with-manpage-format=normal \
494         --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
495         --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
496         `[ "$t" = "wideclowcolor" ] && echo --enable-widec --disable-ext-colors` \
497         `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors` \
498         --without-manpage-symlinks
499
500 %{__make} -j1
501
502 cd ..
503 done
504
505 %install
506 rm -rf $RPM_BUILD_ROOT
507 install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}}
508
509 for t in narrowc widec; do
510 %{__make} -C obj-$t install \
511         INSTALL_PREFIX=$RPM_BUILD_ROOT
512 done
513
514 mkdir $RPM_BUILD_ROOT%{_includedir}/ncurses{,w}
515 for l in $RPM_BUILD_ROOT%{_includedir}/*.h; do
516         ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncurses
517         ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncursesw
518 done
519
520 ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
521
522 mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
523
524 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
525 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
526 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncursesw.so
527 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
528 mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib}
529 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so
530 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so
531
532 ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
533
534 # binary compatibility for packages using libncursesw.so.5 (without ext-colors)
535 cp -a obj-wideclowcolor/lib/libncursesw.so.5* $RPM_BUILD_ROOT%{_libdir}
536 # binary compatibility for packages usign libtinfo.so.5/libtinfow.so.5/libtinfow.so.6
537 ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.5.*) $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.5
538 ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.6
539 ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.5
540
541 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
542
543 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcurses.a
544 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
545 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ncurses-non-english-man-pages
546
547 %clean
548 rm -rf $RPM_BUILD_ROOT
549
550 %post   -p /sbin/ldconfig
551 %postun -p /sbin/ldconfig
552
553 %post   ext -p /sbin/ldconfig
554 %postun ext -p /sbin/ldconfig
555
556 %triggerpostun -- %{name} < 5.9-3
557 # rpm seems to remove them as those was %ghosts in ncurses < 5.9-3
558 # despite existing now as normal files/symlinks
559 ln -sf /%{_lib}/libncurses.so.5.* /%{_lib}/libtinfo.so.5
560 ln -sf /%{_lib}/libncursesw.so.6.* /%{_lib}/libtinfow.so.6
561 ln -sf %{_libdir}/libncursesw.so.5.* %{_libdir}/libtinfow.so.5
562 exit 0
563
564 %files
565 %defattr(644,root,root,755)
566 %doc ANNOUNCE README
567 %attr(755,root,root) %{_bindir}/captoinfo
568 %attr(755,root,root) %{_bindir}/clear
569 %attr(755,root,root) %{_bindir}/infocmp
570 %attr(755,root,root) %{_bindir}/infotocap
571 %attr(755,root,root) %{_bindir}/reset
572 %attr(755,root,root) %{_bindir}/tabs
573 %attr(755,root,root) %{_bindir}/tic
574 %attr(755,root,root) %{_bindir}/toe
575 %attr(755,root,root) %{_bindir}/tput
576 %attr(755,root,root) %{_bindir}/tset
577 %attr(755,root,root) /%{_lib}/libncurses.so.*.*
578 %attr(755,root,root) %ghost /%{_lib}/libncurses.so.5
579 %attr(755,root,root) /%{_lib}/libncursesw.so.*.*
580 %attr(755,root,root) %ghost /%{_lib}/libncursesw.so.6
581 %attr(755,root,root) %{_libdir}/libncursesw.so.*.*
582 %attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
583 %attr(755,root,root) /%{_lib}/libtinfo.so.5
584 %attr(755,root,root) /%{_lib}/libtinfow.so.6
585 %attr(755,root,root) %{_libdir}/libtinfow.so.5
586
587 %{_datadir}/tabset
588
589 %dir %{_datadir}/terminfo
590 %{_datadir}/terminfo/E
591 %dir %{_datadir}/terminfo/[cdgklprsvx]
592
593 %{_datadir}/terminfo/c/cygwin*
594 %{_datadir}/terminfo/d/dumb
595 %{_datadir}/terminfo/g/gnome*
596 %{_datadir}/terminfo/k/klone+color
597 %{_datadir}/terminfo/k/konsole*
598 %{_datadir}/terminfo/l/linux*
599 %{_datadir}/terminfo/p/putty*
600 %{_datadir}/terminfo/r/rxvt*
601 %{_datadir}/terminfo/s/screen*
602 %{_datadir}/terminfo/v/vt100
603 %{_datadir}/terminfo/v/vt102
604 %{_datadir}/terminfo/v/vt220
605 %{_datadir}/terminfo/v/vt220-8
606 %{_datadir}/terminfo/v/vt52
607 %{_datadir}/terminfo/x/xterm*
608
609 %{_mandir}/man1/captoinfo.1m*
610 %{_mandir}/man1/clear.1*
611 %{_mandir}/man1/infocmp.1m*
612 %{_mandir}/man1/infotocap.1m*
613 %{_mandir}/man1/reset.1*
614 %{_mandir}/man1/tabs.1*
615 %{_mandir}/man1/tic.1m*
616 %{_mandir}/man1/toe.1m*
617 %{_mandir}/man1/tput.1*
618 %{_mandir}/man1/tset.1*
619 %{_mandir}/man5/term.5*
620 %{_mandir}/man5/terminfo.5*
621 %{_mandir}/man7/term.7*
622 %lang(fi) %{_mandir}/fi/man1/*
623 %lang(fr) %{_mandir}/fr/man1/*
624 %lang(hu) %{_mandir}/hu/man1/*
625 %lang(id) %{_mandir}/id/man1/*
626 %lang(it) %{_mandir}/it/man1/*
627 %lang(pl) %{_mandir}/pl/man[157]/*
628
629 %files -n terminfo
630 %defattr(644,root,root,755)
631 %{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz]
632 %{_datadir}/terminfo/[dklsvx]/*
633 %exclude %{_datadir}/terminfo/c/cygwin*
634 %exclude %{_datadir}/terminfo/d/dumb
635 %exclude %{_datadir}/terminfo/g/gnome*
636 %exclude %{_datadir}/terminfo/k/klone+color
637 %exclude %{_datadir}/terminfo/k/konsole*
638 %exclude %{_datadir}/terminfo/l/linux*
639 %exclude %{_datadir}/terminfo/p/putty*
640 %exclude %{_datadir}/terminfo/r/rxvt*
641 %exclude %{_datadir}/terminfo/s/screen*
642 %exclude %{_datadir}/terminfo/v/vt100
643 %exclude %{_datadir}/terminfo/v/vt102
644 %exclude %{_datadir}/terminfo/v/vt220
645 %exclude %{_datadir}/terminfo/v/vt220-8
646 %exclude %{_datadir}/terminfo/v/vt52
647 %exclude %{_datadir}/terminfo/x/xterm*
648
649 %files devel
650 %defattr(644,root,root,755)
651 %doc doc/html/ncurses-intro.html
652 %attr(755,root,root) %{_bindir}/ncurses5-config
653 %attr(755,root,root) %{_bindir}/ncursesw6-config
654 %attr(755,root,root) %{_libdir}/libcurses.so
655 %attr(755,root,root) %{_libdir}/libncurses.so
656 %attr(755,root,root) %{_libdir}/libtinfo.so
657 %attr(755,root,root) %{_libdir}/libcursesw.so
658 %attr(755,root,root) %{_libdir}/libncursesw.so
659 %attr(755,root,root) %{_libdir}/libtinfow.so
660 %{_includedir}/curses.h
661 %{_includedir}/eti.h
662 %{_includedir}/nc_tparm.h
663 %{_includedir}/ncurses.h
664 %{_includedir}/ncurses_dll.h
665 %{_includedir}/term.h
666 %{_includedir}/term_entry.h
667 %{_includedir}/termcap.h
668 %{_includedir}/tic.h
669 %{_includedir}/unctrl.h
670 %dir %{_includedir}/ncurses
671 %{_includedir}/ncurses/curses.h
672 %{_includedir}/ncurses/eti.h
673 %{_includedir}/ncurses/nc_tparm.h
674 %{_includedir}/ncurses/ncurses.h
675 %{_includedir}/ncurses/ncurses_dll.h
676 %{_includedir}/ncurses/term.h
677 %{_includedir}/ncurses/term_entry.h
678 %{_includedir}/ncurses/termcap.h
679 %{_includedir}/ncurses/tic.h
680 %{_includedir}/ncurses/unctrl.h
681 %dir %{_includedir}/ncursesw
682 %{_includedir}/ncursesw/curses.h
683 %{_includedir}/ncursesw/eti.h
684 %{_includedir}/ncursesw/nc_tparm.h
685 %{_includedir}/ncursesw/ncurses.h
686 %{_includedir}/ncursesw/ncurses_dll.h
687 %{_includedir}/ncursesw/term.h
688 %{_includedir}/ncursesw/term_entry.h
689 %{_includedir}/ncursesw/termcap.h
690 %{_includedir}/ncursesw/tic.h
691 %{_includedir}/ncursesw/unctrl.h
692 %{_pkgconfigdir}/ncurses.pc
693 %{_pkgconfigdir}/ncursesw.pc
694 %{_mandir}/man1/ncurses5-config.1*
695 %{_mandir}/man1/ncursesw6-config.1*
696 %{_mandir}/man3/BC.3x*
697 %{_mandir}/man3/COLORS.3x*
698 %{_mandir}/man3/COLOR_PAIR.3x*
699 %{_mandir}/man3/COLOR_PAIRS.3x*
700 %{_mandir}/man3/COLS.3x*
701 %{_mandir}/man3/ESCDELAY.3x*
702 %{_mandir}/man3/LINES.3x*
703 %{_mandir}/man3/PAIR_NUMBER.3x*
704 %{_mandir}/man3/PC.3x*
705 %{_mandir}/man3/SP.3x*
706 %{_mandir}/man3/TABSIZE.3x*
707 %{_mandir}/man3/UP.3x*
708 %{_mandir}/man3/_nc_*.3x*
709 %{_mandir}/man3/_trace*.3x*
710 %{_mandir}/man3/acs_map.3x*
711 %{_mandir}/man3/add*.3x*
712 %{_mandir}/man3/assume_default_colors*.3x*
713 %{_mandir}/man3/attr*.3x*
714 %{_mandir}/man3/baudrate*.3x*
715 %{_mandir}/man3/beep*.3x*
716 %{_mandir}/man3/bkgd*.3x*
717 %{_mandir}/man3/bkgrnd*.3x*
718 %{_mandir}/man3/bool*.3x*
719 %{_mandir}/man3/border*.3x*
720 %{_mandir}/man3/box*.3x*
721 %{_mandir}/man3/can_change_color*.3x*
722 %{_mandir}/man3/cbreak*.3x*
723 %{_mandir}/man3/ceiling_panel.3x*
724 %{_mandir}/man3/chgat.3x*
725 %{_mandir}/man3/clear*.3x*
726 %{_mandir}/man3/clrto*.3x*
727 %{_mandir}/man3/color_*.3x*
728 %{_mandir}/man3/copywin.3x*
729 %{_mandir}/man3/cur_term.3x*
730 %{_mandir}/man3/curs_*.3x*
731 %{_mandir}/man3/curscr.3x*
732 %{_mandir}/man3/curses_version.3x*
733 %{_mandir}/man3/def_*.3x*
734 %{_mandir}/man3/default_colors.3x*
735 %{_mandir}/man3/define_key*.3x*
736 %{_mandir}/man3/del_curterm*.3x*
737 %{_mandir}/man3/delay_output*.3x*
738 %{_mandir}/man3/delch.3x*
739 %{_mandir}/man3/deleteln.3x*
740 %{_mandir}/man3/delscreen.3x*
741 %{_mandir}/man3/delwin.3x*
742 %{_mandir}/man3/derwin.3x*
743 %{_mandir}/man3/doupdate*.3x*
744 %{_mandir}/man3/dupwin.3x*
745 %{_mandir}/man3/echo*.3x*
746 %{_mandir}/man3/endwin*.3x*
747 %{_mandir}/man3/erase*.3x*
748 %{_mandir}/man3/filter*.3x*
749 %{_mandir}/man3/flash*.3x*
750 %{_mandir}/man3/flushinp*.3x*
751 %{_mandir}/man3/get*.3x*
752 %{_mandir}/man3/ground_panel.3x*
753 %{_mandir}/man3/halfdelay*.3x*
754 %{_mandir}/man3/has_*.3x*
755 %{_mandir}/man3/hline*.3x*
756 %{_mandir}/man3/idcok.3x*
757 %{_mandir}/man3/idlok.3x*
758 %{_mandir}/man3/immedok.3x*
759 %{_mandir}/man3/in_*.3x*
760 %{_mandir}/man3/inch*.3x*
761 %{_mandir}/man3/init_color*.3x*
762 %{_mandir}/man3/init_pair*.3x*
763 %{_mandir}/man3/initscr.3x*
764 %{_mandir}/man3/innstr.3x*
765 %{_mandir}/man3/innwstr.3x*
766 %{_mandir}/man3/ins*.3x*
767 %{_mandir}/man3/intrflush*.3x*
768 %{_mandir}/man3/inwstr.3x*
769 %{_mandir}/man3/is_*.3x*
770 %{_mandir}/man3/isendwin*.3x*
771 %{_mandir}/man3/key*.3x*
772 %{_mandir}/man3/kill*.3x*
773 %{_mandir}/man3/leaveok.3x*
774 %{_mandir}/man3/legacy_coding.3x*
775 %{_mandir}/man3/longname.3x*
776 %{_mandir}/man3/mcprint*.3x*
777 %{_mandir}/man3/meta.3x*
778 %{_mandir}/man3/mouse*.3x*
779 %{_mandir}/man3/move.3x*
780 %{_mandir}/man3/mv*.3x*
781 %{_mandir}/man3/napms*.3x*
782 %{_mandir}/man3/ncurses.3x*
783 %{_mandir}/man3/new_prescr.3x*
784 %{_mandir}/man3/newpad*.3x*
785 %{_mandir}/man3/newscr.3x*
786 %{_mandir}/man3/newterm*.3x*
787 %{_mandir}/man3/newwin*.3x*
788 %{_mandir}/man3/nl*.3x*
789 %{_mandir}/man3/no*.3x*
790 %{_mandir}/man3/num*.3x*
791 %{_mandir}/man3/ospeed.3x*
792 %{_mandir}/man3/overlay.3x*
793 %{_mandir}/man3/overwrite.3x*
794 %{_mandir}/man3/pair_content*.3x*
795 %{_mandir}/man3/pecho*.3x*
796 %{_mandir}/man3/pnoutrefresh.3x*
797 %{_mandir}/man3/prefresh.3x*
798 %{_mandir}/man3/printw.3x*
799 %{_mandir}/man3/put*.3x*
800 %{_mandir}/man3/qiflush*.3x*
801 %{_mandir}/man3/raw*.3x*
802 %{_mandir}/man3/redrawwin.3x*
803 %{_mandir}/man3/refresh.3x*
804 %{_mandir}/man3/reset_*.3x*
805 %{_mandir}/man3/resetty*.3x*
806 %{_mandir}/man3/resize_term*.3x*
807 %{_mandir}/man3/resizeterm*.3x*
808 %{_mandir}/man3/restartterm*.3x*
809 %{_mandir}/man3/ripoffline*.3x*
810 %{_mandir}/man3/savetty*.3x*
811 %{_mandir}/man3/scanw.3x*
812 %{_mandir}/man3/scr_*.3x*
813 %{_mandir}/man3/scrl.3x*
814 %{_mandir}/man3/scroll*.3x*
815 %{_mandir}/man3/set_curterm*.3x*
816 %{_mandir}/man3/set_escdelay*.3x*
817 %{_mandir}/man3/set_tabsize*.3x*
818 %{_mandir}/man3/set_term.3x*
819 %{_mandir}/man3/setcchar.3x*
820 %{_mandir}/man3/setscrreg.3x*
821 %{_mandir}/man3/setsyx.3x*
822 %{_mandir}/man3/setterm.3x*
823 %{_mandir}/man3/setupterm.3x*
824 %{_mandir}/man3/slk_*.3x*
825 %{_mandir}/man3/stand*.3x*
826 %{_mandir}/man3/start_color*.3x*
827 %{_mandir}/man3/stdscr.3x*
828 %{_mandir}/man3/str*.3x*
829 %{_mandir}/man3/subpad.3x*
830 %{_mandir}/man3/subwin.3x*
831 %{_mandir}/man3/syncok.3x*
832 %{_mandir}/man3/term*.3x*
833 %{_mandir}/man3/tget*.3x*
834 %{_mandir}/man3/tgoto.3x*
835 %{_mandir}/man3/tiget*.3x*
836 %{_mandir}/man3/timeout.3x*
837 %{_mandir}/man3/tiparm.3x*
838 %{_mandir}/man3/touchline.3x*
839 %{_mandir}/man3/touchwin.3x*
840 %{_mandir}/man3/tparm.3x*
841 %{_mandir}/man3/tputs*.3x*
842 %{_mandir}/man3/trace.3x*
843 %{_mandir}/man3/ttytype.3x*
844 %{_mandir}/man3/typeahead*.3x*
845 %{_mandir}/man3/unctrl*.3x*
846 %{_mandir}/man3/unget*.3x*
847 %{_mandir}/man3/untouchwin.3x*
848 %{_mandir}/man3/use_*.3x*
849 %{_mandir}/man3/vid*.3x*
850 %{_mandir}/man3/vline*.3x*
851 %{_mandir}/man3/vw*.3x*
852 %{_mandir}/man3/wadd*.3x*
853 %{_mandir}/man3/wattr*.3x*
854 %{_mandir}/man3/wbkgd*.3x*
855 %{_mandir}/man3/wbkgrnd*.3x*
856 %{_mandir}/man3/wborder*.3x*
857 %{_mandir}/man3/wchgat.3x*
858 %{_mandir}/man3/wclear.3x*
859 %{_mandir}/man3/wclrto*.3x*
860 %{_mandir}/man3/wcolor_set.3x*
861 %{_mandir}/man3/wcursyncup.3x*
862 %{_mandir}/man3/wdel*.3x*
863 %{_mandir}/man3/wecho*.3x*
864 %{_mandir}/man3/wenclose.3x*
865 %{_mandir}/man3/werase.3x*
866 %{_mandir}/man3/wget*.3x*
867 %{_mandir}/man3/whline*.3x*
868 %{_mandir}/man3/win*.3x*
869 %{_mandir}/man3/wmouse_trafo.3x*
870 %{_mandir}/man3/wmove.3x*
871 %{_mandir}/man3/wnoutrefresh.3x*
872 %{_mandir}/man3/wprintw.3x*
873 %{_mandir}/man3/wredrawln.3x*
874 %{_mandir}/man3/wrefresh.3x*
875 %{_mandir}/man3/wresize.3x*
876 %{_mandir}/man3/wscanw.3x*
877 %{_mandir}/man3/wscrl.3x*
878 %{_mandir}/man3/wsetscrreg.3x*
879 %{_mandir}/man3/wstand*.3x*
880 %{_mandir}/man3/wsync*.3x*
881 %{_mandir}/man3/wtimeout.3x*
882 %{_mandir}/man3/wtouchln.3x*
883 %{_mandir}/man3/wunctrl*.3x*
884 %{_mandir}/man3/wvline*.3x*
885 %lang(pl) %{_mandir}/pl/man3/ncurses.3x*
886
887 %files static
888 %defattr(644,root,root,755)
889 %{_libdir}/libncurses.a
890 %{_libdir}/libncursesw.a
891
892 %files ext
893 %defattr(644,root,root,755)
894 %attr(755,root,root) %{_libdir}/libform.so.*.*
895 %attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
896 %attr(755,root,root) %{_libdir}/libmenu.so.*.*
897 %attr(755,root,root) %ghost %{_libdir}/libmenu.so.[56]
898 %attr(755,root,root) %{_libdir}/libpanel.so.*.*
899 %attr(755,root,root) %ghost %{_libdir}/libpanel.so.[56]
900 %attr(755,root,root) %{_libdir}/libformw.so.*.*
901 %attr(755,root,root) %ghost %{_libdir}/libformw.so.[56]
902 %attr(755,root,root) %{_libdir}/libmenuw.so.*.*
903 %attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
904 %attr(755,root,root) %{_libdir}/libpanelw.so.*.*
905 %attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
906
907 %files ext-devel
908 %defattr(644,root,root,755)
909 %attr(755,root,root) %{_libdir}/libform.so
910 %attr(755,root,root) %{_libdir}/libmenu.so
911 %attr(755,root,root) %{_libdir}/libpanel.so
912 %attr(755,root,root) %{_libdir}/libformw.so
913 %attr(755,root,root) %{_libdir}/libmenuw.so
914 %attr(755,root,root) %{_libdir}/libpanelw.so
915 %{_includedir}/form.h
916 %{_includedir}/menu.h
917 %{_includedir}/panel.h
918 %{_includedir}/ncurses*/form.h
919 %{_includedir}/ncurses*/menu.h
920 %{_includedir}/ncurses*/panel.h
921 %{_pkgconfigdir}/form.pc
922 %{_pkgconfigdir}/formw.pc
923 %{_pkgconfigdir}/menu.pc
924 %{_pkgconfigdir}/menuw.pc
925 %{_pkgconfigdir}/panel.pc
926 %{_pkgconfigdir}/panelw.pc
927 %{_mandir}/man3/TYPE_ALNUM.3x*
928 %{_mandir}/man3/TYPE_ALPHA.3x*
929 %{_mandir}/man3/TYPE_ENUM.3x*
930 %{_mandir}/man3/TYPE_INTEGER.3x*
931 %{_mandir}/man3/TYPE_IPV4.3x*
932 %{_mandir}/man3/TYPE_NUMERIC.3x*
933 %{_mandir}/man3/TYPE_REGEXP.3x*
934 %{_mandir}/man3/bottom_panel.3x*
935 %{_mandir}/man3/current_field.3x*
936 %{_mandir}/man3/current_item.3x*
937 %{_mandir}/man3/data_ahead.3x*
938 %{_mandir}/man3/data_behind.3x*
939 %{_mandir}/man3/del_panel.3x*
940 %{_mandir}/man3/dup_field.3x*
941 %{_mandir}/man3/dynamic_field_info.3x*
942 %{_mandir}/man3/field_*.3x*
943 %{_mandir}/man3/form*.3x*
944 %{_mandir}/man3/free_*.3x*
945 %{_mandir}/man3/hide_panel.3x*
946 %{_mandir}/man3/item_*.3x*
947 %{_mandir}/man3/link_field*.3x*
948 %{_mandir}/man3/menu*.3x*
949 %{_mandir}/man3/mitem_*.3x*
950 %{_mandir}/man3/move_field.3x*
951 %{_mandir}/man3/move_panel.3x*
952 %{_mandir}/man3/new_field*.3x*
953 %{_mandir}/man3/new_form*.3x*
954 %{_mandir}/man3/new_item.3x*
955 %{_mandir}/man3/new_menu*.3x*
956 %{_mandir}/man3/new_page.3x*
957 %{_mandir}/man3/new_panel.3x*
958 %{_mandir}/man3/panel*.3x*
959 %{_mandir}/man3/pos_form_cursor.3x*
960 %{_mandir}/man3/pos_menu_cursor.3x*
961 %{_mandir}/man3/post_form.3x*
962 %{_mandir}/man3/post_menu.3x*
963 %{_mandir}/man3/replace_panel.3x*
964 %{_mandir}/man3/scale_form.3x*
965 %{_mandir}/man3/scale_menu.3x*
966 %{_mandir}/man3/set_current_field.3x*
967 %{_mandir}/man3/set_current_item.3x*
968 %{_mandir}/man3/set_field*.3x*
969 %{_mandir}/man3/set_form_*.3x*
970 %{_mandir}/man3/set_item_*.3x*
971 %{_mandir}/man3/set_max_field.3x*
972 %{_mandir}/man3/set_menu_*.3x*
973 %{_mandir}/man3/set_new_page.3x*
974 %{_mandir}/man3/set_panel_userptr.3x*
975 %{_mandir}/man3/set_top_row.3x*
976 %{_mandir}/man3/show_panel.3x*
977 %{_mandir}/man3/top_panel.3x*
978 %{_mandir}/man3/top_row.3x*
979 %{_mandir}/man3/unpost_form.3x*
980 %{_mandir}/man3/unpost_menu.3x*
981 %{_mandir}/man3/update_panels*.3x*
982
983 %files ext-static
984 %defattr(644,root,root,755)
985 %{_libdir}/libform.a
986 %{_libdir}/libmenu.a
987 %{_libdir}/libpanel.a
988 %{_libdir}/libformw.a
989 %{_libdir}/libmenuw.a
990 %{_libdir}/libpanelw.a
991
992 %if %{with cxx}
993 %files c++-devel
994 %defattr(644,root,root,755)
995 %doc c++/{demo.cc,README-first,NEWS,PROBLEMS}
996 %{_includedir}/cursesapp.h
997 %{_includedir}/cursesf.h
998 %{_includedir}/cursesm.h
999 %{_includedir}/cursesp.h
1000 %{_includedir}/cursesw.h
1001 %{_includedir}/etip.h
1002 %{_includedir}/cursslk.h
1003 %{_includedir}/ncurses/cursesapp.h
1004 %{_includedir}/ncurses/cursesf.h
1005 %{_includedir}/ncurses/cursesm.h
1006 %{_includedir}/ncurses/cursesp.h
1007 %{_includedir}/ncurses/cursesw.h
1008 %{_includedir}/ncurses/etip.h
1009 %{_includedir}/ncurses/cursslk.h
1010 %{_includedir}/ncursesw/cursesapp.h
1011 %{_includedir}/ncursesw/cursesf.h
1012 %{_includedir}/ncursesw/cursesm.h
1013 %{_includedir}/ncursesw/cursesp.h
1014 %{_includedir}/ncursesw/cursesw.h
1015 %{_includedir}/ncursesw/etip.h
1016 %{_includedir}/ncursesw/cursslk.h
1017 %{_pkgconfigdir}/ncurses++.pc
1018 %{_pkgconfigdir}/ncurses++w.pc
1019
1020 %files c++-static
1021 %defattr(644,root,root,755)
1022 %{_libdir}/libncurses++.a
1023 %{_libdir}/libncurses++w.a
1024 %endif
1025
1026 %if %{with ada}
1027 %files ada-devel
1028 %defattr(644,root,root,755)
1029 %doc Ada95/{README,TODO}
1030 %attr(755,root,root) %{_bindir}/adacurses-config
1031 %attr(755,root,root) %{_bindir}/adacursesw-config
1032 %{_libdir}/gcc/*/*/adainclude/*.ad[bs]
1033 %{_libdir}/gcc/*/*/adalib/libAdaCurses.a
1034 %{_mandir}/man1/adacurses-config.1*
1035 %{_mandir}/man1/adacurses.1*
1036 %{_mandir}/man1/adacursesw-config.1*
1037 %endif
This page took 0.138371 seconds and 4 git commands to generate.