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