new master auto/th/kanshi-1.2.0-1
authorJan Palus <atler@pld-linux.org>
Thu, 14 Oct 2021 09:30:25 +0000 (11:30 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 14 Oct 2021 09:30:59 +0000 (11:30 +0200)
kanshi.spec [new file with mode: 0644]

diff --git a/kanshi.spec b/kanshi.spec
new file mode 100644 (file)
index 0000000..f1dc158
--- /dev/null
@@ -0,0 +1,40 @@
+Summary:       Dynamic output configuration
+Name:          kanshi
+Version:       1.2.0
+Release:       1
+License:       MIT
+Group:         Applications
+Source0:       https://git.sr.ht/~emersion/kanshi/archive/v%{version}.tar.gz
+# Source0-md5: f59945af185d1a7b88065d91858560e5
+URL:           https://wayland.emersion.fr/kanshi/
+BuildRequires: meson >= 0.47.0
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: scdoc >= 1.9.2
+BuildRequires: wayland-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+kanshi allows you to define output profiles that are automatically
+enabled and disabled on hotplug.
+
+%prep
+%setup -q -n %{name}-v%{version}
+
+%build
+%meson build
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/kanshi
+%{_mandir}/man1/kanshi.1*
+%{_mandir}/man5/kanshi.5*
This page took 0.138466 seconds and 4 git commands to generate.