1 Summary: Seat management daemon
7 Source0: https://git.sr.ht/~kennylevinsen/seatd/archive/%{version}.tar.gz
8 # Source0-md5: 264a36907f4be34efa400fb6e1b26f5f
10 URL: https://git.sr.ht/~kennylevinsen/seatd
11 BuildRequires: meson >= 0.56.0
13 BuildRequires: pkgconfig
14 BuildRequires: rpmbuild(macros) >= 1.736
15 BuildRequires: scdoc >= 1.9.7
16 BuildRequires: systemd-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A seat management daemon, that does everything it needs to do. Nothing
21 more, nothing less. Depends only on libc.
24 Summary: Seat management library
27 %description -n libseat
28 A seat management library allowing applications to use whatever seat
29 management is available.
34 - embedded seatd for standalone operation
36 Each backend can be compile-time included and is runtime auto-detected
37 or manually selected with the LIBSEAT_BACKEND environment variable.
39 Which backend is in use is transparent to the application, providing a
40 simple common interface.
42 %package -n libseat-devel
43 Summary: Header files for libseat library
44 Group: Development/Libraries
45 Requires: libseat = %{version}-%{release}
46 Requires: systemd-devel
48 %description -n libseat-devel
49 Header files for libseat library.
51 %package -n libseat-static
52 Summary: Static libseat library
53 Group: Development/Libraries
54 Requires: libseat-devel = %{version}-%{release}
56 %description -n libseat-static
57 Static libseat library.
69 rm -rf $RPM_BUILD_ROOT
71 %ninja_install -C build
74 rm -rf $RPM_BUILD_ROOT
76 %post -n libseat -p /sbin/ldconfig
77 %postun -n libseat -p /sbin/ldconfig
80 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/seatd
83 %{_mandir}/man1/seatd.1*
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libseat.so.1
89 %files -n libseat-devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libseat.so
92 %{_includedir}/libseat.h
93 %{_pkgconfigdir}/libseat.pc
95 %files -n libseat-static
96 %defattr(644,root,root,755)