511ec7961a
- Update to v1.2.0 * parser: print errno when failing to open the config file * parser: explicitly initialize key (kanshi_output_field) to 0 * [man 5] Add blockquotes to ensure line break * Properly reap children to avoid zombies * Add missing header after 5a30abdf0b3b * Accept user-specified config path * Add 'include' directive to read additional configs * Add the 'profile' directive in kanshi(5) examples * readme: move to Libera Chat * readme: switch to new profile syntax * build: bump version to 1.2.0 * parser: use abort() instead of assert(0) OBS-URL: https://build.opensuse.org/request/show/985125 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/kanshi?expand=0&rev=3
52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package kanshi
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: kanshi
|
|
Version: 1.2.0
|
|
Release: 0
|
|
Summary: Dynamic display configuration
|
|
License: MIT
|
|
Group: System/GUI/Other
|
|
URL: https://git.sr.ht/~emersion/kanshi
|
|
Source: https://git.sr.ht/~emersion/kanshi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: meson
|
|
BuildRequires: ninja
|
|
BuildRequires: scdoc
|
|
BuildRequires: wayland-devel
|
|
|
|
%description
|
|
kanshi allows you to define output profiles that are automatically enabled
|
|
and disabled on hotplug.
|
|
|
|
%prep
|
|
%setup -q -n kanshi-%{version}
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%files
|
|
%{_bindir}/kanshi
|
|
%{_mandir}/man?/%{name}*
|
|
|
|
%changelog
|