1 Star 0 Fork 11

src-openeuler-fork/cmark

forked from src-openEuler/cmark 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cmark.spec 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2024-10-18 16:48 . update to version 0.31.1
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler-fork/cmark.git
git@gitee.com:src-openeuler-fork/cmark.git
src-openeuler-fork
cmark
cmark
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385