diff --git a/ncurses.spec b/ncurses.spec index 8102954..e5eef3f 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -43,6 +43,20 @@ discontinued 4.4 BSD classic curses library. This package contains the ncurses libraries. +%package compat-libs +Summary: Ncurses compatibility libraries +Group: System Environment/Libraries +Requires: %{name}-base = %{version}-%{release} + +%description compat-libs +The curses library routines are a terminal-independent method of +updating character screens with reasonable optimization. The ncurses +(new curses) library is a freely distributable replacement for the +discontinued 4.4 BSD classic curses library. + +This package contains the ABI version 5 of the ncurses libraries for +compatibility. + %package base Summary: Descriptions of common terminals Group: System Environment/Base @@ -211,6 +225,10 @@ bzip2 NEWS %postun libs -p /sbin/ldconfig +%post compat-libs -p /sbin/ldconfig + +%postun compat-libs -p /sbin/ldconfig + %files %doc ANNOUNCE AUTHORS NEWS.bz2 README TO-DO %{_bindir}/[cirt]* @@ -219,7 +237,10 @@ bzip2 NEWS %{_mandir}/man7/* %files libs -%{_libdir}/lib*.so.* +%{_libdir}/lib*.so.6* + +%files compat-libs +%{_libdir}/lib*.so.5* %files base -f terms.base %{!?_licensedir:%global license %%doc}