blob: 6f265c63a28d266e7f7e5bb9ba871f2b7296dfcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
Version: 0.5.1
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
* Mon Jan 29 2024 Benson Muite <benson_muite@emailplus.org> - 0.5.1-1
- Upgrade to latest release
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 29 2023 Benson Muite <benson_muite@emailplus.org> - 0.4.8-1
- Initial packaging
|