From adf5245832fa453fb2081c6c7d478966cc9e8cfa Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 27 Mar 2026 01:32:29 +0000 Subject: automatic import of xtl --- xtl.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 xtl.spec (limited to 'xtl.spec') diff --git a/xtl.spec b/xtl.spec new file mode 100644 index 0000000..2fa221e --- /dev/null +++ b/xtl.spec @@ -0,0 +1,52 @@ +Name: xtl +Version: 0.7.5 +Release: 1 +Summary: QuantStack tools library - xtensor dependency +License: BSD-3-Clause +URL: https://github.com/xtensor-stack/xtl +%global github https://github.com/xtensor-stack/xtl +Source: %{github}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc-c++ + +# Header-only library - no debug package needed +%global debug_package %{nil} + +%description +The xtl library is a set of general purpose tools for C++ used by +the xtensor stack. It includes: +- Optional and nullable types +- Basic fixed string +- Complex numbers utilities +- JSON and base64 support + +%package devel +Summary: %{summary} +Provides: %{name} = %{version}-%{release} +Provides: %{name}-static = %{version}-%{release} +BuildArch: noarch + +%description devel +Development files for xtl library. This is a header-only library. + +%prep +%autosetup -n %{name}-%{version} + +%build +%cmake -DBUILD_TESTS=OFF + +%install +%cmake_install + +%files devel +%doc README.md +%license LICENSE +%{_includedir}/%{name}/ +%{_datadir}/cmake/%{name}/ +%{_datadir}/pkgconfig/%{name}.pc + +%changelog +* Tue Mar 25 2025 Claude Code - 0.7.5-1 +- Initial package for openEuler 24.03 +- Based on skill_compile_third_party_libs.md compilation experience -- cgit v1.2.3