5bf8537f80
* seatd-launch: Fix chmod error goto * man: Add simple seatd-launch(1) page * seatd-launch: Set socket permissions directly * seat: Allow new clients when active is pending ack * Add .editorconfig * seat: Avoid holding a tty fd * meson.build: fix build with gcc < 7 * libseat: Fix build of builtin backend * libseat: Update builtin backend root requirement documentation * Revert "libseat: Check euid before using builtin" * logind: Remove redundant null check * Make libseat_seat_listener const * seatd: Use path in chmod/chown operations * seatd: Improve socket permission error handling * seatd-launch: Command line argument support * seatd-launch: check for getpwuid errors * seatd-launch: don't use gotos in child processes * seatd-launch: propagate child exit status * seatd-launch: Add seatd launch wrapper * seatd: Only set UID/GID when specified * seatd: s6-style readiness notification support * seatd: We shouldn't poll if predispatch > 0 * libseat: Rename dispatch_background in backends * libseat/seatd: Add dispatch_pending_and_execute * libseat/seatd: Return executed events * link with rt * readme: Update discuss section * meson: Support building builtin without seatd * libseat/seatd: downgrade ENOENT log to info OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=9
94 lines
2.5 KiB
RPMSpec
94 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package seatd
|
|
#
|
|
# Copyright (c) 2021 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.6.0
|
|
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
|
|
BuildRequires: ninja
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: scdoc
|
|
BuildRequires: pkgconfig(systemd)
|
|
Requires: libseat1 = %{version}
|
|
%if 0%{?suse_version} > 1520
|
|
#15.2 don't have needed API
|
|
#https://github.com/systemd/systemd/commit/b423e4fb73866e529869b348efb7169ee91f00c9
|
|
BuildRequires: pkgconfig(libsystemd) >= 237
|
|
%endif
|
|
|
|
%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
|
|
%if 0%{?suse_version} > 1520
|
|
#15.2 don't have needed API
|
|
%meson -Dlibseat-logind=systemd
|
|
%else
|
|
%meson
|
|
%endif
|
|
|
|
%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
|