Name: df-login1 Version: 0.3.0 Release: 1%{?dist} Summary: Implementation of systemd/elogind for the Desktop Frameworks License: GPLv3 URL: https://gitlab.com/desktop-frameworks/login1 Source0: %{url}/-/archive/v%{version}/login1-v%{version}.tar.gz BuildRequires: meson BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel %description Implementation of systemd/elogind for the Desktop Frameworks. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for %{name}. %prep %autosetup -n login1-v%{version} %build %meson %meson_build %install %meson_install %files # 这里的名字必须和日志里的 libdf6login1 一致 %{_libdir}/libdf6login1.so.0* %files devel # 头文件路径根据日志修正为 DFL/ %{_includedir}/DFL/ %{_libdir}/libdf6login1.so %{_libdir}/pkgconfig/df6login1.pc %changelog * Sun Jan 04 2026 yoayo lll - 0.3.0-1 - Initial build corrected for df6 naming