system-user-gromox/system-user-gromox.spec

33 lines
656 B
RPMSpec

Name: system-user-gromox
Version: 2
Release: 0
Summary: System user and group gromox
License: MIT
Group: System/Fhs
URL: https://grommunio.com/
BuildArch: noarch
BuildRequires: systemd-rpm-macros
BuildRequires: sysuser-tools
Provides: group(gromox)
Provides: user(gromox)
%sysusers_requires
%description
This package provides the gromox account.
%prep
%build
echo 'u gromox - "Gromox services"' >u.conf
%sysusers_generate_pre u.conf user
%install
install -D u.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
%pre -f user.pre
%files
%_sysusersdir/*.conf
%changelog