aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--minimun.spec35
2 files changed, 36 insertions, 1 deletions
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 <hr@hrhr.dev>
+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