Name: mandown
Version: 1.0.3
Release: 1%{?dist}
Summary: A man-page inspired Markdown pager written in C.

License: MIT
URL: https://github.com/Titor8115/mandown
Source0: https://github.com/Titor8115/mandown/archive/v%{version}/%{name}-%{version}.tar.gz
# BuildArch: noarch

Provides: mdn

BuildRequires: gcc
BuildRequires: ncurses-devel
BuildRequires: libxml2-devel
# Requires:

%description
Need to lookup things from README? Or from manual page? Or perhaps just want to
install something cool...


%prep
%setup -q


%build
make %{?_smp_mflags} mdn


%install
mkdir -p %{buildroot}/%{_bindir}
cp ./mdn %{buildroot}/%{_bindir}/


%files
%license LICENSE
%doc README.md
%{_bindir}/mdn


%changelog
* Tue May 04 2021 Jakub Kadlčík <jkadlcik@redhat.com>
- Add initial mandown package