This repository was archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfancy.spec.rpkg
More file actions
68 lines (52 loc) · 1.4 KB
/
fancy.spec.rpkg
File metadata and controls
68 lines (52 loc) · 1.4 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%global debug_package %{nil}
%bcond_with check
Name: {{{ git_dir_name }}}
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Group: System Environment/Base
Summary: Set of software to control laptop fans
License: MPLv2.0
URL: https://github.com/MusiKid/fancy
VCS: {{{ git_dir_vcs }}}
Source: {{{ git_dir_pack }}}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: systemd-rpm-macros
BuildRequires: dbus-devel
BuildRequires: pandoc
Requires: dbus
Recommends: systemd
%global _description %{expand:
Set of software which allows you to control your laptop fans.
It includes a service daemon to allow accessing
to the embedded controller and controlling it through D-Bus,
and a CLI to send commands.}
%description %{_description}
%files
%license LICENSE
%doc README.md
%{_bindir}/fancy
%{_bindir}/fancyd
%{_mandir}/man7/fancy.7.gz
%{_mandir}/man1/fancy.1.gz
%{_mandir}/man8/fancyd.8.gz
%{_datadir}/bash-completion
%{_datadir}/fish
%{_datadir}/zsh
%{_unitdir}/fancy.service
%{_unitdir}/fancy-sleep.service
%{_sysconfdir}/dbus-1/system.d/com.musikid.fancy.conf
%config(noreplace) %{_sysconfdir}/fancy/configs/*
%prep
{{{ git_dir_setup_macro }}}
%build
%make_build
%install
%make_install prefix=%{_prefix}
%if %{with check}
%check
%cargo_test
%endif
%changelog
{{{ git_dir_changelog }}}
# vim: ft=spec :