]>
Commit | Line | Data |
---|---|---|
537c7def JP |
1 | Summary: Dynamic output configuration |
2 | Name: kanshi | |
96574580 | 3 | Version: 1.6.0 |
537c7def JP |
4 | Release: 1 |
5 | License: MIT | |
6 | Group: Applications | |
7 | Source0: https://git.sr.ht/~emersion/kanshi/archive/v%{version}.tar.gz | |
96574580 | 8 | # Source0-md5: bbb32895fb2074bd7f122df7b046006d |
537c7def | 9 | URL: https://wayland.emersion.fr/kanshi/ |
4a5b05cb | 10 | BuildRequires: gcc >= 6:4.6 |
96574580 | 11 | BuildRequires: libscfg-devel |
76099965 JP |
12 | BuildRequires: libvarlink-devel |
13 | BuildRequires: meson >= 0.59.0 | |
537c7def | 14 | BuildRequires: ninja |
29ce86ff | 15 | BuildRequires: pkgconfig |
537c7def JP |
16 | BuildRequires: rpmbuild(macros) >= 1.736 |
17 | BuildRequires: scdoc >= 1.9.2 | |
4a5b05cb | 18 | BuildRequires: wayland-devel >= 1.14.91 |
537c7def JP |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | kanshi allows you to define output profiles that are automatically | |
23 | enabled and disabled on hotplug. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{name}-v%{version} | |
27 | ||
28 | %build | |
96574580 JP |
29 | %meson build \ |
30 | -Dwerror=false | |
31 | ||
537c7def JP |
32 | %ninja_build -C build |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %ninja_install -C build | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README.md | |
44 | %attr(755,root,root) %{_bindir}/kanshi | |
76099965 | 45 | %attr(755,root,root) %{_bindir}/kanshictl |
537c7def | 46 | %{_mandir}/man1/kanshi.1* |
76099965 | 47 | %{_mandir}/man1/kanshictl.1* |
537c7def | 48 | %{_mandir}/man5/kanshi.5* |