diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-02-02 14:50:32 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-02-02 14:50:32 +0000 | 
| commit | d9a15ef4d83d778b39a245437cc7ecb78e37645c (patch) | |
| tree | 075146e670effe15c227c6962c165cfc31733860 | |
| parent | 8fd3292ee343482ca3403ff9b3654442ef837307 (diff) | |
automatic import of scdoc
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | scdoc.spec | 46 | ||||
| -rw-r--r-- | sources | 1 | 
3 files changed, 48 insertions, 0 deletions
@@ -0,0 +1 @@ +/1.11.3.tar.gz diff --git a/scdoc.spec b/scdoc.spec new file mode 100644 index 0000000..049021f --- /dev/null +++ b/scdoc.spec @@ -0,0 +1,46 @@ +Name:     scdoc +Version:  1.11.3 +Release:  1 +Summary:  Tool for generating roff manual pages + +License:  MIT +URL:      https://git.sr.ht/~sircmpwn/%{name} +Source0:  https://git.sr.ht/~sircmpwn/scdoc/archive/%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: sed + +%description +scdoc is a tool designed to make the process of writing man pages more +friendly. It reads scdoc syntax from stdin and writes roff to stdout, suitable +for reading with man. + +%prep +%autosetup -p1 + +# Disable static linking +sed -i '/-static/d' Makefile + +# Use INSTALL provided by the make_install macro +sed -i 's/\tinstall/\t$(INSTALL)/g' Makefile + +%build +%make_build PREFIX=%{_prefix} CC="%{_cc}" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" + +%install +%make_install PREFIX=%{_prefix} + +%check +make check + +%files +%license COPYING +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man?/* +%{_datadir}/pkgconfig/%{name}.pc + +%changelog +* Sun Feb 02 2025 Funda Wang <fundawang@yeah.net> - 1.11.3-1 +- import package @@ -0,0 +1 @@ +4e0928d10d23d24f2c1eb0f311ceef14  1.11.3.tar.gz  | 
