fast_float/fast_float.spec

55 lines
1.6 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 6.1.1-1mamba
- package created using the webbuild interface