Name: hyprutils Version: 0.11.0 Release: %autorelease Summary: Hyprland utilities library used across the ecosystem License: BSD-3-Clause URL: https://github.com/hyprwm/hyprutils Source: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(pixman-1) %description Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup -p1 %build %cmake cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release %cmake_build --config Release %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_libdir}/lib%{name}.so.%{version} %{_libdir}/lib%{name}.so.10 %files devel %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog %autochangelog