#
# Conditional build:
-%bcond_without ada # do not build Ada95 bindings
-%bcond_without cxx # do not build C++ ncurses bindings and demo programs
-# # (this is neccessary to build ncurses linked with uClibc).
-%bcond_without gpm # build without (dynamically loadable) libgpm support
+%bcond_without ada # Ada95 bindings
+%bcond_without cxx # C++ ncurses bindings and demo programs [disable when using uClibc]
+%bcond_without gpm # (dynamically loadable) libgpm support
-%ifarch sparc64
+%ifarch sparc64 x32
%undefine with_ada
%endif
-%define basever 5.9
-%define patchlevel 20140609
+%define basever 6.4
+%define patchlevel 20230114
Summary: curses terminal control library
Summary(de.UTF-8): curses-Terminal-Control-Library
Summary(es.UTF-8): Biblioteca de control de terminal curses
Summary(fr.UTF-8): La bibliothéque de contrôle de terminal curses
-Summary(pl.UTF-8): Biblioteki do kontrolowania terminala
+Summary(pl.UTF-8): Biblioteki do sterowania terminalem
Summary(pt_BR.UTF-8): Biblioteca de controle de terminal curses
Summary(ru.UTF-8): ncurses - новая библиотека управления терминалами
Summary(tr.UTF-8): Terminal kontrol kitaplığı
Release: 1
License: distributable
Group: Libraries
-Source0: ftp://dickey.his.com/ncurses/%{name}-%{basever}.tar.gz
-# Source0-md5: 8cb9c412e5f2d96bc6f459aa8c6282a1
+Source0: ftp://ftp.invisible-island.net/ncurses/current/%{name}-%{basever}-%{patchlevel}.tgz
+# Source0-md5: ca9c8143ad5f097dd0bfff4e07cec054
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
-# source: ftp://dickey.his.com/ncurses/5.9/
-Patch0: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140308-patch.sh.bz2
-# Patch0-md5: 8bd412a9c9ac97a2c504780ae87aa5d8
-Patch1: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140315.patch.gz
-# Patch1-md5: 1ddb1fbc5b301506e0522cc1364579b7
-Patch2: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140322.patch.gz
-# Patch2-md5: e8af8722ca80e2c7693d07a1cb475235
-Patch3: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140323.patch.gz
-# Patch3-md5: 24fbdef991dd67b2557177e453efd572
-Patch4: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140329.patch.gz
-# Patch4-md5: e7a772214088ca55185cd2230df2e9ee
-Patch5: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140412.patch.gz
-# Patch5-md5: 49762dfcdeb3f5da933319f58b9b4f18
-Patch6: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140419.patch.gz
-# Patch6-md5: ec3760d2142cd0106a20db17a356a8cf
-Patch7: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140426.patch.gz
-# Patch7-md5: b5df540a93b170ff946724b3a02125a2
-Patch8: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140503.patch.gz
-# Patch8-md5: 9885526f6f734e001ed6f55cd39a9feb
-Patch9: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140510.patch.gz
-# Patch9-md5: bc591f4e1bf5dbf785b8c4c4eb5afce3
-Patch10: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140524.patch.gz
-# Patch10-md5: b35022e923b354b95325e7f5f817c989
-Patch11: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140607.patch.gz
-# Patch11-md5: ddfe11b9ed9477c785849c1b606d90dd
-Patch12: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140609.patch.gz
-# Patch12-md5: 769c45c1317021c471dd5036e7c172db
-Patch13: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140614.patch.gz
-# Patch13-md5: 13db4a8a7c62b4d825707c12e855dc57
-Patch14: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140621.patch.gz
-# Patch14-md5: f6f582b7e76a9c1fedde3aafe6849f76
-Patch15: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140629.patch.gz
-# Patch15-md5: 65aa63ff4072642110f80542b3d9f885
-Patch16: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140705.patch.gz
-# Patch16-md5: b5d3a9365a777e1ba0809edbca8fdebd
-Patch17: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140712.patch.gz
-# Patch17-md5: 9b97478790d5d6a539e6a4c0f9865ac6
-Patch18: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140719.patch.gz
-# Patch18-md5: 9bb67f50b2a08c8f2e1b909f68592ce8
-Patch19: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140726.patch.gz
-# Patch19-md5: e45bdb82f2b3d03b5c42b85bf8f45365
-Patch20: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140802.patch.gz
-# Patch20-md5: 3afc2b4dd4afc2061705dd5ad3827e6b
-Patch21: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140809.patch.gz
-# Patch21-md5: 745c7b4660cc6a8b2982bfaefecb2184
-Patch22: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140816.patch.gz
-# Patch22-md5: 5aac11e74427728fa7a69d50fcdc6b6d
-Patch23: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140823.patch.gz
-# Patch23-md5: a947c90441a6d1b2c8b3ce479938366c
-Patch24: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140831.patch.gz
-# Patch24-md5: c44d667bacb27a46630e09ece9065468
-Patch25: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140906.patch.gz
-# Patch25-md5: ff6b277fa958cccd9f74b403250bd0cf
-Patch26: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140913.patch.gz
-# Patch26-md5: 92433359cf3bf4d202212a2832b2521f
-Patch27: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140920.patch.gz
-# Patch27-md5: 70f40973fe4d96a58fb5b635be662bd5
-Patch28: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20140927.patch.gz
-# Patch28-md5: 649bd0ca7a2912b1b128b2073774f679
-Patch29: ftp://dickey.his.com/ncurses/5.9/%{name}-%{basever}-20141011.patch.gz
-# Patch29-md5: 17e081953c7b54f12a53cd897a4edb60
-
-Patch100: %{name}-screen_hpa_fix.patch
-Patch101: %{name}-xterm_hpa_fix.patch
-Patch102: %{name}-meta.patch
-Patch103: %{name}-xterm-home-end.patch
-Patch104: %{name}-mouse_trafo-warning.patch
-Patch105: %{name}-gnome-terminal.patch
-# disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
-Patch107: %{name}-no-rain-demo.patch
-Patch108: %{name}-fix-nonunicode-breakage.patch
+Patch100: %{name}-xterm-home-end.patch
URL: http://dickey.his.com/ncurses/ncurses.html
BuildRequires: automake
%if %{with ada}
-BuildRequires: gcc-ada
+BuildRequires: gcc-ada >= 6:4.1.0
# gnat bug: https://bugzilla.redhat.com/show_bug.cgi?id=613407
# gcc patch: https://bugzilla.redhat.com/attachment.cgi?id=435931
# seems worker around when using gcc 4.6.2? --q
%{?with_cxx:BuildRequires: libstdc++-devel}
%{?with_ada:BuildRequires: m4}
BuildRequires: pkgconfig
-BuildRequires: sharutils
-# for compatibility with old PLD packages
-%ifarch %{x8664} ppc64 sparc64 s390x
-Provides: libtinfo.so.5()(64bit)
-Provides: libtinfow.so.5()(64bit)
-Provides: libtinfow.so.6()(64bit)
-%else
-Provides: libtinfo.so.5
-Provides: libtinfow.so.5
-Provides: libtinfow.so.6
-%endif
-Obsoletes: libncurses5
+Conflicts: slang-libs < 1:2.3.1a-2
Conflicts: terminfo < 5.4-0.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Group: Applications/Terminal
Requires: %{name} = %{version}-%{release}
Obsoletes: ncurses-extraterms
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description -n terminfo
This package contains complete terminfo database. If you just use the
Summary(uk.UTF-8): Хедери та бібліотеки для розробки програм з ncurses
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: libncurses5-devel
-Obsoletes: libtermcap-devel
+Obsoletes: libncurses5-devel < 6
+Obsoletes: libtermcap-devel < 2.1
%description devel
This package includes the header files and libraries necessary to
tworzenia aplikacji używających ncurses w języku Ada95.
%prep
-%setup -qc
-mv %{name}-%{basever}/* .
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-rm -f Ada95/src/library.gpr*
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch18 -p1
-%patch19 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
-%patch25 -p1
-%patch26 -p1
-%patch27 -p1
-%patch28 -p1
-%patch29 -p1
-
+%setup -q -n %{name}-%{basever}-%{patchlevel}
%patch100 -p1
-%patch101 -p1
-%patch102 -p1
-%patch103 -p1
-%patch104 -p1
-%patch105 -p1
-%patch107 -p1
-%patch108 -p1
%build
unset TERMINFO || :
gcc_target=$(gcc -dumpmachine)
gcc_version=%{cc_version}
CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
-cp -f /usr/share/automake/config.sub .
-for t in narrowc wideclowcolor widec; do
+for t in narrowc widec; do
install -d obj-$t
cd obj-$t
../%configure \
--with-install-prefix=$RPM_BUILD_ROOT \
- --with-normal \
- --with-shared \
+ --with-pkg-config-libdir=%{_pkgconfigdir} \
+ --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
+ --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
--with%{!?with_ada:out}-ada \
--with%{!?with_cxx:out}-cxx \
--with%{!?with_cxx:out}-cxx-binding \
--with%{!?debug:out}-debug \
--with%{!?with_gpm:out}-gpm \
- --without-profile \
--with-largefile \
+ --with-manpage-aliases \
+ --with-manpage-format=normal \
+ --without-manpage-symlinks \
+ --with-normal \
--with-ospeed=unsigned \
+ --without-profile \
+ --with-shared \
+ --with-chtype='long' \
+ --with-mmask-t='long' \
--disable-lp64 \
+ --enable-colorfgbg \
--enable-hard-tabs \
- --enable-xmc-glitch \
--enable-pc-files \
- --with-pkg-config-libdir=%{_pkgconfigdir} \
- --enable-colorfgbg \
- --with-chtype='long' \
- --with-mmask-t='long' \
- --with-manpage-aliases \
- --with-manpage-format=normal \
- --with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
- --with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
- `[ "$t" = "wideclowcolor" ] && echo --enable-widec --disable-ext-colors` \
- `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors` \
- --without-manpage-symlinks
+ --enable-xmc-glitch \
+ `[ "$t" = "narrowc" ] && echo --includedir=%{_includedir}/ncursesn` \
+ `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors --enable-ext-mouse --includedir=%{_includedir}/ncursesw` \
%{__make} -j1
INSTALL_PREFIX=$RPM_BUILD_ROOT
done
-mkdir $RPM_BUILD_ROOT%{_includedir}/ncurses{,w}
-for l in $RPM_BUILD_ROOT%{_includedir}/*.h; do
- ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncurses
- ln -s ../$(basename $l) $RPM_BUILD_ROOT%{_includedir}/ncursesw
+# make ncursesw headers available also as default and ncurses/*.h headers
+mkdir $RPM_BUILD_ROOT%{_includedir}/ncurses
+for l in $RPM_BUILD_ROOT%{_includedir}/ncursesw/*.h; do
+ bl=$(basename $l)
+ ln -s ../ncursesw/$bl $RPM_BUILD_ROOT%{_includedir}/ncurses/$bl
+ ln -s ncursesw/$bl $RPM_BUILD_ROOT%{_includedir}/$bl
done
+%{__rm} -r $RPM_BUILD_ROOT%{_includedir}/ncursesn
ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
-mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
-
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
+# used by /{bin,sbin} programs
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
+# adjust symlinks for libncursesw.so.6 in /%{_lib}
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncursesw.so
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
-mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
+
+# force ncursesw also for legacy -lncurses/-lcurses/-ltinfo linking
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
+# force wide ext libraries
+ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libformw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libform.so
+ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libmenuw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libmenu.so
+ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libpanelw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libpanel.so
+# similarly for static linking
ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
+ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libncurses.a
+ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcurses.a
+ln -sf libformw.a $RPM_BUILD_ROOT%{_libdir}/libform.a
+ln -sf libmenuw.a $RPM_BUILD_ROOT%{_libdir}/libmenu.a
+ln -sf libpanelw.a $RPM_BUILD_ROOT%{_libdir}/libpanel.a
+ln -sf libncurses++w.a $RPM_BUILD_ROOT%{_libdir}/libncurses++.a
-# binary compatibility for packages using libncursesw.so.5 (without ext-colors)
-cp -a obj-wideclowcolor/lib/libncursesw.so.5* $RPM_BUILD_ROOT%{_libdir}
-# binary compatibility for packages usign libtinfo.so.5/libtinfow.so.5/libtinfow.so.6
-ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.5.*) $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.5
-ln -sf $(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.6
-ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.5
+# debian compatibility link
+ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libncurses.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so.6
bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcurses.a
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
%{__rm} $RPM_BUILD_ROOT%{_mandir}/README.ncurses-non-english-man-pages
%clean
%post ext -p /sbin/ldconfig
%postun ext -p /sbin/ldconfig
-%triggerpostun -- %{name} < 5.9-3
-# rpm seems to remove them as those was %ghosts in ncurses < 5.9-3
-# despite existing now as normal files/symlinks
-ln -sf /%{_lib}/libncurses.so.5.* /%{_lib}/libtinfo.so.5
-ln -sf /%{_lib}/libncursesw.so.6.* /%{_lib}/libtinfow.so.6
-ln -sf %{_libdir}/libncursesw.so.5.* %{_libdir}/libtinfow.so.5
-exit 0
+%triggerpostun -- %{name} < 6.0.20151128-2
+/sbin/ldconfig
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/toe
%attr(755,root,root) %{_bindir}/tput
%attr(755,root,root) %{_bindir}/tset
-%attr(755,root,root) /%{_lib}/libncurses.so.*.*
-%attr(755,root,root) %ghost /%{_lib}/libncurses.so.5
+%attr(755,root,root) %{_libdir}/libncurses.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libncurses.so.6
%attr(755,root,root) /%{_lib}/libncursesw.so.*.*
%attr(755,root,root) %ghost /%{_lib}/libncursesw.so.6
-%attr(755,root,root) %{_libdir}/libncursesw.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
-%attr(755,root,root) /%{_lib}/libtinfo.so.5
-%attr(755,root,root) /%{_lib}/libtinfow.so.6
-%attr(755,root,root) %{_libdir}/libtinfow.so.5
+%attr(755,root,root) %{_libdir}/libtinfo.so.6
%{_datadir}/tabset
%dir %{_datadir}/terminfo
%{_datadir}/terminfo/E
-%dir %{_datadir}/terminfo/[cdgklprsvx]
+%dir %{_datadir}/terminfo/[acdgklprsvx]
+%{_datadir}/terminfo/a/ansi
%{_datadir}/terminfo/c/cygwin*
%{_datadir}/terminfo/d/dumb
%{_datadir}/terminfo/g/gnome*
%{_mandir}/man1/toe.1m*
%{_mandir}/man1/tput.1*
%{_mandir}/man1/tset.1*
+%{_mandir}/man5/scr_dump.5*
%{_mandir}/man5/term.5*
%{_mandir}/man5/terminfo.5*
+%{_mandir}/man5/user_caps.5*
%{_mandir}/man7/term.7*
%lang(fi) %{_mandir}/fi/man1/*
%lang(fr) %{_mandir}/fr/man1/*
%defattr(644,root,root,755)
%{_datadir}/terminfo/[1-9ALMNPQXa-ce-jm-rt-uwz]
%{_datadir}/terminfo/[dklsvx]/*
+%exclude %{_datadir}/terminfo/a/ansi
%exclude %{_datadir}/terminfo/c/cygwin*
%exclude %{_datadir}/terminfo/d/dumb
%exclude %{_datadir}/terminfo/g/gnome*
%files devel
%defattr(644,root,root,755)
%doc doc/html/ncurses-intro.html
-%attr(755,root,root) %{_bindir}/ncurses5-config
+%attr(755,root,root) %{_bindir}/ncurses6-config
%attr(755,root,root) %{_bindir}/ncursesw6-config
%attr(755,root,root) %{_libdir}/libcurses.so
%attr(755,root,root) %{_libdir}/libncurses.so
%{_includedir}/ncursesw/unctrl.h
%{_pkgconfigdir}/ncurses.pc
%{_pkgconfigdir}/ncursesw.pc
-%{_mandir}/man1/ncurses5-config.1*
+%{_mandir}/man1/ncurses6-config.1*
%{_mandir}/man1/ncursesw6-config.1*
%{_mandir}/man3/BC.3x*
%{_mandir}/man3/COLORS.3x*
%{_mandir}/man3/_nc_*.3x*
%{_mandir}/man3/_trace*.3x*
%{_mandir}/man3/acs_map.3x*
+%{_mandir}/man3/alloc_pair.3x*
+%{_mandir}/man3/alloc_pair_sp.3x*
%{_mandir}/man3/add*.3x*
%{_mandir}/man3/assume_default_colors*.3x*
%{_mandir}/man3/attr*.3x*
%{_mandir}/man3/curs_*.3x*
%{_mandir}/man3/curscr.3x*
%{_mandir}/man3/curses_version.3x*
+%{_mandir}/man3/curses_trace.3x*
%{_mandir}/man3/def_*.3x*
%{_mandir}/man3/default_colors.3x*
%{_mandir}/man3/define_key*.3x*
%{_mandir}/man3/echo*.3x*
%{_mandir}/man3/endwin*.3x*
%{_mandir}/man3/erase*.3x*
+%{_mandir}/man3/exit_curses.3x*
+%{_mandir}/man3/exit_terminfo.3x*
%{_mandir}/man3/filter*.3x*
+%{_mandir}/man3/find_pair.3x*
+%{_mandir}/man3/find_pair_sp.3x*
%{_mandir}/man3/flash*.3x*
%{_mandir}/man3/flushinp*.3x*
+%{_mandir}/man3/free_pair.3x*
+%{_mandir}/man3/free_pair_sp.3x*
%{_mandir}/man3/get*.3x*
%{_mandir}/man3/ground_panel.3x*
%{_mandir}/man3/halfdelay*.3x*
%{_mandir}/man3/leaveok.3x*
%{_mandir}/man3/legacy_coding.3x*
%{_mandir}/man3/longname.3x*
+%{_mandir}/man3/longname_sp.3x*
%{_mandir}/man3/mcprint*.3x*
%{_mandir}/man3/meta.3x*
%{_mandir}/man3/mouse*.3x*
%{_mandir}/man3/setcchar.3x*
%{_mandir}/man3/setscrreg.3x*
%{_mandir}/man3/setsyx.3x*
-%{_mandir}/man3/setterm.3x*
%{_mandir}/man3/setupterm.3x*
%{_mandir}/man3/slk_*.3x*
%{_mandir}/man3/stand*.3x*
%{_mandir}/man3/term*.3x*
%{_mandir}/man3/tget*.3x*
%{_mandir}/man3/tgoto.3x*
+%{_mandir}/man3/tgoto_sp.3x*
%{_mandir}/man3/tiget*.3x*
%{_mandir}/man3/timeout.3x*
%{_mandir}/man3/tiparm.3x*
%{_mandir}/man3/touchline.3x*
%{_mandir}/man3/touchwin.3x*
%{_mandir}/man3/tparm.3x*
+%{_mandir}/man3/tparm_sp.3x*
%{_mandir}/man3/tputs*.3x*
%{_mandir}/man3/trace.3x*
%{_mandir}/man3/ttytype.3x*
%files static
%defattr(644,root,root,755)
+%{_libdir}/libcurses.a
%{_libdir}/libncurses.a
+%{_libdir}/libcursesw.a
%{_libdir}/libncursesw.a
%files ext
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libform.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libform.so.6
%attr(755,root,root) %{_libdir}/libmenu.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmenu.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libmenu.so.6
%attr(755,root,root) %{_libdir}/libpanel.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpanel.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libpanel.so.6
%attr(755,root,root) %{_libdir}/libformw.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libformw.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libformw.so.6
%attr(755,root,root) %{_libdir}/libmenuw.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libmenuw.so.6
%attr(755,root,root) %{_libdir}/libpanelw.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
+%attr(755,root,root) %ghost %{_libdir}/libpanelw.so.6
%files ext-devel
%defattr(644,root,root,755)
%{_includedir}/form.h
%{_includedir}/menu.h
%{_includedir}/panel.h
-%{_includedir}/ncurses*/form.h
-%{_includedir}/ncurses*/menu.h
-%{_includedir}/ncurses*/panel.h
+%{_includedir}/ncurses/form.h
+%{_includedir}/ncurses/menu.h
+%{_includedir}/ncurses/panel.h
+%{_includedir}/ncursesw/form.h
+%{_includedir}/ncursesw/menu.h
+%{_includedir}/ncursesw/panel.h
%{_pkgconfigdir}/form.pc
%{_pkgconfigdir}/formw.pc
%{_pkgconfigdir}/menu.pc
%{_pkgconfigdir}/menuw.pc
%{_pkgconfigdir}/panel.pc
%{_pkgconfigdir}/panelw.pc
-%{_mandir}/man3/TYPE_ALNUM.3x*
-%{_mandir}/man3/TYPE_ALPHA.3x*
-%{_mandir}/man3/TYPE_ENUM.3x*
-%{_mandir}/man3/TYPE_INTEGER.3x*
-%{_mandir}/man3/TYPE_IPV4.3x*
-%{_mandir}/man3/TYPE_NUMERIC.3x*
-%{_mandir}/man3/TYPE_REGEXP.3x*
%{_mandir}/man3/bottom_panel.3x*
%{_mandir}/man3/current_field.3x*
%{_mandir}/man3/current_item.3x*
%{_mandir}/man3/del_panel.3x*
%{_mandir}/man3/dup_field.3x*
%{_mandir}/man3/dynamic_field_info.3x*
+%{_mandir}/man3/extended_color_content.3x*
+%{_mandir}/man3/extended_color_content_sp.3x*
+%{_mandir}/man3/extended_pair_content.3x*
+%{_mandir}/man3/extended_pair_content_sp.3x*
+%{_mandir}/man3/extended_slk_color.3x*
+%{_mandir}/man3/extended_slk_color_sp.3x*
%{_mandir}/man3/field_*.3x*
%{_mandir}/man3/form*.3x*
-%{_mandir}/man3/free_*.3x*
+%{_mandir}/man3/free_field*.3x*
+%{_mandir}/man3/free_form.3x*
+%{_mandir}/man3/free_item.3x*
+%{_mandir}/man3/free_menu.3x*
%{_mandir}/man3/hide_panel.3x*
+%{_mandir}/man3/init_extended_color.3x*
+%{_mandir}/man3/init_extended_color_sp.3x*
+%{_mandir}/man3/init_extended_pair.3x*
+%{_mandir}/man3/init_extended_pair_sp.3x*
%{_mandir}/man3/item_*.3x*
%{_mandir}/man3/link_field*.3x*
%{_mandir}/man3/menu*.3x*
%{_mandir}/man3/new_item.3x*
%{_mandir}/man3/new_menu*.3x*
%{_mandir}/man3/new_page.3x*
+%{_mandir}/man3/new_pair.3x*
%{_mandir}/man3/new_panel.3x*
%{_mandir}/man3/panel*.3x*
%{_mandir}/man3/pos_form_cursor.3x*
%{_mandir}/man3/show_panel.3x*
%{_mandir}/man3/top_panel.3x*
%{_mandir}/man3/top_row.3x*
+%{_mandir}/man3/TYPE_ALNUM.3x*
+%{_mandir}/man3/TYPE_ALPHA.3x*
+%{_mandir}/man3/TYPE_ENUM.3x*
+%{_mandir}/man3/TYPE_INTEGER.3x*
+%{_mandir}/man3/TYPE_IPV4.3x*
+%{_mandir}/man3/TYPE_NUMERIC.3x*
+%{_mandir}/man3/TYPE_REGEXP.3x*
+%{_mandir}/man3/unfocus_current_field.3x*
%{_mandir}/man3/unpost_form.3x*
%{_mandir}/man3/unpost_menu.3x*
%{_mandir}/man3/update_panels*.3x*
%files ada-devel
%defattr(644,root,root,755)
%doc Ada95/{README,TODO}
-%attr(755,root,root) %{_bindir}/adacurses-config
-%attr(755,root,root) %{_bindir}/adacursesw-config
+%attr(755,root,root) %{_bindir}/adacurses6-config
+%attr(755,root,root) %{_bindir}/adacursesw6-config
%{_libdir}/gcc/*/*/adainclude/*.ad[bs]
%{_libdir}/gcc/*/*/adalib/libAdaCurses.a
-%{_mandir}/man1/adacurses-config.1*
-%{_mandir}/man1/adacurses.1*
-%{_mandir}/man1/adacursesw-config.1*
+%{_mandir}/man1/adacurses6.1*
+%{_mandir}/man1/adacurses6-config.1*
+%{_mandir}/man1/adacursesw6.1*
+%{_mandir}/man1/adacursesw6-config.1*
%endif