aboutsummaryrefslogtreecommitdiff
path: root/minimun.spec
diff options
context:
space:
mode:
Diffstat (limited to 'minimun.spec')
-rw-r--r--minimun.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/minimun.spec b/minimun.spec
index 4580006..440b6f7 100644
--- a/minimun.spec
+++ b/minimun.spec
@@ -1,7 +1,7 @@
Summary: A perl cgi/pdfTeX script for doc generation
Name: minimun
Version: 1.0
-Release: 1
+Release: 2
License: GPL, Unknown
Source: https://hrhr.dev/src/minimun.tar.gz
URL: https://git.hrhr.dev/minimun/about
@@ -10,6 +10,8 @@ Vendor: Holden Rohrer
Packager: Holden Rohrer <hr@hrhr.dev>
BuildArch: noarch
Requires: perl
+Requires(pre): shadow-utils
+BuildRequires: make
%description
This script builds award documents and room name sheets, for letter-size
@@ -17,6 +19,11 @@ paper. The code is under GPLv3, but the logo's license is unknown.
%global debug_package %{nil}
+%pre
+getent group minimun >/dev/null || groupadd -r minimun
+getent passwd minimun >/dev/null || useradd -r -s /sbin/nologin\
+ -g minimun -c "miniMUN cgi account" -d /usr/lib/minimun -M minimun
+
%prep
%setup