File scdoc.spec of Package scdoc
#
# spec file for package scdoc
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: scdoc
Version: 1.11.2
Release: 0
License: MIT
Summary: A simple man page generator for POSIX systems written in C99
Group: Development/Tools/Doc Generators
Url: https://git.sr.ht/~sircmpwn/scdoc/
Source: %{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: autoconf
BuildRequires: gcc
BuildRequires: glibc-devel-static
%description
scdoc is a simple man page generator written for POSIX systems written in C99.
%prep
%autosetup -p1
%build
%make_build PREFIX=%{_prefix}
%install
%make_install PREFIX=%{_prefix} PCDIR=%{_datadir}/pkgconfig %{?_smp_mflags}
%files
%defattr(-,root,root)
%doc README.md COPYING
%{_datadir}/pkgconfig/%{name}.pc
%{_bindir}/%{name}
%{_mandir}/man?/%{name}*
%changelog