代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/cmark 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%bcond_with tests
Name: cmark
Version: 0.31.1
Release: 1
Summary: CommonMark parsing and rendering library and program in C
License: BSD-2-Clause AND MIT
URL: https://github.com/commonmark/cmark
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
%description
`cmark` is the C reference implementation of CommonMark,
a rationalized version of Markdown syntax with a spec.
%package devel
Summary: Development files for cmark library
Requires: %{name} = %{version}
%description devel
This package provides the development files for cmark.
%prep
%setup -q
%build
%cmake -DCMARK_STATIC=OFF %{?_without_tests:-DCMARK_TESTS=OFF}
%cmake_build
%install
%cmake_install
%check
%if %{with tests}
%cmake_build --target test
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc README.md
%{_bindir}/cmark
%{_libdir}/libcmark.so.%{version}
%{_mandir}/man1/cmark.1*
%files devel
%{_includedir}/cmark.h
%{_includedir}/cmark_export.h
%{_includedir}/cmark_version.h
%{_libdir}/libcmark.so
%{_libdir}/pkgconfig/libcmark.pc
%{_mandir}/man3/cmark.3*
%dir %{_libdir}/cmake/cmark
%{_libdir}/cmake/cmark/cmark*.cmake
%changelog
* Fri Oct 18 2024 liweigang <liweigang.lwg@gmail.com> - 0.31.1-1
- update to version 0.31.1
* Thu Nov 23 2023 zhangxianting <zhangxianting@uniontech.com> - 0.30.3-1
- update to version 0.30.3
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.30.2-2
- Add devel package Requires cmark
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.30.2-1
- initial packaging
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。