public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/shdoc] epel10: Initial package - Closes rhbz#2054410
@ 2026-06-01 13:48 Mikel Olasagasti Uranga
  0 siblings, 0 replies; only message in thread
From: Mikel Olasagasti Uranga @ 2026-06-01 13:48 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/shdoc
Branch : epel10
Commit : fa1ac6c7a7dda9bb085523a9c420c44a52147ba0
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date   : 2022-08-29T09:26:03+02:00
Stats  : +42/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/shdoc/c/fa1ac6c7a7dda9bb085523a9c420c44a52147ba0?branch=epel10

Log:
Initial package - Closes rhbz#2054410

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9a3fdec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/shdoc-b64998d.tar.gz

diff --git a/shdoc.spec b/shdoc.spec
new file mode 100644
index 0000000..dc11f6a
--- /dev/null
+++ b/shdoc.spec
@@ -0,0 +1,40 @@
+%global commit b64998d1a463775501a70d125b4d2ae0c4f0a820
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global snapinfo 20220827git%{shortcommit}
+
+Name:    shdoc
+# Requested info about release plans
+# https://github.com/reconquest/shdoc/issues/55
+Version: 0
+Release: %autorelease -s %{snapinfo}
+Summary: Documentation generator for bash/zsh/sh for generating documentation in Markdown
+
+License:   MIT
+URL:       https://github.com/reconquest/shdoc
+Source0:   https://github.com/reconquest/shdoc/archive/%{commit}/shdoc-%{shortcommit}.tar.gz
+BuildArch: noarch
+
+Requires:  gawk
+
+%description
+shdoc is a documentation generator for bash/zsh/sh for generating API
+documentation in Markdown from shell scripts source.
+
+shdoc parses annotations in the beginning of a given file and alongside function
+definitions, and creates a markdown file with ready to use documentation.
+
+%prep
+%autosetup -n shdoc-%{commit}
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+cp -a shdoc %{buildroot}%{_bindir}/shdoc
+
+%files
+%{_bindir}/shdoc
+
+%doc README.md
+%license LICENSE
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..f7c457b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (shdoc-b64998d.tar.gz) = 5693047c741e330a5b4b05cc05f9769be42ba1ec4be7448cc579bc63ae2b8a9d0ae94b100029764590e7f1222eba1779ecd52db6c235a328c09a5245452b503c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-01 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01 13:48 [rpms/shdoc] epel10: Initial package - Closes rhbz#2054410 Mikel Olasagasti Uranga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox