Blame system-user-loki.spec

0cc666
#
0cc666
# spec file for package system-user-loki
0cc666
#
0cc666
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
0cc666
#
0cc666
# All modifications and additions to the file contributed by third parties
0cc666
# remain the property of their copyright owners, unless otherwise agreed
0cc666
# upon. The license for this file, and modifications and additions to the
0cc666
# file, is the same license as for the pristine package itself (unless the
0cc666
# license for the pristine package is not an Open Source License, in which
0cc666
# case the license is the MIT License). An "Open Source License" is a
0cc666
# license that conforms to the Open Source Definition (Version 1.9)
0cc666
# published by the Open Source Initiative.
0cc666
0cc666
# Please submit bugfixes or comments via https://bugs.opensuse.org/
0cc666
#
0cc666
0cc666
Name:           system-user-loki
0cc666
Version:        1.0.0
0cc666
Release:        0
0cc666
License:        Apache-2.0
0cc666
Summary:        System user and group 'loki'
0cc666
Group:          System/Monitoring
0cc666
Source0:        system-user-loki.conf
0cc666
BuildRequires:  sysuser-tools
0cc666
Provides:       user(loki)
0cc666
Provides:       group(loki)
0cc666
BuildArch:      noarch
0cc666
%sysusers_requires
0cc666
0cc666
%description
0cc666
This package provides a shared system user for all Loki components
0cc666
0cc666
%prep
0cc666
%setup -q -c -T
0cc666
0cc666
%build
0cc666
%sysusers_generate_pre %{SOURCE0} user
0cc666
0cc666
%install
0cc666
install -Dm644 %{SOURCE0} %{buildroot}%{_sysusersdir}/system-user-loki.conf
0cc666
0cc666
%pre -f user.pre
0cc666
0cc666
%files
0cc666
%{_sysusersdir}/system-user-loki.conf