separate ncurses-c++-libs subpackage (#1324575)

This commit is contained in:
Yaakov Selkowitz 2016-04-08 12:10:17 +02:00 committed by Miroslav Lichvar
parent e4a27d981f
commit 3af7afc42f

View File

@ -59,6 +59,19 @@ discontinued 4.4 BSD classic curses library.
This package contains the ABI version 5 of the ncurses libraries for
compatibility.
%package c++-libs
Summary: Ncurses C++ bindings
Group: System Environment/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description c++-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 C++ bindings of the ncurses ABI version 6 libraries.
%package base
Summary: Descriptions of common terminals
Group: System Environment/Base
@ -87,6 +100,7 @@ the ncurses-base package.
Summary: Development files for the ncurses library
Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-c++-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Obsoletes: libtermcap-devel < 2.0.8-48
Provides: libtermcap-devel = 2.0.8-48
@ -228,6 +242,10 @@ bzip2 NEWS
%postun libs -p /sbin/ldconfig
%post c++-libs -p /sbin/ldconfig
%postun c++-libs -p /sbin/ldconfig
%post compat-libs -p /sbin/ldconfig
%postun compat-libs -p /sbin/ldconfig
@ -240,11 +258,15 @@ bzip2 NEWS
%{_mandir}/man7/*
%files libs
%exclude %{_libdir}/libncurses++*.so.6*
%{_libdir}/lib*.so.6*
%files compat-libs
%{_libdir}/lib*.so.5*
%files c++-libs
%{_libdir}/libncurses++*.so.6*
%files base -f terms.base
%{!?_licensedir:%global license %%doc}
%license COPYING