Name: account-utils Version: 0.4.0 Release: %autorelease Summary: Utilities to manage and authenticate users without setuid/setgid License: GPL-2.0-or-later and LGPL-2.1-or-later and BSD-2-Clause URL: https://github.com/thkukuk/account-utils Source0: https://github.com/thkukuk/account-utils/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: xsltproc BuildRequires: docbook-dtds BuildRequires: docbook5-style-xsl BuildRequires: pam-devel BuildRequires: pam BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros BuildRequires: libeconf-devel BuildRequires: libselinux-devel %description The account-utils package contains the utilities and services to do user management and authentication without the need for setuid/setgid bits. This allows the stack to work with NoNewPrivs enabled (means setuid/setgid binaries will no longer work). Communication happens via varlink. %package devel Summary: Development files for %{name} Requires: %{name}%{_isa} = %{version}-%{release} %description devel %{summary}. %package tools Summary: Command-line tools for %{name} Conflicts: shadow-utils Conflicts: util-linux Requires: %{name}%{_isa} = %{version}-%{release} %description tools %{summary}. This package conflicts with shadow-utils and util-linux because it provides the same binaries. %prep %autosetup -C %build MESON_OPTIONS=( -Dman=enabled -Dselinux=enabled ) %meson "${MESON_OPTIONS[@]}" %meson_build %install %meson_install %check %meson_test %files %license LICENSE.* %doc README.md NEWS %{_libdir}/libpwaccess.so.0 %{_libexecdir}/pwaccessd %{_libexecdir}/pwupdd %{_usr}/lib/pam.d/pwupd-chfn %{_usr}/lib/pam.d/pwupd-chsh %{_usr}/lib/pam.d/pwupd-passwd %{_unitdir}/pwaccessd.service %{_unitdir}/pwaccessd.socket %{_unitdir}/pwupdd.socket %{_unitdir}/pwupdd@.service %{_pam_moduledir}/pam_debuginfo.so %{_pam_moduledir}/pam_unix_ng.so %{_mandir}/man8/pam_debuginfo.8* %{_mandir}/man8/pam_unix_ng.8* %files tools %{_bindir}/chage %{_bindir}/chfn %{_bindir}/chsh %{_bindir}/expiry %{_bindir}/passwd %{_mandir}/man1/chage.1* %{_mandir}/man1/chfn.1* %{_mandir}/man1/chsh.1* %{_mandir}/man1/expiry.1* %{_mandir}/man1/passwd.1* %files devel %{_includedir}/pwaccess.h %{_libdir}/libpwaccess.so %{_libdir}/libpwaccess.so.0.4.0 %{_libdir}/pkgconfig/libpwaccess.pc %changelog %autochangelog