add compat-libs subpackage for ABI 5 libraries

This commit is contained in:
Miroslav Lichvar 2015-08-13 12:41:08 +02:00
parent f5502375c3
commit 6e8bbf3205

View File

@ -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}