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