commit f9aca18529cdf0176942958dbfccc3c0d805d8611dbca12493878dabd5986925 Author: Jan Engelhardt Date: Wed Sep 1 09:57:21 2021 +0000 Import package OBS-URL: https://build.opensuse.org/package/show/server:mail/system-user-gromox?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/system-user-gromox.spec b/system-user-gromox.spec new file mode 100644 index 0000000..76fbfa8 --- /dev/null +++ b/system-user-gromox.spec @@ -0,0 +1,32 @@ +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