ocaml-cppo/ocaml-cppo.spec

61 lines
1.5 KiB
RPMSpec

Name: ocaml-cppo
Version: 1.6.9
Release: 1mamba
Summary: C-style preprocessor for OCaml
Group: System/Libraries/OCaml
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ocaml-community/cppo
Source: https://github.com/ocaml-community/cppo.git/v%{version}/cppo-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ocaml
BuildRequires: ocamlbuild
## AUTOBUILDREQ-END
BuildRequires: ocamlbuild >= 0.14.1
BuildRequires: dune
%description
C-style preprocessor for OCaml.
%debug_package
%prep
%setup -q -n cppo-%{version}
%build
%make all
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -rf %{buildroot}%{_prefix}/doc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/cppo
%dir %{_libdir}/ocaml/cppo
%{_libdir}/ocaml/cppo/*
%dir %{_libdir}/ocaml/cppo_ocamlbuild
%{_libdir}/ocaml/cppo_ocamlbuild/*
%doc README.md
%changelog
* Tue May 31 2022 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba
- automatic version update by autodist
* Sun Feb 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.8-2mamba
- rebuilt with ocamlbuild 0.14.1
* Sat Oct 02 2021 Automatic Build System <autodist@mambasoft.it> 1.6.8-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.7-1mamba
- package created using the webbuild interface