diff options
author | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:21:24 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:21:24 +0000 |
commit | abaa481a0f4c3c1102b295bc5cd142371149d1f0 (patch) | |
tree | 75924549239fc66bc6e1e9501e8e02182ee59ac9 | |
parent | 2264b46cd53754ef18e8f7a4f27201230cfe7770 (diff) |
automatic import of fastfloatopeneuler25.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | fastfloat.spec | 66 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 68 insertions, 0 deletions
@@ -0,0 +1 @@ +/fastfloat-3.9.0.tar.gz diff --git a/fastfloat.spec b/fastfloat.spec new file mode 100644 index 0000000..ea6e4f6 --- /dev/null +++ b/fastfloat.spec @@ -0,0 +1,66 @@ +%global debug_package %{nil} + +Name: fastfloat +Version: 3.9.0 +Release: 1 +Summary: fastfloat +License: fastfloat +URL: https://github.com/nemtrif/utfcpp +Source0: fastfloat-%{version}.tar.gz +BuildRequires: cmake3 +BuildRequires: gcc-c++ + +%description +%{summary}. + +Features include: + - iterating through UTF-8 encoded strings + - converting between UTF-8 and UTF-16/UTF-32 + - detecting invalid UTF-8 sequences + +This project currently only contains header files, which can be found in the +%{name}-devel package. + +%package devel +Summary: Header files for %{name} +BuildArch: noarch +Provides: %{name}-static = %{version}-%{release} +Requires: cmake-filesystem + +%description devel +%{summary}. + +Features include: + - iterating through UTF-8 encoded strings + - converting between UTF-8 and UTF-16/UTF-32 + - detecting invalid UTF-8 sequences + +This project currently only contains header files, which can be found in the +%{name}-devel package. + +%prep +%setup -q -n fast_float-%{version} + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files devel +%dir %{_includedir}/fast_float +%{_includedir}/fast_float/ascii_number.h +%{_includedir}/fast_float/bigint.h +%{_includedir}/fast_float/decimal_to_binary.h +%{_includedir}/fast_float/digit_comparison.h +%{_includedir}/fast_float/fast_float.h +%{_includedir}/fast_float/fast_table.h +%{_includedir}/fast_float/float_common.h +%{_includedir}/fast_float/parse_number.h +%{_includedir}/fast_float/simple_decimal_conversion.h +%{_datadir}/cmake/FastFloat + +%changelog +* Tue Aug 5 2025 mimanchiok <mimanchiok@qq.com> - 3.9.0-1 +- project init @@ -0,0 +1 @@ +5656b0d8b150a3b157cfb092d214f6ea fastfloat-3.9.0.tar.gz |