Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ed8a66e59 | ||
|
|
835e3bcb56 | ||
|
|
1db5b6166a | ||
|
|
47a51d6580 | ||
|
|
b5651f09be | ||
|
|
6afec8c5c3 | ||
|
|
9f497dc4b0 |
3 changed files with 12 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
/shdoc-b64998d.tar.gz
|
||||
/shdoc-1.1.tar.gz
|
||||
/shdoc-1.2.tar.gz
|
||||
/shdoc-1.4.tar.gz
|
||||
|
|
|
|||
12
shdoc.spec
12
shdoc.spec
|
|
@ -1,5 +1,5 @@
|
|||
Name: shdoc
|
||||
Version: 1.2
|
||||
Version: 1.4
|
||||
Release: %autorelease
|
||||
Summary: Documentation generator for bash/zsh/sh for generating documentation in Markdown
|
||||
|
||||
|
|
@ -8,7 +8,9 @@ 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
|
||||
|
||||
BuildRequires: vim-filesystem
|
||||
Requires: gawk
|
||||
Requires: vim-filesystem
|
||||
|
||||
%description
|
||||
shdoc is a documentation generator for bash/zsh/sh for generating API
|
||||
|
|
@ -22,10 +24,16 @@ definitions, and creates a markdown file with ready to use documentation.
|
|||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a shdoc %{buildroot}%{_bindir}/shdoc
|
||||
install -m 0755 -vp shdoc %{buildroot}%{_bindir}/shdoc
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
install -m 0644 -vp contrib/shdoc.1 %{buildroot}%{_mandir}/man1/
|
||||
mkdir -p %{buildroot}%{vimfiles_root}/syntax/
|
||||
install -m 0644 -vp contrib/vim/after/syntax/sh.vim %{buildroot}%{vimfiles_root}/syntax/sh.vim
|
||||
|
||||
%files
|
||||
%{_bindir}/shdoc
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{vimfiles_root}/syntax/sh.vim
|
||||
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (shdoc-1.2.tar.gz) = 92ae42f9a51b6f09208b3a0877ad1fdb7f0fb0197a6cf4abb7dc268c326bad0aba5d8b631c7b5ea958c207029a8607eecdee0a40ca66d8425d61116caf3215ec
|
||||
SHA512 (shdoc-1.4.tar.gz) = 1d53ee31a072f13e45e433a2f21cb41acc96382310436663732f41f5608fa9db55ca7381e18d7a5c46922889e0f8ff888a5f09e468dba2b2d19a4a0c88c6b25e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue