[packages/kanshi] new

atler atler at pld-linux.org
Thu Oct 14 11:31:30 CEST 2021


commit 537c7def352b65004bfeec767bb171ebf44714e2
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Oct 14 11:30:25 2021 +0200

    new

 kanshi.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/kanshi.spec b/kanshi.spec
new file mode 100644
index 0000000..f1dc158
--- /dev/null
+++ b/kanshi.spec
@@ -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*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kanshi.git/commitdiff/537c7def352b65004bfeec767bb171ebf44714e2



More information about the pld-cvs-commit mailing list