Files
HyprlandRPM/glaze.spec
Eriq Taing 27451693e1
Some checks failed
Build glaze / Build and push image (push) Failing after 1m25s
Introduce glaze-static package
2025-12-03 18:29:49 -05:00

47 lines
972 B
RPMSpec

%global debug_package %{nil}
Name: glaze
Version: 6.0.3
Release: %autorelease
Summary: Extremely fast, in memory, JSON and interface library
License: MIT
URL: https://github.com/stephenberry/glaze
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
%description
%{summary}.
%package devel
Summary: Development files for %{name}
BuildArch: noarch
Provides: %{name}-static = %{version}-%{release}
%description devel
Development files for %{name}.
%prep
%autosetup -p1
%build
%cmake \
-Dglaze_INSTALL_CMAKEDIR=%{_datadir}/cmake/%{name} \
-Dglaze_DISABLE_SIMD_WHEN_SUPPORTED:BOOL=ON \
-Dglaze_DEVELOPER_MODE:BOOL=OFF \
-Dglaze_ENABLE_FUZZING:BOOL=OFF
%cmake_build
%install
%cmake_install
%files devel
%license LICENSE
%doc README.md
%{_datadir}/cmake/%{name}/
%{_includedir}/%{name}/
%changelog
%autochangelog