seatd/seatd.spec
Ana Guerrero 2894b86b40 - Update to 0.9.1
* Fix libseat not servicing seat enable/disable events if they were
    received immediately after a response, leading to the session
    deadlocking in a deactivated state.
  * Fix some protocol strings lacking validation of the NULL
    termination requirement.
- Update to 0.9.0
  * Improve session state tracking in the libseat logind backend, which
    could previously fail to notify the libseat client that the session
    had been deactivated.
  * Do not trigger a VT switch when starting a logind session, allowing
    sessions to be started in the background.
  * Improve error handling in some edgecases in the libseat seatd backend.
  * Apply more aggressive security policies to the included systemd unit.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=24
2024-11-22 06:34:27 +00:00

85 lines
2.2 KiB
RPMSpec

#
# spec file for package seatd
#
# 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: seatd
Version: 0.9.1
Release: 0
Summary: Seat management daemon
License: MIT
Group: System/Base
URL: https://git.sr.ht/~kennylevinsen/seatd
Source0: %{name}-%{version}.tar.gz
BuildRequires: meson >= 0.56.0
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: scdoc
BuildRequires: pkgconfig(systemd)
Requires: libseat1 = %{version}
BuildRequires: pkgconfig(libsystemd) >= 237
%description
Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root.
%package -n libseat1
Summary: Seat management library
Group: Development/Libraries/C and C++
%description -n libseat1
A seat management library allowing applications to use whatever seat management is available.
Supports: seatd, (e)logind, embedded seatd for standalone operation
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: libseat1 = %{version}
%description devel
Development files for %{name}.
%prep
%autosetup -p1
%build
%meson -Dlibseat-logind=systemd
%meson_build
%install
%meson_install
%post -n libseat1 -p /sbin/ldconfig
%postun -n libseat1 -p /sbin/ldconfig
%files
%doc README*
%{_bindir}/%{name}
%{_bindir}/seatd-launch
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/seatd-launch.1%{?ext_man}
%files -n libseat1
%license LICENSE
%{_libdir}/libseat.so.*
%files devel
%{_includedir}/libseat.h
%{_libdir}/pkgconfig/libseat.pc
%{_libdir}/libseat.so
%changelog