forked from pool/ftxui
This commit is contained in:
parent
41ff411b01
commit
e21fa1df77
@ -1,2 +0,0 @@
|
|||||||
# Not worth splitting libftxui-component.so.*, libftxui-dom.so.*, libftxui-screen.so.* in separate packages
|
|
||||||
addFilter("shlib-policy-name-error .*")
|
|
15
ftxui.spec
15
ftxui.spec
@ -15,7 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define c_lib libftxui4_0_0
|
||||||
Name: ftxui
|
Name: ftxui
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,25 +23,24 @@ Summary: A C++ library for terminal based user interfaces
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/ArthurSonzogni/FTXUI
|
URL: https://github.com/ArthurSonzogni/FTXUI
|
||||||
Source: https://github.com/ArthurSonzogni/FTXUI/archive/refs/tags/v%{version}.tar.gz
|
Source: https://github.com/ArthurSonzogni/FTXUI/archive/refs/tags/v%{version}.tar.gz
|
||||||
Source1: ftxui-rpmlintrc
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A C++ library for terminal based user interfaces.
|
A C++ library for terminal based user interfaces.
|
||||||
|
|
||||||
%package -n libftxui4
|
%package -n %{c_lib}
|
||||||
Summary: A C++ library for terminal based user interfaces
|
Summary: A C++ library for terminal based user interfaces
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name} >= %{version}
|
Recommends: %{name} >= %{version}
|
||||||
|
|
||||||
%description -n libftxui4
|
%description -n %{c_lib}
|
||||||
A C++ library for terminal based user interfaces.
|
A C++ library for terminal based user interfaces.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Devel files for ftxui
|
Summary: Devel files for ftxui
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libftxui4 = %{version}
|
Requires: %{c_lib} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for ftxui.
|
Development files for ftxui.
|
||||||
@ -58,10 +57,10 @@ Development files for ftxui.
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%post -n libftxui4 -p /sbin/ldconfig
|
%post -n %{c_lib} -p /sbin/ldconfig
|
||||||
%postun -n libftxui4 -p /sbin/ldconfig
|
%postun -n %{c_lib} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libftxui4
|
%files -n %{c_lib}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%{_libdir}/libftxui-component.so.4.0.0
|
%{_libdir}/libftxui-component.so.4.0.0
|
||||||
|
Loading…
Reference in New Issue
Block a user