]> git.pld-linux.org Git - packages/compat-ncurses5.git/blobdiff - ncurses.spec
- release 16 (by relup.sh)
[packages/compat-ncurses5.git] / ncurses.spec
index 8163027cd1505ca06d454d886545936372b7d21e..90c1de8fa8ac169a1ca85cd3c37911ec5df80857 100644 (file)
 # Conditional build:
 %bcond_without ada             # do not build Ada95 bindings
 %bcond_without cxx             # do not build C++ ncurses bindings and demo programs
 # Conditional build:
 %bcond_without ada             # do not build Ada95 bindings
 %bcond_without cxx             # do not build C++ ncurses bindings and demo programs
-#                              # (this is neccessary to build ncurses linked with uClibc).
+#                              # (this is neccessary to build ncurses linked with uClibc).
 %bcond_without gpm             # build without (dynamically loadable) libgpm support
 #
 %bcond_without gpm             # build without (dynamically loadable) libgpm support
 #
+%ifarch sparc64
+%undefine with_ada
+%endif
+
 Summary:       curses terminal control library
 Summary:       curses terminal control library
-Summary(de):   curses-Terminal-Control-Library
-Summary(es):   Biblioteca de control de terminal curses
-Summary(fr):   La bibliothéque de contrôle de terminal curses
-Summary(pl):   Biblioteki do kontrolowania terminala
-Summary(pt_BR):        Biblioteca de controle de terminal curses
-Summary(ru):   ncurses - ÎÏ×ÁÑ ÂÉÂÌÉÏÔÅËÁ ÕÐÒÁ×ÌÅÎÉÑ ÔÅÒÍÉÎÁÌÁÍÉ
-Summary(tr):   Terminal kontrol kitaplýðý
-Summary(uk):   ncurses - ÎÏ×Á Â¦Â̦ÏÔÅËÁ ËÅÒÕ×ÁÎÎÑ ÔÅÒͦÎÁÌÁÍÉ
+Summary(de.UTF-8):     curses-Terminal-Control-Library
+Summary(es.UTF-8):     Biblioteca de control de terminal curses
+Summary(fr.UTF-8):     La bibliothéque de contrôle de terminal curses
+Summary(pl.UTF-8):     Biblioteki do kontrolowania terminala
+Summary(pt_BR.UTF-8):  Biblioteca de controle de terminal curses
+Summary(ru.UTF-8):     ncurses - новая библиотека управления терминалами
+Summary(tr.UTF-8):     Terminal kontrol kitaplığı
+Summary(uk.UTF-8):     ncurses - нова бібліотека керування терміналами
 Name:          ncurses
 Name:          ncurses
-Version:       5.6
-Release:       1
+Version:       5.9
+Release:       16
 License:       distributable
 Group:         Libraries
 Source0:       ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
 License:       distributable
 Group:         Libraries
 Source0:       ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
-# Source0-md5: b6593abe1089d6aab1551c105c9300e3
+# Source0-md5: 8cb9c412e5f2d96bc6f459aa8c6282a1
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
-Patch0:                ftp://dickey.his.com/ncurses/5.6/%{name}-5.6-20061223.patch.gz
+
+# source: ftp://dickey.his.com/ncurses/5.9/
+Patch0:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110409.patch.gz
+# Patch0-md5:  c26b6e57a553d1589c351fd975db715e
+Patch1:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110416.patch.gz
+# Patch1-md5:  0cd0a279dae5cb10c1f39a6663620f64
+Patch2:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110423.patch.gz
+# Patch2-md5:  5cfe7668aeb60e7d49411171cf7a3794
+Patch3:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110430.patch.gz
+# Patch3-md5:  279b7bc2ee75fd87c203a06f33da7f28
+Patch4:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110507.patch.gz
+# Patch4-md5:  0b49ef1f095782b7ec11443bf65807f6
+Patch5:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110514.patch.gz
+# Patch5-md5:  9259e608ede1cda1be0121ce9ebc09b3
+Patch6:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110521.patch.gz
+# Patch6-md5:  02df6dc377fca5aa657bf433f557f369
+Patch7:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110528.patch.gz
+# Patch7-md5:  8f76dfdda995d28db6aa81df400acfc8
+Patch8:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110604.patch.gz
+# Patch8-md5:  9096cf2939126cf846879805fcacf54f
+Patch9:                ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110611.patch.gz
+# Patch9-md5:  e015ed8feda52fdb42175972bbae524c
+Patch10:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110625.patch.gz
+# Patch10-md5: aef165913af8c4429ea6952ada251050
+Patch11:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110626.patch.gz
+# Patch11-md5: 8b142ba05d78a4ecf544bd332aca0e89
+Patch12:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110702.patch.gz
+# Patch12-md5: 82c3c02925e43fa229a474a6b0bff5b1
+Patch13:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110716.patch.gz
+# Patch13-md5: cd4d1a529ac4c7bc651d098b25103080
+Patch14:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110723.patch.gz
+# Patch14-md5: 41cc27d25b5af10aa44b961ec8e0c4c1
+Patch15:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110730.patch.gz
+# Patch15-md5: ca003e277018cfe72a1c3952423b0c48
+Patch16:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110807.patch.gz
+# Patch16-md5: ebe7c70030af0fe49c6573e43a78f7d8
+Patch17:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110813.patch.gz
+# Patch17-md5: 2766fb18a0d63837558ceae3b499ae01
+Patch18:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110820.patch.gz
+# Patch18-md5: 420ba8a3afeb6bf1309536194499d965
+Patch19:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110903.patch.gz
+# Patch19-md5: 2f63ea871e1895adaf7a9135c2936c4e
+Patch20:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110910.patch.gz
+# Patch20-md5: 03749caa4e905cdb7d57c92865c6e17a
+Patch21:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110917.patch.gz
+# Patch21-md5: 22170a078353f5fe96cc086c5a85ee9d
+Patch22:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110924.patch.gz
+# Patch22-md5: 42dd0410027c1c3540fa2e1e371feb6a
+Patch23:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20110925.patch.gz
+# Patch23-md5: 9f48157b702810d58feeed62b1a67e9a
+Patch24:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20111001.patch.gz
+# Patch24-md5: f41728e7c130c2c6eabf77927ecf3c53
+Patch25:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20111008.patch.gz
+# Patch25-md5: 8140d9fcb821b10d78d2a09582e79929
+Patch26:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20111015.patch.gz
+# Patch26-md5: 372175cdbc82a14a15052ad0d2d30e0d
+Patch27:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20111022.patch.gz
+# Patch27-md5: 89a820ab5eae53ead7a6e66e6fdd1cec
+Patch28:       ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20111030.patch.gz
+# Patch28-md5: 815b149dca4306d51306211f13f7d0a4
 Patch100:      %{name}-screen_hpa_fix.patch
 Patch101:      %{name}-xterm_hpa_fix.patch
 Patch102:      %{name}-meta.patch
 Patch103:      %{name}-xterm-home-end.patch
 Patch104:      %{name}-mouse_trafo-warning.patch
 Patch105:      %{name}-gnome-terminal.patch
 Patch100:      %{name}-screen_hpa_fix.patch
 Patch101:      %{name}-xterm_hpa_fix.patch
 Patch102:      %{name}-meta.patch
 Patch103:      %{name}-xterm-home-end.patch
 Patch104:      %{name}-mouse_trafo-warning.patch
 Patch105:      %{name}-gnome-terminal.patch
-# not sure about this one, now all xterms have kbs defined (to ^H, not \177)
-# and only XTerm.ad.pl sets backspace to \177 instead of ^H
-Patch106:      %{name}-xterm-kbs.patch
 # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
 Patch107:      %{name}-no-rain-demo.patch
 # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
 Patch107:      %{name}-no-rain-demo.patch
-Patch108:      %{name}-linking.patch
+Patch108:      %{name}-fix-nonunicode-breakage.patch
 URL:           http://dickey.his.com/ncurses/ncurses.html
 BuildRequires: automake
 URL:           http://dickey.his.com/ncurses/ncurses.html
 BuildRequires: automake
-%{?with_ada:BuildRequires:     gcc-ada}
+%if %{with ada}
+BuildRequires: gcc-ada
+# gnat bug: https://bugzilla.redhat.com/show_bug.cgi?id=613407
+# gcc patch: https://bugzilla.redhat.com/attachment.cgi?id=435931
+# seems worker around when using gcc 4.6.2? --q
+#BuildRequires:        libgnat-static
+%endif
 %{?with_gpm:BuildRequires:     gpm-devel}
 %{?with_cxx:BuildRequires:     libstdc++-devel}
 %{?with_gpm:BuildRequires:     gpm-devel}
 %{?with_cxx:BuildRequires:     libstdc++-devel}
+%{?with_ada:BuildRequires:     m4}
+BuildRequires: pkgconfig
 BuildRequires: sharutils
 BuildRequires: sharutils
+# for compatibility with old PLD packages
+%ifarch %{x8664} ppc64 sparc64 s390x
+Provides:      libtinfo.so.5()(64bit)
+Provides:      libtinfow.so.5()(64bit)
+Provides:      libtinfow.so.6()(64bit)
+%else
+Provides:      libtinfo.so.5
+Provides:      libtinfow.so.5
+Provides:      libtinfow.so.6
+%endif
 Obsoletes:     libncurses5
 Conflicts:     terminfo < 5.4-0.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libncurses5
 Conflicts:     terminfo < 5.4-0.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,107 +132,107 @@ method of updating character screens with reasonable optimization.
 This implementation is ``new curses'' (ncurses) and is the approved
 replacement for 4.4BSD classic curses, which is being discontinued.
 
 This implementation is ``new curses'' (ncurses) and is the approved
 replacement for 4.4BSD classic curses, which is being discontinued.
 
-%description -l de
+%description -l de.UTF-8
 Die curses-Library-Routinen geben dem Benutzer eine
 Die curses-Library-Routinen geben dem Benutzer eine
-Terminal-unabhängige Methode zur optimierten Aktualisierung von
+Terminal-unabhängige Methode zur optimierten Aktualisierung von
 zeichenbasierenden Bildschirminhalten an die Hand. Die vorliegende
 Implementierung ist NEW CURSES (ncurses), die offizielle
 zeichenbasierenden Bildschirminhalten an die Hand. Die vorliegende
 Implementierung ist NEW CURSES (ncurses), die offizielle
-Nachfolgerversion für 4.4BSC (die klassische curses-Version), welche
-nicht weitergeführt wird.
-
-%description -l es
-Las rutinas de la biblioteca curses ofrecen al usuario un método
-independiente de terminal para actualización de las pantallas de
-caracteres con optimización razonable. Este soporte es "nuevo curses"
-(ncurses) y es el substituto aprobado para los clásicos curses 4.4BSD,
+Nachfolgerversion für 4.4BSC (die klassische curses-Version), welche
+nicht weitergeführt wird.
+
+%description -l es.UTF-8
+Las rutinas de la biblioteca curses ofrecen al usuario un método
+independiente de terminal para actualización de las pantallas de
+caracteres con optimización razonable. Este soporte es "nuevo curses"
+(ncurses) y es el substituto aprobado para los clásicos curses 4.4BSD,
 que se quedaban desfasados.
 
 que se quedaban desfasados.
 
-%description -l fr
-Les routines de la bibliothèque curses donnent à l'utilisateur une
-méthode indépendante du terminal pour la mise à jour des écrans en
+%description -l fr.UTF-8
+Les routines de la bibliothèque curses donnent à l'utilisateur une
+méthode indépendante du terminal pour la mise à jour des écrans en
 mode texte avec une optimisation correcte. Ceci est l'implantation du
 mode texte avec une optimisation correcte. Ceci est l'implantation du
-« nouveau curses » (ncurses) et est le remplacement du curses 4.4BSD
-classique qui est abandonné.
+« nouveau curses Â» (ncurses) et est le remplacement du curses 4.4BSD
+classique qui est abandonné.
 
 
-%description -l pl
-Biblioteka curses udostêpnia funkcje pozwalaj±ce u¿ytkownikom na
-odwo³ywanie siê do zawarto¶ci terminala niezale¿nie od jego typu.
-Pakiet ten zawiera implementacjê klasycznej biblioteki curses (z
+%description -l pl.UTF-8
+Biblioteka curses udostępnia funkcje pozwalające użytkownikom na
+odwoływanie się do zawartości terminala niezależnie od jego typu.
+Pakiet ten zawiera implementację klasycznej biblioteki curses (z
 systemu 4.4BSD) o nazwie ncurses (new curses) i jest zarazem jej
 systemu 4.4BSD) o nazwie ncurses (new curses) i jest zarazem jej
-przysz³ym zamiennikiem.
+przyszłym zamiennikiem.
 
 
-%description -l pt_BR
-As rotinas da biblioteca curses fornecem ao usuário um método
-independente de terminal para atualização das telas de caracteres com
-otimização razoável. Essa implementação é "novo curses" (ncurses) e é
-o substituto aprovado para os clássicos curses 4.4BSD, que estão se
+%description -l pt_BR.UTF-8
+As rotinas da biblioteca curses fornecem ao usuário um método
+independente de terminal para atualização das telas de caracteres com
+otimização razoável. Essa implementação é "novo curses" (ncurses) e é
+o substituto aprovado para os clássicos curses 4.4BSD, que estão se
 tornando obsoletos.
 
 tornando obsoletos.
 
-%description -l ru
-ðÒÏÇÒÁÍÍÙ ÂÉÂÌÉÏÔÅËÉ curses ÐÒÅÄÏÓÔÁ×ÌÑÀÔ ÐÏÌØÚÏ×ÁÔÅÌÑÍ ×ÏÚÍÏÖÎÏÓÔØ
-ÔÅÒÍÉÎÁÌØÎÏ-ÎÅÚÁ×ÉÓÉÍÏÇÏ ÏÂÎÏ×ÌÅÎÉÑ ÓÉÍ×ÏÌØÎÙÈ ÜËÒÁÎÏ× Ó ÄÏÓÔÁÔÏÞÎÏÊ
-ÏÐÔÉÍÉÚÁÃÉÅÊ. üÔÁ ÒÅÁÌÉÚÁÃÉÑ - "ÎÏ×ÙÅ curses" (ncurses), ËÏÔÏÒÁÑ
×ÌÑÅÔÓÑ ÏÄÏÂÒÅÎÎÏÊ ÚÁÍÅÎÏÊ ËÌÁÓÓÉÞÅÓËÏÊ ÂÉÂÌÉÏÔÅËÉ curses ÉÚ 4.4BSD,
-× ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ "ÓÎÑÔÏÊ Ó ÐÒÏÉÚ×ÏÄÓÔ×Á". ÷ PLD Linux ncurses
×ÌÑÅÔÓÑ ÖÉÚÎÅÎÎÏ ÎÅÏÂÈÏÄÉÍÏÊ, ÂÅÚ ÎÅÅ ÎÅ ÂÕÄÕÔ ÆÕÎËÃÉÏÎÉÒÏ×ÁÔØ ÍÎÏÇÉÅ
ÒÏÇÒÁÍÍÙ, ÓÏÓÔÁ×ÌÑÀÝÉÅ ÂÁÚÏ×ÕÀ ÓÉÓÔÅÍÕ. ðÒÁËÔÉÞÅÓËÉ ×ÓÅ ÐÒÏÇÒÁÍÍÙ,
-ËÏÔÏÒÙÅ ×Ù×ÏÄÑÔ ÞÔÏ-ÌÉÂÏ ÎÁ ÔÅÒÍÉÎÁÌ, ÉÓÐÏÌØÚÕÀÔ ncurses. ÷ PLD Linux
-ÎÉ ÂÉÂÌÉÏÔÅËÁ termcap, ÎÉ ÔÒÁÄÉÃÉÏÎÎÙÊ ÆÁÊÌ /etc/termcap, ÎÅ
-ÉÓÐÏÌØÚÕÀÔÓÑ...
-
-%description -l tr
-curses kitaplýðý ile kullanýcýya kullanýlan terminal tipinden baðýmsýz
-olarak karakter tabanlý ekranlara eriþim olanaðý saðlanabilmektedir.
-Bu uyarlama 'new curses' (ncurses), BSD deki klasik curses'in geliþmiþ
+%description -l ru.UTF-8
+Программы библиотеки curses предоставляют пользователям возможность
+терминально-независимого обновления символьных экранов с достаточной
+оптимизацией. Эта реализация - "новые curses" (ncurses), которая
\8fвлÑ\8fеÑ\82Ñ\81Ñ\8f Ð¾Ð´Ð¾Ð±Ñ\80енной Ð·Ð°Ð¼ÐµÐ½Ð¾Ð¹ ÐºÐ»Ð°Ñ\81Ñ\81иÑ\87еÑ\81кой Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñ\82еки curses Ð¸Ð· 4.4BSD,
+в настоящее время "снятой с производства". В PLD Linux ncurses
\8fвлÑ\8fеÑ\82Ñ\81Ñ\8f Ð¶Ð¸Ð·Ð½ÐµÐ½Ð½Ð¾ Ð½ÐµÐ¾Ð±Ñ\85одимой, Ð±ÐµÐ· Ð½ÐµÐµ Ð½Ðµ Ð±Ñ\83дÑ\83Ñ\82 Ñ\84Ñ\83нкÑ\86иониÑ\80оваÑ\82Ñ\8c Ð¼Ð½Ð¾Ð³Ð¸Ðµ
¿Ñ\80огÑ\80аммÑ\8b, Ñ\81оÑ\81Ñ\82авлÑ\8fÑ\8eÑ\89ие Ð±Ð°Ð·Ð¾Ð²Ñ\83Ñ\8e Ñ\81иÑ\81Ñ\82емÑ\83. Ð\9fÑ\80акÑ\82иÑ\87еÑ\81ки Ð²Ñ\81е Ð¿Ñ\80огÑ\80аммÑ\8b,
+которые выводят что-либо на терминал, используют ncurses. В PLD Linux
+ни библиотека termcap, ни традиционный файл /etc/termcap, не
+используются...
+
+%description -l tr.UTF-8
+curses kitaplığı ile kullanıcıya kullanılan terminal tipinden bağımsız
+olarak karakter tabanlı ekranlara erişim olanağı sağlanabilmektedir.
+Bu uyarlama 'new curses' (ncurses), BSD deki klasik curses'in gelişmiş
 halidir.
 
 halidir.
 
-%description -l uk
-ðÒÏÇÒÁÍɠ¦Â̦ÏÔÅËÉ curses ÄÁÀÔØ ËÏÒÉÓÔÕ×ÁÞÁÍ ÍÏÖÌÉצÓÔØ
-ÔÅÒͦÎÁÌØÎÏ-ÎÅÚÁÌÅÖÎÏÇÏ ÐÏÎÏ×ÌÅÎÎÑ ÓÉÍ×ÏÌØÎÉÈ ÅËÒÁΦנڠÄÏÓÔÁÔÎØÏÀ
-ÏÐÔÉͦÚÁæ¤À. ãÑ ÒÅÁ̦ÚÁæѠ- "ÎÏצ curses" (ncurses), ËÏÔÒÁ ¤
-ÓÈ×ÁÌÅÎÏÀ ÚÁͦÎÏÀ ËÌÁÓÉÞÎϧ Â¦Â̦ÏÔÅËÉ curses Ú 4.4BSD, ÑËÁ ÎÁÒÁÚ¦
-"ÚÎÑÔÁ Ú ×ÉÒÏÂÎÉÃÔ×Á". ÷ PLD Linux ncurses ¤ ÖÉÔÔ¤×Ï ÎÅÏÂȦÄÎÏÀ, ÂÅÚ
-Îŧ ÎÅ ÂÕÄÅ ÐÒÁÃÀ×ÁÔɠ¦ÌØÛÏÓÔØ ÐÒÏÇÒÁÍ, ÝÏ ÓËÌÁÄÁÀÔØ ÂÁÚÏ×Õ ÓÉÓÔÅÍÕ.
-ðÒÁËÔÉÞÎÏ ×Ó¦ ÐÒÏÇÒÁÍÉ, ËÏÔÒ¦ ×É×ÏÄÑÔØ ÝÏÓØ ÎÁ ÔÅÒͦÎÁÌ,
-×ÉËÏÒÉÓÔÏ×ÕÀÔØ ncurses. ÷ PLD Linux ÁΦ Â¦Â̦ÏÔÅËÁ termcap, ÁΦ
-ÔÒÁÄÉæÊÎÉÊ ÆÁÊÌ /etc/termcap ÎÅ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ...
+%description -l uk.UTF-8
+Програми бібліотеки curses дають користувачам можливість
+термінально-незалежного поновлення символьних екранів з достатньою
+оптимізацією. Ця реалізація - "нові curses" (ncurses), котра є
+схваленою заміною класичної бібліотеки curses з 4.4BSD, яка наразі
+"знята з виробництва". В PLD Linux ncurses є життєво необхідною, без
+неї не буде працювати більшость програм, що складають базову систему.
+Практично всі програми, котрі виводять щось на термінал,
+використовують ncurses. В PLD Linux ані бібліотека termcap, ані
+традиційний файл /etc/termcap не використовуються...
 
 %package -n terminfo
 Summary:       Complete terminfo database
 
 %package -n terminfo
 Summary:       Complete terminfo database
-Summary(es):   Banco de datos terminfo para terminales extras (menos usados)
-Summary(pl):   Kompletna baza terminfo
-Summary(pt_BR):        Base de dados terminfo para terminais adicionais (menos usados)
+Summary(es.UTF-8):     Banco de datos terminfo para terminales extras (menos usados)
+Summary(pl.UTF-8):     Kompletna baza terminfo
+Summary(pt_BR.UTF-8):  Base de dados terminfo para terminais adicionais (menos usados)
 Group:         Applications/Terminal
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     ncurses-extraterms
 
 %description -n terminfo
 Group:         Applications/Terminal
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     ncurses-extraterms
 
 %description -n terminfo
-This package contains cmplet terminfo database. If you just use the
+This package contains complete terminfo database. If you just use the
 Linux console, xterm and VT100, you probably will not need this this -
 a minimal %{_datadir}/terminfo tree for these terminal is already
 included in the ncurses package.
 
 Linux console, xterm and VT100, you probably will not need this this -
 a minimal %{_datadir}/terminfo tree for these terminal is already
 included in the ncurses package.
 
-%description -n terminfo -l es
+%description -n terminfo -l es.UTF-8
 Banco de datos terminfo para terminales extras. Las capacidades de los
 Banco de datos terminfo para terminales extras. Las capacidades de los
-terminales más usados ya están en el paquete principal ncurses.
+terminales más usados ya están en el paquete principal ncurses.
 
 
-%description -n terminfo -l pl
-Pakiet ten zawiera kompletn± bazê terminfo. Je¿eli u¿ywasz terminali
-linux, console, xterm, vt100 prawdopodobnie nie bedziesz potrzebowa³
-tego pakietu gdy¿ definicje tych terminali s± w³±czone w pakiet
+%description -n terminfo -l pl.UTF-8
+Pakiet ten zawiera kompletną bazę terminfo. Jeżeli używasz terminali
+linux, console, xterm, vt100 prawdopodobnie nie bedziesz potrzebował
+tego pakietu gdyż definicje tych terminali są włączone w pakiet
 ncurses.
 
 ncurses.
 
-%description -n terminfo -l pt_BR
-Base de dados terminfo para terminais extras. As definições dos
-terminais mais usados já estão no pacote principal ncurses.
+%description -n terminfo -l pt_BR.UTF-8
+Base de dados terminfo para terminais extras. As definições dos
+terminais mais usados já estão no pacote principal ncurses.
 
 %package devel
 Summary:       Header files for develop ncurses based application
 
 %package devel
 Summary:       Header files for develop ncurses based application
-Summary(es):   Bibliotecas de desarrollo para ncurses
-Summary(pl):   Pliki nag³ówkowe do bibliotek ncurses
-Summary(pt_BR):        Bibliotecas de desenvolvimento para ncurses
-Summary(ru):   èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ncurses
-Summary(uk):   èÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ncurses
+Summary(es.UTF-8):     Bibliotecas de desarrollo para ncurses
+Summary(pl.UTF-8):     Pliki nagłówkowe do bibliotek ncurses
+Summary(pt_BR.UTF-8):  Bibliotecas de desenvolvimento para ncurses
+Summary(ru.UTF-8):     Хедеры и библиотеки для разработки программ с ncurses
+Summary(uk.UTF-8):     Хедери та бібліотеки для розробки програм з ncurses
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     libncurses5-devel
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     libncurses5-devel
@@ -164,33 +242,33 @@ Obsoletes:        libtermcap-devel
 This package includes the header files and libraries necessary to
 develop applications that use ncurses.
 
 This package includes the header files and libraries necessary to
 develop applications that use ncurses.
 
-%description devel -l es
-Este paquete incluye las bibliotecas y archivos de inclusión
+%description devel -l es.UTF-8
+Este paquete incluye las bibliotecas y archivos de inclusión
 necesarios al desarrollo de aplicaciones que usan ncurses.
 
 necesarios al desarrollo de aplicaciones que usan ncurses.
 
-%description devel -l pl
-Pakiet ten zawiera pliki nag³ówkowe niezbêdne do pisania/kompilowania
-programów z wykorzystaniem bibliotek ncurses.
+%description devel -l pl.UTF-8
+Pakiet ten zawiera pliki nagłówkowe niezbędne do pisania/kompilowania
+programów z wykorzystaniem bibliotek ncurses.
 
 
-%description devel -l pt_BR
-Este pacote inclui as bibliotecas e arquivos de inclusão necessários
-ao desenvolvimento de aplicações que usam ncurses.
+%description devel -l pt_BR.UTF-8
+Este pacote inclui as bibliotecas e arquivos de inclusão necessários
+ao desenvolvimento de aplicações que usam ncurses.
 
 
-%description devel -l ru
-üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
ÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ncurses.
+%description devel -l ru.UTF-8
+Этот пакет содержит хедеры и библиотеки, необходимые для разработки
¿Ñ\80огÑ\80амм, Ð¸Ñ\81полÑ\8cзÑ\83Ñ\8eÑ\89иÑ\85 ncurses.
 
 
-%description devel -l uk
-ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÈÅÄÅÒÉ ÔÁ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ
ÒÏÇÒÁÍ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ncurses.
+%description devel -l uk.UTF-8
+Цей пакет містить хедери та бібліотеки, необхідні для розробки
¿Ñ\80огÑ\80ам, Ñ\89о Ð²Ð¸ÐºÐ¾Ñ\80иÑ\81Ñ\82овÑ\83Ñ\8eÑ\82Ñ\8c ncurses.
 
 %package static
 Summary:       Static libraries for ncurses
 
 %package static
 Summary:       Static libraries for ncurses
-Summary(es):   Static libraries for ncurses development
-Summary(pl):   Biblioteki statyczne ncurses
-Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento com ncurses
-Summary(ru):   óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ncurses
-Summary(uk):   óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ncurses
+Summary(es.UTF-8):     Static libraries for ncurses development
+Summary(pl.UTF-8):     Biblioteki statyczne ncurses
+Summary(pt_BR.UTF-8):  Bibliotecas estáticas para desenvolvimento com ncurses
+Summary(ru.UTF-8):     Статические библиотеки для разработки программ с ncurses
+Summary(uk.UTF-8):     Статичні бібліотеки для розробки програм з ncurses
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -198,26 +276,26 @@ Requires: %{name}-devel = %{version}-%{release}
 This package includes the static libraries necessary to develop
 applications that use ncurses.
 
 This package includes the static libraries necessary to develop
 applications that use ncurses.
 
-%description static -l es
+%description static -l es.UTF-8
 Static libraries for ncurses development.
 
 Static libraries for ncurses development.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Pakiet ten zawiera biblioteki statyczne ncurses.
 
 Pakiet ten zawiera biblioteki statyczne ncurses.
 
-%description static -l pt_BR
-Bibliotecas estáticas para desenvolvimento com ncurses.
+%description static -l pt_BR.UTF-8
+Bibliotecas estáticas para desenvolvimento com ncurses.
 
 
-%description static -l ru
-üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ
ÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ ncurses.
+%description static -l ru.UTF-8
+Этот пакет содержит статические библиотеки, необходимые для разработки
¿Ñ\80огÑ\80амм, Ð¸Ñ\81полÑ\8cзÑ\83Ñ\8eÑ\89иÑ\85 ncurses.
 
 
-%description static -l uk
-ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ,
-ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ ncurses.
+%description static -l uk.UTF-8
+Цей пакет містить статичні бібліотеки, необхідні для розробки програм,
+що використовують ncurses.
 
 %package ext
 Summary:       Additional ncurses libraries
 
 %package ext
 Summary:       Additional ncurses libraries
-Summary(pl):   Dodatkowe biblioteki ncurses
+Summary(pl.UTF-8):     Dodatkowe biblioteki ncurses
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
 
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
 
@@ -225,14 +303,14 @@ Requires: %{name} = %{version}-%{release}
 This package contains addidion ncurses libraries like libforms,
 libmenu and libpanel for easy making full screen curse application.
 
 This package contains addidion ncurses libraries like libforms,
 libmenu and libpanel for easy making full screen curse application.
 
-%description ext -l pl
+%description ext -l pl.UTF-8
 Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel
 Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel
-s³u¿±ce do ³atwego tworzenia aplikacji pe³noekranowych korzystaj±cych
+służące do łatwego tworzenia aplikacji pełnoekranowych korzystających
 z ncurses.
 
 %package ext-devel
 Summary:       Header files for additional ncurses libraries
 z ncurses.
 
 %package ext-devel
 Summary:       Header files for additional ncurses libraries
-Summary(pl):   Pliki nag³ówkowe dodatkowych bibliotek ncurses
+Summary(pl.UTF-8):     Pliki nagłówkowe dodatkowych bibliotek ncurses
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-ext = %{version}-%{release}
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-ext = %{version}-%{release}
@@ -240,24 +318,24 @@ Requires: %{name}-ext = %{version}-%{release}
 %description ext-devel
 Header files for additional ncurses libraries (form, menu, panel).
 
 %description ext-devel
 Header files for additional ncurses libraries (form, menu, panel).
 
-%description ext-devel -l pl
-Pliki nag³ówkowe dodatkowych bibliotek ncurses (form, menu, panel).
+%description ext-devel -l pl.UTF-8
+Pliki nagłówkowe dodatkowych bibliotek ncurses (form, menu, panel).
 
 %package ext-static
 Summary:       Static versions of additional ncurses libraries
 
 %package ext-static
 Summary:       Static versions of additional ncurses libraries
-Summary(pl):   Statyczne wersje dodatkowych bibliotek ncurses
+Summary(pl.UTF-8):     Statyczne wersje dodatkowych bibliotek ncurses
 Group:         Development/Libraries
 Requires:      %{name}-ext-devel = %{version}-%{release}
 
 %description ext-static
 Static versions of additional ncurses libraries (form, menu, panel).
 
 Group:         Development/Libraries
 Requires:      %{name}-ext-devel = %{version}-%{release}
 
 %description ext-static
 Static versions of additional ncurses libraries (form, menu, panel).
 
-%description ext-static -l pl
+%description ext-static -l pl.UTF-8
 Statyczne wersje dodatkowych bibliotek ncurses (form, menu, panel).
 
 %package c++-devel
 Summary:       Header files for develop C++ ncurses based application
 Statyczne wersje dodatkowych bibliotek ncurses (form, menu, panel).
 
 %package c++-devel
 Summary:       Header files for develop C++ ncurses based application
-Summary(pl):   Pliki nag³ówkowe do biblioteki C++ ncurses
+Summary(pl.UTF-8):     Pliki nagłówkowe do biblioteki C++ ncurses
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -265,13 +343,13 @@ Requires: %{name}-devel = %{version}-%{release}
 This package includes the header files and libraries necessary to
 develop applications that use C++ ncurses.
 
 This package includes the header files and libraries necessary to
 develop applications that use C++ ncurses.
 
-%description c++-devel -l pl
-Pakiet ten zawiera pliki nag³ówkowe niezbêdne do kompilacji programów
+%description c++-devel -l pl.UTF-8
+Pakiet ten zawiera pliki nagłówkowe niezbędne do kompilacji programów
 z wykorzystaniem biblioteki c++-ncurses.
 
 %package c++-static
 Summary:       Static libraries for C++ ncurses
 z wykorzystaniem biblioteki c++-ncurses.
 
 %package c++-static
 Summary:       Static libraries for C++ ncurses
-Summary(pl):   Biblioteki statyczne C++ ncurses
+Summary(pl.UTF-8):     Biblioteki statyczne C++ ncurses
 Group:         Development/Libraries
 Requires:      %{name}-c++-devel = %{version}-%{release}
 
 Group:         Development/Libraries
 Requires:      %{name}-c++-devel = %{version}-%{release}
 
@@ -279,44 +357,75 @@ Requires: %{name}-c++-devel = %{version}-%{release}
 This package includes the static libraries necessary to develop
 applications that use C++ ncurses.
 
 This package includes the static libraries necessary to develop
 applications that use C++ ncurses.
 
-%description c++-static -l pl
+%description c++-static -l pl.UTF-8
 Pakiet ten zawiera biblioteki statyczne C++ ncurses.
 
 %package ada-devel
 Summary:       Header files for develop Ada95 ncurses based application
 Pakiet ten zawiera biblioteki statyczne C++ ncurses.
 
 %package ada-devel
 Summary:       Header files for develop Ada95 ncurses based application
-Summary(pl):   Pliki nag³ówkowe do biblioteki Ada95 ncurses
+Summary(pl.UTF-8):     Pliki nagłówkowe do biblioteki Ada95 ncurses
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
+%{?with_ada:%requires_eq       gcc-ada}
 
 %description ada-devel
 This package includes the header files and libraries necessary to
 develop applications that use Ada95 ncurses.
 
 
 %description ada-devel
 This package includes the header files and libraries necessary to
 develop applications that use Ada95 ncurses.
 
-%description ada-devel -l pl
-Ten pakiet zawiera pliki nag³ówkowe i biblioteki potrzebne do
-tworzenia aplikacji u¿ywaj±cych ncurses w jêzyku Ada95.
+%description ada-devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do
+tworzenia aplikacji używających ncurses w języku Ada95.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
+%patch25 -p1
+%patch26 -p1
+%patch27 -p1
+%patch28 -p1
+
 %patch100 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1
 %patch104 -p1
 %patch105 -p1
 %patch100 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1
 %patch104 -p1
 %patch105 -p1
-%patch106 -p1
 %patch107 -p1
 %patch108 -p1
 
 %build
 unset TERMINFO || :
 %patch107 -p1
 %patch108 -p1
 
 %build
 unset TERMINFO || :
+gcc_target=$(gcc -dumpmachine)
+gcc_version=%{cc_version}
 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
 cp -f /usr/share/automake/config.sub .
 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
 cp -f /usr/share/automake/config.sub .
-for t in narrowc widec; do
+
+for t in narrowc wideclowcolor widec; do
 install -d obj-$t
 cd obj-$t
 install -d obj-$t
 cd obj-$t
-#ln -sf ../configure .
 ../%configure \
        --with-install-prefix=$RPM_BUILD_ROOT \
        --with-normal \
 ../%configure \
        --with-install-prefix=$RPM_BUILD_ROOT \
        --with-normal \
@@ -327,19 +436,26 @@ cd obj-$t
        --with%{!?debug:out}-debug \
        --with%{!?with_gpm:out}-gpm \
        --without-profile \
        --with%{!?debug:out}-debug \
        --with%{!?with_gpm:out}-gpm \
        --without-profile \
-       --with-termlib \
        --with-largefile \
        --with-largefile \
+       --with-ospeed=unsigned \
        --disable-lp64 \
        --disable-lp64 \
+       --enable-hard-tabs \
+       --enable-xmc-glitch \
+       --enable-pc-files \
+       --with-pkg-config-libdir=%{_pkgconfigdir} \
+       --enable-colorfgbg \
        --with-chtype='long' \
        --with-mmask-t='long' \
        --with-manpage-aliases \
        --with-manpage-format=normal \
        --without-manpage-symlinks \
        --with-chtype='long' \
        --with-mmask-t='long' \
        --with-manpage-aliases \
        --with-manpage-format=normal \
        --without-manpage-symlinks \
-       --with-ada-include=%{_libdir}/ada/adainclude/ \
-       --with-ada-objects=%{_libdir}/ada/adalib/ \
-       `[ "$t" = "widec" ] && echo --enable-widec --includedir=%{_includedir}w`
-%{__make} \
-       CC="%{__cc}"
+       --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
+       --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
+       `[ "$t" = "wideclowcolor" ] && echo --enable-widec --disable-ext-colors --includedir=%{_includedir}wlc` \
+       `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors --includedir=%{_includedir}w`
+
+%{__make} -j1
+
 cd ..
 done
 
 cd ..
 done
 
@@ -347,29 +463,53 @@ done
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}}
 
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}}
 
-for t in widec narrowc; do
+for t in narrowc widec; do
 %{__make} -C obj-$t install \
        INSTALL_PREFIX=$RPM_BUILD_ROOT
 done
 
 ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
 
 %{__make} -C obj-$t install \
        INSTALL_PREFIX=$RPM_BUILD_ROOT
 done
 
 ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
 
-mv -f $RPM_BUILD_ROOT%{_libdir}/libtinfo.so.*.* $RPM_BUILD_ROOT/%{_lib}
-mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.*.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo libtinfo.so.*.*` $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
-ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo libncurses.so.*.*` $RPM_BUILD_ROOT%{_libdir}/libcurses.so
-ln -sf /%{_lib}/`cd $RPM_BUILD_ROOT/%{_lib} ; echo libncurses.so.*.*` $RPM_BUILD_ROOT%{_libdir}/libncurses.so
+mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncursesw.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
+mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so
+
+ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
+
+# binary compatibility for packages using libncursesw.so.5 (without ext-colors)
+cp -a obj-wideclowcolor/lib/libncursesw.so.5* $RPM_BUILD_ROOT%{_libdir}
+# binary compatibility for packages usign libtinfo.so.5/libtinfow.so.5/libtinfow.so.6
+ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.5.*) $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.5
+ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.6
+ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.5
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcurses.a
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ncurses-non-english-man-pages
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%post  ext -p /sbin/ldconfig
+%postun        ext -p /sbin/ldconfig
 
 
-%post   ext -p /sbin/ldconfig
-%postun ext -p /sbin/ldconfig
+%triggerpostun -- %{name} < 5.9-3
+# rpm seems to remove them as those was %ghosts in ncurses < 5.9-3
+# despite existing now as normal files/symlinks
+ln -sf /%{_lib}/libncurses.so.5.* /%{_lib}/libtinfo.so.5
+ln -sf /%{_lib}/libncursesw.so.6.* /%{_lib}/libtinfow.so.6
+ln -sf %{_libdir}/libncursesw.so.5.* %{_libdir}/libtinfow.so.5
+exit 0
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
@@ -379,25 +519,35 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/infocmp
 %attr(755,root,root) %{_bindir}/infotocap
 %attr(755,root,root) %{_bindir}/reset
 %attr(755,root,root) %{_bindir}/infocmp
 %attr(755,root,root) %{_bindir}/infotocap
 %attr(755,root,root) %{_bindir}/reset
-%attr(755,root,root) %{_bindir}/tack
+%attr(755,root,root) %{_bindir}/tabs
 %attr(755,root,root) %{_bindir}/tic
 %attr(755,root,root) %{_bindir}/toe
 %attr(755,root,root) %{_bindir}/tput
 %attr(755,root,root) %{_bindir}/tset
 %attr(755,root,root) /%{_lib}/libncurses.so.*.*
 %attr(755,root,root) %{_bindir}/tic
 %attr(755,root,root) %{_bindir}/toe
 %attr(755,root,root) %{_bindir}/tput
 %attr(755,root,root) %{_bindir}/tset
 %attr(755,root,root) /%{_lib}/libncurses.so.*.*
-%attr(755,root,root) /%{_lib}/libtinfo.so.*.*
+%attr(755,root,root) %ghost /%{_lib}/libncurses.so.5
+%attr(755,root,root) /%{_lib}/libncursesw.so.*.*
+%attr(755,root,root) %ghost /%{_lib}/libncursesw.so.6
 %attr(755,root,root) %{_libdir}/libncursesw.so.*.*
 %attr(755,root,root) %{_libdir}/libncursesw.so.*.*
-%attr(755,root,root) %{_libdir}/libtinfow.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
+%attr(755,root,root) /%{_lib}/libtinfo.so.5
+%attr(755,root,root) /%{_lib}/libtinfow.so.6
+%attr(755,root,root) %{_libdir}/libtinfow.so.5
 
 %{_datadir}/tabset
 
 %dir %{_datadir}/terminfo
 %{_datadir}/terminfo/E
 
 %{_datadir}/tabset
 
 %dir %{_datadir}/terminfo
 %{_datadir}/terminfo/E
-%dir %{_datadir}/terminfo/[dklsvx]
+%dir %{_datadir}/terminfo/[cdgklprsvx]
 
 
+%{_datadir}/terminfo/c/cygwin*
 %{_datadir}/terminfo/d/dumb
 %{_datadir}/terminfo/d/dumb
+%{_datadir}/terminfo/g/gnome*
 %{_datadir}/terminfo/k/klone+color
 %{_datadir}/terminfo/k/klone+color
+%{_datadir}/terminfo/k/konsole*
 %{_datadir}/terminfo/l/linux*
 %{_datadir}/terminfo/l/linux*
+%{_datadir}/terminfo/p/putty*
+%{_datadir}/terminfo/r/rxvt*
 %{_datadir}/terminfo/s/screen*
 %{_datadir}/terminfo/v/vt100
 %{_datadir}/terminfo/v/vt220
 %{_datadir}/terminfo/s/screen*
 %{_datadir}/terminfo/v/vt100
 %{_datadir}/terminfo/v/vt220
@@ -405,7 +555,19 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/terminfo/v/vt52
 %{_datadir}/terminfo/x/xterm*
 
 %{_datadir}/terminfo/v/vt52
 %{_datadir}/terminfo/x/xterm*
 
-%{_mandir}/man[157]/*
+%{_mandir}/man1/captoinfo.1m*
+%{_mandir}/man1/clear.1*
+%{_mandir}/man1/infocmp.1m*
+%{_mandir}/man1/infotocap.1m*
+%{_mandir}/man1/reset.1*
+%{_mandir}/man1/tabs.1*
+%{_mandir}/man1/tic.1m*
+%{_mandir}/man1/toe.1m*
+%{_mandir}/man1/tput.1*
+%{_mandir}/man1/tset.1*
+%{_mandir}/man5/term.5*
+%{_mandir}/man5/terminfo.5*
+%{_mandir}/man7/term.7*
 %lang(fi) %{_mandir}/fi/man1/*
 %lang(fr) %{_mandir}/fr/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
 %lang(fi) %{_mandir}/fi/man1/*
 %lang(fr) %{_mandir}/fr/man1/*
 %lang(hu) %{_mandir}/hu/man1/*
@@ -417,9 +579,14 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz]
 %{_datadir}/terminfo/[dklsvx]/*
 %defattr(644,root,root,755)
 %{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz]
 %{_datadir}/terminfo/[dklsvx]/*
+%exclude %{_datadir}/terminfo/c/cygwin*
 %exclude %{_datadir}/terminfo/d/dumb
 %exclude %{_datadir}/terminfo/d/dumb
+%exclude %{_datadir}/terminfo/g/gnome*
 %exclude %{_datadir}/terminfo/k/klone+color
 %exclude %{_datadir}/terminfo/k/klone+color
+%exclude %{_datadir}/terminfo/k/konsole*
 %exclude %{_datadir}/terminfo/l/linux*
 %exclude %{_datadir}/terminfo/l/linux*
+%exclude %{_datadir}/terminfo/p/putty*
+%exclude %{_datadir}/terminfo/r/rxvt*
 %exclude %{_datadir}/terminfo/s/screen*
 %exclude %{_datadir}/terminfo/v/vt100
 %exclude %{_datadir}/terminfo/v/vt220
 %exclude %{_datadir}/terminfo/s/screen*
 %exclude %{_datadir}/terminfo/v/vt100
 %exclude %{_datadir}/terminfo/v/vt220
@@ -431,7 +598,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/html/ncurses-intro.html
 %attr(755,root,root) %{_bindir}/ncurses5-config
 %defattr(644,root,root,755)
 %doc doc/html/ncurses-intro.html
 %attr(755,root,root) %{_bindir}/ncurses5-config
-%attr(755,root,root) %{_bindir}/ncursesw5-config
+%attr(755,root,root) %{_bindir}/ncursesw6-config
 %attr(755,root,root) %{_libdir}/libcurses.so
 %attr(755,root,root) %{_libdir}/libncurses.so
 %attr(755,root,root) %{_libdir}/libtinfo.so
 %attr(755,root,root) %{_libdir}/libcurses.so
 %attr(755,root,root) %{_libdir}/libncurses.so
 %attr(755,root,root) %{_libdir}/libtinfo.so
@@ -441,40 +608,240 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_includedir}
 %{_includedir}/curses.h
 %{_includedir}/eti.h
 %dir %{_includedir}
 %{_includedir}/curses.h
 %{_includedir}/eti.h
+%{_includedir}/nc_tparm.h
 %{_includedir}/ncurses.h
 %{_includedir}/ncurses_dll.h
 %{_includedir}/term.h
 %{_includedir}/ncurses.h
 %{_includedir}/ncurses_dll.h
 %{_includedir}/term.h
+%{_includedir}/term_entry.h
 %{_includedir}/termcap.h
 %{_includedir}/termcap.h
+%{_includedir}/tic.h
 %{_includedir}/unctrl.h
 %dir %{_includedir}w
 %{_includedir}w/curses.h
 %{_includedir}w/eti.h
 %{_includedir}/unctrl.h
 %dir %{_includedir}w
 %{_includedir}w/curses.h
 %{_includedir}w/eti.h
+%{_includedir}w/nc_tparm.h
 %{_includedir}w/ncurses.h
 %{_includedir}w/ncurses_dll.h
 %{_includedir}w/term.h
 %{_includedir}w/ncurses.h
 %{_includedir}w/ncurses_dll.h
 %{_includedir}w/term.h
+%{_includedir}w/term_entry.h
 %{_includedir}w/termcap.h
 %{_includedir}w/termcap.h
+%{_includedir}w/tic.h
 %{_includedir}w/unctrl.h
 %{_includedir}w/unctrl.h
-%{_mandir}/man3/*
-%exclude %{_mandir}/man3/form*
-%exclude %{_mandir}/man3/menu*
-%exclude %{_mandir}/man3/panel*
-%lang(pl) %{_mandir}/pl/man3/*
+%{_pkgconfigdir}/ncurses.pc
+%{_pkgconfigdir}/ncursesw.pc
+%{_mandir}/man1/ncurses5-config.1*
+%{_mandir}/man1/ncursesw6-config.1*
+%{_mandir}/man3/BC.3x*
+%{_mandir}/man3/COLORS.3x*
+%{_mandir}/man3/COLOR_PAIR.3x*
+%{_mandir}/man3/COLOR_PAIRS.3x*
+%{_mandir}/man3/COLS.3x*
+%{_mandir}/man3/ESCDELAY.3x*
+%{_mandir}/man3/LINES.3x*
+%{_mandir}/man3/PAIR_NUMBER.3x*
+%{_mandir}/man3/PC.3x*
+%{_mandir}/man3/SP.3x*
+%{_mandir}/man3/TABSIZE.3x*
+%{_mandir}/man3/UP.3x*
+%{_mandir}/man3/_nc_*.3x*
+%{_mandir}/man3/_trace*.3x*
+%{_mandir}/man3/acs_map.3x*
+%{_mandir}/man3/add*.3x*
+%{_mandir}/man3/assume_default_colors*.3x*
+%{_mandir}/man3/attr*.3x*
+%{_mandir}/man3/baudrate*.3x*
+%{_mandir}/man3/beep*.3x*
+%{_mandir}/man3/bkgd*.3x*
+%{_mandir}/man3/bkgrnd*.3x*
+%{_mandir}/man3/bool*.3x*
+%{_mandir}/man3/border*.3x*
+%{_mandir}/man3/box*.3x*
+%{_mandir}/man3/can_change_color*.3x*
+%{_mandir}/man3/cbreak*.3x*
+%{_mandir}/man3/ceiling_panel.3x*
+%{_mandir}/man3/chgat.3x*
+%{_mandir}/man3/clear*.3x*
+%{_mandir}/man3/clrto*.3x*
+%{_mandir}/man3/color_*.3x*
+%{_mandir}/man3/copywin.3x*
+%{_mandir}/man3/cur_term.3x*
+%{_mandir}/man3/curs_*.3x*
+%{_mandir}/man3/curscr.3x*
+%{_mandir}/man3/curses_version.3x*
+%{_mandir}/man3/def_*.3x*
+%{_mandir}/man3/default_colors.3x*
+%{_mandir}/man3/define_key*.3x*
+%{_mandir}/man3/del_curterm*.3x*
+%{_mandir}/man3/delay_output*.3x*
+%{_mandir}/man3/delch.3x*
+%{_mandir}/man3/deleteln.3x*
+%{_mandir}/man3/delscreen.3x*
+%{_mandir}/man3/delwin.3x*
+%{_mandir}/man3/derwin.3x*
+%{_mandir}/man3/doupdate*.3x*
+%{_mandir}/man3/dupwin.3x*
+%{_mandir}/man3/echo*.3x*
+%{_mandir}/man3/endwin*.3x*
+%{_mandir}/man3/erase*.3x*
+%{_mandir}/man3/filter*.3x*
+%{_mandir}/man3/flash*.3x*
+%{_mandir}/man3/flushinp*.3x*
+%{_mandir}/man3/get*.3x*
+%{_mandir}/man3/ground_panel.3x*
+%{_mandir}/man3/halfdelay*.3x*
+%{_mandir}/man3/has_*.3x*
+%{_mandir}/man3/hline*.3x*
+%{_mandir}/man3/idcok.3x*
+%{_mandir}/man3/idlok.3x*
+%{_mandir}/man3/immedok.3x*
+%{_mandir}/man3/in_*.3x*
+%{_mandir}/man3/inch*.3x*
+%{_mandir}/man3/init_color*.3x*
+%{_mandir}/man3/init_pair*.3x*
+%{_mandir}/man3/initscr.3x*
+%{_mandir}/man3/innstr.3x*
+%{_mandir}/man3/innwstr.3x*
+%{_mandir}/man3/ins*.3x*
+%{_mandir}/man3/intrflush*.3x*
+%{_mandir}/man3/inwstr.3x*
+%{_mandir}/man3/is_*.3x*
+%{_mandir}/man3/isendwin*.3x*
+%{_mandir}/man3/key*.3x*
+%{_mandir}/man3/kill*.3x*
+%{_mandir}/man3/leaveok.3x*
+%{_mandir}/man3/legacy_coding.3x*
+%{_mandir}/man3/longname.3x*
+%{_mandir}/man3/mcprint*.3x*
+%{_mandir}/man3/meta.3x*
+%{_mandir}/man3/mouse*.3x*
+%{_mandir}/man3/move.3x*
+%{_mandir}/man3/mv*.3x*
+%{_mandir}/man3/napms*.3x*
+%{_mandir}/man3/ncurses.3x*
+%{_mandir}/man3/new_prescr.3x*
+%{_mandir}/man3/newpad*.3x*
+%{_mandir}/man3/newscr.3x*
+%{_mandir}/man3/newterm*.3x*
+%{_mandir}/man3/newwin*.3x*
+%{_mandir}/man3/nl*.3x*
+%{_mandir}/man3/no*.3x*
+%{_mandir}/man3/num*.3x*
+%{_mandir}/man3/ospeed.3x*
+%{_mandir}/man3/overlay.3x*
+%{_mandir}/man3/overwrite.3x*
+%{_mandir}/man3/pair_content*.3x*
+%{_mandir}/man3/pecho*.3x*
+%{_mandir}/man3/pnoutrefresh.3x*
+%{_mandir}/man3/prefresh.3x*
+%{_mandir}/man3/printw.3x*
+%{_mandir}/man3/put*.3x*
+%{_mandir}/man3/qiflush*.3x*
+%{_mandir}/man3/raw*.3x*
+%{_mandir}/man3/redrawwin.3x*
+%{_mandir}/man3/refresh.3x*
+%{_mandir}/man3/reset_*.3x*
+%{_mandir}/man3/resetty*.3x*
+%{_mandir}/man3/resize_term*.3x*
+%{_mandir}/man3/resizeterm*.3x*
+%{_mandir}/man3/restartterm*.3x*
+%{_mandir}/man3/ripoffline*.3x*
+%{_mandir}/man3/savetty*.3x*
+%{_mandir}/man3/scanw.3x*
+%{_mandir}/man3/scr_*.3x*
+%{_mandir}/man3/scrl.3x*
+%{_mandir}/man3/scroll.3x*
+%{_mandir}/man3/scroll*.3x*
+%{_mandir}/man3/set_curterm*.3x*
+%{_mandir}/man3/set_escdelay*.3x*
+%{_mandir}/man3/set_tabsize*.3x*
+%{_mandir}/man3/set_term.3x*
+%{_mandir}/man3/setcchar.3x*
+%{_mandir}/man3/setscrreg.3x*
+%{_mandir}/man3/setsyx.3x*
+%{_mandir}/man3/setterm.3x*
+%{_mandir}/man3/setupterm.3x*
+%{_mandir}/man3/slk_*.3x*
+%{_mandir}/man3/stand*.3x*
+%{_mandir}/man3/start_color*.3x*
+%{_mandir}/man3/stdscr.3x*
+%{_mandir}/man3/str*.3x*
+%{_mandir}/man3/subpad.3x*
+%{_mandir}/man3/subwin.3x*
+%{_mandir}/man3/syncok.3x*
+%{_mandir}/man3/term*.3x*
+%{_mandir}/man3/tget*.3x*
+%{_mandir}/man3/tgoto.3x*
+%{_mandir}/man3/tiget*.3x*
+%{_mandir}/man3/timeout.3x*
+%{_mandir}/man3/tiparm.3x*
+%{_mandir}/man3/touchline.3x*
+%{_mandir}/man3/touchwin.3x*
+%{_mandir}/man3/tparm.3x*
+%{_mandir}/man3/tputs*.3x*
+%{_mandir}/man3/trace.3x*
+%{_mandir}/man3/ttytype.3x*
+%{_mandir}/man3/typeahead*.3x*
+%{_mandir}/man3/unctrl*.3x*
+%{_mandir}/man3/unget*.3x*
+%{_mandir}/man3/untouchwin.3x*
+%{_mandir}/man3/use_*.3x*
+%{_mandir}/man3/vid*.3x*
+%{_mandir}/man3/vline*.3x*
+%{_mandir}/man3/vw*.3x*
+%{_mandir}/man3/wadd*.3x*
+%{_mandir}/man3/wattr*.3x*
+%{_mandir}/man3/wbkgd*.3x*
+%{_mandir}/man3/wbkgrnd*.3x*
+%{_mandir}/man3/wborder*.3x*
+%{_mandir}/man3/wchgat.3x*
+%{_mandir}/man3/wclear.3x*
+%{_mandir}/man3/wclrto*.3x*
+%{_mandir}/man3/wcolor_set.3x*
+%{_mandir}/man3/wcursyncup.3x*
+%{_mandir}/man3/wdel*.3x*
+%{_mandir}/man3/wecho*.3x*
+%{_mandir}/man3/wenclose.3x*
+%{_mandir}/man3/werase.3x*
+%{_mandir}/man3/wget*.3x*
+%{_mandir}/man3/whline*.3x*
+%{_mandir}/man3/win*.3x*
+%{_mandir}/man3/wmouse_trafo.3x*
+%{_mandir}/man3/wmove.3x*
+%{_mandir}/man3/wnoutrefresh.3x*
+%{_mandir}/man3/wprintw.3x*
+%{_mandir}/man3/wredrawln.3x*
+%{_mandir}/man3/wrefresh.3x*
+%{_mandir}/man3/wresize.3x*
+%{_mandir}/man3/wscanw.3x*
+%{_mandir}/man3/wscrl.3x*
+%{_mandir}/man3/wsetscrreg.3x*
+%{_mandir}/man3/wstand*.3x*
+%{_mandir}/man3/wsync*.3x*
+%{_mandir}/man3/wtimeout.3x*
+%{_mandir}/man3/wtouchln.3x*
+%{_mandir}/man3/wunctrl*.3x*
+%{_mandir}/man3/wvline*.3x*
+%lang(pl) %{_mandir}/pl/man3/ncurses.3x*
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libncurses.a
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libncurses.a
-%{_libdir}/libtinfo.a
 %{_libdir}/libncursesw.a
 %{_libdir}/libncursesw.a
-%{_libdir}/libtinfow.a
 
 %files ext
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libform.so.*.*
 
 %files ext
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libform.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
 %attr(755,root,root) %{_libdir}/libmenu.so.*.*
 %attr(755,root,root) %{_libdir}/libmenu.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmenu.so.[56]
 %attr(755,root,root) %{_libdir}/libpanel.so.*.*
 %attr(755,root,root) %{_libdir}/libpanel.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpanel.so.[56]
 %attr(755,root,root) %{_libdir}/libformw.so.*.*
 %attr(755,root,root) %{_libdir}/libformw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libformw.so.[56]
 %attr(755,root,root) %{_libdir}/libmenuw.so.*.*
 %attr(755,root,root) %{_libdir}/libmenuw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
 %attr(755,root,root) %{_libdir}/libpanelw.so.*.*
 %attr(755,root,root) %{_libdir}/libpanelw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
 
 %files ext-devel
 %defattr(644,root,root,755)
 
 %files ext-devel
 %defattr(644,root,root,755)
@@ -490,9 +857,67 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}w/form.h
 %{_includedir}w/menu.h
 %{_includedir}w/panel.h
 %{_includedir}w/form.h
 %{_includedir}w/menu.h
 %{_includedir}w/panel.h
-%{_mandir}/man3/form*
-%{_mandir}/man3/menu*
-%{_mandir}/man3/panel*
+%{_pkgconfigdir}/form.pc
+%{_pkgconfigdir}/formw.pc
+%{_pkgconfigdir}/menu.pc
+%{_pkgconfigdir}/menuw.pc
+%{_pkgconfigdir}/panel.pc
+%{_pkgconfigdir}/panelw.pc
+%{_mandir}/man3/TYPE_ALNUM.3x*
+%{_mandir}/man3/TYPE_ALPHA.3x*
+%{_mandir}/man3/TYPE_ENUM.3x*
+%{_mandir}/man3/TYPE_INTEGER.3x*
+%{_mandir}/man3/TYPE_IPV4.3x*
+%{_mandir}/man3/TYPE_NUMERIC.3x*
+%{_mandir}/man3/TYPE_REGEXP.3x*
+%{_mandir}/man3/bottom_panel.3x*
+%{_mandir}/man3/current_field.3x*
+%{_mandir}/man3/current_item.3x*
+%{_mandir}/man3/data_ahead.3x*
+%{_mandir}/man3/data_behind.3x*
+%{_mandir}/man3/del_panel.3x*
+%{_mandir}/man3/dup_field.3x*
+%{_mandir}/man3/dynamic_field_info.3x*
+%{_mandir}/man3/field_*.3x*
+%{_mandir}/man3/form*.3x*
+%{_mandir}/man3/free_*.3x*
+%{_mandir}/man3/hide_panel.3x*
+%{_mandir}/man3/item_*.3x*
+%{_mandir}/man3/link_field*.3x*
+%{_mandir}/man3/menu*.3x*
+%{_mandir}/man3/mitem_*.3x*
+%{_mandir}/man3/move_field.3x*
+%{_mandir}/man3/move_panel.3x*
+%{_mandir}/man3/new_field*.3x*
+%{_mandir}/man3/new_form*.3x*
+%{_mandir}/man3/new_item.3x*
+%{_mandir}/man3/new_menu*.3x*
+%{_mandir}/man3/new_page.3x*
+%{_mandir}/man3/new_panel.3x*
+%{_mandir}/man3/panel*.3x*
+%{_mandir}/man3/pos_form_cursor.3x*
+%{_mandir}/man3/pos_menu_cursor.3x*
+%{_mandir}/man3/post_form.3x*
+%{_mandir}/man3/post_menu.3x*
+%{_mandir}/man3/replace_panel.3x*
+%{_mandir}/man3/scale_form.3x*
+%{_mandir}/man3/scale_menu.3x*
+%{_mandir}/man3/set_current_field.3x*
+%{_mandir}/man3/set_current_item.3x*
+%{_mandir}/man3/set_field*.3x*
+%{_mandir}/man3/set_form_*.3x*
+%{_mandir}/man3/set_item_*.3x*
+%{_mandir}/man3/set_max_field.3x*
+%{_mandir}/man3/set_menu_*.3x*
+%{_mandir}/man3/set_new_page.3x*
+%{_mandir}/man3/set_panel_userptr.3x*
+%{_mandir}/man3/set_top_row.3x*
+%{_mandir}/man3/show_panel.3x*
+%{_mandir}/man3/top_panel.3x*
+%{_mandir}/man3/top_row.3x*
+%{_mandir}/man3/unpost_form.3x*
+%{_mandir}/man3/unpost_menu.3x*
+%{_mandir}/man3/update_panels*.3x*
 
 %files ext-static
 %defattr(644,root,root,755)
 
 %files ext-static
 %defattr(644,root,root,755)
@@ -521,6 +946,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}w/cursesw.h
 %{_includedir}w/etip.h
 %{_includedir}w/cursslk.h
 %{_includedir}w/cursesw.h
 %{_includedir}w/etip.h
 %{_includedir}w/cursslk.h
+%{_pkgconfigdir}/ncurses++.pc
+%{_pkgconfigdir}/ncurses++w.pc
 
 %files c++-static
 %defattr(644,root,root,755)
 
 %files c++-static
 %defattr(644,root,root,755)
@@ -532,6 +959,11 @@ rm -rf $RPM_BUILD_ROOT
 %files ada-devel
 %defattr(644,root,root,755)
 %doc Ada95/{README,TODO}
 %files ada-devel
 %defattr(644,root,root,755)
 %doc Ada95/{README,TODO}
-%{_libdir}/ada/adainclude/*
-%{_libdir}/ada/adalib/*
+%attr(755,root,root) %{_bindir}/adacurses-config
+%attr(755,root,root) %{_bindir}/adacursesw-config
+%{_libdir}/gcc/*/*/adainclude/*.ad[bs]
+%{_libdir}/gcc/*/*/adalib/libAdaCurses.a
+%{_mandir}/man1/adacurses-config.1*
+%{_mandir}/man1/adacurses.1*
+%{_mandir}/man1/adacursesw-config.1*
 %endif
 %endif
This page took 0.086033 seconds and 4 git commands to generate.