2022-06-02 10:27:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package system-user-gromox
|
|
|
|
#
|
2024-02-21 22:22:06 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2022-06-02 10:27:22 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-09-01 09:57:21 +00:00
|
|
|
Name: system-user-gromox
|
2024-03-12 23:59:59 +00:00
|
|
|
Version: 5
|
2021-09-01 09:57:21 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: System user and group gromox
|
|
|
|
License: MIT
|
|
|
|
Group: System/Fhs
|
2024-02-21 22:22:06 +00:00
|
|
|
#Source: https://download.grommunio.com/community/openSUSE_Tumbleweed/system-user-gromox-*.src.rpm
|
2021-09-01 09:57:21 +00:00
|
|
|
URL: https://grommunio.com/
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: systemd-rpm-macros
|
2024-03-12 23:59:59 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
# SUSE doing SUSE things again
|
2021-09-01 09:57:21 +00:00
|
|
|
BuildRequires: sysuser-tools
|
2024-03-12 23:59:59 +00:00
|
|
|
%endif
|
2021-09-01 09:57:21 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides the gromox account.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
2024-02-21 22:22:06 +00:00
|
|
|
# The conf file is provided by system-user-gromox rather than
|
|
|
|
# gromox.spec so that e.g. grommunio-admin-api does not grow a
|
|
|
|
# BuildRequire on gromox (wait times).
|
|
|
|
#
|
|
|
|
cat >u.conf <<-EOF
|
|
|
|
g gromox -
|
|
|
|
g gromoxcf -
|
|
|
|
u gromox - "Gromox services"
|
|
|
|
m gromox gromoxcf
|
|
|
|
EOF
|
2021-09-01 09:57:21 +00:00
|
|
|
|
|
|
|
%install
|
2022-06-02 20:46:26 +00:00
|
|
|
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
|
2021-09-01 09:57:21 +00:00
|
|
|
|
2024-03-12 23:59:59 +00:00
|
|
|
%post
|
|
|
|
%sysusers_create system-user-gromox.conf
|
2021-09-01 09:57:21 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%_sysusersdir/*.conf
|
|
|
|
|
|
|
|
%changelog
|