|
|
|
@ -2,11 +2,11 @@
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: cmark
|
|
|
|
|
Version: 0.29.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.30.3
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: CommonMark parsing and rendering
|
|
|
|
|
|
|
|
|
|
License: BSD and MIT
|
|
|
|
|
License: BSD-2-Clause AND MIT
|
|
|
|
|
URL: https://github.com/jgm/cmark
|
|
|
|
|
Source0: https://github.com/jgm/cmark/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
@ -27,7 +27,8 @@ documents.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for cmark
|
|
|
|
|
Requires: cmark-lib = %{version}-%{release}
|
|
|
|
|
Requires: cmark-lib%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: cmark%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package provides the development files for cmark.
|
|
|
|
@ -43,19 +44,17 @@ This package provides the cmark library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake %{?_without_tests:-DCMARK_TESTS=OFF}
|
|
|
|
|
%cmake -DCMARK_STATIC=OFF %{?_without_tests:-DCMARK_TESTS=OFF}
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_libdir}/libcmark.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
@ -69,7 +68,7 @@ rm %{buildroot}%{_libdir}/libcmark.a
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/cmark
|
|
|
|
|
%{_mandir}/man1/cmark.1.gz
|
|
|
|
|
%{_mandir}/man1/cmark.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files lib
|
|
|
|
@ -84,11 +83,48 @@ rm %{buildroot}%{_libdir}/libcmark.a
|
|
|
|
|
%{_includedir}/cmark_version.h
|
|
|
|
|
%{_libdir}/libcmark.so
|
|
|
|
|
%{_libdir}/pkgconfig/libcmark.pc
|
|
|
|
|
%{_mandir}/man3/cmark.3.gz
|
|
|
|
|
%{_libdir}/cmake/cmark*.cmake
|
|
|
|
|
%{_mandir}/man3/cmark.3*
|
|
|
|
|
%{_libdir}/cmake/cmark
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.30.3-5
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Aug 4 2023 Jens Petersen <petersen@redhat.com>
|
|
|
|
|
- migrate to SPDX license tags
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 3 2023 Jens Petersen <petersen@redhat.com> - 0.30.3-2
|
|
|
|
|
- cmark-devel cmake requires cmark (rhbz#2166815)
|
|
|
|
|
|
|
|
|
|
* Fri Jan 27 2023 Jens Petersen <petersen@redhat.com> - 0.30.3-1
|
|
|
|
|
- https://github.com/commonmark/cmark/releases/tag/0.30.3
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Jens Petersen <petersen@redhat.com> - 0.30.2-1
|
|
|
|
|
- https://github.com/commonmark/cmark/releases/tag/0.30.2
|
|
|
|
|
- disable static library via cmake (rhbz#2161688)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.29.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|