Files
kanshi/kanshi.spec
Soc Virnyl Estela 351f84a1b2 Accepting request 1169777 from home:smolsheep:upgrades
Note: This requires libscfg. I submitted an SR here
https://build.opensuse.org/request/show/1169776
Hopefully a kanshi maintainer can help me with that package in the future.
- Add keyring and signature for package.
- Enable tests
- Update to v1.6.0:
  * Fix memory leaks on exit
  * Switch to scfg
  * readme: add ircs:// link for IRC channel
  * Add support for output blocks
  * doc: document output blocks
  * Include line numbers in error messages
  * Define _POSIX_C_SOURCE globally

OBS-URL: https://build.opensuse.org/request/show/1169777
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/kanshi?expand=0&rev=14
2024-04-23 00:37:17 +00:00

61 lines
1.7 KiB
RPMSpec

#
# spec file for package kanshi
#
# Copyright (c) 2024 SUSE LLC
#
# 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.6.0
Release: 0
Summary: Dynamic display configuration
License: MIT
Group: System/GUI/Other
URL: https://git.sr.ht/~emersion/kanshi
Source0: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{name}-%{version}.tar.gz.sig
# https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19
Source2: %{name}.keyring
BuildRequires: cmake
BuildRequires: meson
BuildRequires: ninja
BuildRequires: scdoc
BuildRequires: pkgconfig(scfg)
BuildRequires: pkgconfig(wayland-client)
%description
kanshi allows you to define output profiles that are automatically enabled
and disabled on hotplug.
%prep
%autosetup -p1
%build
# Disabled because libvarlink is not available in Factory
%meson \
-Dipc=disabled
%meson_build
%install
%meson_install
%check
%meson_test
%files
%{_bindir}/kanshi
%{_mandir}/man?/%{name}*
%changelog