Name: hyprcursor Version: 0.1.13 Release: %autorelease -b2 Summary: The Hyprland cursor format, library and utilities License: BSD-3-Clause URL: https://github.com/hyprwm/hyprcursor Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: hyprcursor-util.1 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libzip) BuildRequires: pkgconfig(tomlplusplus) %description The Hyprland cursor format, library, and utilities. Hyprcursor addresses limitations of the XCursor format by offering automatic scaling with configurable per-cursor methods, SVG (vector) cursor support, and significantly better space efficiency. Provides a shared library (libhyprcursor) and the hyprcursor-util conversion tool. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files for %{name}. %prep %autosetup -p1 %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %install %cmake_install install -Dpm644 %{SOURCE1} -t %{buildroot}%{_mandir}/man1 %files %license LICENSE %doc README.md %{_bindir}/hyprcursor-util %{_mandir}/man1/hyprcursor-util.1* %{_libdir}/lib%{name}.so.%{version} %{_libdir}/lib%{name}.so.0 %files devel %doc README.md %{_includedir}/%{name}.hpp %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog %autochangelog