%global toolset gcc-toolset-15 %{?enable_gcctoolset15} Name: hyprlang Version: 0.6.8 Release: 1%{?dist} Summary: The official implementation library for the hypr config language License: LGPL-3.0-only URL: https://github.com/hyprwm/hyprlang Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: %{toolset}-gcc-c++ BuildRequires: %{toolset}-runtime BuildRequires: %{toolset}-gcc-plugin-annobin BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: hyprutils-devel >= 0.7.1 %description The official implementation library for the hypr config language. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup %build %cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_libdir}/libhyprlang.so.* %files devel %{_includedir}/hyprlang.hpp %{_libdir}/libhyprlang.so %{_libdir}/pkgconfig/hyprlang.pc %changelog * Wed Nov 11 2026 Hypr-EL - %{version}-1 - Initial package for EL10