Name: hyprpolkitagent Version: 0.2.0 Release: %autorelease -b2 Summary: A simple polkit authentication agent for Hyprland License: BSD-3-Clause URL: https://github.com/hyprwm/hyprpolkitagent Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconf-pkg-config BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(hyprgraphics) BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(hyprtoolkit) BuildRequires: pkgconfig(hyprutils) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(sdbus-c++) >= 2.0.0 Requires: polkit %description A polkit authentication agent for Hyprland, built with hyprtoolkit. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %files %license LICENSE %doc README.md %{_datadir}/dbus-1/services/org.hyprland.%{name}.service %{_libexecdir}/%{name} %{_userunitdir}/%{name}.service %changelog %autochangelog