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