Version: 0.4.8 Name: md4c Release: 1%{?dist} Summary: Markdown for C License: MIT URL: https://github.com/mity/md4c Source0: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc # Needed for tests BuildRequires: python3 %description MD4C is Markdown parser implementation in C. %package devel Summary: Development files for md4c Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The md4c-devel package contains libraries and header files for developing applications that use md4c. %prep %autosetup -n %{name}-release-%{version} %build %cmake %cmake_build %install %cmake_install %check cd %__cmake_builddir bash %{_builddir}/%{name}-release-%{version}/scripts/run-tests.sh %files %doc README.md %doc CHANGELOG.md %license LICENSE.md %{_bindir}/md2html %{_libdir}/libmd4c-html.so.0* %{_libdir}/libmd4c.so.0* %{_mandir}/man1/md2html.1* %files devel %{_includedir}/md4c.h %{_includedir}/md4c-html.h %{_libdir}/libmd4c-html.so %{_libdir}/libmd4c.so %dir %{_libdir}/cmake/md4c %{_libdir}/cmake/md4c/*.cmake %{_libdir}/pkgconfig/md4c.pc %{_libdir}/pkgconfig/md4c-html.pc %changelog * Sat Jul 29 2023 Benson Muite - 0.4.8-1 - Initial packaging