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
12 Summary: curses terminal control library
13 Summary(de.UTF-8): curses-Terminal-Control-Library
14 Summary(es.UTF-8): Biblioteca de control de terminal curses
15 Summary(fr.UTF-8): La bibliothéque de contrôle de terminal curses
16 Summary(pl.UTF-8): Biblioteki do kontrolowania terminala
17 Summary(pt_BR.UTF-8): Biblioteca de controle de terminal curses
18 Summary(ru.UTF-8): ncurses - новая библиотека управления терминалами
19 Summary(tr.UTF-8): Terminal kontrol kitaplığı
20 Summary(uk.UTF-8): ncurses - нова бібліотека керування терміналами
24 License: distributable
26 Source0: ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
27 # Source0-md5: 8cb9c412e5f2d96bc6f459aa8c6282a1
28 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
29 # Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
31 # source: ftp://dickey.his.com/ncurses/5.9/
32 Patch0: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120616-patch.sh.bz2
33 # Patch0-md5: f54bf02a349f96a7c4f0d00922f3a0d4
34 Patch1: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120622.patch.gz
35 # Patch1-md5: 36050b2f6827f1b0c6e067ad926832fd
36 Patch2: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120630.patch.gz
37 # Patch2-md5: 8f7e13c2bf0cbbea534b77ef93511384
38 Patch3: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120707.patch.gz
39 # Patch3-md5: baca6817f5783f07473f6af87b6aaa39
40 Patch4: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120714.patch.gz
41 # Patch4-md5: 30bad59b6406dee788201d285f9ea8f7
42 Patch5: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120721.patch.gz
43 # Patch5-md5: e5de2a1348f468a4488e6be2537b6dee
44 Patch6: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120728.patch.gz
45 # Patch6-md5: a5e0e9e40e06e7c40764d09728feaf23
46 Patch7: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120804.patch.gz
47 # Patch7-md5: 6f36d88f0c52ee4d988d1750707dedf2
48 Patch8: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120811.patch.gz
49 # Patch8-md5: 55dd0f570891aef807fb3f72013e5dda
50 Patch9: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120825.patch.gz
51 # Patch9-md5: 7562120899d6fc598163bc691c6ebf18
52 Patch10: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120826.patch.gz
53 # Patch10-md5: 1e15d50ff5599f2cd261f01cb698c69c
54 Patch11: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120901.patch.gz
55 # Patch11-md5: fba4b71aa2a2b5dea10bf329ac4ba781
56 Patch12: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120902.patch.gz
57 # Patch12-md5: 3df2d816f4253ab3f8bc237250d40cb5
58 Patch13: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120903.patch.gz
59 # Patch13-md5: 85f145b705bfa80ae4efcc6990fb3ec1
60 Patch14: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120908.patch.gz
61 # Patch14-md5: b353472fa2ff73bac2e471fb012a9c18
62 Patch15: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120922.patch.gz
63 # Patch15-md5: 94470fef0c012a51fdce05870eca5571
64 Patch16: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121006.patch.gz
65 # Patch16-md5: 049fc841bd6cc9b81b1ebef48cc1d8ff
66 Patch17: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121013.patch.gz
67 # Patch17-md5: 23ba3541e3f28b33b712ccf01dc91f83
68 Patch18: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121017.patch.gz
69 # Patch18-md5: 6127b212055aa7eaff8a67cbd32eab3c
70 Patch19: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121026.patch.gz
71 # Patch19-md5: 070bf5029f8a58ec9244215e0b5862ef
72 Patch20: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121102.patch.gz
73 # Patch20-md5: 12b439167f1001e9e759524a6e56f2ad
74 Patch21: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121110.patch.gz
75 # Patch21-md5: 1d207ae3773325c5904ccb99a13c02eb
76 Patch22: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121117.patch.gz
77 # Patch22-md5: e6e77f332dcea086927cab51b914c6f2
78 Patch23: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121124.patch.gz
79 # Patch23-md5: e0fffab860632597dfb816223bc628a7
80 Patch24: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121201.patch.gz
81 # Patch24-md5: 0a89add847ff9e43c5f99eaa677b5eaa
82 Patch25: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121208.patch.gz
83 # Patch25-md5: 2c7a522807d9253138679f14eb2e693b
84 Patch26: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121215.patch.gz
85 # Patch26-md5: ed250b707e8270169bcf21533a362468
86 Patch27: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121222.patch.gz
87 # Patch27-md5: 297e341ae7e3a09033e91de848e6f723
88 Patch28: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121229.patch.gz
89 # Patch28-md5: 762ddc8539c0bf07be3688e0eca7781e
90 Patch29: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130105.patch.gz
91 # Patch29-md5: 93981da71a5d3e3c7c9077e03297cf22
92 Patch30: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130112.patch.gz
93 # Patch30-md5: d7978571a4675477a3e98e542b20c2f0
94 Patch31: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130119.patch.gz
95 # Patch31-md5: aa40c0dc6da9f8fd9feae7d1789b92f0
96 Patch32: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130126.patch.gz
97 # Patch32-md5: 73a4a971feb694e626558e732362bcfb
98 Patch33: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130202.patch.gz
99 # Patch33-md5: cabea79e04fd2ef3a52964eb8e82f730
100 Patch34: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130209.patch.gz
101 # Patch34-md5: f94a173644ede1b357a50ef42d7ae91e
102 Patch100: %{name}-screen_hpa_fix.patch
103 Patch101: %{name}-xterm_hpa_fix.patch
104 Patch102: %{name}-meta.patch
105 Patch103: %{name}-xterm-home-end.patch
106 Patch104: %{name}-mouse_trafo-warning.patch
107 Patch105: %{name}-gnome-terminal.patch
108 # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
109 Patch107: %{name}-no-rain-demo.patch
110 Patch108: %{name}-fix-nonunicode-breakage.patch
111 URL: http://dickey.his.com/ncurses/ncurses.html
112 BuildRequires: automake
114 BuildRequires: gcc-ada
115 # gnat bug: https://bugzilla.redhat.com/show_bug.cgi?id=613407
116 # gcc patch: https://bugzilla.redhat.com/attachment.cgi?id=435931
117 # seems worker around when using gcc 4.6.2? --q
118 #BuildRequires: libgnat-static
120 %{?with_gpm:BuildRequires: gpm-devel}
121 %{?with_cxx:BuildRequires: libstdc++-devel}
122 %{?with_ada:BuildRequires: m4}
123 BuildRequires: pkgconfig
124 BuildRequires: sharutils
125 # for compatibility with old PLD packages
126 %ifarch %{x8664} ppc64 sparc64 s390x
127 Provides: libtinfo.so.5()(64bit)
128 Provides: libtinfow.so.5()(64bit)
129 Provides: libtinfow.so.6()(64bit)
131 Provides: libtinfo.so.5
132 Provides: libtinfow.so.5
133 Provides: libtinfow.so.6
135 Obsoletes: libncurses5
136 Conflicts: terminfo < 5.4-0.6
137 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
139 %define _includedir %{_prefix}/include/ncurses
142 The curses library routines give the user a terminal-independent
143 method of updating character screens with reasonable optimization.
144 This implementation is ``new curses'' (ncurses) and is the approved
145 replacement for 4.4BSD classic curses, which is being discontinued.
147 %description -l de.UTF-8
148 Die curses-Library-Routinen geben dem Benutzer eine
149 Terminal-unabhängige Methode zur optimierten Aktualisierung von
150 zeichenbasierenden Bildschirminhalten an die Hand. Die vorliegende
151 Implementierung ist NEW CURSES (ncurses), die offizielle
152 Nachfolgerversion für 4.4BSC (die klassische curses-Version), welche
153 nicht weitergeführt wird.
155 %description -l es.UTF-8
156 Las rutinas de la biblioteca curses ofrecen al usuario un método
157 independiente de terminal para actualización de las pantallas de
158 caracteres con optimización razonable. Este soporte es "nuevo curses"
159 (ncurses) y es el substituto aprobado para los clásicos curses 4.4BSD,
160 que se quedaban desfasados.
162 %description -l fr.UTF-8
163 Les routines de la bibliothèque curses donnent à l'utilisateur une
164 méthode indépendante du terminal pour la mise à jour des écrans en
165 mode texte avec une optimisation correcte. Ceci est l'implantation du
166 « nouveau curses » (ncurses) et est le remplacement du curses 4.4BSD
167 classique qui est abandonné.
169 %description -l pl.UTF-8
170 Biblioteka curses udostępnia funkcje pozwalające użytkownikom na
171 odwoływanie się do zawartości terminala niezależnie od jego typu.
172 Pakiet ten zawiera implementację klasycznej biblioteki curses (z
173 systemu 4.4BSD) o nazwie ncurses (new curses) i jest zarazem jej
174 przyszłym zamiennikiem.
176 %description -l pt_BR.UTF-8
177 As rotinas da biblioteca curses fornecem ao usuário um método
178 independente de terminal para atualização das telas de caracteres com
179 otimização razoável. Essa implementação é "novo curses" (ncurses) e é
180 o substituto aprovado para os clássicos curses 4.4BSD, que estão se
183 %description -l ru.UTF-8
184 Программы библиотеки curses предоставляют пользователям возможность
185 терминально-независимого обновления символьных экранов с достаточной
186 оптимизацией. Эта реализация - "новые curses" (ncurses), которая
187 является одобренной заменой классической библиотеки curses из 4.4BSD,
188 в настоящее время "снятой с производства". В PLD Linux ncurses
189 является жизненно необходимой, без нее не будут функционировать многие
190 программы, составляющие базовую систему. Практически все программы,
191 которые выводят что-либо на терминал, используют ncurses. В PLD Linux
192 ни библиотека termcap, ни традиционный файл /etc/termcap, не
195 %description -l tr.UTF-8
196 curses kitaplığı ile kullanıcıya kullanılan terminal tipinden bağımsız
197 olarak karakter tabanlı ekranlara erişim olanağı sağlanabilmektedir.
198 Bu uyarlama 'new curses' (ncurses), BSD deki klasik curses'in gelişmiş
201 %description -l uk.UTF-8
202 Програми бібліотеки curses дають користувачам можливість
203 термінально-незалежного поновлення символьних екранів з достатньою
204 оптимізацією. Ця реалізація - "нові curses" (ncurses), котра є
205 схваленою заміною класичної бібліотеки curses з 4.4BSD, яка наразі
206 "знята з виробництва". В PLD Linux ncurses є життєво необхідною, без
207 неї не буде працювати більшость програм, що складають базову систему.
208 Практично всі програми, котрі виводять щось на термінал,
209 використовують ncurses. В PLD Linux ані бібліотека termcap, ані
210 традиційний файл /etc/termcap не використовуються...
213 Summary: Complete terminfo database
214 Summary(es.UTF-8): Banco de datos terminfo para terminales extras (menos usados)
215 Summary(pl.UTF-8): Kompletna baza terminfo
216 Summary(pt_BR.UTF-8): Base de dados terminfo para terminais adicionais (menos usados)
217 Group: Applications/Terminal
218 Requires: %{name} = %{version}-%{release}
219 Obsoletes: ncurses-extraterms
221 %description -n terminfo
222 This package contains complete terminfo database. If you just use the
223 Linux console, xterm and VT100, you probably will not need this this -
224 a minimal %{_datadir}/terminfo tree for these terminal is already
225 included in the ncurses package.
227 %description -n terminfo -l es.UTF-8
228 Banco de datos terminfo para terminales extras. Las capacidades de los
229 terminales más usados ya están en el paquete principal ncurses.
231 %description -n terminfo -l pl.UTF-8
232 Pakiet ten zawiera kompletną bazę terminfo. Jeżeli używasz terminali
233 linux, console, xterm, vt100 prawdopodobnie nie bedziesz potrzebował
234 tego pakietu gdyż definicje tych terminali są włączone w pakiet
237 %description -n terminfo -l pt_BR.UTF-8
238 Base de dados terminfo para terminais extras. As definições dos
239 terminais mais usados já estão no pacote principal ncurses.
242 Summary: Header files for develop ncurses based application
243 Summary(es.UTF-8): Bibliotecas de desarrollo para ncurses
244 Summary(pl.UTF-8): Pliki nagłówkowe do bibliotek ncurses
245 Summary(pt_BR.UTF-8): Bibliotecas de desenvolvimento para ncurses
246 Summary(ru.UTF-8): Хедеры и библиотеки для разработки программ с ncurses
247 Summary(uk.UTF-8): Хедери та бібліотеки для розробки програм з ncurses
248 Group: Development/Libraries
249 Requires: %{name} = %{version}-%{release}
250 Obsoletes: libncurses5-devel
251 Obsoletes: libtermcap-devel
254 This package includes the header files and libraries necessary to
255 develop applications that use ncurses.
257 %description devel -l es.UTF-8
258 Este paquete incluye las bibliotecas y archivos de inclusión
259 necesarios al desarrollo de aplicaciones que usan ncurses.
261 %description devel -l pl.UTF-8
262 Pakiet ten zawiera pliki nagłówkowe niezbędne do pisania/kompilowania
263 programów z wykorzystaniem bibliotek ncurses.
265 %description devel -l pt_BR.UTF-8
266 Este pacote inclui as bibliotecas e arquivos de inclusão necessários
267 ao desenvolvimento de aplicações que usam ncurses.
269 %description devel -l ru.UTF-8
270 Этот пакет содержит хедеры и библиотеки, необходимые для разработки
271 программ, использующих ncurses.
273 %description devel -l uk.UTF-8
274 Цей пакет містить хедери та бібліотеки, необхідні для розробки
275 програм, що використовують ncurses.
278 Summary: Static libraries for ncurses
279 Summary(es.UTF-8): Static libraries for ncurses development
280 Summary(pl.UTF-8): Biblioteki statyczne ncurses
281 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ncurses
282 Summary(ru.UTF-8): Статические библиотеки для разработки программ с ncurses
283 Summary(uk.UTF-8): Статичні бібліотеки для розробки програм з ncurses
284 Group: Development/Libraries
285 Requires: %{name}-devel = %{version}-%{release}
288 This package includes the static libraries necessary to develop
289 applications that use ncurses.
291 %description static -l es.UTF-8
292 Static libraries for ncurses development.
294 %description static -l pl.UTF-8
295 Pakiet ten zawiera biblioteki statyczne ncurses.
297 %description static -l pt_BR.UTF-8
298 Bibliotecas estáticas para desenvolvimento com ncurses.
300 %description static -l ru.UTF-8
301 Этот пакет содержит статические библиотеки, необходимые для разработки
302 программ, использующих ncurses.
304 %description static -l uk.UTF-8
305 Цей пакет містить статичні бібліотеки, необхідні для розробки програм,
306 що використовують ncurses.
309 Summary: Additional ncurses libraries
310 Summary(pl.UTF-8): Dodatkowe biblioteki ncurses
312 Requires: %{name} = %{version}-%{release}
315 This package contains addidion ncurses libraries like libforms,
316 libmenu and libpanel for easy making full screen curse application.
318 %description ext -l pl.UTF-8
319 Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel
320 służące do łatwego tworzenia aplikacji pełnoekranowych korzystających
324 Summary: Header files for additional ncurses libraries
325 Summary(pl.UTF-8): Pliki nagłówkowe dodatkowych bibliotek ncurses
326 Group: Development/Libraries
327 Requires: %{name}-devel = %{version}-%{release}
328 Requires: %{name}-ext = %{version}-%{release}
330 %description ext-devel
331 Header files for additional ncurses libraries (form, menu, panel).
333 %description ext-devel -l pl.UTF-8
334 Pliki nagłówkowe dodatkowych bibliotek ncurses (form, menu, panel).
337 Summary: Static versions of additional ncurses libraries
338 Summary(pl.UTF-8): Statyczne wersje dodatkowych bibliotek ncurses
339 Group: Development/Libraries
340 Requires: %{name}-ext-devel = %{version}-%{release}
342 %description ext-static
343 Static versions of additional ncurses libraries (form, menu, panel).
345 %description ext-static -l pl.UTF-8
346 Statyczne wersje dodatkowych bibliotek ncurses (form, menu, panel).
349 Summary: Header files for develop C++ ncurses based application
350 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki C++ ncurses
351 Group: Development/Libraries
352 Requires: %{name}-devel = %{version}-%{release}
354 %description c++-devel
355 This package includes the header files and libraries necessary to
356 develop applications that use C++ ncurses.
358 %description c++-devel -l pl.UTF-8
359 Pakiet ten zawiera pliki nagłówkowe niezbędne do kompilacji programów
360 z wykorzystaniem biblioteki c++-ncurses.
363 Summary: Static libraries for C++ ncurses
364 Summary(pl.UTF-8): Biblioteki statyczne C++ ncurses
365 Group: Development/Libraries
366 Requires: %{name}-c++-devel = %{version}-%{release}
368 %description c++-static
369 This package includes the static libraries necessary to develop
370 applications that use C++ ncurses.
372 %description c++-static -l pl.UTF-8
373 Pakiet ten zawiera biblioteki statyczne C++ ncurses.
376 Summary: Header files for develop Ada95 ncurses based application
377 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Ada95 ncurses
378 Group: Development/Libraries
379 Requires: %{name}-devel = %{version}-%{release}
380 %{?with_ada:%requires_eq gcc-ada}
382 %description ada-devel
383 This package includes the header files and libraries necessary to
384 develop applications that use Ada95 ncurses.
386 %description ada-devel -l pl.UTF-8
387 Ten pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do
388 tworzenia aplikacji używających ncurses w języku Ada95.
439 gcc_target=$(gcc -dumpmachine)
440 gcc_version=%{cc_version}
441 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
442 cp -f /usr/share/automake/config.sub .
444 for t in narrowc wideclowcolor widec; do
448 --with-install-prefix=$RPM_BUILD_ROOT \
451 --with%{!?with_ada:out}-ada \
452 --with%{!?with_cxx:out}-cxx \
453 --with%{!?with_cxx:out}-cxx-binding \
454 --with%{!?debug:out}-debug \
455 --with%{!?with_gpm:out}-gpm \
458 --with-ospeed=unsigned \
461 --enable-xmc-glitch \
463 --with-pkg-config-libdir=%{_pkgconfigdir} \
465 --with-chtype='long' \
466 --with-mmask-t='long' \
467 --with-manpage-aliases \
468 --with-manpage-format=normal \
469 --without-manpage-symlinks \
470 --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
471 --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
472 `[ "$t" = "wideclowcolor" ] && echo --enable-widec --disable-ext-colors --includedir=%{_includedir}wlc` \
473 `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors --includedir=%{_includedir}w`
481 rm -rf $RPM_BUILD_ROOT
482 install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}}
484 for t in narrowc widec; do
485 %{__make} -C obj-$t install \
486 INSTALL_PREFIX=$RPM_BUILD_ROOT
489 ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
491 mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
492 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
493 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
494 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncursesw.so
495 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
496 mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib}
497 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so
498 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so
500 ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
502 # binary compatibility for packages using libncursesw.so.5 (without ext-colors)
503 cp -a obj-wideclowcolor/lib/libncursesw.so.5* $RPM_BUILD_ROOT%{_libdir}
504 # binary compatibility for packages usign libtinfo.so.5/libtinfow.so.5/libtinfow.so.6
505 ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.5.*) $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.5
506 ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.6
507 ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.5
509 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
511 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcurses.a
512 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
513 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ncurses-non-english-man-pages
516 rm -rf $RPM_BUILD_ROOT
518 %post -p /sbin/ldconfig
519 %postun -p /sbin/ldconfig
521 %post ext -p /sbin/ldconfig
522 %postun ext -p /sbin/ldconfig
524 %triggerpostun -- %{name} < 5.9-3
525 # rpm seems to remove them as those was %ghosts in ncurses < 5.9-3
526 # despite existing now as normal files/symlinks
527 ln -sf /%{_lib}/libncurses.so.5.* /%{_lib}/libtinfo.so.5
528 ln -sf /%{_lib}/libncursesw.so.6.* /%{_lib}/libtinfow.so.6
529 ln -sf %{_libdir}/libncursesw.so.5.* %{_libdir}/libtinfow.so.5
533 %defattr(644,root,root,755)
535 %attr(755,root,root) %{_bindir}/captoinfo
536 %attr(755,root,root) %{_bindir}/clear
537 %attr(755,root,root) %{_bindir}/infocmp
538 %attr(755,root,root) %{_bindir}/infotocap
539 %attr(755,root,root) %{_bindir}/reset
540 %attr(755,root,root) %{_bindir}/tabs
541 %attr(755,root,root) %{_bindir}/tic
542 %attr(755,root,root) %{_bindir}/toe
543 %attr(755,root,root) %{_bindir}/tput
544 %attr(755,root,root) %{_bindir}/tset
545 %attr(755,root,root) /%{_lib}/libncurses.so.*.*
546 %attr(755,root,root) %ghost /%{_lib}/libncurses.so.5
547 %attr(755,root,root) /%{_lib}/libncursesw.so.*.*
548 %attr(755,root,root) %ghost /%{_lib}/libncursesw.so.6
549 %attr(755,root,root) %{_libdir}/libncursesw.so.*.*
550 %attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
551 %attr(755,root,root) /%{_lib}/libtinfo.so.5
552 %attr(755,root,root) /%{_lib}/libtinfow.so.6
553 %attr(755,root,root) %{_libdir}/libtinfow.so.5
557 %dir %{_datadir}/terminfo
558 %{_datadir}/terminfo/E
559 %dir %{_datadir}/terminfo/[cdgklprsvx]
561 %{_datadir}/terminfo/c/cygwin*
562 %{_datadir}/terminfo/d/dumb
563 %{_datadir}/terminfo/g/gnome*
564 %{_datadir}/terminfo/k/klone+color
565 %{_datadir}/terminfo/k/konsole*
566 %{_datadir}/terminfo/l/linux*
567 %{_datadir}/terminfo/p/putty*
568 %{_datadir}/terminfo/r/rxvt*
569 %{_datadir}/terminfo/s/screen*
570 %{_datadir}/terminfo/v/vt100
571 %{_datadir}/terminfo/v/vt220
572 %{_datadir}/terminfo/v/vt220-8
573 %{_datadir}/terminfo/v/vt52
574 %{_datadir}/terminfo/x/xterm*
576 %{_mandir}/man1/captoinfo.1m*
577 %{_mandir}/man1/clear.1*
578 %{_mandir}/man1/infocmp.1m*
579 %{_mandir}/man1/infotocap.1m*
580 %{_mandir}/man1/reset.1*
581 %{_mandir}/man1/tabs.1*
582 %{_mandir}/man1/tic.1m*
583 %{_mandir}/man1/toe.1m*
584 %{_mandir}/man1/tput.1*
585 %{_mandir}/man1/tset.1*
586 %{_mandir}/man5/term.5*
587 %{_mandir}/man5/terminfo.5*
588 %{_mandir}/man7/term.7*
589 %lang(fi) %{_mandir}/fi/man1/*
590 %lang(fr) %{_mandir}/fr/man1/*
591 %lang(hu) %{_mandir}/hu/man1/*
592 %lang(id) %{_mandir}/id/man1/*
593 %lang(it) %{_mandir}/it/man1/*
594 %lang(pl) %{_mandir}/pl/man[157]/*
597 %defattr(644,root,root,755)
598 %{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz]
599 %{_datadir}/terminfo/[dklsvx]/*
600 %exclude %{_datadir}/terminfo/c/cygwin*
601 %exclude %{_datadir}/terminfo/d/dumb
602 %exclude %{_datadir}/terminfo/g/gnome*
603 %exclude %{_datadir}/terminfo/k/klone+color
604 %exclude %{_datadir}/terminfo/k/konsole*
605 %exclude %{_datadir}/terminfo/l/linux*
606 %exclude %{_datadir}/terminfo/p/putty*
607 %exclude %{_datadir}/terminfo/r/rxvt*
608 %exclude %{_datadir}/terminfo/s/screen*
609 %exclude %{_datadir}/terminfo/v/vt100
610 %exclude %{_datadir}/terminfo/v/vt220
611 %exclude %{_datadir}/terminfo/v/vt220-8
612 %exclude %{_datadir}/terminfo/v/vt52
613 %exclude %{_datadir}/terminfo/x/xterm*
616 %defattr(644,root,root,755)
617 %doc doc/html/ncurses-intro.html
618 %attr(755,root,root) %{_bindir}/ncurses5-config
619 %attr(755,root,root) %{_bindir}/ncursesw6-config
620 %attr(755,root,root) %{_libdir}/libcurses.so
621 %attr(755,root,root) %{_libdir}/libncurses.so
622 %attr(755,root,root) %{_libdir}/libtinfo.so
623 %attr(755,root,root) %{_libdir}/libcursesw.so
624 %attr(755,root,root) %{_libdir}/libncursesw.so
625 %attr(755,root,root) %{_libdir}/libtinfow.so
627 %{_includedir}/curses.h
629 %{_includedir}/nc_tparm.h
630 %{_includedir}/ncurses.h
631 %{_includedir}/ncurses_dll.h
632 %{_includedir}/term.h
633 %{_includedir}/term_entry.h
634 %{_includedir}/termcap.h
636 %{_includedir}/unctrl.h
638 %{_includedir}w/curses.h
639 %{_includedir}w/eti.h
640 %{_includedir}w/nc_tparm.h
641 %{_includedir}w/ncurses.h
642 %{_includedir}w/ncurses_dll.h
643 %{_includedir}w/term.h
644 %{_includedir}w/term_entry.h
645 %{_includedir}w/termcap.h
646 %{_includedir}w/tic.h
647 %{_includedir}w/unctrl.h
648 %{_pkgconfigdir}/ncurses.pc
649 %{_pkgconfigdir}/ncursesw.pc
650 %{_mandir}/man1/ncurses5-config.1*
651 %{_mandir}/man1/ncursesw6-config.1*
652 %{_mandir}/man3/BC.3x*
653 %{_mandir}/man3/COLORS.3x*
654 %{_mandir}/man3/COLOR_PAIR.3x*
655 %{_mandir}/man3/COLOR_PAIRS.3x*
656 %{_mandir}/man3/COLS.3x*
657 %{_mandir}/man3/ESCDELAY.3x*
658 %{_mandir}/man3/LINES.3x*
659 %{_mandir}/man3/PAIR_NUMBER.3x*
660 %{_mandir}/man3/PC.3x*
661 %{_mandir}/man3/SP.3x*
662 %{_mandir}/man3/TABSIZE.3x*
663 %{_mandir}/man3/UP.3x*
664 %{_mandir}/man3/_nc_*.3x*
665 %{_mandir}/man3/_trace*.3x*
666 %{_mandir}/man3/acs_map.3x*
667 %{_mandir}/man3/add*.3x*
668 %{_mandir}/man3/assume_default_colors*.3x*
669 %{_mandir}/man3/attr*.3x*
670 %{_mandir}/man3/baudrate*.3x*
671 %{_mandir}/man3/beep*.3x*
672 %{_mandir}/man3/bkgd*.3x*
673 %{_mandir}/man3/bkgrnd*.3x*
674 %{_mandir}/man3/bool*.3x*
675 %{_mandir}/man3/border*.3x*
676 %{_mandir}/man3/box*.3x*
677 %{_mandir}/man3/can_change_color*.3x*
678 %{_mandir}/man3/cbreak*.3x*
679 %{_mandir}/man3/ceiling_panel.3x*
680 %{_mandir}/man3/chgat.3x*
681 %{_mandir}/man3/clear*.3x*
682 %{_mandir}/man3/clrto*.3x*
683 %{_mandir}/man3/color_*.3x*
684 %{_mandir}/man3/copywin.3x*
685 %{_mandir}/man3/cur_term.3x*
686 %{_mandir}/man3/curs_*.3x*
687 %{_mandir}/man3/curscr.3x*
688 %{_mandir}/man3/curses_version.3x*
689 %{_mandir}/man3/def_*.3x*
690 %{_mandir}/man3/default_colors.3x*
691 %{_mandir}/man3/define_key*.3x*
692 %{_mandir}/man3/del_curterm*.3x*
693 %{_mandir}/man3/delay_output*.3x*
694 %{_mandir}/man3/delch.3x*
695 %{_mandir}/man3/deleteln.3x*
696 %{_mandir}/man3/delscreen.3x*
697 %{_mandir}/man3/delwin.3x*
698 %{_mandir}/man3/derwin.3x*
699 %{_mandir}/man3/doupdate*.3x*
700 %{_mandir}/man3/dupwin.3x*
701 %{_mandir}/man3/echo*.3x*
702 %{_mandir}/man3/endwin*.3x*
703 %{_mandir}/man3/erase*.3x*
704 %{_mandir}/man3/filter*.3x*
705 %{_mandir}/man3/flash*.3x*
706 %{_mandir}/man3/flushinp*.3x*
707 %{_mandir}/man3/get*.3x*
708 %{_mandir}/man3/ground_panel.3x*
709 %{_mandir}/man3/halfdelay*.3x*
710 %{_mandir}/man3/has_*.3x*
711 %{_mandir}/man3/hline*.3x*
712 %{_mandir}/man3/idcok.3x*
713 %{_mandir}/man3/idlok.3x*
714 %{_mandir}/man3/immedok.3x*
715 %{_mandir}/man3/in_*.3x*
716 %{_mandir}/man3/inch*.3x*
717 %{_mandir}/man3/init_color*.3x*
718 %{_mandir}/man3/init_pair*.3x*
719 %{_mandir}/man3/initscr.3x*
720 %{_mandir}/man3/innstr.3x*
721 %{_mandir}/man3/innwstr.3x*
722 %{_mandir}/man3/ins*.3x*
723 %{_mandir}/man3/intrflush*.3x*
724 %{_mandir}/man3/inwstr.3x*
725 %{_mandir}/man3/is_*.3x*
726 %{_mandir}/man3/isendwin*.3x*
727 %{_mandir}/man3/key*.3x*
728 %{_mandir}/man3/kill*.3x*
729 %{_mandir}/man3/leaveok.3x*
730 %{_mandir}/man3/legacy_coding.3x*
731 %{_mandir}/man3/longname.3x*
732 %{_mandir}/man3/mcprint*.3x*
733 %{_mandir}/man3/meta.3x*
734 %{_mandir}/man3/mouse*.3x*
735 %{_mandir}/man3/move.3x*
736 %{_mandir}/man3/mv*.3x*
737 %{_mandir}/man3/napms*.3x*
738 %{_mandir}/man3/ncurses.3x*
739 %{_mandir}/man3/new_prescr.3x*
740 %{_mandir}/man3/newpad*.3x*
741 %{_mandir}/man3/newscr.3x*
742 %{_mandir}/man3/newterm*.3x*
743 %{_mandir}/man3/newwin*.3x*
744 %{_mandir}/man3/nl*.3x*
745 %{_mandir}/man3/no*.3x*
746 %{_mandir}/man3/num*.3x*
747 %{_mandir}/man3/ospeed.3x*
748 %{_mandir}/man3/overlay.3x*
749 %{_mandir}/man3/overwrite.3x*
750 %{_mandir}/man3/pair_content*.3x*
751 %{_mandir}/man3/pecho*.3x*
752 %{_mandir}/man3/pnoutrefresh.3x*
753 %{_mandir}/man3/prefresh.3x*
754 %{_mandir}/man3/printw.3x*
755 %{_mandir}/man3/put*.3x*
756 %{_mandir}/man3/qiflush*.3x*
757 %{_mandir}/man3/raw*.3x*
758 %{_mandir}/man3/redrawwin.3x*
759 %{_mandir}/man3/refresh.3x*
760 %{_mandir}/man3/reset_*.3x*
761 %{_mandir}/man3/resetty*.3x*
762 %{_mandir}/man3/resize_term*.3x*
763 %{_mandir}/man3/resizeterm*.3x*
764 %{_mandir}/man3/restartterm*.3x*
765 %{_mandir}/man3/ripoffline*.3x*
766 %{_mandir}/man3/savetty*.3x*
767 %{_mandir}/man3/scanw.3x*
768 %{_mandir}/man3/scr_*.3x*
769 %{_mandir}/man3/scrl.3x*
770 %{_mandir}/man3/scroll*.3x*
771 %{_mandir}/man3/set_curterm*.3x*
772 %{_mandir}/man3/set_escdelay*.3x*
773 %{_mandir}/man3/set_tabsize*.3x*
774 %{_mandir}/man3/set_term.3x*
775 %{_mandir}/man3/setcchar.3x*
776 %{_mandir}/man3/setscrreg.3x*
777 %{_mandir}/man3/setsyx.3x*
778 %{_mandir}/man3/setterm.3x*
779 %{_mandir}/man3/setupterm.3x*
780 %{_mandir}/man3/slk_*.3x*
781 %{_mandir}/man3/stand*.3x*
782 %{_mandir}/man3/start_color*.3x*
783 %{_mandir}/man3/stdscr.3x*
784 %{_mandir}/man3/str*.3x*
785 %{_mandir}/man3/subpad.3x*
786 %{_mandir}/man3/subwin.3x*
787 %{_mandir}/man3/syncok.3x*
788 %{_mandir}/man3/term*.3x*
789 %{_mandir}/man3/tget*.3x*
790 %{_mandir}/man3/tgoto.3x*
791 %{_mandir}/man3/tiget*.3x*
792 %{_mandir}/man3/timeout.3x*
793 %{_mandir}/man3/tiparm.3x*
794 %{_mandir}/man3/touchline.3x*
795 %{_mandir}/man3/touchwin.3x*
796 %{_mandir}/man3/tparm.3x*
797 %{_mandir}/man3/tputs*.3x*
798 %{_mandir}/man3/trace.3x*
799 %{_mandir}/man3/ttytype.3x*
800 %{_mandir}/man3/typeahead*.3x*
801 %{_mandir}/man3/unctrl*.3x*
802 %{_mandir}/man3/unget*.3x*
803 %{_mandir}/man3/untouchwin.3x*
804 %{_mandir}/man3/use_*.3x*
805 %{_mandir}/man3/vid*.3x*
806 %{_mandir}/man3/vline*.3x*
807 %{_mandir}/man3/vw*.3x*
808 %{_mandir}/man3/wadd*.3x*
809 %{_mandir}/man3/wattr*.3x*
810 %{_mandir}/man3/wbkgd*.3x*
811 %{_mandir}/man3/wbkgrnd*.3x*
812 %{_mandir}/man3/wborder*.3x*
813 %{_mandir}/man3/wchgat.3x*
814 %{_mandir}/man3/wclear.3x*
815 %{_mandir}/man3/wclrto*.3x*
816 %{_mandir}/man3/wcolor_set.3x*
817 %{_mandir}/man3/wcursyncup.3x*
818 %{_mandir}/man3/wdel*.3x*
819 %{_mandir}/man3/wecho*.3x*
820 %{_mandir}/man3/wenclose.3x*
821 %{_mandir}/man3/werase.3x*
822 %{_mandir}/man3/wget*.3x*
823 %{_mandir}/man3/whline*.3x*
824 %{_mandir}/man3/win*.3x*
825 %{_mandir}/man3/wmouse_trafo.3x*
826 %{_mandir}/man3/wmove.3x*
827 %{_mandir}/man3/wnoutrefresh.3x*
828 %{_mandir}/man3/wprintw.3x*
829 %{_mandir}/man3/wredrawln.3x*
830 %{_mandir}/man3/wrefresh.3x*
831 %{_mandir}/man3/wresize.3x*
832 %{_mandir}/man3/wscanw.3x*
833 %{_mandir}/man3/wscrl.3x*
834 %{_mandir}/man3/wsetscrreg.3x*
835 %{_mandir}/man3/wstand*.3x*
836 %{_mandir}/man3/wsync*.3x*
837 %{_mandir}/man3/wtimeout.3x*
838 %{_mandir}/man3/wtouchln.3x*
839 %{_mandir}/man3/wunctrl*.3x*
840 %{_mandir}/man3/wvline*.3x*
841 %lang(pl) %{_mandir}/pl/man3/ncurses.3x*
844 %defattr(644,root,root,755)
845 %{_libdir}/libncurses.a
846 %{_libdir}/libncursesw.a
849 %defattr(644,root,root,755)
850 %attr(755,root,root) %{_libdir}/libform.so.*.*
851 %attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
852 %attr(755,root,root) %{_libdir}/libmenu.so.*.*
853 %attr(755,root,root) %ghost %{_libdir}/libmenu.so.[56]
854 %attr(755,root,root) %{_libdir}/libpanel.so.*.*
855 %attr(755,root,root) %ghost %{_libdir}/libpanel.so.[56]
856 %attr(755,root,root) %{_libdir}/libformw.so.*.*
857 %attr(755,root,root) %ghost %{_libdir}/libformw.so.[56]
858 %attr(755,root,root) %{_libdir}/libmenuw.so.*.*
859 %attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
860 %attr(755,root,root) %{_libdir}/libpanelw.so.*.*
861 %attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
864 %defattr(644,root,root,755)
865 %attr(755,root,root) %{_libdir}/libform.so
866 %attr(755,root,root) %{_libdir}/libmenu.so
867 %attr(755,root,root) %{_libdir}/libpanel.so
868 %attr(755,root,root) %{_libdir}/libformw.so
869 %attr(755,root,root) %{_libdir}/libmenuw.so
870 %attr(755,root,root) %{_libdir}/libpanelw.so
871 %{_includedir}/form.h
872 %{_includedir}/menu.h
873 %{_includedir}/panel.h
874 %{_includedir}w/form.h
875 %{_includedir}w/menu.h
876 %{_includedir}w/panel.h
877 %{_pkgconfigdir}/form.pc
878 %{_pkgconfigdir}/formw.pc
879 %{_pkgconfigdir}/menu.pc
880 %{_pkgconfigdir}/menuw.pc
881 %{_pkgconfigdir}/panel.pc
882 %{_pkgconfigdir}/panelw.pc
883 %{_mandir}/man3/TYPE_ALNUM.3x*
884 %{_mandir}/man3/TYPE_ALPHA.3x*
885 %{_mandir}/man3/TYPE_ENUM.3x*
886 %{_mandir}/man3/TYPE_INTEGER.3x*
887 %{_mandir}/man3/TYPE_IPV4.3x*
888 %{_mandir}/man3/TYPE_NUMERIC.3x*
889 %{_mandir}/man3/TYPE_REGEXP.3x*
890 %{_mandir}/man3/bottom_panel.3x*
891 %{_mandir}/man3/current_field.3x*
892 %{_mandir}/man3/current_item.3x*
893 %{_mandir}/man3/data_ahead.3x*
894 %{_mandir}/man3/data_behind.3x*
895 %{_mandir}/man3/del_panel.3x*
896 %{_mandir}/man3/dup_field.3x*
897 %{_mandir}/man3/dynamic_field_info.3x*
898 %{_mandir}/man3/field_*.3x*
899 %{_mandir}/man3/form*.3x*
900 %{_mandir}/man3/free_*.3x*
901 %{_mandir}/man3/hide_panel.3x*
902 %{_mandir}/man3/item_*.3x*
903 %{_mandir}/man3/link_field*.3x*
904 %{_mandir}/man3/menu*.3x*
905 %{_mandir}/man3/mitem_*.3x*
906 %{_mandir}/man3/move_field.3x*
907 %{_mandir}/man3/move_panel.3x*
908 %{_mandir}/man3/new_field*.3x*
909 %{_mandir}/man3/new_form*.3x*
910 %{_mandir}/man3/new_item.3x*
911 %{_mandir}/man3/new_menu*.3x*
912 %{_mandir}/man3/new_page.3x*
913 %{_mandir}/man3/new_panel.3x*
914 %{_mandir}/man3/panel*.3x*
915 %{_mandir}/man3/pos_form_cursor.3x*
916 %{_mandir}/man3/pos_menu_cursor.3x*
917 %{_mandir}/man3/post_form.3x*
918 %{_mandir}/man3/post_menu.3x*
919 %{_mandir}/man3/replace_panel.3x*
920 %{_mandir}/man3/scale_form.3x*
921 %{_mandir}/man3/scale_menu.3x*
922 %{_mandir}/man3/set_current_field.3x*
923 %{_mandir}/man3/set_current_item.3x*
924 %{_mandir}/man3/set_field*.3x*
925 %{_mandir}/man3/set_form_*.3x*
926 %{_mandir}/man3/set_item_*.3x*
927 %{_mandir}/man3/set_max_field.3x*
928 %{_mandir}/man3/set_menu_*.3x*
929 %{_mandir}/man3/set_new_page.3x*
930 %{_mandir}/man3/set_panel_userptr.3x*
931 %{_mandir}/man3/set_top_row.3x*
932 %{_mandir}/man3/show_panel.3x*
933 %{_mandir}/man3/top_panel.3x*
934 %{_mandir}/man3/top_row.3x*
935 %{_mandir}/man3/unpost_form.3x*
936 %{_mandir}/man3/unpost_menu.3x*
937 %{_mandir}/man3/update_panels*.3x*
940 %defattr(644,root,root,755)
943 %{_libdir}/libpanel.a
944 %{_libdir}/libformw.a
945 %{_libdir}/libmenuw.a
946 %{_libdir}/libpanelw.a
950 %defattr(644,root,root,755)
951 %doc c++/{demo.cc,README-first,NEWS,PROBLEMS}
952 %{_includedir}/cursesapp.h
953 %{_includedir}/cursesf.h
954 %{_includedir}/cursesm.h
955 %{_includedir}/cursesp.h
956 %{_includedir}/cursesw.h
957 %{_includedir}/etip.h
958 %{_includedir}/cursslk.h
959 %{_includedir}w/cursesapp.h
960 %{_includedir}w/cursesf.h
961 %{_includedir}w/cursesm.h
962 %{_includedir}w/cursesp.h
963 %{_includedir}w/cursesw.h
964 %{_includedir}w/etip.h
965 %{_includedir}w/cursslk.h
966 %{_pkgconfigdir}/ncurses++.pc
967 %{_pkgconfigdir}/ncurses++w.pc
970 %defattr(644,root,root,755)
971 %{_libdir}/libncurses++.a
972 %{_libdir}/libncurses++w.a
977 %defattr(644,root,root,755)
978 %doc Ada95/{README,TODO}
979 %attr(755,root,root) %{_bindir}/adacurses-config
980 %attr(755,root,root) %{_bindir}/adacursesw-config
981 %{_libdir}/gcc/*/*/adainclude/*.ad[bs]
982 %{_libdir}/gcc/*/*/adalib/libAdaCurses.a
983 %{_mandir}/man1/adacurses-config.1*
984 %{_mandir}/man1/adacurses.1*
985 %{_mandir}/man1/adacursesw-config.1*