aboutsummaryrefslogtreecommitdiff
path: root/orig
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-07-29 22:12:37 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-07-29 22:12:37 -0400
commit8b20d2feb0d39613962ff3fd11beb9a83ab1473b (patch)
treed0868c062b2bcf6dc4b66d95b69c77d89a56bfb2 /orig
parent86c96011c090a8d8304c28043acaf13cdb37f28e (diff)
centralized version stuff into the makefile and js->css
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