blob: 665dfd15243bc14611b2f077e2b9aaa85fbd8e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
Name: hyprpolkitagent
Version: 0.1.3
Release: %autorelease
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
|