aboutsummaryrefslogtreecommitdiff
path: root/orig
diff options
context:
space:
mode:
Diffstat (limited to 'orig')
-rw-r--r--orig/minimun.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/orig/minimun.spec b/orig/minimun.spec
new file mode 100644
index 0000000..c76dc31
--- /dev/null
+++ b/orig/minimun.spec
@@ -0,0 +1,51 @@
+Summary: A perl cgi/pdfTeX script for doc generation
+Name: minimun
+Version: VERSION
+Release: RELEASE
+License: GPL, Unknown
+Source: https://hrhr.dev/src/minimun.tar.gz
+URL: https://git.hrhr.dev/minimun/about
+Distribution: Fedora 32
+Vendor: Holden Rohrer
+Packager: Holden Rohrer <hr@hrhr.dev>
+BuildArch: noarch
+Requires: perl
+Requires: texlive-pdftex
+Requires: texlive-amsfonts
+Requires: texlive-metafont
+Requires: texlive-mfware
+Requires: texlive-updmap-map
+Requires(pre): shadow-utils
+BuildRequires: make
+
+%description
+This script builds award documents and room name sheets, for letter-size
+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
+
+%build
+make DESTDIR=/usr/lib/minimun SYSWEBROOT=/var/www/html
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/usr/lib/minimun \
+SYSWEBROOT=$RPM_BUILD_ROOT/var/www/html
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc README
+%defattr(644, minimun, minimun, 755)
+/usr/lib/minimun
+%attr(755, minimun, minimun) /usr/lib/minimun/minimun
+/var/www/html/minimun/index.html