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