summaryrefslogtreecommitdiff
path: root/xtl.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-03-27 01:32:29 +0000
committerCoprDistGit <infra@openeuler.org>2026-03-27 01:32:29 +0000
commitadf5245832fa453fb2081c6c7d478966cc9e8cfa (patch)
treed0a702bbc4fed1d28fac82ef71d768db4576cb02 /xtl.spec
parentb488a157d1912e83f9f7b097dfd797468a8576e0 (diff)
automatic import of xtl
Diffstat (limited to 'xtl.spec')
-rw-r--r--xtl.spec52
1 files changed, 52 insertions, 0 deletions
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