Files
HyprlandRPM/hyprpolkitagent.spec
Eriq Taing eae92973f5
All checks were successful
Build aquamarine / Build and push image (push) Successful in 3m57s
Build hyprgraphics / Build and push image (push) Successful in 3m1s
Build hyprlang / Build and push image (push) Successful in 2m30s
Build hyprpolkitagent / Build and push image (push) Successful in 3m3s
Build hyprwire / Build and push image (push) Successful in 3m7s
[aquamarine, hyprgraphics, hyprlang, polkitagent, hyprwire] Bump for
hyprutils
2026-04-29 20:56:32 -04:00

54 lines
1.2 KiB
RPMSpec

Name: hyprpolkitagent
Version: 0.1.3
Release: %autorelease -b 3
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: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: systemd-rpm-macros
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6QuickControls2)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(hyprutils)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(polkit-qt6-1)
Requires: hyprland-qt-support%{?_isa}
%description
A simple polkit authentication agent for Hyprland, written in QT/QML.
%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