## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: hypridle Version: 0.1.3 Release: %autorelease Summary: Hyprland's idle daemon License: BSD-3-Clause URL: https://github.com/hyprwm/hypridle Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: systemd-rpm-macros BuildRequires: hyprutils-devel BuildRequires: pkgconfig(hyprlang) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(sdbus-c++) %description %{summary}. %prep %autosetup %build %cmake %cmake_build %install %cmake_install rm %{buildroot}%{_datadir}/hypr/hypridle.conf %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %post %systemd_user_post %{name}.service %preun %systemd_user_preun %{name}.service %postun %systemd_user_postun %{name}.service %changelog %autochangelog