Name: lidm Version: 1.2.3 Release: %autorelease Summary: LiDM Display Manager License: GPL-3.0-or-later URL: https://github.com/javalsai/lidm Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: make BuildRequires: gcc BuildRequires: pam-devel # Runtime dependencies (more may be needed depending on distro) Requires: pam %description LiDM is a minimalistic display manager written in C. It uses PAM for authentication and supports theming, lightweight configuration, and service installation helpers for systemd, OpenRC, runit, s6, and dinit. %prep %autosetup -n %{name}-%{version} %build %make_build %install # LiDM’s Makefile honors DESTDIR, good for RPM packaging %make_install # Do NOT install service files automatically inside an RPM: # packaging installs only files, not activates/manages services. # If needed, service units can be packaged manually here. %files %license LICENSE %doc README.md /usr/bin/lidm /etc/lidm.ini /usr/share/man/man1/lidm.1.gz /usr/share/man/man5/lidm-config.5.gz %changelog %autochangelog