Name: scd2html Version: 1.0.0 Release: 1%{?dist} Summary: Generates HTML for scdoc source files License: MIT URL: https://sr.ht/~bitfehler/scd2html/ %global furl https://git.sr.ht/~bitfehler/scd2html Source: %{furl}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make # scdoc is used to build scd2html's manpage BuildRequires: scdoc BuildRequires: re2c %description scd2html generates HTML from scdoc source files %prep %autosetup -n scd2html-v%{version} sed -i Makefile \ -e 's|-static||' \ -e 's|install -m|install -pm|' %build %make_build %install %make_install PREFIX=%{_prefix} %files %license COPYING %doc README.md %{_bindir}/scd2html %{_mandir}/man1/scd2html.1* %{_datadir}/pkgconfig/scd2html.pc %changelog * Thu Dec 15 2022 Maxwell G - 1.0.0-1 - Initial package