Accepting request 1089205 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1089205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ftxui?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2023-05-26 18:15:53 +00:00 committed by Git OBS Bridge
commit ca1415cc14
4 changed files with 33 additions and 9 deletions

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Fri May 19 12:55:43 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 4.1.0:
Component:
* Feature: Support ResizableSplit with customizable separator.
* Fix: Support arrow keys in application mode
* Fix: Remove useless new line when using an alternative screen.
Dom:
* Feature: Add the dashed style for border and separator:
See DASHED enum, and separatorDashed(), borderDashed() functions.
* Feature: Add colored borders.
See functions: borderStyled(BorderStyle, Color) and borderStyled(Color).
* Feature: Add LinearGradient. It can be used in color and bgColor.
* Improvement: Color::Interpolate() uses gamma correction.
* Fix: Check the graph area is positive.
Build/Install:
* Use globally set CMAKE_CXX_STANDARD if it is set.
* Expose the pkg-config file.
-------------------------------------------------------------------
Sun Apr 2 21:26:58 UTC 2023 - Michael Vetter <mvetter@suse.com>

View File

@ -15,9 +15,10 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define c_lib libftxui4_0_0
%define c_lib libftxui4_1_0
Name: ftxui
Version: 4.0.0
Version: 4.1.0
Release: 0
Summary: A C++ library for terminal based user interfaces
License: MIT
@ -25,6 +26,7 @@ URL: https://github.com/ArthurSonzogni/FTXUI
Source: https://github.com/ArthurSonzogni/FTXUI/archive/refs/tags/v%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
%description
A C++ library for terminal based user interfaces.
@ -41,6 +43,7 @@ A C++ library for terminal based user interfaces.
Summary: Devel files for ftxui
Group: Development/Libraries/C and C++
Requires: %{c_lib} = %{version}
Provides: ftxui
%description devel
Development files for ftxui.
@ -57,14 +60,14 @@ Development files for ftxui.
%install
%cmake_install
%ldconfig_scriptlets -n libftxui4_0_0
%ldconfig_scriptlets -n %{c_lib}
%files -n %{c_lib}
%license LICENSE
%doc CHANGELOG.md README.md
%{_libdir}/libftxui-component.so.4.0.0
%{_libdir}/libftxui-dom.so.4.0.0
%{_libdir}/libftxui-screen.so.4.0.0
%{_libdir}/libftxui-component.so.4.1.0
%{_libdir}/libftxui-dom.so.4.1.0
%{_libdir}/libftxui-screen.so.4.1.0
%files devel
%license LICENSE
@ -74,5 +77,6 @@ Development files for ftxui.
%{_libdir}/libftxui-component.so
%{_libdir}/libftxui-dom.so
%{_libdir}/libftxui-screen.so
%{_prefix}/lib/pkgconfig/ftxui.pc
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7276e4117429ebf8e34ea371c3ea4e66eb99e0f234cb4c5c85fca17174a53dfa
size 1148172

3
v4.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f03f5917b44c9bc12335ad891a93813bbb6e738e0bd0c44f97bcc6077c45980
size 1155581