## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: shdoc Version: 1.2 Release: %autorelease 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/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.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 %install mkdir -p %{buildroot}%{_bindir} cp -a shdoc %{buildroot}%{_bindir}/shdoc %files %{_bindir}/shdoc %doc README.md %license LICENSE %changelog * Mon Jul 31 2023 Mikel Olasagasti Uranga - 1.2-1 - Update to 1.2 - Closes rhbz#2227944 * Sat Jul 22 2023 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 30 2022 Mikel Olasagasti Uranga - 1.1-1 - Update to 1.1 - Closes rhbz#2122511 * Mon Aug 29 2022 Mikel Olasagasti Uranga - 0-1.20220827gitb64998d - Initial package - Closes rhbz#2054410