new
[packages/kanshi.git] / kanshi.spec
1 Summary:        Dynamic output configuration
2 Name:           kanshi
3 Version:        1.2.0
4 Release:        1
5 License:        MIT
6 Group:          Applications
7 Source0:        https://git.sr.ht/~emersion/kanshi/archive/v%{version}.tar.gz
8 # Source0-md5:  f59945af185d1a7b88065d91858560e5
9 URL:            https://wayland.emersion.fr/kanshi/
10 BuildRequires:  meson >= 0.47.0
11 BuildRequires:  ninja
12 BuildRequires:  rpmbuild(macros) >= 1.736
13 BuildRequires:  scdoc >= 1.9.2
14 BuildRequires:  wayland-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 kanshi allows you to define output profiles that are automatically
19 enabled and disabled on hotplug.
20
21 %prep
22 %setup -q -n %{name}-v%{version}
23
24 %build
25 %meson build
26 %ninja_build -C build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 %ninja_install -C build
31
32 %clean
33 rm -rf $RPM_BUILD_ROOT
34
35 %files
36 %defattr(644,root,root,755)
37 %doc README.md
38 %attr(755,root,root) %{_bindir}/kanshi
39 %{_mandir}/man1/kanshi.1*
40 %{_mandir}/man5/kanshi.5*
This page took 0.082077 seconds and 3 git commands to generate.