diff --git a/README.md b/README.md index fdff7b8..9273f56 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # fast_float +Fast and exact implementation of the C++ from_chars functions for number types. + diff --git a/fast_float.spec b/fast_float.spec new file mode 100644 index 0000000..ec70c65 --- /dev/null +++ b/fast_float.spec @@ -0,0 +1,54 @@ +Name: fast_float +Version: 6.1.1 +Release: 1mamba +Summary: Fast and exact implementation of the C++ from_chars functions for number types +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/fastfloat/fast_float +Source: https://github.com/fastfloat/fast_float.git/v%{version}/fast_float-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Fast and exact implementation of the C++ from_chars functions for number types. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Fast and exact implementation of the C++ from_chars functions for number types + +%description -n lib%{name}-devel +Fast and exact implementation of the C++ from_chars functions for number types. +This package contains libraries and header files for developing applications that use %{name}. + +#% debug_package + +%prep +%setup -q + +%build +%cmake +%cmake_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%cmake_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/fast_float +%{_includedir}/fast_float/*.h +%dir %{_datadir}/cmake/FastFloat +%{_datadir}/cmake/FastFloat/*.cmake +%doc AUTHORS README.md + +%changelog +* Sat May 04 2024 Silvan Calarco 6.1.1-1mamba +- package created using the webbuild interface