From 1305a5fe1515c0b678ccb2a0becda5a8e4abf6da Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Mon, 1 Jun 2020 18:58:23 -0400
Subject: added rpm spec
---
Makefile | 2 +-
minimun.spec | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletion(-)
create mode 100644 minimun.spec
diff --git a/Makefile b/Makefile
index a384f98..dc7175d 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ uninstall:
rmdir -p $(DESTDIR)
SRC = format.tex LICENCE logo.png Makefile minimun.ini minimun.orig\
-nginx.example.conf README www
+nginx.example.conf README www minimun.spec
dist: minimun.tar.gz
minimun.tar.gz: $(SRC)
mkdir minimun-$(VER)
diff --git a/minimun.spec b/minimun.spec
new file mode 100644
index 0000000..4580006
--- /dev/null
+++ b/minimun.spec
@@ -0,0 +1,35 @@
+Summary: A perl cgi/pdfTeX script for doc generation
+Name: minimun
+Version: 1.0
+Release: 1
+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
+BuildArch: noarch
+Requires: perl
+
+%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}
+
+%prep
+%setup
+
+%build
+make DESTDIR=/usr/lib/minimun
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/usr/lib/minimun
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc README
+/usr/lib/minimun
--
cgit