Name: hyprlang Version: 0.6.8 Release: %autorelease -b1 Summary: The official implementation library for the hypr config language License: LGPL-3.0-only URL: https://github.com/hyprwm/hyprlang Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(hyprutils) %description The official implementation library for the hypr configuration language, an efficient yet easy to work with configuration language for Linux applications. It supports colors, vectors, integers, floats, strings, variables, nested categories, and custom keyword handlers. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup -p1 sed 's/.*/%{version}/' -i VERSION %build %cmake %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_libdir}/libhyprlang.so.2 %{_libdir}/libhyprlang.so.%{version} %files devel %doc README.md %{_includedir}/hyprlang.hpp %{_libdir}/libhyprlang.so %{_libdir}/pkgconfig/hyprlang.pc %changelog %autochangelog