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