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