diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-27 01:32:29 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-27 01:32:29 +0000 |
| commit | adf5245832fa453fb2081c6c7d478966cc9e8cfa (patch) | |
| tree | d0a702bbc4fed1d28fac82ef71d768db4576cb02 | |
| parent | b488a157d1912e83f9f7b097dfd797468a8576e0 (diff) | |
automatic import of xtl
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | sources | 1 | ||||
| -rw-r--r-- | xtl.spec | 52 |
3 files changed, 54 insertions, 0 deletions
@@ -0,0 +1 @@ +/xtl-0.7.5.tar.gz @@ -0,0 +1 @@ +ef5d0fb590308128908b5bff1d14d182 xtl-0.7.5.tar.gz 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 <noreply@anthropic.com> - 0.7.5-1 +- Initial package for openEuler 24.03 +- Based on skill_compile_third_party_libs.md compilation experience |
