Name: hyprlock Version: 0.3.0 Release: %autorelease Summary: Hyprland's GPU-accelerated screen locking utility License: BSD-3-Clause URL: https://github.com/hyprwm/hyprlock Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch: cmake.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(opengl) BuildRequires: pkgconfig(pam) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) %description %{summary}. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %files %license LICENSE %doc README.md %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/pam.d/%{name} %changelog %autochangelog