commit d92426de2b3ac79e84aaed0f2f7e9e8b45cd871321b468ae1f253a69bc3a4976 Author: Dirk Mueller Date: Mon Apr 3 07:55:41 2023 +0000 Accepting request 1076780 from home:jubalh OBS-URL: https://build.opensuse.org/request/show/1076780 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ftxui?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/ftxui-rpmlintrc b/ftxui-rpmlintrc new file mode 100644 index 0000000..a953e87 --- /dev/null +++ b/ftxui-rpmlintrc @@ -0,0 +1,2 @@ +# Not worth splitting libftxui-component.so.*, libftxui-dom.so.*, libftxui-screen.so.* in separate packages +addFilter("shlib-policy-name-error .*") diff --git a/ftxui.changes b/ftxui.changes new file mode 100644 index 0000000..7688bf3 --- /dev/null +++ b/ftxui.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Apr 2 21:26:58 UTC 2023 - Michael Vetter + +- Initial package of ftxui 4.0.0 for openSUSE diff --git a/ftxui.spec b/ftxui.spec new file mode 100644 index 0000000..7bc85a1 --- /dev/null +++ b/ftxui.spec @@ -0,0 +1,79 @@ +# +# spec file for package ftxui +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: ftxui +Version: 4.0.0 +Release: 0 +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 +BuildRequires: cmake +BuildRequires: gcc-c++ + +%description +A C++ library for terminal based user interfaces. + +%package -n libftxui4 +Summary: A C++ library for terminal based user interfaces +Group: System/Libraries +Recommends: %{name} >= %{version} + +%description -n libftxui4 +A C++ library for terminal based user interfaces. + +%package devel +Summary: Devel files for ftxui +Group: Development/Libraries/C and C++ +Requires: libftxui4 = %{version} + +%description devel +Development files for ftxui. + +%prep +%autosetup -n FTXUI-%{version} + +%build +%cmake -DFTXUI_BUILD_EXAMPLES=OFF \ + -DFTXUI_BUILD_TESTS=OFF \ + -DFTXUI_BUILD_DOCS=OFF \ + -DFTXUI_ENABLE_INSTALL=ON + +%install +%cmake_install + +%post -n libftxui4 -p /sbin/ldconfig +%postun -n libftxui4 -p /sbin/ldconfig + +%files -n libftxui4 +%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 + +%files devel +%license LICENSE +%doc CHANGELOG.md README.md +%{_includedir}/ftxui/ +%{_libdir}/cmake/ftxui/ +%{_libdir}/libftxui-component.so +%{_libdir}/libftxui-dom.so +%{_libdir}/libftxui-screen.so + +%changelog diff --git a/v4.0.0.tar.gz b/v4.0.0.tar.gz new file mode 100644 index 0000000..01dd0a0 --- /dev/null +++ b/v4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7276e4117429ebf8e34ea371c3ea4e66eb99e0f234cb4c5c85fca17174a53dfa +size 1148172