Summary(uk.UTF-8): ncurses - нова бібліотека керування терміналами
Name: ncurses
Version: 5.9
-Release: 2
+Release: 20
License: distributable
Group: Libraries
Source0: ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
# Source1-md5: 3b05ee835dc20c306e9af2a9d3fbf1f1
# source: ftp://dickey.his.com/ncurses/5.9/
-Patch0: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110409.patch.gz
-# Patch0-md5: c26b6e57a553d1589c351fd975db715e
-Patch1: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110416.patch.gz
-# Patch1-md5: 0cd0a279dae5cb10c1f39a6663620f64
-Patch2: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110423.patch.gz
-# Patch2-md5: 5cfe7668aeb60e7d49411171cf7a3794
-Patch3: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110430.patch.gz
-# Patch3-md5: 279b7bc2ee75fd87c203a06f33da7f28
-Patch4: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110507.patch.gz
-# Patch4-md5: 0b49ef1f095782b7ec11443bf65807f6
-Patch5: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110514.patch.gz
-# Patch5-md5: 9259e608ede1cda1be0121ce9ebc09b3
-Patch6: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110521.patch.gz
-# Patch6-md5: 02df6dc377fca5aa657bf433f557f369
-Patch7: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110528.patch.gz
-# Patch7-md5: 8f76dfdda995d28db6aa81df400acfc8
-Patch8: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110604.patch.gz
-# Patch8-md5: 9096cf2939126cf846879805fcacf54f
-Patch9: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20110611.patch.gz
-# Patch9-md5: e015ed8feda52fdb42175972bbae524c
-
+Patch0: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120616-patch.sh.bz2
+# Patch0-md5: f54bf02a349f96a7c4f0d00922f3a0d4
+Patch1: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120622.patch.gz
+# Patch1-md5: 36050b2f6827f1b0c6e067ad926832fd
+Patch2: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120630.patch.gz
+# Patch2-md5: 8f7e13c2bf0cbbea534b77ef93511384
+Patch3: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120707.patch.gz
+# Patch3-md5: baca6817f5783f07473f6af87b6aaa39
+Patch4: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120714.patch.gz
+# Patch4-md5: 30bad59b6406dee788201d285f9ea8f7
+Patch5: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120721.patch.gz
+# Patch5-md5: e5de2a1348f468a4488e6be2537b6dee
+Patch6: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120728.patch.gz
+# Patch6-md5: a5e0e9e40e06e7c40764d09728feaf23
+Patch7: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120804.patch.gz
+# Patch7-md5: 6f36d88f0c52ee4d988d1750707dedf2
+Patch8: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120811.patch.gz
+# Patch8-md5: 55dd0f570891aef807fb3f72013e5dda
+Patch9: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120825.patch.gz
+# Patch9-md5: 7562120899d6fc598163bc691c6ebf18
+Patch10: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120826.patch.gz
+# Patch10-md5: 1e15d50ff5599f2cd261f01cb698c69c
+Patch11: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120901.patch.gz
+# Patch11-md5: fba4b71aa2a2b5dea10bf329ac4ba781
+Patch12: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120902.patch.gz
+# Patch12-md5: 3df2d816f4253ab3f8bc237250d40cb5
+Patch13: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120903.patch.gz
+# Patch13-md5: 85f145b705bfa80ae4efcc6990fb3ec1
+Patch14: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120908.patch.gz
+# Patch14-md5: b353472fa2ff73bac2e471fb012a9c18
+Patch15: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20120922.patch.gz
+# Patch15-md5: 94470fef0c012a51fdce05870eca5571
+Patch16: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121006.patch.gz
+# Patch16-md5: 049fc841bd6cc9b81b1ebef48cc1d8ff
+Patch17: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121013.patch.gz
+# Patch17-md5: 23ba3541e3f28b33b712ccf01dc91f83
+Patch18: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121017.patch.gz
+# Patch18-md5: 6127b212055aa7eaff8a67cbd32eab3c
+Patch19: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121026.patch.gz
+# Patch19-md5: 070bf5029f8a58ec9244215e0b5862ef
+Patch20: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121102.patch.gz
+# Patch20-md5: 12b439167f1001e9e759524a6e56f2ad
+Patch21: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121110.patch.gz
+# Patch21-md5: 1d207ae3773325c5904ccb99a13c02eb
+Patch22: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121117.patch.gz
+# Patch22-md5: e6e77f332dcea086927cab51b914c6f2
+Patch23: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121124.patch.gz
+# Patch23-md5: e0fffab860632597dfb816223bc628a7
+Patch24: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121201.patch.gz
+# Patch24-md5: 0a89add847ff9e43c5f99eaa677b5eaa
+Patch25: ftp://dickey.his.com/ncurses/5.9/%{name}-5.9-20121208.patch.gz
+# Patch25-md5: 2c7a522807d9253138679f14eb2e693b
+Patch26: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121215.patch.gz
+# Patch26-md5: ed250b707e8270169bcf21533a362468
+Patch27: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121222.patch.gz
+# Patch27-md5: 297e341ae7e3a09033e91de848e6f723
+Patch28: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20121229.patch.gz
+# Patch28-md5: 762ddc8539c0bf07be3688e0eca7781e
+Patch29: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130105.patch.gz
+# Patch29-md5: 93981da71a5d3e3c7c9077e03297cf22
+Patch30: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130112.patch.gz
+# Patch30-md5: d7978571a4675477a3e98e542b20c2f0
+Patch31: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130119.patch.gz
+# Patch31-md5: aa40c0dc6da9f8fd9feae7d1789b92f0
+Patch32: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130126.patch.gz
+# Patch32-md5: 73a4a971feb694e626558e732362bcfb
+Patch33: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130202.patch.gz
+# Patch33-md5: cabea79e04fd2ef3a52964eb8e82f730
+Patch34: ftp://dickey.his.com/ncurses/5.9/ncurses-5.9-20130209.patch.gz
+# Patch34-md5: f94a173644ede1b357a50ef42d7ae91e
Patch100: %{name}-screen_hpa_fix.patch
Patch101: %{name}-xterm_hpa_fix.patch
Patch102: %{name}-meta.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
URL: http://dickey.his.com/ncurses/ncurses.html
BuildRequires: automake
%if %{with ada}
BuildRequires: gcc-ada
# gnat bug: https://bugzilla.redhat.com/show_bug.cgi?id=613407
# gcc patch: https://bugzilla.redhat.com/attachment.cgi?id=435931
-BuildRequires: libgnat-static
+# seems worker around when using gcc 4.6.2? --q
+#BuildRequires: libgnat-static
%endif
%{?with_gpm:BuildRequires: gpm-devel}
%{?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: terminfo < 5.4-0.6
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
+%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
+%patch30 -p1
+%patch31 -p1
+%patch32 -p1
+%patch33 -p1
+%patch34 -p1
%patch100 -p1
%patch101 -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"
-export PKG_CONFIG_LIBDIR=%{_libdir}/pkgconfig
cp -f /usr/share/automake/config.sub .
-%if "%{pld_release}" == "ti"
-for t in narrowc widec; do
-%else
for t in narrowc wideclowcolor widec; do
-%endif
install -d obj-$t
cd obj-$t
../%configure \
--with%{!?debug:out}-debug \
--with%{!?with_gpm:out}-gpm \
--without-profile \
- --with-termlib \
--with-largefile \
--with-ospeed=unsigned \
--disable-lp64 \
--enable-hard-tabs \
--enable-xmc-glitch \
--enable-pc-files \
+ --with-pkg-config-libdir=%{_pkgconfigdir} \
--enable-colorfgbg \
--with-chtype='long' \
--with-mmask-t='long' \
--without-manpage-symlinks \
--with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
--with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
-%if "%{pld_release}" == "ti"
- `[ "$t" != "widec" ] && echo --with-termlib=tinfo` \
- `[ "$t" = "widec" ] && echo --with-termlib=tinfow --enable-widec --includedir=%{_includedir}w`
-%else
- `[ "$t" = "narrowc" ] && echo --with-termlib=tinfo` \
- `[ "$t" = "wideclowcolor" ] && echo --with-termlib=tinfow --enable-widec --disable-ext-colors --includedir=%{_includedir}wlc` \
- `[ "$t" = "widec" ] && echo --with-termlib=tinfow --enable-widec --enable-ext-colors --includedir=%{_includedir}w`
-%endif
+ `[ "$t" = "wideclowcolor" ] && echo --enable-widec --disable-ext-colors --includedir=%{_includedir}wlc` \
+ `[ "$t" = "widec" ] && echo --enable-widec --enable-ext-colors --includedir=%{_includedir}w`
%{__make} -j1
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/%{_lib},%{_mandir}}
-%if "%{pld_release}" == "ti"
-for t in widec narrowc; do
-%else
for t in narrowc widec; do
-%endif
%{__make} -C obj-$t install \
INSTALL_PREFIX=$RPM_BUILD_ROOT
done
ln -sf ../l/linux $RPM_BUILD_ROOT%{_datadir}/terminfo/c/console
-%if "%{pld_release}" != "ti"
-mv -f $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.6* $RPM_BUILD_ROOT/%{_lib}
mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.6* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.6.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
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
-%else
-mv -f $RPM_BUILD_ROOT%{_libdir}/libtinfow.so.5* $RPM_BUILD_ROOT/%{_lib}
-mv -f $RPM_BUILD_ROOT%{_libdir}/libncursesw.so.5* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtinfow.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libtinfow.so
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncursesw.so.5.*) $RPM_BUILD_ROOT%{_libdir}/libncursesw.so
-%endif
-mv -f $RPM_BUILD_ROOT%{_libdir}/libtinfo.so.* $RPM_BUILD_ROOT/%{_lib}
mv -f $RPM_BUILD_ROOT%{_libdir}/libncurses.so.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtinfo.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libtinfo.so
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libcurses.so
ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libncurses.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libncurses.so
ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
-%if "%{pld_release}" != "ti"
-cp -a obj-wideclowcolor/lib/lib*w.so.5* $RPM_BUILD_ROOT%{_libdir}
-%endif
+# 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
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
-
-# FIXME: should be fixed properly
-# fix too many w's
-sed -i -e 's/tinfoww/tinfow/' $RPM_BUILD_ROOT%{_bindir}/ncurses*-config $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
+%{__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
rm -rf $RPM_BUILD_ROOT
%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
+
%files
%defattr(644,root,root,755)
%doc ANNOUNCE README
%attr(755,root,root) /%{_lib}/libncurses.so.*.*
%attr(755,root,root) %ghost /%{_lib}/libncurses.so.5
%attr(755,root,root) /%{_lib}/libncursesw.so.*.*
-%if "%{pld_release}" != "ti"
%attr(755,root,root) %ghost /%{_lib}/libncursesw.so.6
-%endif
-%attr(755,root,root) /%{_lib}/libtinfo.so.*.*
-%attr(755,root,root) %ghost /%{_lib}/libtinfo.so.5
-%attr(755,root,root) /%{_lib}/libtinfow.so.*.*
-%if "%{pld_release}" != "ti"
-%attr(755,root,root) %ghost /%{_lib}/libtinfow.so.6
%attr(755,root,root) %{_libdir}/libncursesw.so.*.*
%attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
-%attr(755,root,root) %{_libdir}/libtinfow.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtinfow.so.5
-%else
-%attr(755,root,root) %ghost /%{_lib}/libtinfow.so.5
-%attr(755,root,root) %ghost /%{_lib}/libncursesw.so.5
-%endif
+%attr(755,root,root) /%{_lib}/libtinfo.so.5
+%attr(755,root,root) /%{_lib}/libtinfow.so.6
+%attr(755,root,root) %{_libdir}/libtinfow.so.5
%{_datadir}/tabset
%{_datadir}/terminfo/v/vt52
%{_datadir}/terminfo/x/xterm*
-%{_mandir}/man[157]/*
+%{_mandir}/man1/captoinfo.1m*
+%{_mandir}/man1/clear.1*
+%{_mandir}/man1/infocmp.1m*
+%{_mandir}/man1/infotocap.1m*
+%{_mandir}/man1/reset.1*
+%{_mandir}/man1/tabs.1*
+%{_mandir}/man1/tic.1m*
+%{_mandir}/man1/toe.1m*
+%{_mandir}/man1/tput.1*
+%{_mandir}/man1/tset.1*
+%{_mandir}/man5/term.5*
+%{_mandir}/man5/terminfo.5*
+%{_mandir}/man7/term.7*
%lang(fi) %{_mandir}/fi/man1/*
%lang(fr) %{_mandir}/fr/man1/*
%lang(hu) %{_mandir}/hu/man1/*
%defattr(644,root,root,755)
%doc doc/html/ncurses-intro.html
%attr(755,root,root) %{_bindir}/ncurses5-config
-%if "%{pld_release}" == "ti"
-%attr(755,root,root) %{_bindir}/ncursesw5-config
-%else
%attr(755,root,root) %{_bindir}/ncursesw6-config
-%endif
%attr(755,root,root) %{_libdir}/libcurses.so
%attr(755,root,root) %{_libdir}/libncurses.so
%attr(755,root,root) %{_libdir}/libtinfo.so
%{_includedir}w/termcap.h
%{_includedir}w/tic.h
%{_includedir}w/unctrl.h
-%{_pkgconfigdir}/*.pc
-
-%{_mandir}/man3/*
-%exclude %{_mandir}/man3/form*
-%exclude %{_mandir}/man3/menu*
-%exclude %{_mandir}/man3/panel*
-%lang(pl) %{_mandir}/pl/man3/*
+%{_pkgconfigdir}/ncurses.pc
+%{_pkgconfigdir}/ncursesw.pc
+%{_mandir}/man1/ncurses5-config.1*
+%{_mandir}/man1/ncursesw6-config.1*
+%{_mandir}/man3/BC.3x*
+%{_mandir}/man3/COLORS.3x*
+%{_mandir}/man3/COLOR_PAIR.3x*
+%{_mandir}/man3/COLOR_PAIRS.3x*
+%{_mandir}/man3/COLS.3x*
+%{_mandir}/man3/ESCDELAY.3x*
+%{_mandir}/man3/LINES.3x*
+%{_mandir}/man3/PAIR_NUMBER.3x*
+%{_mandir}/man3/PC.3x*
+%{_mandir}/man3/SP.3x*
+%{_mandir}/man3/TABSIZE.3x*
+%{_mandir}/man3/UP.3x*
+%{_mandir}/man3/_nc_*.3x*
+%{_mandir}/man3/_trace*.3x*
+%{_mandir}/man3/acs_map.3x*
+%{_mandir}/man3/add*.3x*
+%{_mandir}/man3/assume_default_colors*.3x*
+%{_mandir}/man3/attr*.3x*
+%{_mandir}/man3/baudrate*.3x*
+%{_mandir}/man3/beep*.3x*
+%{_mandir}/man3/bkgd*.3x*
+%{_mandir}/man3/bkgrnd*.3x*
+%{_mandir}/man3/bool*.3x*
+%{_mandir}/man3/border*.3x*
+%{_mandir}/man3/box*.3x*
+%{_mandir}/man3/can_change_color*.3x*
+%{_mandir}/man3/cbreak*.3x*
+%{_mandir}/man3/ceiling_panel.3x*
+%{_mandir}/man3/chgat.3x*
+%{_mandir}/man3/clear*.3x*
+%{_mandir}/man3/clrto*.3x*
+%{_mandir}/man3/color_*.3x*
+%{_mandir}/man3/copywin.3x*
+%{_mandir}/man3/cur_term.3x*
+%{_mandir}/man3/curs_*.3x*
+%{_mandir}/man3/curscr.3x*
+%{_mandir}/man3/curses_version.3x*
+%{_mandir}/man3/def_*.3x*
+%{_mandir}/man3/default_colors.3x*
+%{_mandir}/man3/define_key*.3x*
+%{_mandir}/man3/del_curterm*.3x*
+%{_mandir}/man3/delay_output*.3x*
+%{_mandir}/man3/delch.3x*
+%{_mandir}/man3/deleteln.3x*
+%{_mandir}/man3/delscreen.3x*
+%{_mandir}/man3/delwin.3x*
+%{_mandir}/man3/derwin.3x*
+%{_mandir}/man3/doupdate*.3x*
+%{_mandir}/man3/dupwin.3x*
+%{_mandir}/man3/echo*.3x*
+%{_mandir}/man3/endwin*.3x*
+%{_mandir}/man3/erase*.3x*
+%{_mandir}/man3/filter*.3x*
+%{_mandir}/man3/flash*.3x*
+%{_mandir}/man3/flushinp*.3x*
+%{_mandir}/man3/get*.3x*
+%{_mandir}/man3/ground_panel.3x*
+%{_mandir}/man3/halfdelay*.3x*
+%{_mandir}/man3/has_*.3x*
+%{_mandir}/man3/hline*.3x*
+%{_mandir}/man3/idcok.3x*
+%{_mandir}/man3/idlok.3x*
+%{_mandir}/man3/immedok.3x*
+%{_mandir}/man3/in_*.3x*
+%{_mandir}/man3/inch*.3x*
+%{_mandir}/man3/init_color*.3x*
+%{_mandir}/man3/init_pair*.3x*
+%{_mandir}/man3/initscr.3x*
+%{_mandir}/man3/innstr.3x*
+%{_mandir}/man3/innwstr.3x*
+%{_mandir}/man3/ins*.3x*
+%{_mandir}/man3/intrflush*.3x*
+%{_mandir}/man3/inwstr.3x*
+%{_mandir}/man3/is_*.3x*
+%{_mandir}/man3/isendwin*.3x*
+%{_mandir}/man3/key*.3x*
+%{_mandir}/man3/kill*.3x*
+%{_mandir}/man3/leaveok.3x*
+%{_mandir}/man3/legacy_coding.3x*
+%{_mandir}/man3/longname.3x*
+%{_mandir}/man3/mcprint*.3x*
+%{_mandir}/man3/meta.3x*
+%{_mandir}/man3/mouse*.3x*
+%{_mandir}/man3/move.3x*
+%{_mandir}/man3/mv*.3x*
+%{_mandir}/man3/napms*.3x*
+%{_mandir}/man3/ncurses.3x*
+%{_mandir}/man3/new_prescr.3x*
+%{_mandir}/man3/newpad*.3x*
+%{_mandir}/man3/newscr.3x*
+%{_mandir}/man3/newterm*.3x*
+%{_mandir}/man3/newwin*.3x*
+%{_mandir}/man3/nl*.3x*
+%{_mandir}/man3/no*.3x*
+%{_mandir}/man3/num*.3x*
+%{_mandir}/man3/ospeed.3x*
+%{_mandir}/man3/overlay.3x*
+%{_mandir}/man3/overwrite.3x*
+%{_mandir}/man3/pair_content*.3x*
+%{_mandir}/man3/pecho*.3x*
+%{_mandir}/man3/pnoutrefresh.3x*
+%{_mandir}/man3/prefresh.3x*
+%{_mandir}/man3/printw.3x*
+%{_mandir}/man3/put*.3x*
+%{_mandir}/man3/qiflush*.3x*
+%{_mandir}/man3/raw*.3x*
+%{_mandir}/man3/redrawwin.3x*
+%{_mandir}/man3/refresh.3x*
+%{_mandir}/man3/reset_*.3x*
+%{_mandir}/man3/resetty*.3x*
+%{_mandir}/man3/resize_term*.3x*
+%{_mandir}/man3/resizeterm*.3x*
+%{_mandir}/man3/restartterm*.3x*
+%{_mandir}/man3/ripoffline*.3x*
+%{_mandir}/man3/savetty*.3x*
+%{_mandir}/man3/scanw.3x*
+%{_mandir}/man3/scr_*.3x*
+%{_mandir}/man3/scrl.3x*
+%{_mandir}/man3/scroll*.3x*
+%{_mandir}/man3/set_curterm*.3x*
+%{_mandir}/man3/set_escdelay*.3x*
+%{_mandir}/man3/set_tabsize*.3x*
+%{_mandir}/man3/set_term.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/start_color*.3x*
+%{_mandir}/man3/stdscr.3x*
+%{_mandir}/man3/str*.3x*
+%{_mandir}/man3/subpad.3x*
+%{_mandir}/man3/subwin.3x*
+%{_mandir}/man3/syncok.3x*
+%{_mandir}/man3/term*.3x*
+%{_mandir}/man3/tget*.3x*
+%{_mandir}/man3/tgoto.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/tputs*.3x*
+%{_mandir}/man3/trace.3x*
+%{_mandir}/man3/ttytype.3x*
+%{_mandir}/man3/typeahead*.3x*
+%{_mandir}/man3/unctrl*.3x*
+%{_mandir}/man3/unget*.3x*
+%{_mandir}/man3/untouchwin.3x*
+%{_mandir}/man3/use_*.3x*
+%{_mandir}/man3/vid*.3x*
+%{_mandir}/man3/vline*.3x*
+%{_mandir}/man3/vw*.3x*
+%{_mandir}/man3/wadd*.3x*
+%{_mandir}/man3/wattr*.3x*
+%{_mandir}/man3/wbkgd*.3x*
+%{_mandir}/man3/wbkgrnd*.3x*
+%{_mandir}/man3/wborder*.3x*
+%{_mandir}/man3/wchgat.3x*
+%{_mandir}/man3/wclear.3x*
+%{_mandir}/man3/wclrto*.3x*
+%{_mandir}/man3/wcolor_set.3x*
+%{_mandir}/man3/wcursyncup.3x*
+%{_mandir}/man3/wdel*.3x*
+%{_mandir}/man3/wecho*.3x*
+%{_mandir}/man3/wenclose.3x*
+%{_mandir}/man3/werase.3x*
+%{_mandir}/man3/wget*.3x*
+%{_mandir}/man3/whline*.3x*
+%{_mandir}/man3/win*.3x*
+%{_mandir}/man3/wmouse_trafo.3x*
+%{_mandir}/man3/wmove.3x*
+%{_mandir}/man3/wnoutrefresh.3x*
+%{_mandir}/man3/wprintw.3x*
+%{_mandir}/man3/wredrawln.3x*
+%{_mandir}/man3/wrefresh.3x*
+%{_mandir}/man3/wresize.3x*
+%{_mandir}/man3/wscanw.3x*
+%{_mandir}/man3/wscrl.3x*
+%{_mandir}/man3/wsetscrreg.3x*
+%{_mandir}/man3/wstand*.3x*
+%{_mandir}/man3/wsync*.3x*
+%{_mandir}/man3/wtimeout.3x*
+%{_mandir}/man3/wtouchln.3x*
+%{_mandir}/man3/wunctrl*.3x*
+%{_mandir}/man3/wvline*.3x*
+%lang(pl) %{_mandir}/pl/man3/ncurses.3x*
%files static
%defattr(644,root,root,755)
%{_libdir}/libncurses.a
-%{_libdir}/libtinfo.a
%{_libdir}/libncursesw.a
-%{_libdir}/libtinfow.a
%files ext
%defattr(644,root,root,755)
-%if "%{pld_release}" == "ti"
-%attr(755,root,root) %{_libdir}/libform.so.*
-%attr(755,root,root) %{_libdir}/libmenu.so.*
-%attr(755,root,root) %{_libdir}/libpanel.so.*
-%attr(755,root,root) %{_libdir}/libformw.so.*
-%attr(755,root,root) %{_libdir}/libmenuw.so.*
-%attr(755,root,root) %{_libdir}/libpanelw.so.*
-%else
%attr(755,root,root) %{_libdir}/libform.so.*.*
%attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
%attr(755,root,root) %{_libdir}/libmenu.so.*.*
%attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
%attr(755,root,root) %{_libdir}/libpanelw.so.*.*
%attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
-%endif
%files ext-devel
%defattr(644,root,root,755)
%{_includedir}w/form.h
%{_includedir}w/menu.h
%{_includedir}w/panel.h
-%{_mandir}/man3/form*
-%{_mandir}/man3/menu*
-%{_mandir}/man3/panel*
+%{_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/data_ahead.3x*
+%{_mandir}/man3/data_behind.3x*
+%{_mandir}/man3/del_panel.3x*
+%{_mandir}/man3/dup_field.3x*
+%{_mandir}/man3/dynamic_field_info.3x*
+%{_mandir}/man3/field_*.3x*
+%{_mandir}/man3/form*.3x*
+%{_mandir}/man3/free_*.3x*
+%{_mandir}/man3/hide_panel.3x*
+%{_mandir}/man3/item_*.3x*
+%{_mandir}/man3/link_field*.3x*
+%{_mandir}/man3/menu*.3x*
+%{_mandir}/man3/mitem_*.3x*
+%{_mandir}/man3/move_field.3x*
+%{_mandir}/man3/move_panel.3x*
+%{_mandir}/man3/new_field*.3x*
+%{_mandir}/man3/new_form*.3x*
+%{_mandir}/man3/new_item.3x*
+%{_mandir}/man3/new_menu*.3x*
+%{_mandir}/man3/new_page.3x*
+%{_mandir}/man3/new_panel.3x*
+%{_mandir}/man3/panel*.3x*
+%{_mandir}/man3/pos_form_cursor.3x*
+%{_mandir}/man3/pos_menu_cursor.3x*
+%{_mandir}/man3/post_form.3x*
+%{_mandir}/man3/post_menu.3x*
+%{_mandir}/man3/replace_panel.3x*
+%{_mandir}/man3/scale_form.3x*
+%{_mandir}/man3/scale_menu.3x*
+%{_mandir}/man3/set_current_field.3x*
+%{_mandir}/man3/set_current_item.3x*
+%{_mandir}/man3/set_field*.3x*
+%{_mandir}/man3/set_form_*.3x*
+%{_mandir}/man3/set_item_*.3x*
+%{_mandir}/man3/set_max_field.3x*
+%{_mandir}/man3/set_menu_*.3x*
+%{_mandir}/man3/set_new_page.3x*
+%{_mandir}/man3/set_panel_userptr.3x*
+%{_mandir}/man3/set_top_row.3x*
+%{_mandir}/man3/show_panel.3x*
+%{_mandir}/man3/top_panel.3x*
+%{_mandir}/man3/top_row.3x*
+%{_mandir}/man3/unpost_form.3x*
+%{_mandir}/man3/unpost_menu.3x*
+%{_mandir}/man3/update_panels*.3x*
%files ext-static
%defattr(644,root,root,755)
%{_includedir}w/cursesw.h
%{_includedir}w/etip.h
%{_includedir}w/cursslk.h
+%{_pkgconfigdir}/ncurses++.pc
+%{_pkgconfigdir}/ncurses++w.pc
%files c++-static
%defattr(644,root,root,755)
%doc Ada95/{README,TODO}
%attr(755,root,root) %{_bindir}/adacurses-config
%attr(755,root,root) %{_bindir}/adacursesw-config
-%{_libdir}/gcc/*/*/adainclude/*
-%{_libdir}/gcc/*/*/adalib/*
+%{_libdir}/gcc/*/*/adainclude/*.ad[bs]
+%{_libdir}/gcc/*/*/adalib/libAdaCurses.a
+%{_mandir}/man1/adacurses-config.1*
+%{_mandir}/man1/adacurses.1*
+%{_mandir}/man1/adacursesw-config.1*
%endif