blob: ea6e4f68c1f4cfb8891e689c2f363ddf96e377b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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
|