]>
Commit | Line | Data |
---|---|---|
2a7ed9e5 JB |
1 | # |
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 | |
af792b88 | 5 | # # (this is neccessary to build ncurses linked with uClibc). |
740d1fbf JB |
6 | %bcond_without gpm # build without (dynamically loadable) libgpm support |
7 | # | |
97c6246c | 8 | Summary: curses terminal control library |
512ffe0d ER |
9 | Summary(de.UTF-8): curses-Terminal-Control-Library |
10 | Summary(es.UTF-8): Biblioteca de control de terminal curses | |
11 | Summary(fr.UTF-8): La bibliothéque de contrôle de terminal curses | |
12 | Summary(pl.UTF-8): Biblioteki do kontrolowania terminala | |
13 | Summary(pt_BR.UTF-8): Biblioteca de controle de terminal curses | |
14 | Summary(ru.UTF-8): ncurses - новая библиотека управления терминалами | |
15 | Summary(tr.UTF-8): Terminal kontrol kitaplığı | |
16 | Summary(uk.UTF-8): ncurses - нова бібліотека керування терміналами | |
97c6246c | 17 | Name: ncurses |
71b8d3de | 18 | Version: 5.7 |
19 | Release: 1 | |
5824d6c7 | 20 | License: distributable |
97c6246c | 21 | Group: Libraries |
2721ec82 | 22 | Source0: ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz |
71b8d3de | 23 | # Source0-md5: cce05daf61a64501ef6cd8da1f727ec6 |
32f51c2e | 24 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
86edd651 | 25 | # Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1 |
e0340545 | 26 | |
71b8d3de | 27 | # source: ftp://dickey.his.com/ncurses/5.7/ |
28 | Patch0: %{name}-5.7-20081115.patch.gz | |
e0340545 | 29 | |
652b7e23 AM |
30 | Patch100: %{name}-screen_hpa_fix.patch |
31 | Patch101: %{name}-xterm_hpa_fix.patch | |
740d1fbf JB |
32 | Patch102: %{name}-meta.patch |
33 | Patch103: %{name}-xterm-home-end.patch | |
34 | Patch104: %{name}-mouse_trafo-warning.patch | |
35 | Patch105: %{name}-gnome-terminal.patch | |
36 | # not sure about this one, now all xterms have kbs defined (to ^H, not \177) | |
37 | # and only XTerm.ad.pl sets backspace to \177 instead of ^H | |
38 | Patch106: %{name}-xterm-kbs.patch | |
652b7e23 | 39 | # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998 |
740d1fbf | 40 | Patch107: %{name}-no-rain-demo.patch |
c77491d3 | 41 | URL: http://dickey.his.com/ncurses/ncurses.html |
3f8bb7f1 | 42 | BuildRequires: automake |
d8fc1baa | 43 | %{?with_ada:BuildRequires: gcc-ada} |
740d1fbf | 44 | %{?with_gpm:BuildRequires: gpm-devel} |
d8fc1baa | 45 | %{?with_cxx:BuildRequires: libstdc++-devel} |
33687491 | 46 | BuildRequires: sharutils |
3a897939 | 47 | Obsoletes: libncurses5 |
c6a56298 | 48 | Conflicts: terminfo < 5.4-0.6 |
f6c378e0 | 49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f0a3cad1 | 50 | |
06c46e64 | 51 | %define _includedir %{_prefix}/include/ncurses |
52 | ||
f0a3cad1 | 53 | %description |
cf6b9bab | 54 | The curses library routines give the user a terminal-independent |
55 | method of updating character screens with reasonable optimization. | |
56 | This implementation is ``new curses'' (ncurses) and is the approved | |
57 | replacement for 4.4BSD classic curses, which is being discontinued. | |
f0a3cad1 | 58 | |
2af46c3d | 59 | %description -l de.UTF-8 |
cf6b9bab | 60 | Die curses-Library-Routinen geben dem Benutzer eine |
2af46c3d | 61 | Terminal-unabhängige Methode zur optimierten Aktualisierung von |
cf6b9bab | 62 | zeichenbasierenden Bildschirminhalten an die Hand. Die vorliegende |
63 | Implementierung ist NEW CURSES (ncurses), die offizielle | |
2af46c3d JR |
64 | Nachfolgerversion für 4.4BSC (die klassische curses-Version), welche |
65 | nicht weitergeführt wird. | |
66 | ||
67 | %description -l es.UTF-8 | |
68 | Las rutinas de la biblioteca curses ofrecen al usuario un método | |
69 | independiente de terminal para actualización de las pantallas de | |
70 | caracteres con optimización razonable. Este soporte es "nuevo curses" | |
71 | (ncurses) y es el substituto aprobado para los clásicos curses 4.4BSD, | |
5a161ae4 | 72 | que se quedaban desfasados. |
73 | ||
2af46c3d JR |
74 | %description -l fr.UTF-8 |
75 | Les routines de la bibliothèque curses donnent à l'utilisateur une | |
76 | méthode indépendante du terminal pour la mise à jour des écrans en | |
cf6b9bab | 77 | mode texte avec une optimisation correcte. Ceci est l'implantation du |
2af46c3d JR |
78 | « nouveau curses » (ncurses) et est le remplacement du curses 4.4BSD |
79 | classique qui est abandonné. | |
f0a3cad1 | 80 | |
2af46c3d JR |
81 | %description -l pl.UTF-8 |
82 | Biblioteka curses udostępnia funkcje pozwalające użytkownikom na | |
83 | odwoływanie się do zawartości terminala niezależnie od jego typu. | |
84 | Pakiet ten zawiera implementację klasycznej biblioteki curses (z | |
cf6b9bab | 85 | systemu 4.4BSD) o nazwie ncurses (new curses) i jest zarazem jej |
2af46c3d | 86 | przyszłym zamiennikiem. |
6d59ecec | 87 | |
2af46c3d JR |
88 | %description -l pt_BR.UTF-8 |
89 | As rotinas da biblioteca curses fornecem ao usuário um método | |
90 | independente de terminal para atualização das telas de caracteres com | |
91 | otimização razoável. Essa implementação é "novo curses" (ncurses) e é | |
92 | o substituto aprovado para os clássicos curses 4.4BSD, que estão se | |
5a161ae4 | 93 | tornando obsoletos. |
94 | ||
2af46c3d JR |
95 | %description -l ru.UTF-8 |
96 | Программы библиотеки curses предоставляют пользователям возможность | |
97 | терминально-независимого обновления символьных экранов с достаточной | |
98 | оптимизацией. Эта реализация - "новые curses" (ncurses), которая | |
99 | является одобренной заменой классической библиотеки curses из 4.4BSD, | |
100 | в настоящее время "снятой с производства". В PLD Linux ncurses | |
101 | является жизненно необходимой, без нее не будут функционировать многие | |
102 | программы, составляющие базовую систему. Практически все программы, | |
103 | которые выводят что-либо на терминал, используют ncurses. В PLD Linux | |
104 | ни библиотека termcap, ни традиционный файл /etc/termcap, не | |
105 | используются... | |
106 | ||
107 | %description -l tr.UTF-8 | |
108 | curses kitaplığı ile kullanıcıya kullanılan terminal tipinden bağımsız | |
109 | olarak karakter tabanlı ekranlara erişim olanağı sağlanabilmektedir. | |
110 | Bu uyarlama 'new curses' (ncurses), BSD deki klasik curses'in gelişmiş | |
dd3fb4d2 | 111 | halidir. |
f0a3cad1 | 112 | |
2af46c3d JR |
113 | %description -l uk.UTF-8 |
114 | Програми бібліотеки curses дають користувачам можливість | |
115 | термінально-незалежного поновлення символьних екранів з достатньою | |
116 | оптимізацією. Ця реалізація - "нові curses" (ncurses), котра є | |
117 | схваленою заміною класичної бібліотеки curses з 4.4BSD, яка наразі | |
118 | "знята з виробництва". В PLD Linux ncurses є життєво необхідною, без | |
119 | неї не буде працювати більшость програм, що складають базову систему. | |
120 | Практично всі програми, котрі виводять щось на термінал, | |
121 | використовують ncurses. В PLD Linux ані бібліотека termcap, ані | |
122 | традиційний файл /etc/termcap не використовуються... | |
5f271f80 | 123 | |
66084646 | 124 | %package -n terminfo |
97c6246c | 125 | Summary: Complete terminfo database |
512ffe0d ER |
126 | Summary(es.UTF-8): Banco de datos terminfo para terminales extras (menos usados) |
127 | Summary(pl.UTF-8): Kompletna baza terminfo | |
128 | Summary(pt_BR.UTF-8): Base de dados terminfo para terminais adicionais (menos usados) | |
f3076edf | 129 | Group: Applications/Terminal |
2a7ed9e5 | 130 | Requires: %{name} = %{version}-%{release} |
b4ea1dfd | 131 | Obsoletes: ncurses-extraterms |
03a65fe5 | 132 | |
133 | %description -n terminfo | |
fb25d758 | 134 | This package contains complete terminfo database. If you just use the |
cf6b9bab | 135 | Linux console, xterm and VT100, you probably will not need this this - |
136 | a minimal %{_datadir}/terminfo tree for these terminal is already | |
137 | included in the ncurses package. | |
03a65fe5 | 138 | |
2af46c3d | 139 | %description -n terminfo -l es.UTF-8 |
5a161ae4 | 140 | Banco de datos terminfo para terminales extras. Las capacidades de los |
2af46c3d | 141 | terminales más usados ya están en el paquete principal ncurses. |
5a161ae4 | 142 | |
2af46c3d JR |
143 | %description -n terminfo -l pl.UTF-8 |
144 | Pakiet ten zawiera kompletną bazę terminfo. Jeżeli używasz terminali | |
145 | linux, console, xterm, vt100 prawdopodobnie nie bedziesz potrzebował | |
146 | tego pakietu gdyż definicje tych terminali są włączone w pakiet | |
cf6b9bab | 147 | ncurses. |
03a65fe5 | 148 | |
2af46c3d JR |
149 | %description -n terminfo -l pt_BR.UTF-8 |
150 | Base de dados terminfo para terminais extras. As definições dos | |
151 | terminais mais usados já estão no pacote principal ncurses. | |
5a161ae4 | 152 | |
66084646 | 153 | %package devel |
97c6246c | 154 | Summary: Header files for develop ncurses based application |
512ffe0d ER |
155 | Summary(es.UTF-8): Bibliotecas de desarrollo para ncurses |
156 | Summary(pl.UTF-8): Pliki nagłówkowe do bibliotek ncurses | |
157 | Summary(pt_BR.UTF-8): Bibliotecas de desenvolvimento para ncurses | |
158 | Summary(ru.UTF-8): Хедеры и библиотеки для разработки программ с ncurses | |
159 | Summary(uk.UTF-8): Хедери та бібліотеки для розробки програм з ncurses | |
97c6246c | 160 | Group: Development/Libraries |
32786e39 | 161 | Requires: %{name} = %{version}-%{release} |
3a897939 | 162 | Obsoletes: libncurses5-devel |
f6c378e0 | 163 | Obsoletes: libtermcap-devel |
f0a3cad1 | 164 | |
165 | %description devel | |
cf6b9bab | 166 | This package includes the header files and libraries necessary to |
167 | develop applications that use ncurses. | |
f0a3cad1 | 168 | |
2af46c3d JR |
169 | %description devel -l es.UTF-8 |
170 | Este paquete incluye las bibliotecas y archivos de inclusión | |
5a161ae4 | 171 | necesarios al desarrollo de aplicaciones que usan ncurses. |
172 | ||
2af46c3d JR |
173 | %description devel -l pl.UTF-8 |
174 | Pakiet ten zawiera pliki nagłówkowe niezbędne do pisania/kompilowania | |
175 | programów z wykorzystaniem bibliotek ncurses. | |
6d59ecec | 176 | |
2af46c3d JR |
177 | %description devel -l pt_BR.UTF-8 |
178 | Este pacote inclui as bibliotecas e arquivos de inclusão necessários | |
179 | ao desenvolvimento de aplicações que usam ncurses. | |
5a161ae4 | 180 | |
2af46c3d JR |
181 | %description devel -l ru.UTF-8 |
182 | Этот пакет содержит хедеры и библиотеки, необходимые для разработки | |
183 | программ, использующих ncurses. | |
5f271f80 | 184 | |
2af46c3d JR |
185 | %description devel -l uk.UTF-8 |
186 | Цей пакет містить хедери та бібліотеки, необхідні для розробки | |
187 | програм, що використовують ncurses. | |
5f271f80 | 188 | |
66084646 | 189 | %package static |
97c6246c | 190 | Summary: Static libraries for ncurses |
512ffe0d ER |
191 | Summary(es.UTF-8): Static libraries for ncurses development |
192 | Summary(pl.UTF-8): Biblioteki statyczne ncurses | |
193 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ncurses | |
194 | Summary(ru.UTF-8): Статические библиотеки для разработки программ с ncurses | |
195 | Summary(uk.UTF-8): Статичні бібліотеки для розробки програм з ncurses | |
97c6246c | 196 | Group: Development/Libraries |
32786e39 | 197 | Requires: %{name}-devel = %{version}-%{release} |
f0a3cad1 | 198 | |
199 | %description static | |
03a65fe5 | 200 | This package includes the static libraries necessary to develop |
201 | applications that use ncurses. | |
f0a3cad1 | 202 | |
2af46c3d | 203 | %description static -l es.UTF-8 |
5a161ae4 | 204 | Static libraries for ncurses development. |
205 | ||
2af46c3d | 206 | %description static -l pl.UTF-8 |
03a65fe5 | 207 | Pakiet ten zawiera biblioteki statyczne ncurses. |
6d59ecec | 208 | |
2af46c3d JR |
209 | %description static -l pt_BR.UTF-8 |
210 | Bibliotecas estáticas para desenvolvimento com ncurses. | |
5a161ae4 | 211 | |
2af46c3d JR |
212 | %description static -l ru.UTF-8 |
213 | Этот пакет содержит статические библиотеки, необходимые для разработки | |
214 | программ, использующих ncurses. | |
5f271f80 | 215 | |
2af46c3d JR |
216 | %description static -l uk.UTF-8 |
217 | Цей пакет містить статичні бібліотеки, необхідні для розробки програм, | |
218 | що використовують ncurses. | |
5f271f80 | 219 | |
ff180380 JB |
220 | %package ext |
221 | Summary: Additional ncurses libraries | |
512ffe0d | 222 | Summary(pl.UTF-8): Dodatkowe biblioteki ncurses |
ff180380 JB |
223 | Group: Libraries |
224 | Requires: %{name} = %{version}-%{release} | |
225 | ||
226 | %description ext | |
227 | This package contains addidion ncurses libraries like libforms, | |
228 | libmenu and libpanel for easy making full screen curse application. | |
229 | ||
2af46c3d | 230 | %description ext -l pl.UTF-8 |
ff180380 | 231 | Pakiet ten zawiera dodatkowe biblioteki libforms, libmenu i libpanel |
2af46c3d | 232 | służące do łatwego tworzenia aplikacji pełnoekranowych korzystających |
ff180380 JB |
233 | z ncurses. |
234 | ||
235 | %package ext-devel | |
236 | Summary: Header files for additional ncurses libraries | |
512ffe0d | 237 | Summary(pl.UTF-8): Pliki nagłówkowe dodatkowych bibliotek ncurses |
ff180380 JB |
238 | Group: Development/Libraries |
239 | Requires: %{name}-devel = %{version}-%{release} | |
240 | Requires: %{name}-ext = %{version}-%{release} | |
241 | ||
242 | %description ext-devel | |
243 | Header files for additional ncurses libraries (form, menu, panel). | |
244 | ||
2af46c3d JR |
245 | %description ext-devel -l pl.UTF-8 |
246 | Pliki nagłówkowe dodatkowych bibliotek ncurses (form, menu, panel). | |
ff180380 JB |
247 | |
248 | %package ext-static | |
249 | Summary: Static versions of additional ncurses libraries | |
512ffe0d | 250 | Summary(pl.UTF-8): Statyczne wersje dodatkowych bibliotek ncurses |
ff180380 JB |
251 | Group: Development/Libraries |
252 | Requires: %{name}-ext-devel = %{version}-%{release} | |
253 | ||
254 | %description ext-static | |
255 | Static versions of additional ncurses libraries (form, menu, panel). | |
256 | ||
2af46c3d | 257 | %description ext-static -l pl.UTF-8 |
ff180380 JB |
258 | Statyczne wersje dodatkowych bibliotek ncurses (form, menu, panel). |
259 | ||
ec2eb5ae | 260 | %package c++-devel |
f98533be | 261 | Summary: Header files for develop C++ ncurses based application |
512ffe0d | 262 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki C++ ncurses |
f98533be | 263 | Group: Development/Libraries |
32786e39 | 264 | Requires: %{name}-devel = %{version}-%{release} |
17ef06ef | 265 | |
ec2eb5ae | 266 | %description c++-devel |
cf6b9bab | 267 | This package includes the header files and libraries necessary to |
268 | develop applications that use C++ ncurses. | |
17ef06ef | 269 | |
2af46c3d JR |
270 | %description c++-devel -l pl.UTF-8 |
271 | Pakiet ten zawiera pliki nagłówkowe niezbędne do kompilacji programów | |
652b7e23 | 272 | z wykorzystaniem biblioteki c++-ncurses. |
17ef06ef | 273 | |
ec2eb5ae | 274 | %package c++-static |
97c6246c | 275 | Summary: Static libraries for C++ ncurses |
512ffe0d | 276 | Summary(pl.UTF-8): Biblioteki statyczne C++ ncurses |
97c6246c | 277 | Group: Development/Libraries |
32786e39 | 278 | Requires: %{name}-c++-devel = %{version}-%{release} |
17ef06ef | 279 | |
ec2eb5ae | 280 | %description c++-static |
17ef06ef | 281 | This package includes the static libraries necessary to develop |
ec2eb5ae | 282 | applications that use C++ ncurses. |
17ef06ef | 283 | |
2af46c3d | 284 | %description c++-static -l pl.UTF-8 |
ec2eb5ae | 285 | Pakiet ten zawiera biblioteki statyczne C++ ncurses. |
17ef06ef | 286 | |
3768c26d AF |
287 | %package ada-devel |
288 | Summary: Header files for develop Ada95 ncurses based application | |
512ffe0d | 289 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Ada95 ncurses |
3768c26d | 290 | Group: Development/Libraries |
32786e39 | 291 | Requires: %{name}-devel = %{version}-%{release} |
b0b405d4 | 292 | %requires_eq gcc-ada |
3768c26d AF |
293 | |
294 | %description ada-devel | |
295 | This package includes the header files and libraries necessary to | |
296 | develop applications that use Ada95 ncurses. | |
297 | ||
2af46c3d JR |
298 | %description ada-devel -l pl.UTF-8 |
299 | Ten pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do | |
300 | tworzenia aplikacji używających ncurses w języku Ada95. | |
7465015b | 301 | |
f0a3cad1 | 302 | %prep |
7465015b | 303 | %setup -q |
ef504cf9 | 304 | %patch0 -p1 |
46e682ba | 305 | |
652b7e23 AM |
306 | %patch100 -p1 |
307 | %patch101 -p1 | |
740d1fbf | 308 | %patch102 -p1 |
652b7e23 AM |
309 | %patch103 -p1 |
310 | %patch104 -p1 | |
311 | %patch105 -p1 | |
312 | %patch106 -p1 | |
313 | %patch107 -p1 | |
f0a3cad1 | 314 | |
315 | %build | |
f16a01b0 | 316 | unset TERMINFO || : |
b0b405d4 | 317 | gcc_target=$(gcc -dumpmachine) |
318 | gcc_version=$(gcc -dumpversion) | |
2b82261e | 319 | CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64" |
3f8bb7f1 | 320 | cp -f /usr/share/automake/config.sub . |
0590ad17 JB |
321 | for t in narrowc widec; do |
322 | install -d obj-$t | |
323 | cd obj-$t | |
740d1fbf | 324 | ../%configure \ |
34d400f8 | 325 | --with-install-prefix=$RPM_BUILD_ROOT \ |
326 | --with-normal \ | |
327 | --with-shared \ | |
3768c26d | 328 | --with%{!?with_ada:out}-ada \ |
af792b88 | 329 | --with%{!?with_cxx:out}-cxx \ |
330 | --with%{!?with_cxx:out}-cxx-binding \ | |
d8fc1baa | 331 | --with%{!?debug:out}-debug \ |
740d1fbf | 332 | --with%{!?with_gpm:out}-gpm \ |
34d400f8 | 333 | --without-profile \ |
f98533be | 334 | --with-termlib \ |
652b7e23 AM |
335 | --with-largefile \ |
336 | --disable-lp64 \ | |
337 | --with-chtype='long' \ | |
338 | --with-mmask-t='long' \ | |
86edd651 | 339 | --with-manpage-aliases \ |
ff180380 | 340 | --with-manpage-format=normal \ |
0590ad17 | 341 | --without-manpage-symlinks \ |
b0b405d4 | 342 | --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \ |
343 | --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \ | |
abe0dae1 AM |
344 | `[ "$t" != "widec" ] && echo --with-termlib=tinfo` \ |
345 | `[ "$t" = "widec" ] && echo --with-termlib=tinfow --enable-widec --includedir=%{_includedir}w` | |
46e682ba AM |
346 | |
347 | %{__make} | |
348 | ||
0590ad17 JB |
349 | cd .. |
350 | done | |
f0a3cad1 | 351 | |
352 | %install | |
697b1c3d | 353 | rm -rf $RPM_BUILD_ROOT |
b125fe8f | 354 | install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}} |
697b1c3d | 355 | |
0590ad17 JB |
356 | for t in widec narrowc; do |
357 | %{__make} -C obj-$t install \ | |
ff180380 | 358 | INSTALL_PREFIX=$RPM_BUILD_ROOT |
0590ad17 | 359 | done |
03a65fe5 | 360 | |
9144fb94 | 361 | ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console |
03a65fe5 | 362 | |
02913cb5 JB |
363 | mv -f $RPM_BUILD_ROOT%{_libdir}/libtinfo.so.* $RPM_BUILD_ROOT/%{_lib} |
364 | mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib} | |
365 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so | |
366 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so | |
367 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so | |
f028bbe4 | 368 | ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a |
369 | ln -sf libncursesw.so $RPM_BUILD_ROOT%{_libdir}/libcursesw.so | |
4dca32b3 | 370 | |
6311b3f9 | 371 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
34d400f8 | 372 | |
83df94a1 JB |
373 | %clean |
374 | rm -rf $RPM_BUILD_ROOT | |
34d400f8 | 375 | |
e0340545 | 376 | %post -p /sbin/ldconfig |
377 | %postun -p /sbin/ldconfig | |
f0a3cad1 | 378 | |
e0340545 | 379 | %post ext -p /sbin/ldconfig |
380 | %postun ext -p /sbin/ldconfig | |
f0a3cad1 | 381 | |
382 | %files | |
03a65fe5 | 383 | %defattr(644,root,root,755) |
ff180380 | 384 | %doc ANNOUNCE README |
740d1fbf JB |
385 | %attr(755,root,root) %{_bindir}/captoinfo |
386 | %attr(755,root,root) %{_bindir}/clear | |
387 | %attr(755,root,root) %{_bindir}/infocmp | |
388 | %attr(755,root,root) %{_bindir}/infotocap | |
389 | %attr(755,root,root) %{_bindir}/reset | |
02913cb5 | 390 | %attr(755,root,root) %{_bindir}/tabs |
740d1fbf JB |
391 | %attr(755,root,root) %{_bindir}/tic |
392 | %attr(755,root,root) %{_bindir}/toe | |
393 | %attr(755,root,root) %{_bindir}/tput | |
394 | %attr(755,root,root) %{_bindir}/tset | |
02913cb5 JB |
395 | %attr(755,root,root) /%{_lib}/libncurses.so.*.* |
396 | %attr(755,root,root) %ghost /%{_lib}/libncurses.so.5 | |
397 | %attr(755,root,root) /%{_lib}/libtinfo.so.*.* | |
398 | %attr(755,root,root) %ghost /%{_lib}/libtinfo.so.5 | |
399 | %attr(755,root,root) %{_libdir}/libncursesw.so.*.* | |
400 | %attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5 | |
401 | %attr(755,root,root) %{_libdir}/libtinfow.so.*.* | |
402 | %attr(755,root,root) %ghost %{_libdir}/libtinfow.so.5 | |
03a65fe5 | 403 | |
9144fb94 | 404 | %{_datadir}/tabset |
a58274aa | 405 | |
9144fb94 | 406 | %dir %{_datadir}/terminfo |
b4ea1dfd | 407 | %{_datadir}/terminfo/E |
ff180380 | 408 | %dir %{_datadir}/terminfo/[dklsvx] |
a58274aa | 409 | |
5dd40f65 | 410 | %{_datadir}/terminfo/d/dumb |
c6a56298 | 411 | %{_datadir}/terminfo/k/klone+color |
9144fb94 | 412 | %{_datadir}/terminfo/l/linux* |
b4ea1dfd | 413 | %{_datadir}/terminfo/s/screen* |
9144fb94 | 414 | %{_datadir}/terminfo/v/vt100 |
415 | %{_datadir}/terminfo/v/vt220 | |
416 | %{_datadir}/terminfo/v/vt220-8 | |
417 | %{_datadir}/terminfo/v/vt52 | |
418 | %{_datadir}/terminfo/x/xterm* | |
03a65fe5 | 419 | |
e31aaaa7 | 420 | %{_mandir}/man[157]/* |
6311b3f9 | 421 | %lang(fi) %{_mandir}/fi/man1/* |
422 | %lang(fr) %{_mandir}/fr/man1/* | |
423 | %lang(hu) %{_mandir}/hu/man1/* | |
424 | %lang(id) %{_mandir}/id/man1/* | |
425 | %lang(it) %{_mandir}/it/man1/* | |
426 | %lang(pl) %{_mandir}/pl/man[157]/* | |
03a65fe5 | 427 | |
03a65fe5 | 428 | %files -n terminfo |
429 | %defattr(644,root,root,755) | |
c6a56298 | 430 | %{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz] |
ff180380 | 431 | %{_datadir}/terminfo/[dklsvx]/* |
58e6c940 | 432 | %exclude %{_datadir}/terminfo/d/dumb |
c6a56298 | 433 | %exclude %{_datadir}/terminfo/k/klone+color |
58e6c940 AF |
434 | %exclude %{_datadir}/terminfo/l/linux* |
435 | %exclude %{_datadir}/terminfo/s/screen* | |
436 | %exclude %{_datadir}/terminfo/v/vt100 | |
437 | %exclude %{_datadir}/terminfo/v/vt220 | |
438 | %exclude %{_datadir}/terminfo/v/vt220-8 | |
439 | %exclude %{_datadir}/terminfo/v/vt52 | |
440 | %exclude %{_datadir}/terminfo/x/xterm* | |
f0a3cad1 | 441 | |
442 | %files devel | |
03a65fe5 | 443 | %defattr(644,root,root,755) |
57666f05 | 444 | %doc doc/html/ncurses-intro.html |
740d1fbf JB |
445 | %attr(755,root,root) %{_bindir}/ncurses5-config |
446 | %attr(755,root,root) %{_bindir}/ncursesw5-config | |
ff180380 JB |
447 | %attr(755,root,root) %{_libdir}/libcurses.so |
448 | %attr(755,root,root) %{_libdir}/libncurses.so | |
449 | %attr(755,root,root) %{_libdir}/libtinfo.so | |
0590ad17 JB |
450 | %attr(755,root,root) %{_libdir}/libcursesw.so |
451 | %attr(755,root,root) %{_libdir}/libncursesw.so | |
452 | %attr(755,root,root) %{_libdir}/libtinfow.so | |
00ed8ef1 | 453 | %dir %{_includedir} |
06c46e64 | 454 | %{_includedir}/curses.h |
455 | %{_includedir}/eti.h | |
abe0dae1 | 456 | %{_includedir}/nc_tparm.h |
06c46e64 | 457 | %{_includedir}/ncurses.h |
43c9b3d0 | 458 | %{_includedir}/ncurses_dll.h |
06c46e64 | 459 | %{_includedir}/term.h |
abe0dae1 | 460 | %{_includedir}/term_entry.h |
06c46e64 | 461 | %{_includedir}/termcap.h |
abe0dae1 | 462 | %{_includedir}/tic.h |
06c46e64 | 463 | %{_includedir}/unctrl.h |
0590ad17 JB |
464 | %dir %{_includedir}w |
465 | %{_includedir}w/curses.h | |
466 | %{_includedir}w/eti.h | |
abe0dae1 | 467 | %{_includedir}w/nc_tparm.h |
0590ad17 JB |
468 | %{_includedir}w/ncurses.h |
469 | %{_includedir}w/ncurses_dll.h | |
470 | %{_includedir}w/term.h | |
abe0dae1 | 471 | %{_includedir}w/term_entry.h |
0590ad17 | 472 | %{_includedir}w/termcap.h |
abe0dae1 | 473 | %{_includedir}w/tic.h |
0590ad17 | 474 | %{_includedir}w/unctrl.h |
e31aaaa7 | 475 | %{_mandir}/man3/* |
ff180380 JB |
476 | %exclude %{_mandir}/man3/form* |
477 | %exclude %{_mandir}/man3/menu* | |
478 | %exclude %{_mandir}/man3/panel* | |
6311b3f9 | 479 | %lang(pl) %{_mandir}/pl/man3/* |
f0a3cad1 | 480 | |
481 | %files static | |
56de83d6 | 482 | %defattr(644,root,root,755) |
0681fcad | 483 | %{_libdir}/libncurses.a |
f98533be | 484 | %{_libdir}/libtinfo.a |
0590ad17 JB |
485 | %{_libdir}/libncursesw.a |
486 | %{_libdir}/libtinfow.a | |
ff180380 JB |
487 | |
488 | %files ext | |
489 | %defattr(644,root,root,755) | |
7295bc7f MB |
490 | %attr(755,root,root) %{_libdir}/libform.so.* |
491 | %attr(755,root,root) %{_libdir}/libmenu.so.* | |
492 | %attr(755,root,root) %{_libdir}/libpanel.so.* | |
493 | %attr(755,root,root) %{_libdir}/libformw.so.* | |
494 | %attr(755,root,root) %{_libdir}/libmenuw.so.* | |
495 | %attr(755,root,root) %{_libdir}/libpanelw.so.* | |
ff180380 JB |
496 | |
497 | %files ext-devel | |
498 | %defattr(644,root,root,755) | |
499 | %attr(755,root,root) %{_libdir}/libform.so | |
500 | %attr(755,root,root) %{_libdir}/libmenu.so | |
501 | %attr(755,root,root) %{_libdir}/libpanel.so | |
0590ad17 JB |
502 | %attr(755,root,root) %{_libdir}/libformw.so |
503 | %attr(755,root,root) %{_libdir}/libmenuw.so | |
504 | %attr(755,root,root) %{_libdir}/libpanelw.so | |
ff180380 JB |
505 | %{_includedir}/form.h |
506 | %{_includedir}/menu.h | |
507 | %{_includedir}/panel.h | |
0590ad17 JB |
508 | %{_includedir}w/form.h |
509 | %{_includedir}w/menu.h | |
510 | %{_includedir}w/panel.h | |
ff180380 JB |
511 | %{_mandir}/man3/form* |
512 | %{_mandir}/man3/menu* | |
513 | %{_mandir}/man3/panel* | |
514 | ||
515 | %files ext-static | |
516 | %defattr(644,root,root,755) | |
0681fcad | 517 | %{_libdir}/libform.a |
0681fcad | 518 | %{_libdir}/libmenu.a |
ff180380 | 519 | %{_libdir}/libpanel.a |
0590ad17 JB |
520 | %{_libdir}/libformw.a |
521 | %{_libdir}/libmenuw.a | |
522 | %{_libdir}/libpanelw.a | |
17ef06ef | 523 | |
af792b88 | 524 | %if %{with cxx} |
ec2eb5ae | 525 | %files c++-devel |
17ef06ef | 526 | %defattr(644,root,root,755) |
83df94a1 | 527 | %doc c++/{demo.cc,README-first,NEWS,PROBLEMS} |
06c46e64 | 528 | %{_includedir}/cursesapp.h |
529 | %{_includedir}/cursesf.h | |
530 | %{_includedir}/cursesm.h | |
531 | %{_includedir}/cursesp.h | |
532 | %{_includedir}/cursesw.h | |
533 | %{_includedir}/etip.h | |
534 | %{_includedir}/cursslk.h | |
0590ad17 JB |
535 | %{_includedir}w/cursesapp.h |
536 | %{_includedir}w/cursesf.h | |
537 | %{_includedir}w/cursesm.h | |
538 | %{_includedir}w/cursesp.h | |
539 | %{_includedir}w/cursesw.h | |
540 | %{_includedir}w/etip.h | |
541 | %{_includedir}w/cursslk.h | |
17ef06ef | 542 | |
ec2eb5ae | 543 | %files c++-static |
17ef06ef | 544 | %defattr(644,root,root,755) |
0681fcad | 545 | %{_libdir}/libncurses++.a |
0590ad17 | 546 | %{_libdir}/libncurses++w.a |
a52a33b5 | 547 | %endif |
3768c26d AF |
548 | |
549 | %if %{with ada} | |
550 | %files ada-devel | |
551 | %defattr(644,root,root,755) | |
552 | %doc Ada95/{README,TODO} | |
02913cb5 | 553 | %attr(755,root,root) %{_bindir}/adacurses-config |
b0b405d4 | 554 | %{_libdir}/gcc/*/*/adainclude/* |
555 | %{_libdir}/gcc/*/*/adalib/* | |
3768c26d | 556 | %endif |