aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-06-01 18:58:23 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-06-01 18:58:23 -0400
commit1305a5fe1515c0b678ccb2a0becda5a8e4abf6da (patch)
tree277ad9a4a0db891c410b4e770836de66453fbfdb
parente090cc2c2db77d16123a6b1c3b900fbf6ea224ff (diff)
added rpm spec
-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