Initial import

dependency for hyprland >= 0.47.0
This commit is contained in:
Jan Engelhardt 2025-01-27 18:51:19 +00:00
commit dd86dd30dd
3 changed files with 73 additions and 0 deletions

BIN
glaze-4.3.1.tar.gz Normal file

Binary file not shown.

4
glaze.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Jan 27 18:01:41 UTC 2025 - Florian "spirit" <sp1rit@disroot.org>
- Initial packaging of glaze-4.3.1

69
glaze.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package glaze
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 Florian "sp1rit" <sp1rit@disroot.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define debug_package %{nil}
Name: glaze
Version: 4.3.1
Release: 0
Summary: Extremely fast, in memory, JSON and interface library for modern C++
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/stephenberry/%{name}
Source0: https://github.com/stephenberry/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++ >= 12
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
BuildArch: noarch
%define _description %{expand:
One of the fastest JSON libraries in the world. Glaze reads and
writes from object memory, simplifying interfaces and offering
incredible performance.}
%description %{_description}
%description devel %{_description}
This subpackage contains development files for %{name}.
%prep
%autosetup -p1
%build
%cmake \
-DBUILD_TESTING=OFF \
-Dglaze_DEVELOPER_MODE=OFF \
-Dglaze_ENABLE_FUZZING=OFF \
%{nil}
%cmake_build
%install
%cmake_install
%files devel
%license LICENSE
%doc README.md
%doc docs
%{_includedir}/%{name}
%{_datadir}/%{name}
%changelog