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