SHA256
1
0
forked from pool/ftxui
Michael Vetter 2023-04-03 13:22:08 +00:00 committed by Git OBS Bridge
parent 41ff411b01
commit e21fa1df77
2 changed files with 7 additions and 10 deletions

View File

@ -1,2 +0,0 @@
# Not worth splitting libftxui-component.so.*, libftxui-dom.so.*, libftxui-screen.so.* in separate packages
addFilter("shlib-policy-name-error .*")

View File

@ -15,7 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define c_lib libftxui4_0_0
Name: ftxui
Version: 4.0.0
Release: 0
@ -23,25 +23,24 @@ Summary: A C++ library for terminal based user interfaces
License: MIT
URL: https://github.com/ArthurSonzogni/FTXUI
Source: https://github.com/ArthurSonzogni/FTXUI/archive/refs/tags/v%{version}.tar.gz
Source1: ftxui-rpmlintrc
BuildRequires: cmake
BuildRequires: gcc-c++
%description
A C++ library for terminal based user interfaces.
%package -n libftxui4
%package -n %{c_lib}
Summary: A C++ library for terminal based user interfaces
Group: System/Libraries
Recommends: %{name} >= %{version}
%description -n libftxui4
%description -n %{c_lib}
A C++ library for terminal based user interfaces.
%package devel
Summary: Devel files for ftxui
Group: Development/Libraries/C and C++
Requires: libftxui4 = %{version}
Requires: %{c_lib} = %{version}
%description devel
Development files for ftxui.
@ -58,10 +57,10 @@ Development files for ftxui.
%install
%cmake_install
%post -n libftxui4 -p /sbin/ldconfig
%postun -n libftxui4 -p /sbin/ldconfig
%post -n %{c_lib} -p /sbin/ldconfig
%postun -n %{c_lib} -p /sbin/ldconfig
%files -n libftxui4
%files -n %{c_lib}
%license LICENSE
%doc CHANGELOG.md README.md
%{_libdir}/libftxui-component.so.4.0.0