commit dd86dd30dd0b9165f7f00ff912cd604a64e7c474f48b1c3149343e749d7a9d3f Author: Jan Engelhardt Date: Mon Jan 27 18:51:19 2025 +0000 Initial import dependency for hyprland >= 0.47.0 diff --git a/glaze-4.3.1.tar.gz b/glaze-4.3.1.tar.gz new file mode 100644 index 0000000..51c66fc Binary files /dev/null and b/glaze-4.3.1.tar.gz differ diff --git a/glaze.changes b/glaze.changes new file mode 100644 index 0000000..6a9da03 --- /dev/null +++ b/glaze.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jan 27 18:01:41 UTC 2025 - Florian "spirit" + +- Initial packaging of glaze-4.3.1 diff --git a/glaze.spec b/glaze.spec new file mode 100644 index 0000000..a251912 --- /dev/null +++ b/glaze.spec @@ -0,0 +1,69 @@ +# +# spec file for package glaze +# +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 Florian "sp1rit" +# +# 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