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