Files
golang-github-x448-float16-rpm/golang-github-x448-float16.spec
T
2025-01-10 17:49:30 +01:00

58 lines
1.1 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/x448/float16
%global goipath github.com/x448/float16
Version: 0.8.4
%gometa -L -f
%global common_description %{expand:
Float16 provides IEEE 754 half-precision format (binary16) with correct
conversions to/from float32.}
%global golicenses LICENSE
%global godocs README.md SECURITY.md
Name: golang-github-x448-float16
Release: %autorelease
Summary: Float16 provides IEEE 754 half-precision format (binary16) with correct conversions to/from float32
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog