12 Star 0 Fork 5

src-openEuler/ocaml-cppo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ocaml-cppo.spec 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
lyn 提交于 2023-09-20 17:25 . update to 1.6.9
Name: ocaml-cppo
Version: 1.6.9
Release: 1
Summary: An equivalent of the C preprocessor for OCaml programs
License: BSD
URL: https://github.com/ocaml-community/cppo
Source0: https://github.com/ocaml-community/cppo/archive/v%{version}/cppo-%{version}.tar.gz
BuildRequires: ocaml ocaml-dune ocaml-ocamlbuild ocaml-findlib
%description
Cppo is an equivalent of the C preprocessor for OCaml programs.It allows the definition of simple macros and file inclusion.
%prep
%autosetup -n cppo-%{version} -p1
sed -i 's/[%]{version:cppo}/%{version}/g' src/dune
%build
dune build %{?_smp_mflags} --verbose --profile release
%install
dune install --destdir=%{buildroot}
%files
%license LICENSE.md
%doc Changes.md README.md
%{_bindir}/cppo
%{_libdir}/ocaml/cppo/*
%{_libdir}/ocaml/cppo_ocamlbuild/*
%exclude /usr/doc/*cppo*/*
%changelog
* Wed Sep 20 2023 liyanan <thistleslyn@163.com> - 1.6.9-1
- upgrade to 1.6.9
* Mon Jul 26 2021 wang_yue111 <648774160@qq.com> - 1.6.6-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/ocaml-cppo.git
git@gitee.com:src-openeuler/ocaml-cppo.git
src-openeuler
ocaml-cppo
ocaml-cppo
master

搜索帮助