!3 package init
From: @wang_yue111 Reviewed-by: @small_leek,@myeuler Signed-off-by: @myeuler
This commit is contained in:
commit
714c2075f3
32
ocaml-cppo.spec
Normal file
32
ocaml-cppo.spec
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Name: ocaml-cppo
|
||||||
|
Version: 1.6.6
|
||||||
|
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}.tar.gz
|
||||||
|
BuildRequires: make 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
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
|
%doc Changes README.md
|
||||||
|
%{_bindir}/cppo
|
||||||
|
%{_libdir}/ocaml/cppo/*
|
||||||
|
%{_libdir}/ocaml/cppo_ocamlbuild/*
|
||||||
|
%exclude /usr/doc/*cppo*/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 26 2021 wang_yue111 <648774160@qq.com> - 1.6.6-1
|
||||||
|
- Package init
|
||||||
4
ocaml-cppo.yaml
Normal file
4
ocaml-cppo.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: ocaml-community/cppo
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
BIN
v1.6.6.tar.gz
Normal file
BIN
v1.6.6.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user